luck3y Posted November 2, 2004 Posted November 2, 2004 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?name=PNphpBB2&file=viewtopic&t=60&postdays=0&postorder=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.
TK-8252 Posted November 2, 2004 Posted November 2, 2004 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...?
luck3y Posted November 2, 2004 Author Posted November 2, 2004 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\
TK-8252 Posted November 2, 2004 Posted November 2, 2004 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...
luck3y Posted November 2, 2004 Author Posted November 2, 2004 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
TK-8252 Posted November 2, 2004 Posted November 2, 2004 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.
luck3y Posted November 2, 2004 Author Posted November 2, 2004 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!
TK-8252 Posted November 2, 2004 Posted November 2, 2004 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.
luck3y Posted November 2, 2004 Author Posted November 2, 2004 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 :/
TK-8252 Posted November 2, 2004 Posted November 2, 2004 Ahh, nice. *Eagerly waits, rubbing hands together*
LightNinja Posted November 2, 2004 Posted November 2, 2004 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
Barcrest Posted November 2, 2004 Posted November 2, 2004 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
TK-8252 Posted November 2, 2004 Posted November 2, 2004 I found the textures for the Imperial Officer. Interesting... Questions: what are .lub files, and can they currently be opened and how?
luck3y Posted November 2, 2004 Author Posted November 2, 2004 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.
TK-8252 Posted November 2, 2004 Posted November 2, 2004 Please, whatever you do, don't make us have to use a blasted hex editer! I sooo hate hex...
luck3y Posted November 3, 2004 Author Posted November 3, 2004 Updated this with some image extraction bugfixes, http://www.zaptillion.net/swbf/extract.zip
Barcrest Posted November 3, 2004 Posted November 3, 2004 TK8252 fancy posting up thoose imperial officer skins for us to take a look at
DarkDan721 Posted November 3, 2004 Posted November 3, 2004 Once models can be extracted is there a program to just view models with your custom skins on them. A free model viewer?
TK-8252 Posted November 3, 2004 Posted November 3, 2004 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:
kingguru Posted November 3, 2004 Posted November 3, 2004 Nice skin bud! the non commisioned are excellent. Good to see some works coming out that could be used in a real mod.
Barcrest Posted November 4, 2004 Posted November 4, 2004 Nice images dude... there is some realy cool sfuff about now, if we get some decent tools we are away.
LightNinja Posted November 5, 2004 Posted November 5, 2004 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
luck3y Posted November 5, 2004 Author Posted November 5, 2004 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.
LightNinja Posted November 5, 2004 Posted November 5, 2004 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
luck3y Posted November 12, 2004 Author Posted November 12, 2004 extract updated! see the top message for details!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.