lua extractor

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
MorpheusWells

lua extractor

Post by MorpheusWells »

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.
Leviathan
Missing Jedi Admin
Posts: 3277
Joined: Fri Nov 12, 2004 2:54 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: lau extractor

Post by Leviathan »

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 !... :wink:
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

RE: lau extractor

Post by Teancum »

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.
Riley75

Post by Riley75 »

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.
MorpheusWells

Post by MorpheusWells »

Thanks, I'll try luck3y's extractor.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Post by Teancum »

WOW! --- didn't know about that.
Leviathan
Missing Jedi Admin
Posts: 3277
Joined: Fri Nov 12, 2004 2:54 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Leviathan »

It is the extractor which pulls out compiled LUA files, Tean'... :(
Post Reply