Fo2 Modding Resource Character File for debug testing.

Discussion in 'Fallout General Modding' started by gustarballs1983, Jan 7, 2020.

  1. gustarballs1983

    gustarballs1983 Vault Senior Citizen
    Modder

    Oct 28, 2009
    Yeah I've seen characters with all 10 SPECIAL all around.. what makes this one different?

    It also got all skills boosted to 300%, and maxed all resistances and thresholds (except EMP resistance i left it at default 100%).

    Sduibek made a similar character file for debug purposes using a certain program in the past, however this program worked only for Fallout1. Unfortuneatly char file generated by the program crashed Fallout 2.

    So I decided to do the madman's work, and checked bit by bit in hex editor and started new game & quit to desktop each time to check where is what in Fallout 2 character file. Most stuff is calculated automatically, the exceptions beeing SPECIAL Points, Skills, Resistances and their threshold) Age (it can be set beyond maximum allowed 35 years, and game will accept the number you input and allow you to start a game with it I've set it to 37 years), and possibly couple of others. Unfortuneatly I haven't foud a way to set radiation count, poison level or crippled state, as I had an idea to start a game radiated poisoned and fully crippled, or for it to happen nearly after start of the game. Perhaps a good idea for a start of mod.

    If it's been done already than I'm sorry to post it agin, yet articles regarding Fo2 char file (at least Beyond SPECIAL cheating) are mostly non findable in google, and i don't see people adding similar debug methods tot he game, so this is why i made it. it might be the only means of altering a character for games where Vad's editor isn't suited such as Fo:Nevada Crazy Edition and Fixed Edition. (although they would require character with 9 charisma if they want to have a go at ammo maker perk.

    Cheers Guys
     

    Attached Files:

  2. ghost2238

    ghost2238 First time out of the vault

    17
    Dec 13, 2019
  3. Lexx

    Lexx Testament to the ghoul lifespan
    Moderator Modder

    Apr 24, 2005
    I would just write a small gl script that sets the character stats how you want them. It's just a few lines, would work with any Fo2 mod and is way more flexible.
     
  4. gustarballs1983

    gustarballs1983 Vault Senior Citizen
    Modder

    Oct 28, 2009
    Yeah this is the stuff, however in Fallout 2 some stuff gets auto calculated ( mostly secondary stats) and setting them to something else brings back the auto calculated result after loading the GCD instead of the value inputed in GCD.
     
  5. ghost2238

    ghost2238 First time out of the vault

    17
    Dec 13, 2019
    I created a tool to automatically generate a GCD file from a simple text file with some data, no more need for manual hex editing :)

    You can use a custom source file or destination file by supplying the first two arguments to the exe file:
    cgcd.exe <source file> <output file>

    Binary package is available here: https://fodev.net/files/archive/fo2/cgcd.zip

    Source: https://github.com/rotators/cgcd
     
    • [Rad] [Rad] x 1