Heliomance / HeroForge-Anew

An interactive character builder spreadsheet for D&D 3.5, built in Excel.
https://sites.google.com/site/heroforgeanew
75 stars 30 forks source link

.hfg files (enhancement/compatability) #102

Open Caotical opened 8 years ago

Caotical commented 8 years ago

Im currently working on a program I'm building that will help manage a tabletop game and I'm interested in being able to load up .hfg characters. I was wondering if I could get access to the template used in .hfg files, help decrypting them would also be appreciated.

Heliomance commented 8 years ago

.hfg files are literally just a copy of the hidden ExportSheet tab in HeroForge. The save routine takes that tab, saves it as a worksheet, and gives it a .hfg file extension. The load routine takes the file and overwrites the ExportSheet tab with it.

Your best bet for decoding it is probably just to open up HeroForge, unhide the ExportSheet tab, and try to track through how all the various values are used. If you need help with specific values, I can give you pointers, but there's far too much info stored there to just tell you everything.

With that said, one of the things on my to-do list is transitioning to XML-based save files, which will make that sort of thing a lot easier. That's probably a way off though.