c:r moddump: lol files part 2Huzzah!

hifi, denizen of #carmageddon and creator of fine digital wares, suggested poking an uncompiled .lua back in place of the compiled version. And, by Jove, it worked!

Once you've grabbed your .lol, edited the 6th byte, decompiled and made your edits you can just import the cleartext .lol back into the ZAD and you're good to go.

The proof is in the pudding.0 comments8:59am - Monday, March 17th, 2014 - Errol
toxic ragers githubAnd while I'm here I might as well mention the Github: https://github.com/ErrolErrolson/

Currently only batchTwat there but I'll be adding C:R tools as and when I develop them.

Bleh.0 comments4:41am - Monday, March 17th, 2014 - Errol
c:r moddump: lol filesJust a quick one.

The .lol files in Carmageddon:Reincarnation are standard compiled LUA scripts with a single byte changed.

Open up the .lol in a hex editor, change the 6th byte from 5F to 00 and save.

The script will now decompile.

I've been using UNLUAC (available here: http://sourceforge.net/projects/unluac/) and plan on knocking together a little editor that does the decompile/recompile seamlessly.

Anyhoo,
Lates0 comments4:28am - Monday, March 17th, 2014 - Errol
all rights reserved © toxic ragers 1998 - 2019