Page 10 of 26

Re: [Modding] Packing and unpacking data.dat and resource.da

Posted: Sun Sep 16, 2012 9:05 pm
by bas
StealthCl0wn wrote:Ah yes, I tried using the editor to pack it but again, the file gave me that error. Same with notepad. Same with the python packer... Only "mod" I've got to work so far is CaptainShooby's no rebel mod.
Have you updated to the latest version? (r4)

Re: [Modding] Packing and unpacking data.dat and resource.da

Posted: Sun Sep 16, 2012 9:05 pm
by Kronikarz
What changes did you make to the game's files?

Re: [Modding] Packing and unpacking data.dat and resource.da

Posted: Sun Sep 16, 2012 9:07 pm
by StealthCl0wn
Yep, r4, and I changed the laser on the Kestrel from "LASER_BURST_3" to "LASER_BURST_5" and changed the damage of that laser to 4.

Re: [Modding] Packing and unpacking data.dat and resource.da

Posted: Sun Sep 16, 2012 10:06 pm
by Kronikarz
What program did you use to change the game files? Maybe you could upload the changed files somewhere so we can take a look?

Re: [Modding] Packing and unpacking data.dat and resource.da

Posted: Sun Sep 16, 2012 10:17 pm
by RichUncleTom
Image Halp please. I have reinstalled it twice and it still won't launch.

Re: [Modding] Packing and unpacking data.dat and resource.da

Posted: Sun Sep 16, 2012 10:19 pm
by StealthCl0wn
Kronikarz wrote:What program did you use to change the game files? Maybe you could upload the changed files somewhere so we can take a look?
Notepad, and I'm afraid I can't do that since I reinstall the game after every error and wipe my data folder. Although...

http://www.mediafire.com/?b2qd64f77723ivr

Bingo. That's my blueprints file. Modded the Basic Laser, Burst Laser III and the starting Kestrel.

Re: [Modding] Packing and unpacking data.dat and resource.da

Posted: Sun Sep 16, 2012 11:48 pm
by Kronikarz
Are you entering the directory with the .xml files or the directory above that to pack the .dat file? You need to enter the directory with the /data/ directory in order to preserve the correct .dat file structure.

E.g. when you use "Extract all..." the directory you choose must be the same as the directory you choose when you use "Pack folder..."

Re: [Modding] Packing and unpacking data.dat and resource.da

Posted: Mon Sep 17, 2012 12:00 am
by StealthCl0wn
Kronikarz wrote:Are you entering the directory with the .xml files or the directory above that to pack the .dat file? You need to enter the directory with the /data/ directory in order to preserve the correct .dat file structure.

E.g. when you use "Extract all..." the directory you choose must be the same as the directory you choose when you use "Pack folder..."
So, should the directory I choose be the one with every .xml file in it, or the directory with the "data unpacked" folder in it?

Re: [Modding] Packing and unpacking data.dat and resource.da

Posted: Mon Sep 17, 2012 12:21 am
by Kronikarz
The one with the data unpacked.

Re: [Modding] Packing and unpacking data.dat and resource.da

Posted: Mon Sep 17, 2012 10:18 am
by StealthCl0wn
So it'd work if I put it in a folder called "data" that had a folder called "data.dat-unpacked" in it?