lfnetwork.com mark read register faq members calendar

Thread: New test .lvl extraction tool available
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 11-02-2004, 07:05 AM   #1
luck3y
Rookie
 
Join Date: Sep 2004
Posts: 14
New test .lvl extraction tool available

Update 11/0 version 0.0.7

First mesh extraction attempt. Some work, some don't, try it and see!

You need meshviewer from the directx sdk or some other 3d app that can open / import direct x .x files.

http://www.zaptillion.net/swbf/extract.zip


Update 11/03 version 0.0.6
Some texture extraction bugfixes


Hi All,

I've been working on an extraction tool for .lvl files. It currently only supports full extraction of dds textures and the extraction of compliled lua from the archive, but it does recognise a lot of the other structures in the lvl files, and I'm working hard writing functions to save / convert this data too!

You can try it out here: http://www.zaptillion.net/swbf/extract.zip

Basically, you extract the zip, and you'll see a file called extract.exe. Its a command line untility, so you go to a cmd prompt and run it on a swbf .lvl file like this

extract geo1.lvl

It'll print what its extracting and run, when done, you'll have a directory full of files (textures and .lub files at the moment).

I'm still finishing some of the texture formats (some of them aren't exactly right at the moment, but most of them work!) Source is included.

And read about it here:
http://www.gametoast.com/index.php?n...er=asc&start=0

Special thanks to Riley75 for his reseach expertise!

Let me know of any bugs / things you'd like to see in a tool like this.

Last edited by luck3y; 11-12-2004 at 08:08 AM.
luck3y is offline   you may: quote & reply,
Old 11-02-2004, 08:46 AM   #2
TK-8252
Get Cloned.
 
TK-8252's Avatar
 
Join Date: Aug 2003
Posts: 5,850
Arg.

I'm a bit lost here...

So I ran it, I got it to extract the contents of imp.lvl. It has a huge list of stuff extracted with <done> next do it. But now what? Where do the files get extracted...?
TK-8252 is offline   you may: quote & reply,
Old 11-02-2004, 08:52 AM   #3
luck3y
Rookie
 
Join Date: Sep 2004
Posts: 14
They should be in the same directory where you ran extract.

I usually make a directory (say c:\swbf) , copy the .lvl file and extract.exe in there, then

cd \swbf
extract geo1.lvl

all the extracted files will be in c:\swbf\
luck3y is offline   you may: quote & reply,
Old 11-02-2004, 08:56 AM   #4
TK-8252
Get Cloned.
 
TK-8252's Avatar
 
Join Date: Aug 2003
Posts: 5,850
Oop, silly me. I found 'em. I am so blind.

But uh... now... what's the deal with .dds files?

Sorry, I never caught on. I feel like such a n00b...
TK-8252 is offline   you may: quote & reply,
Old 11-02-2004, 09:04 AM   #5
luck3y
Rookie
 
Join Date: Sep 2004
Posts: 14
They're directx textures, you need a tool too edit view them, I use irfanview to view them, photoshop and paint shop pro and others all hve plugins to edit them.

I'm not a skilled skinner, so after that I don't know what to tell you
luck3y is offline   you may: quote & reply,
Old 11-02-2004, 09:10 AM   #6
TK-8252
Get Cloned.
 
TK-8252's Avatar
 
Join Date: Aug 2003
Posts: 5,850
If I can get it into a texture editer, I can do some skinning (I was a skinner for Jedi Outcast/Academy).

But uh... this irfanview... is it free for download (legally, that is)?

I have PhotoDeluxe, which I used for Jedi Outcast/Academy skinning, but I don't think it can open .dds files.
TK-8252 is offline   you may: quote & reply,
Old 11-02-2004, 09:22 AM   #7
luck3y
Rookie
 
Join Date: Sep 2004
Posts: 14
irfan view is free, but its only a viewer

I don't know about other free editor tools, time for you to do some reseaching and make a topic on it!
luck3y is offline   you may: quote & reply,
Old 11-02-2004, 09:47 AM   #8
TK-8252
Get Cloned.
 
TK-8252's Avatar
 
Join Date: Aug 2003
Posts: 5,850
Some questions now, perhaps for future versions:

I really want to put some better sounds in. Would it be possible for an extracter to extract the sound files, so they could be replaced?

And, I also want to change the units' weapons, skins, classes, health, speed, etc., so is it possible to extract the files that contain these settings?

(I know this is just an early version, but I'm just curious what's possible.)

This tool will really help the modding community.
TK-8252 is offline   you may: quote & reply,
Old 11-02-2004, 09:51 AM   #9
luck3y
Rookie
 
Join Date: Sep 2004
Posts: 14
Quote:
Originally posted by TK-8252
I really want to put some better sounds in. Would it be possible for an extracter to extract the sound files, so they could be replaced?
Yes.

Quote:
Originally posted by TK-8252
And, I also want to change the units' weapons, skins, classes, health, speed, etc., so is it possible to extract the files that contain these settings?
Yes!

I'm planning on complete extraction of all of the lvl files. If nobody else steps up, I'll be doing repacking too :/
luck3y is offline   you may: quote & reply,
Old 11-02-2004, 09:53 AM   #10
TK-8252
Get Cloned.
 
TK-8252's Avatar
 
Join Date: Aug 2003
Posts: 5,850
Ahh, nice.

*Eagerly waits, rubbing hands together*
TK-8252 is offline   you may: quote & reply,
Old 11-02-2004, 10:28 AM   #11
LightNinja
The Ninjonator
 
LightNinja's Avatar
 
Join Date: Sep 2003
Location: Somewhere-Spain Status: Ninjonator
Posts: 1,998
nice to see that the moding will be like bf1942', i hope some pro mod teams come to bf to make some cool mod xP




~JA MP Total Conversion~
LightNinja is offline   you may: quote & reply,
Old 11-02-2004, 12:32 PM   #12
Barcrest
Rookie
 
Join Date: Sep 2004
Posts: 28
http://www.irfanview.com/

It is a viewer but you can convert the files to whatever format you wish and edit them in your nomal editor and then convert them back. It's not rocket science LOL
Barcrest is offline   you may: quote & reply,
Old 11-02-2004, 02:11 PM   #13
TK-8252
Get Cloned.
 
TK-8252's Avatar
 
Join Date: Aug 2003
Posts: 5,850
I found the textures for the Imperial Officer. Interesting...

Questions: what are .lub files, and can they currently be opened and how?
TK-8252 is offline   you may: quote & reply,
Old 11-02-2004, 02:16 PM   #14
luck3y
Rookie
 
Join Date: Sep 2004
Posts: 14
Quote:
Originally posted by TK-8252
I found the textures for the Imperial Officer. Interesting...

Questions: what are .lub files, and can they currently be opened and how?
You can't do much with those right now. I'm working on another tool to decompile the lua code :/

http://www.lua.org/ for more info on the lua language.
luck3y is offline   you may: quote & reply,
Old 11-02-2004, 04:41 PM   #15
TK-8252
Get Cloned.
 
TK-8252's Avatar
 
Join Date: Aug 2003
Posts: 5,850
Please, whatever you do, don't make us have to use a blasted hex editer!

I sooo hate hex...
TK-8252 is offline   you may: quote & reply,
Old 11-03-2004, 12:18 AM   #16
luck3y
Rookie
 
Join Date: Sep 2004
Posts: 14
Updated this with some image extraction bugfixes,

http://www.zaptillion.net/swbf/extract.zip
luck3y is offline   you may: quote & reply,
Old 11-03-2004, 12:51 AM   #17
Barcrest
Rookie
 
Join Date: Sep 2004
Posts: 28
TK8252 fancy posting up thoose imperial officer skins for us to take a look at
Barcrest is offline   you may: quote & reply,
Old 11-03-2004, 11:12 AM   #18
DarkDan721
Rookie
 
DarkDan721's Avatar
 
Join Date: Oct 2004
Location: Long Island, New York
Posts: 41
Question

Once models can be extracted is there a program to just view models with your custom skins on them. A free model viewer?
DarkDan721 is offline   you may: quote & reply,
Old 11-03-2004, 02:18 PM   #19
TK-8252
Get Cloned.
 
TK-8252's Avatar
 
Join Date: Aug 2003
Posts: 5,850
Quote:
Originally posted by Barcrest
TK8252 fancy posting up thoose imperial officer skins for us to take a look at


Also, I made some changes, for an Imperial Noncommissioned Officer:


Last edited by TK-8252; 12-08-2004 at 07:20 PM.
TK-8252 is offline   you may: quote & reply,
Old 11-03-2004, 03:10 PM   #20
kingguru
Rookie
 
kingguru's Avatar
 
Join Date: Oct 2004
Location: Gametoast.com
Posts: 175
Nice skin bud! the non commisioned are excellent. Good to see some works coming out that could be used in a real mod.


Star Wars Battlefront 1 & 2 Mod Site.

-=Gametoast.com =-
kingguru is offline   you may: quote & reply,
Old 11-04-2004, 04:12 AM   #21
Barcrest
Rookie
 
Join Date: Sep 2004
Posts: 28
Nice images dude... there is some realy cool sfuff about now, if we get some decent tools we are away.
Barcrest is offline   you may: quote & reply,
Old 11-05-2004, 06:05 AM   #22
LightNinja
The Ninjonator
 
LightNinja's Avatar
 
Join Date: Sep 2003
Location: Somewhere-Spain Status: Ninjonator
Posts: 1,998
Re: New test .lvl extraction tool available

Quote:
Originally posted by luck3y
Basically, you extract the zip, and you'll see a file called extract.exe. Its a command line untility, so you go to a cmd prompt and run it on a swbf .lvl file like this
Let me know of any bugs / things you'd like to see in a tool like this.
i dont know what is a comand prompt or how to open it, could you make this like a winzip extractor? (in next versions) so that it could be easier.
If you have BF1942 i mean a tool like .rfa extractor WinRfa




~JA MP Total Conversion~
LightNinja is offline   you may: quote & reply,
Old 11-05-2004, 11:45 AM   #23
luck3y
Rookie
 
Join Date: Sep 2004
Posts: 14
Re: Re: New test .lvl extraction tool available

Quote:
Originally posted by LightNinja
i dont know what is a comand prompt or how to open it, could you make this like a winzip extractor? (in next versions) so that it could be easier.
If you have BF1942 i mean a tool like .rfa extractor WinRfa
Yeah, maybe at some point, but for now we're all working on figuring out how the rest of the game data is stored.
luck3y is offline   you may: quote & reply,
Old 11-05-2004, 02:44 PM   #24
LightNinja
The Ninjonator
 
LightNinja's Avatar
 
Join Date: Sep 2003
Location: Somewhere-Spain Status: Ninjonator
Posts: 1,998
Re: Re: Re: New test .lvl extraction tool available

Quote:
Originally posted by luck3y
Yeah, maybe at some point, but for now we're all working on figuring out how the rest of the game data is stored.
yep i know, you're doing a great job, it was just a idea




~JA MP Total Conversion~
LightNinja is offline   you may: quote & reply,
Old 11-12-2004, 09:32 AM   #25
luck3y
Rookie
 
Join Date: Sep 2004
Posts: 14
extract updated! see the top message for details!
luck3y is offline   you may: quote & reply,
Old 11-12-2004, 12:35 PM   #26
Whoopknacker
Junior Member
 
Whoopknacker's Avatar
 
Join Date: Mar 2004
Posts: 328
Good luck with the skins. I ended up getting rid of the cockpit skins for the ATAT, ATST and the snowspeeder. I can see so much more and its easier to target. The only glitch has been that if you eject in the first person view, you dont have any hands or a weapon.



Thank you sir may I have another
Whoopknacker is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > SWBattlefront.net (SWBF I & II) > Star Wars Battlefront > Modding & Editing > New test .lvl extraction tool available

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:51 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.