LeonardMT Posted February 20, 2023 Report Share Posted February 20, 2023 I opened Associate_Mammoth_with_lvl_files.bat and put in C:\Users\Leonard\Downloads\a-path-beyond-sdk-master\a-path-beyond-sdk-master\LevelEdit\mammoth.exe and after that I run mammoth and it crashes when trying to open a .lvl. Refer to issue.zip for more info as that contains a Problems Steps Recorder file. issue.zip 0 Quote Link to comment Share on other sites More sharing options...
ChopBam Posted February 20, 2023 Report Share Posted February 20, 2023 You crashed using file/open? Did Mammoth work properly before applying this .bat file? It looks like at the very least you haven't built a json database yet. Does the path in your mammothpath.ini point to the APB installation you wish to pull from/push to? 0 Quote Link to comment Share on other sites More sharing options...
LeonardMT Posted February 21, 2023 Author Report Share Posted February 21, 2023 22 hours ago, ChopBam said: You crashed using file/open? Yes, a CTD 22 hours ago, ChopBam said: Did Mammoth work properly before applying this .bat file? Don't know, I read the documentation and executed the the .bat before I ran mammoth. 22 hours ago, ChopBam said: Does the path in your mammothpath.ini point to the APB installation you wish to pull from/push to? Yes. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ I am now getting a dump and not just a CTD, don't know what changed. crashdump.20230221-050524-r12592-n1.dmp 0 Quote Link to comment Share on other sites More sharing options...
ChopBam Posted February 21, 2023 Report Share Posted February 21, 2023 When the mammothpath is pointing to the correct game installation folder, the program always runs fine for me otherwise out of the box. Unfortunately I'm unable to look at crashdumps, but maybe someone else on the team can. Can you perhaps post here what the "GamePath" actually is in your mammothpath ini file? Maybe a bit off topic but why do you put a folder called a-path-beyond-sdk-master inside another folder titled a-path-beyond-sdk-master..? 0 Quote Link to comment Share on other sites More sharing options...
LeonardMT Posted February 21, 2023 Author Report Share Posted February 21, 2023 (edited) 1 hour ago, ChopBam said: Can you perhaps post here what the "GamePath" actually is in your mammothpath ini file? [Game Path] GamePath=C:\Program Files (x86)\W3D Hub\games\apb\release 1 hour ago, ChopBam said: Maybe a bit off topic but why do you put a folder called a-path-beyond-sdk-master inside another folder titled a-path-beyond-sdk-master..? Oh, that's what Windows does by default. I know it's stupid. Edit: Maybe I should try to put the GamePath in quotes? Edit edit: Tried that now I can open hostile waters and only hostile waters. Edited February 21, 2023 by LeonardMT 0 Quote Link to comment Share on other sites More sharing options...
ChopBam Posted February 21, 2023 Report Share Posted February 21, 2023 8 hours ago, LeonardMT said: Edit edit: Tried that now I can open hostile waters and only hostile waters. This sounds like a very strange issue to me. Before you open any levels, do you see the presets listed on the righthand side? (the objects inside the folders) 0 Quote Link to comment Share on other sites More sharing options...
LeonardMT Posted February 22, 2023 Author Report Share Posted February 22, 2023 Doesn't look like it.... 0 Quote Link to comment Share on other sites More sharing options...
ChopBam Posted February 25, 2023 Report Share Posted February 25, 2023 On 2/22/2023 at 1:27 PM, LeonardMT said: Doesn't look like it.... This indicates to me that Mammoth isn't hooked up to your game install properly, which is why I asked about the mammothpath. If that path is correct, I'm not sure what the problem is.. 0 Quote Link to comment Share on other sites More sharing options...
LeonardMT Posted February 25, 2023 Author Report Share Posted February 25, 2023 Can the issue be the fact Mammoth is in a virtual directory? (After all it's in the download folder) 0 Quote Link to comment Share on other sites More sharing options...
LeonardMT Posted March 1, 2023 Author Report Share Posted March 1, 2023 Alright I moved the sdk to C:\a-path-beyond-sdk-master\ and Mammoth to C:\a-path-beyond-sdk-master\LevelEdit\mammoth.exe, redid the Associate_Mammoth_with_lvl_files.bat and made my mammothpath.ini to this: [Game Path] GamePath=C:\Program Files (x86)\W3D Hub\games\apb\release And now it looks like Mammoth is linked up: However it's now crashing with a .dmp when trying to open anything even hostile waters crashdump.20230301-072644-r12592-n1.dmp 0 Quote Link to comment Share on other sites More sharing options...
Solution ChopBam Posted March 3, 2023 Solution Report Share Posted March 3, 2023 Hey Leonard, I'm actually experiencing the same problem if I open the example .lvl files using the SDK Mammoth. I suspect it's related to the JSON revamp that took place within the last couple years, which completely changed how the database files are read and stored. This was never truly tested with the SDK, so we'll be looking into it and pushing a solution once we find it. Thanks so much for pointing it out! 0 Quote Link to comment Share on other sites More sharing options...
ChopBam Posted March 3, 2023 Report Share Posted March 3, 2023 @ LeonardMT I got the levels working on my end of the SDK and have pushed the update to GitLab. Is that something you can try downloading again and see if loading the levels works for you now? 0 Quote Link to comment Share on other sites More sharing options...
LeonardMT Posted March 3, 2023 Author Report Share Posted March 3, 2023 Alright everything now mostly works, however I have a few questions: how do I build the global object database? What about extracted levels? How can I get the database for those? One of the reasons why I wanted to try out the sdk is to try to rebalance weapons in a way that I see fit and it looks like that weapon rules are stored on per map basis am I correct? Also after taking a closer look at the presets I have so many questions but that's for another thread :P 0 Quote Link to comment Share on other sites More sharing options...
ChopBam Posted March 3, 2023 Report Share Posted March 3, 2023 8 hours ago, LeonardMT said: how do I build the global object database? 8 hours ago, LeonardMT said: What about extracted levels? How can I get the database for those? How are you converting them for use in Mammoth? There's no .lvl file in the .mix files. The only way I know of is using the ancient LevelRedit program and as far as I know that hasn't worked for many years. In any event, only the example level files are supported for public use in the SDK, for now. 8 hours ago, LeonardMT said: One of the reasons why I wanted to try out the sdk is to try to rebalance weapons in a way that I see fit and it looks like that weapon rules are stored on per map basis am I correct? No, they're stored in the global presets. 0 Quote Link to comment Share on other sites More sharing options...
LeonardMT Posted March 4, 2023 Author Report Share Posted March 4, 2023 8 hours ago, ChopBam said: 17 hours ago, LeonardMT said: What about extracted levels? How can I get the database for those? How are you converting them for use in Mammoth? There's no .lvl file in the .mix files. The only way I know of is using the ancient LevelRedit program and as far as I know that hasn't worked for many years. In any event, only the example level files are supported for public use in the SDK, for now. Oh I just assumed that they were in the *.mix. 8 hours ago, ChopBam said: 17 hours ago, LeonardMT said: One of the reasons why I wanted to try out the sdk is to try to rebalance weapons in a way that I see fit and it looks like that weapon rules are stored on per map basis am I correct? No, they're stored in the global presets. Oh, how do I go about modding those? Well I hope I can transfer some of my HL2 mapping experience to W3D. 0 Quote Link to comment Share on other sites More sharing options...
ChopBam Posted March 4, 2023 Report Share Posted March 4, 2023 2 hours ago, LeonardMT said: Oh, how do I go about modding those? Those handy presets at the right side that weren't showing up before and are showing up now--expand the folder Munitions, and then you'll find the various Ammo, Explosion, and Weapon presets inside their respective folders. You can double click on a preset to edit its settings. To save, go to Presets --> Save Presets (same thing I shared above in a screenshot). You could also Export presets if you want to test it in game. What these functions do is generate a new objects.ddb for you. It will need to be in the game's data folder to have any effect, and naturally its presence will make your game incompatible for online play in the official servers. It is of course also possible to edit them for custom maps and then you wouldn't need to edit objects.ddb. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.