Skip to content

Editing a CHR in GAM files

MikeMastersMikeMasters Member Posts: 141
edited November 2012 in General Modding
I have played around before with editing a CHR v2 file in Java, I understand that a CHR v2 file is actually just a CRE v1.0 file with a CHR header.

What I would like to do is edit my characters in save games rather than just directly editing CHR files I export from the game (how shadow keeper does this). Has anyone done anything like this in Java before?

Im guessing from reading http://iesdp.gibberlings3.net/file_formats/ie_formats/gam_v2.0.htm that all I need to do is understand if the NPC is in my party, if yes then work from the "Offset (from start of file) to CRE resource data for this character" as I would a normal CRE file?

Comments

  • CuvCuv Member, Developer Posts: 2,535
    Yes, that is the safest way to alter a character or NPC. If you do something wrong with the save game, it will just crash the game. If it loads okay... you know you are good to go. Be careful, its easy to break your save game. With practice you can do it without worry.
  • MilochMiloch Member Posts: 863
    Near Infinity (which is written in Java) allows you to do this already, and fairly easily at that (i.e. edit characters in saved games).

    http://www.shsforums.net/topic/45358-nearinfinity/
  • MikeMastersMikeMasters Member Posts: 141
    @Miloch Thanks, this is more an excuse for me to learn Java, I figure it would be cool if I can make my own very basic tools with it also.
Sign In or Register to comment.