Fallout Editing Kit

iHack

First time out of the vault
hi, new here, blah, blah, blah

so i was using the FOSK the other day and decided it sucked, so im making my own. im writing the app in RB.

fek.png


anyways, the documentation for good info on offsets for hacking/coding is spotty at best, so i was just wondering if i can get some direct answers from people here. I know modders spend countless hours, elbows deep in hex so here i am.

1) where in a save/.DAT file is some sort of header that determines a difference of fallout1 vs fallout2? theyre identical it seems except for filesize which is too unreliable to write an app on

2)whats up with decompression on mac files. they read as MPEG program streams as a filetype, i can find a way to decompress them to get to all the goodness stored inside

3)so far i have found all the base stats, perks, player and save game info as well as base stats on fallout 1 but any other parsing/hacking data would be useful

looking forward to some feedback
 
1. AFAIK it isn't specified anywhere in the file. You could ask the user which game it's from when opening the savegame, and do some sanity checking to make sure they're correct.

2. I'm not sure which files you're referring to, but all the data files are identical in the Mac and PC versions. Ignore what the OS says; .dat is a commonly-used extension and it often gets associated with the wrong program.

3. This may be useful: http://falloutmods.wikia.com/wiki/SAVE.DAT_File_Format .
 
thanks,

that was great information. still cant find a way to decompress .dat files on a mac. unix gunzip and stuffit 2009 delux wont do it :(

im a little confused at the point on that wiki where GVARS comes up. is this a variable that holds a pointer that is multiplied by the offset that loads "pages" of data (like a NES ROM) ? the offsets all check out until that point.

BTW if you would like i will add you in the credits when the app is done and if your interested in beta testing let me know. again, thanks for the link.
 
These .dat files are Fallout's own formats (1 and 2 are different), so you'll need one of the dat utilities to extract files. Most other utilities are Windows-only as well, so I have Win98 running under VirtualPC to do all of that. Intel Macs can do something similar with Parallels or whatever.

Gvars are global variables, which are declared in the vault13.gam file. It's stored in the savegame as an array of 4-byte integers, of which there are (NG), which is 696 in the unmodded game. I'm not familiar with RB, but if you have a pointer to the start of the array, the ith variable is at offset 4*i.

And sure, I'll test it a bit when it's ready for that.
 
thanks again.

made allot of headway today. got the whole dat parsed, just writing it all in. and im on a Mac PPC so ill be using VPC for that file decompression.
ill keep updating and thanks once again
 
forgive me for the double post.

just an update. anyone think the GUI looks cluttered?

 
not necessarily. i was actually thinking about writing this for pc as well. one of the benifits of RB is it compiles mac and windows applications. the framework for all the same stuff is already there i would just have to change some offsets.
 
Well the Alpha is almost ready. just need to add karma and finish the monotonous back-end coding. the GUI shouldn't go through anymore big changes. i would like some feedback on anything else that people would like added or think should be changed.

<a href="http://img9.imageshack.us/my.php?image=picture1ij7.png" target="_blank">
picture1ij7.th.png
 
Back
Top