Decoding the lua files?

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
lothario
Posts: 18
Joined: Thu Jun 21, 2012 12:42 pm

Decoding the lua files?

Post by lothario »

Anybody had any luck with this yet? I'm talking about the lua files like CharClass.lua and Race.lua here... I suspect that they are encoded similarly to the savegame files, but I can't be sure. Attempts to make even tiny raw changes in these files have resulted in nothing but game crashes so far... some of the data in the CharClass.lua file (for example) is readable text, so you'd think that you could get away with a little meddling here and there. Decompiling these files results in a failure to recognize them as compiled lua objects, so that's why I'm thinking that they're something else entirely.

Just changing the mage class to have the skill "swords" instead of "staves" will crash your game before the loading screen. It could be the extractor/patcher, I suppose... but the filesizes match exactly before and after any fiddling around. I'd love to hear any ideas you guys might have! :)

-Loth
User avatar
montagneyaya
Posts: 103
Joined: Tue May 01, 2012 11:08 pm

Re: Decoding the lua files?

Post by montagneyaya »

lothario
Posts: 18
Joined: Thu Jun 21, 2012 12:42 pm

Re: Decoding the lua files?

Post by lothario »

Thanks for those links! Very helpful.

-Loth
Post Reply