Hello, I'm new to modding and I was wondering if anyone could show me where to download a program to extract lua files from .lvl files and a program to compile the lua files again.
Thank you.
lua extractor
Moderator: Moderators
-
- Missing Jedi Admin
- Posts: 3277
- Joined: Fri Nov 12, 2004 2:54 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: lau extractor
In fact, you can just extract compiled *.LUA files out of SWBF II's *.LVL files. Moreover, all softwares allowing the decompiling of any LUA scripts do not work on SWBF II's... If you want to get more informations about those scripts, then you should send a PM to Nimlot...
PS : By the way, welcome on GameToast's forums !...
PS : By the way, welcome on GameToast's forums !...

- Teancum
- Jedi Admin
- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
RE: lau extractor
Nope -- I believe lua files are actually compiled into a different kind of file. BF is different than other games in that the files you use to mod actually get ocmpiled into a different kind of file for the game to read.
I added a new section in my original post here (in the sticky thread about Lua scripts).
luck3y's extractor program can be used to pull out the Lua byte-code for scripts. I'm doing a bit of work today on trying to figure out why LuaDec crashes when trying to decompile the scripts.
luck3y's extractor program can be used to pull out the Lua byte-code for scripts. I'm doing a bit of work today on trying to figure out why LuaDec crashes when trying to decompile the scripts.
- Teancum
- Jedi Admin
- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana