PDA

View Full Version : [Batch Lua Decompiler v2.0]


Zatch
7th Jul 04, 12:46 AM
This program makes use of Age2un's LuaDC.dll on a whole new level. It allows you to choose the directory where you extracted your Homeworld2.big file and then decompile every compiled lua file. This includes *.ship, *.wepn, *.nis, *.events, *.lua, *.madstate, *.campaign, *.miss, *.anim, *.pebble, *.nebula, *.flare, *.level, *.mad, *.mc, *.resource, *.navs, *.wf, *.subs, *.ti, and *.mres files. They overwrite the old ones so no manual renaming is necessary.

Make sure you back up your extracted directory (if you use it for other things. You can always just re-extract the hw2.big file.) There are many files that LuaDC cannot properly decompile, a few of which are: all of the *.level files and most of the files in the UI directory.

Version History

2.0 - Jan. 2, 2005 - Now it uses LuaDC.dll to decompile the files, instead of using a batch file. This makes it faster, less buggy, and easier to use!

BmB
7th Jul 04, 3:23 AM
ZaTcH, ZaTcH, ZaTcH, ZaTcH, ZaTcH, ZaTcH...

:bow: :bow: :bow: :bow: :bow:

Double Post

uh... ZaTcH it has still the .luaDC output file AND has not decompiled the "texture.lua"

happy fixing...

Zatch
7th Jul 04, 11:34 AM
Version 1.1 fixes both of these issues. Same link as before.

Have fun, I'm off to work!

Zatch
2nd Jan 05, 8:34 PM
:bump: Major update released.

Jaen-ni-rin
25th Jan 05, 4:17 AM
If there's someone who don't know how to register the LuadDC.dll, here is download which do this for you.

SETUP FILE (306kb) (http://members.lycos.co.uk/jaennirin/setup.exe) - Drag to adress bar

Jaen-ni-rin
25th Jan 05, 2:12 PM
Oh, and it seems to output wrong files.
Mine copy seems to make files broken, as after decompiling the game is unable to launch.

For eg. HW2Styles doesn't decompile porperly, and I need all UI files. Is it possible to be fixed ?

valjoux
25th Jan 05, 4:04 PM
I noticed the conventional LuaDC making some errors in some { parts as far as I remember, I had to fix that by hand. It could be possible this is the cause here too.

Jaen-ni-rin
26th Jan 05, 6:33 AM
Oh, and it sometimes doesn't decompile files (for eg. all in root of UI catalogue, excluding camera.lua)
ZaTcH, any fixing is possible ?

Zatch
26th Jan 05, 6:33 AM
Any output errors are caused by LuaDC itself. IIRC, *.level files have had problems decompiling in the past, but I didn't think there was anything wrong with the UI scripts.

Missing files is an issue that will be addressed shortly :).

Jaen-ni-rin
26th Jan 05, 6:44 AM
My HW2Styles is cut.
It have 7 kb instead of 37 kb, and It's fault of LuaDC, as I tried to decompile it on my own. Is thee any possibility to have it fixed ?

Avonire
13th Mar 05, 9:55 AM
I get the Run-time error 380 Invalid property value when i try to decomplie any file useing batch luadc, no idea why or how to fix it =( help!

Avonire
13th Mar 05, 9:58 AM
now i get Run-time error 429 activex component cant creat object when i try to decompile anything what is up with my system?

unfunf
13th Mar 05, 11:34 AM
ooo i missed .lua compiled filetypes to putin my program.. yikes. i shall update my program immediately.

avonire its because his stuff is using visual basic which requires runtimes. if you cannot get his working try mine, which does not require runtimes. both programs are fine.

Zatch
13th Mar 05, 8:50 PM
Visual Basic Runtime files SP6: link (http://www.microsoft.com/downloads/details.aspx?FamilyID=7b9ba261-7a9c-43e7-9117-f673077ffb3c&DisplayLang=en)

Visual Basic Runtime files SP5: link (http://www.microsoft.com/downloads/details.aspx?FamilyID=bf9a24f9-b5c5-48f4-8edd-cdf2d29a79d5&DisplayLang=en)

Or just use unfunf's program, I've heard good things :).

adamstrange
15th Mar 05, 3:10 PM
ZaTcH,do you have or can you create a program that will take the game's data folder and compile it into a BIG file...like a BIG file creator ?

unfunf
15th Mar 05, 5:06 PM
adamstrange, my program does that. Just check my sig.

adamstrange
16th Mar 05, 12:08 AM
Where do i find it?

nEVER MIND i Found IT...bOUY i KNOW I GOT tO gET soME sLEEP...tHESE lETTErs Are STARTiNG to Lo0k FuNny :Slap: