Jump to content

Can't get Mammoth to open anything.


LeonardMT
Go to solution Solved by ChopBam,

Recommended Posts

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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..?

Link to comment
Share on other sites

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. :rolleyes:

 

 

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 by LeonardMT
Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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..

Link to comment
Share on other sites

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:

mamwork.jpg.249d4a1f25ad29539e5fc14615d27ce9.jpg

However it's now crashing with a .dmp when trying to open anything even hostile waters:hurr:

crashdump.20230301-072644-r12592-n1.dmp

Link to comment
Share on other sites

  • Solution

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!

Link to comment
Share on other sites

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

Link to comment
Share on other sites

8 hours ago, LeonardMT said:

how do I build the global object database?

image.png

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...