Reply To: MAFIA II – GC09 mod

Home / Forums / Modders Corner / Mafia Scene Modders / 2009 Mods / MAFIA II – GC09 mod / Reply To: MAFIA II – GC09 mod

Bank Notes: 360
August 11, 2012 at 1:16 pm #14897

Hello group 2009,

sounds interresting <img decoding=” data-emoticon=”” srcset=”/wp-content/uploads/invision_emoticons/smile@2x.png 2x” width=”20″ height=”20″>

 

I think one of the biggest problems for modding MAII are the compiled/crypted LUA Scripts.

Some weeks ago i dl’ed all the LUAdec stuff.

I tried to understand the src, made comments und setted up a debug evironment.

Unluckily i used a virtualmachine for that, by accident i resetted this VM, so all my efforts was lost.

well, doesnt really matter, because there was not much results yet.

I had most of the .luac from MaII extracted with ricks tools and run throug luadec.

The result was not satisfying and luadec crashed or stopped with errors, when the run was completed

there was a lot of unresolved / missing code in the result.

Well the lua interpreter inside mafiaII.exe can execute the code, so there schould be a possibilty

to decompile it.

– its not a binary optimized code like a modern c-compiler would generate

– if you open an extracted .luac from MAII with an editor (e.g. notepad++) you still

can see/guess what the code does

But luadec would need some seriuos work to get the correct decompiling done.

Althoug i think that 2k “cooks there own soup with the .luac” (something special and not standard in the

lua headers)

In any case, succesful decompiling of the .luac’s would be a greath breakthrough for maII modding.

 

greetings

druuc