Page 1 of 1

How does the reasource file work?

Posted: Mon Dec 03, 2012 9:43 pm
by madattak9
Because I was getting so fed up, I went into data.dat in the FTL reasources and changed the burst lasers power to 1 and rarity to 1, saved it, opened FTL, and got a runtime error. Luckily I backed up the original, but why does changing these values do that?
(Sorry if this should be in mods..)

Re: How does the reasource file work?

Posted: Mon Dec 03, 2012 11:05 pm
by boa13
This should be in mods. And now it is. :)

Re: How does the reasource file work?

Posted: Tue Dec 04, 2012 3:58 am
by Kieve
madattak9 wrote:Because I was getting so fed up, I went into data.dat in the FTL reasources and changed the burst lasers power to 1 and rarity to 1, saved it, opened FTL, and got a runtime error. Luckily I backed up the original, but why does changing these values do that?
(Sorry if this should be in mods..)
You can't edit the .DAT directly and expect it to work.
You'll need FTLDat to unpack/repack the game resources, at which point you should be able to edit the various data files in a simple text editor, as they're all XML's.
FTLDat is command-line stuff, so it's not the most user-friendly thing out there, but if you run into trouble, read through the thread. Odds are, if there's a problem, someone else has already encountered and solved it.

Happy modding!