Soldak Home   Drox Operative   Din's Curse   Depths of Peril   Zombasite  

Go Back   Soldak Entertainment Forums > Drox Operative > Drox Operative modding
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 02-22-2018, 11:33 PM
Guardfather Guardfather is offline
Join Date: Oct 2016
Posts: 15
Default Trying to modify NoStash variable in Crew.gdb

Downloaded a mod called CrewStash which is supposed to let you put crew into stashes. It wasn't working. I tried debugging, but I'm kind of bewildered.

Now, I notice the "NoStash" variable is present in the Crew.gdb files in both assets001 and assets003. I'm guessing the crewstash mod should override both of those, but I'm wondering if there's some problem with that.

I've tried:
- Changing the line "Crew overrides BaseCrew" to just "BaseCrew"
- Moving the file from the Database directory to the Database/Items directory (to match the structure of the assets00x files)
- Copying the entire Crew.gdb file from assets001 to the mod folder and changing the NoStash variable from 1 to 0
- Combinations of the above.

Nothing seems to work. I cannot put crew into my stash. Any ideas?

I've tried extracting the folders from a working mod, copying them into a folder with a different name, compressing that folder into a zip file, and using that instead. Despite having the same files in it, the new zip file does not work. I'm REALLY bewildered now. I'm thinking of looking into using a different zip utility, checking file permissions, etc. Really eager for any insight.

Took a working mod zip file, extracted the files, zipped them again, this time with the same names everywhere. The file did not work. A renamed copy of the original working mod did work. So I'm thinking there's a problem with the zip file headers or something.
I'm using Gnome 3's default file manager "right click > compress" option to zip the files. I'll be experimenting further.

I sent one of the zip files I created with files from a known, working zip file to a friend who uses Windows. He extracted the files, and then zipped them up again. The file size was different, but the file indeed failed to work with the game again. So I'm now thinking these files must be created by the SDK somehow. Which is Windows-only. And I don't use Windows. @#$%

Friend took a working copy, extracted that, rezipped it, and that worked. I unzipped that, rezipped it, and that failed again. So it seems there's some issue with the zip compression or decompression, or both, in Debian.

FINAL UPDATE (probably):
If I start with a valid zip archive that works, I'm able to use the File Roller utility in Debian/Gnome3 to update the zip file with additional files, and alter existing files. Doing this, I was able to get the crew stash mod working by inserting it into the ZMODbags zip file. I did have to alter the version I downloaded, and copy the crew.gdb from assets003, then alter the NoStash parameter. But it works. I can now put crew into stash.

Being that this is tedious and ridiculous to have to do repeatedly, I'm still VERY eager for a solid fix.

Last edited by Guardfather : 02-23-2018 at 03:07 AM.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT -4. The time now is 05:27 PM.

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright 2007 - 2023 Soldak Entertainment, Inc.