[Tool] ftldat r7

Discuss and distribute tools and methods for modding. Moderator - Grognak
bas
Posts: 36
Joined: Fri Sep 14, 2012 3:36 pm

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

Postby bas » Sun Sep 16, 2012 9:05 pm

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)
Kronikarz
Posts: 9
Joined: Sun Sep 16, 2012 6:17 pm

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

Postby Kronikarz » Sun Sep 16, 2012 9:05 pm

What changes did you make to the game's files?
StealthCl0wn
Posts: 78
Joined: Sat Sep 15, 2012 6:55 pm

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

Postby StealthCl0wn » Sun Sep 16, 2012 9:07 pm

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.
Kronikarz
Posts: 9
Joined: Sun Sep 16, 2012 6:17 pm

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

Postby Kronikarz » Sun Sep 16, 2012 10:06 pm

What program did you use to change the game files? Maybe you could upload the changed files somewhere so we can take a look?
RichUncleTom
Posts: 1
Joined: Sun Sep 16, 2012 10:13 pm

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

Postby RichUncleTom » Sun Sep 16, 2012 10:17 pm

Image Halp please. I have reinstalled it twice and it still won't launch.
StealthCl0wn
Posts: 78
Joined: Sat Sep 15, 2012 6:55 pm

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

Postby StealthCl0wn » Sun Sep 16, 2012 10:19 pm

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.
Kronikarz
Posts: 9
Joined: Sun Sep 16, 2012 6:17 pm

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

Postby Kronikarz » Sun Sep 16, 2012 11:48 pm

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..."
StealthCl0wn
Posts: 78
Joined: Sat Sep 15, 2012 6:55 pm

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

Postby StealthCl0wn » Mon Sep 17, 2012 12:00 am

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?
Kronikarz
Posts: 9
Joined: Sun Sep 16, 2012 6:17 pm

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

Postby Kronikarz » Mon Sep 17, 2012 12:21 am

The one with the data unpacked.
StealthCl0wn
Posts: 78
Joined: Sat Sep 15, 2012 6:55 pm

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

Postby StealthCl0wn » Mon Sep 17, 2012 10:18 am

So it'd work if I put it in a folder called "data" that had a folder called "data.dat-unpacked" in it?