SWBFGamers

Modding for the Original SWBF1 and SWBF2 => Released Maps and Mods => Topic started by: Led on June 03, 2014, 04:44:30 PM

Title: level extrator
Post by: Led on June 03, 2014, 04:44:30 PM
level extrator

http://www.swbfgamers.com/index.php?action=downloads;sa=view;down=1145 (http://www.swbfgamers.com/index.php?action=downloads;sa=view;down=1145)
Title: Re: level extrator
Post by: 411Remnant on June 03, 2014, 05:15:57 PM
This can at the moment extract tga files from a lvl? If so...thats quite the achievement.
Title: Re: level extrator
Post by: MileHighGuy on June 03, 2014, 05:19:07 PM
It can extract .dds files and .lub files.. It was made a long time ago.
Title: Re: level extrator
Post by: 411Remnant on June 03, 2014, 05:25:17 PM
dds files can be read( pronounched red) from photoshop/gimp and converted that way?
Title: Re: level extractor
Post by: MileHighGuy on June 03, 2014, 05:25:55 PM
Yes. I think you need this for gimp..
http://code.google.com/p/gimp-dds/

Also, lub files can be decompiled into lua, but i am having a hard time finding a decompiler for lua/lub version 4.

You can read lub files semi legibly with a hex editor or notepad++, but it still doesnt beat the lua file.

Luadec was first released in 04.. but i dont know how to get the earliest versions to work

http://luadec.luaforge.net/
Title: Re: level extrator
Post by: SleepKiller on June 03, 2014, 07:53:15 PM
People tried for eight years to decompile SWBF's lua scripts and they all failed. And now that a developer has actually released the scripts why would you bother with trying to decompile them? The only reason would be for mission scripts from mod maps but those can typically be easily recreated.
Title: Re: level extrator
Post by: MileHighGuy on June 03, 2014, 08:06:30 PM
You are right about swbf1, I forgot about that. But I think swbf2 does not have all of the decompiled scripts, right? Anyway, it is still useful for textures.
Title: Re: level extrator
Post by: Dark_Phantom on June 06, 2014, 02:23:05 PM
Actually, I believe they have all the scripts as well.
As far as decompiling, it was all failure, like Sleepkiller said.  Some of us tried reconstruction, but most of these were flawed because of the changes in SWBF2 lua, which most were released before, and then a truly "complete" set was released shortly after the SWBF1 files.
EhPortal 1.34 © 2024, WebDev