Skip to content

Character file format

SandmanSandman Member Posts: 73
I remember back in the day, there was a site that broke down the file format BG used for characters and other things. It included a 64h header IIRC and then the offsets to values such as abilities, HP, THACO, ect.. Have you guys changed the file format from old or can I still edit like old in a Hex editor?

Comments

  • TanthalasTanthalas Member Posts: 6,738
    I'm pretty sure that the file format is the same. Both NearInfinity and DLTCEP have no problems reading BGEE's files.
  • SandmanSandman Member Posts: 73
    Ok did some testing and got it to work for the abilities. Gave my guy all 25s for ability scores just to see what would happen. It worked...

    Just for the adventerous:

    (Save original file somewhere first or rename it and then use a copy to edit)

    1. Open up hex editor (frhed for instance)
    2. Goto the Character file folder /baldurs gate - enhanced edition/characters/
    3. Select CHR file to edit
    4. Add 0x64 (100 in decimal) to the offset values found here http://iesdp.gibberlings3.net/file_formats/ie_formats/cre_v1.htm (Windows Calc in Programmer Mode can do this)
    5. Goto offset in file (in frhed goto "edit" then select "goto" and enter hex offset like x29c)

    For instance, 0x64+0x238=0x29c start of abilities

    I can't believe iesdp is still up!! That site was around back in the 90's if I remember lol!
Sign In or Register to comment.