SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding => Topic started by: jdee-barc on October 16, 2011, 05:08:15 PM

Title: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: jdee-barc on October 16, 2011, 05:08:15 PM
I was wondering how legal or illegal or just not right this is: taking the PS2 and Xbox versions of SWBF and SWBF2, playing them on a pc using an emulator, while using DXRipper to extract pS2 and xbox versions of models.

I'm wondering this from when i was playing SWBF2 on my friend's ps2 and noticed that the pistol model for the imperials was much different then the model for the pc version (the ps2 version looked accurate, the pc version, well, it looks like a pointed tube with a pistol grip and a small scope. I'd also make comparesions about the other models too.

I need your opinion.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: SleepKiller on October 16, 2011, 05:11:56 PM
I think as long as you own the console itself you can legaly use an elumator to run it on a PC.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: jdee-barc on October 16, 2011, 05:29:53 PM
i have no such console. so i'd be doing this with my friend on his pc as he has both a ps2 consoleand ps2 emulator and his pc's like a state of the art custom gaming rig (i just have a crap netbook).
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: SleepKiller on October 16, 2011, 05:47:11 PM
Yeah, then it seems legel.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: jdee-barc on October 16, 2011, 05:53:38 PM
even the part about extracting the models? i mean, they both come from Pandemic.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: SleepKiller on October 16, 2011, 06:31:01 PM
Well that may be slightly less legal but your right they both come from Pandemic..   :shrug:
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: jdee-barc on October 16, 2011, 06:51:56 PM
i'll probably do it then.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: Phobos on October 16, 2011, 08:34:34 PM
Quote from: jdee-barc on October 16, 2011, 06:51:56 PM
i'll probably do it then.
I'd love to help, maybe test the different pistol meshes in game if you want.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: Bamdur on October 16, 2011, 09:26:34 PM
ive extracted bf2 from my ps2 to my pc, and i played it on an emulator, the files are encrypted in some type of format that i cant decphier either so its kinda no use because i think its the standard ps2 format files
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: SleepKiller on October 16, 2011, 09:29:12 PM
Really my copy of SWBFII for PS2 has the LVL files on it.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: jdee-barc on October 16, 2011, 09:48:35 PM
and whether i have the lvl files or not, shouldn't matter. i'm playing on a n emulator and ripping models from frame captures with dxripper.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: SleepKiller on October 16, 2011, 09:58:28 PM
Yeah should work like a charm.(Hopefully)
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: jdee-barc on October 17, 2011, 08:31:27 PM
ok. this small modding trip will be progressing behind closed doors with me and my friend (his name's oliver). DO NOT ask for the models until we've made sure we can release them, problem-free, and until were done making sure they have no bugs or issues
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: Phobos on October 18, 2011, 08:42:57 AM
Bamdur is saying the ps2 does NOT have different models, only better quailty textures? If this is the case I can easily extract the textures from the LVL files. If not, then how do you use DX ripper with swbf1?
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: SleepKiller on October 18, 2011, 01:48:07 PM
No, no SWBF for the PS2 and xBox have worse models and textures due to the fact PC gamers have far better machines than any console can have.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: Bamdur on October 18, 2011, 02:46:22 PM
thats not necessarily true.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: SleepKiller on October 18, 2011, 03:20:01 PM
Actually it is. With any video game the PC version is always the most intense. Due to the fact hard core gamers are constantly upgrading their machines to the latest hardware. Thus game devopers make the PC's stuff much better than the consoles stuff due to the fact the PC can take it. Just look up the specs of an xBox and PS2 and compare them to a 2005 gaming rig. The PC is much better is it not?
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: Bamdur on October 18, 2011, 03:38:53 PM
nvm. lol
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: SleepKiller on October 18, 2011, 03:43:16 PM
I have the LVL files the side and world files are much much smaller than the PC ones( A world file averages 7 MB a PC one can average any where from 20-40 MB) that means that the textures and models on the inside are less detailed.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: Phobos on October 18, 2011, 03:44:17 PM
Quote from: SleepKiller on October 18, 2011, 03:43:16 PM
I have the LVL files the side and world files are much much smaller than the PC ones( A world file averages 7 MB a PC one can average any where from 20-40 MB) that means that the textures and models on the inside are less detailed.
So then why is barc saying ps2 has different models? If they are different then there is no msh extractor only the dx ripper thing.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: Phobos on October 18, 2011, 03:53:00 PM
Assuming Led doesn't mind, I will upload all the ps2 LVL files. I also noticed the ps2 movies folder has a shell.mvs which is 810mb compared to the pc shell.mvs which is 823mb. It also has TUTENG.mvs which is 265mb, which DOES NOT EXIST in the pc movies folder. I'm playing it with VLC and it's only 1 minute long, and the quality is HORRIBLE. I would expect a file like this to be 5mb tops. Must be some way to convert it smaller? No sound either -.- And VLC won't play shell.mvs but says its 50 hours long.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: SleepKiller on October 18, 2011, 03:57:54 PM
Now that is plan piracy Phobos do not do it and I'm assuming Led will mind. Since you are infact breaching copyright LAWs by uploading them. Please, do not do it. It can get this site in trouble and it won't be you reaping it it will be Led. And a .mvs is just like a LVL file only it contains movies notother stuff. So no SWBF uses a special format to store its movies so no their is no way you can watch those movies sorry.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: jdee-barc on October 18, 2011, 04:02:00 PM
Extracting the models with DXipper will produce models in a format (i haven't done it yet) that can be opened in amodeling program  and then

if you have xsi and pandemic addon, fixed and exported as msh
any other program: imported, then exported as vrml > imported as vrml in swbfviewer, and exported as msh.

I have been told by DarthDUCK that extracting the models on an emulator may not work because of the way the emulators are set to work.

I already said i would look into  a few of the models, and models only. should the extraction process go sucessfully. please do not upload the movies and such if its illegal, simply for the the sake of this site.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: Phobos on October 18, 2011, 04:07:51 PM
Quote from: SleepKiller on October 18, 2011, 03:57:54 PM
Now that is plan piracy Phobos do not do it and I'm assuming Led will mind. Since you are infact breaching copyright LAWs by uploading them. Please, do not do it. It can get this site in trouble and it won't be you reaping it it will be Led. And a .mvs is just like a LVL file only it contains movies notother stuff. So no SWBF uses a special format to store its movies so no their is no way you can watch those movies sorry.
You're wrong. People upload PC LVL files all the time, so unless Led objects I will upload the PS2 LVL files. And you are wrong about "so no their is no way you can watch those movies sorry." Cuz I just successfully converted the tutorial video for ps2 from MVS to MP4 format and shrunk the size down to 60mb, same video quality, no sound.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: SleepKiller on October 18, 2011, 04:16:11 PM
Whattttt? I searched for hours on the internet trying to find a program that could open those files and you go and do it in an hour!? And we upload LVLS from the PC version the one we have a liecense from LucasArts to mod. We have no such lisance for the PS2 version. Please do not upload the LVLs.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: Bamdur on October 18, 2011, 04:25:28 PM
nobody said you couldnt :P
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: Phobos on October 18, 2011, 04:26:27 PM
Quote from: SleepKiller on October 18, 2011, 04:16:11 PM
Whattttt? I searched for hours on the internet trying to find a program that could open those files and you go and do it in an hour!? And we upload LVLS from the PC version the one we have a liecense from LucasArts to mod. We have no such lisance for the PS2 version. Please do not upload the LVLs.
Already have uploaded them, do not bother telling me not to post the link, I will only do so when Led approves. I'm also trying to get the sound for the tutorial movie to add to the mp4. Currently only think of 2 ways
1) play the game on ps2 and record the sound then combine it with vid file
i don't have a ps2 so that forces me to do option 2
2) run the game on ps2 emulator and play the video then record the sound and combine with vid file

Then i will upload the tutorial video to youtube so all us pc players can watch it. And if it's "illegal" to do all that, youtube won't hesitate to censor the video. BTW it's 8 minutes now.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: SleepKiller on October 18, 2011, 04:35:01 PM
Youtube censoring videos? YouTube hosts 1,000s of ilegal videos I highly doughbt they will censor it due to the fact they only take action when someone reports it. they do not have the man power to monitor all their videos.

This 2) run the game on ps2 emulator and play the video then record the sound and combine with vid file
is highly ilegal to do and just because you think you can get away with it because you think noone cares is wrong. LucasArts does care wether or not the users follow the rules. It is people like you who ruin it for everyone else they may not punish you but they take steps in their fueture games to ensure it has hard as to be able to rip content and modify it or put it on the net. Why do you think so few games receive modtools and that pretty much all games content is encoded in a format only the game understands. It's all to stop people like you. So before you do something that breaks the law think of the consquances. They may not impact you very much. But that is why they are constantly adding more secure stuff to games to stop people like you. If a SWBFIII ever comes out I highly doubt it will be modable.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: Phobos on October 18, 2011, 04:45:27 PM
Quote from: SleepKiller on October 18, 2011, 04:35:01 PM
Youtube censoring videos? YouTube hosts 1,000s of ilegal videos I highly doughbt they will censor it due to the fact they only take action when someone reports it. they do not have the man power to monitor all their videos.

This 2) run the game on ps2 emulator and play the video then record the sound and combine with vid file
is highly ilegal to do and just because you think you can get away with it because you think noone cares is wrong. LucasArts does care wether or not the users follow the rules. It is people like you who ruin it for everyone else they may not punish you but they take steps in their fueture games to ensure it has hard as to be able to rip content and modify it or put it on the net. Why do you think so few games receive modtools and that pretty much all games content is encoded in a format only the game understands. It's all to stop people like you. So before you do something that breaks the law think of the consquances. They may not impact you very much. But that is why they are constantly adding more secure stuff to games to stop people like you. If a SWBFIII ever comes out I highly doubt it will be modable.

Youtube has automated scanning process implemented. If any copyrighted material is in the video it will automatically be censored. Recording the sound is not highly illegal. It is not wrong to do so either. It is for promotional purposes, so nobody from LucasArts is going to get bent up just because I'm uploading tutorial videos they made for the game. People do those things all the time, and it's not illegal.

It's people like YOU sleepkiller, who ruin it for everyone in the community, by attacking people like me who go to the effort of making more material/content available for modders and players alike. ANYONE can take a video camera and record videos from the ps2 game, or gameplay itself, and upload to youtube. Many people have, there are hundreds of such videos on youtube, yet I don't see you complaining about them. You are targeting me and insulting all the work I do to provide more content to the community and I find it very immature.

You really should stop being so hateful and arrogant, and appreciate the fact very few modders are active and willing enough to provide more for the game. You are trying to kill it with your paranoid attitude. It's people like you who remove all motivation from lucasarts to make swbf3.

The security measures you mentioned are to make the game run smoother because it can't recognize AVI format. And I'm not trying to edit the video in any way, so that also nullifies your theory about it being illegal to post the video.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: jdee-barc on October 18, 2011, 04:50:08 PM
ok ok ok. guys, this thread was originally about comparing models, not this crap about tutorial videos.

It's illegal to do that. and youtube isn't gonna take action against it. For the sake of modding communites of all games, do not do it.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: Phobos on October 18, 2011, 04:51:22 PM
Quote from: jdee-barc on October 18, 2011, 04:50:08 PM
ok ok ok. guys, this thread was originally about comparing models, not this crap about tutorial videos.

It's illegal to do that. and youtube isn't gonna take action against it. For the sake of modding communites of all games, do not do it.

http://www.youtube.com/watch?v=7EiL6EiwHYo
Video of someone playing swbf1 on ps2, includes copyrighted sounds and visuals. Just like the tutorial video. Is this illegal? By your logic yes. I see no wrong in uploaded it. It includes more of the actual 'video' segments than the tutorial even does.

Also if it's illegal sleepkiller, and you are telling me to do it, then why did you spend "hours and hours" yourself trying?
Quote from: SleepKiller on October 18, 2011, 04:16:11 PM
Whattttt? I searched for hours on the internet trying to find a program that could open those files and you go and do it in an hour!?
You have no right to tell me not to do it if you tried so yourself.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: SleepKiller on October 18, 2011, 04:54:59 PM
Quote from: Phobos Developer on October 18, 2011, 04:45:27 PM
Youtube has automated scanning process implemented. If any copyrighted material is in the video it will automatically be censored. Recording the sound is not highly illegal. It is not wrong to do so either. It is for promotional purposes, so nobody from LucasArts is going to get bent up just because I'm uploading tutorial videos they made for the game. People do those things all the time, and it's not illegal.

It's people like YOU sleepkiller, who ruin it for everyone in the community, by attacking people like me who go to the effort of making more material/content available for modders and players alike. ANYONE can take a video camera and record videos from the ps2 game, or gameplay itself, and upload to youtube. Many people have, there are hundreds of such videos on youtube, yet I don't see you complaining about them. You are targeting me and insulting all the work I do to provide more content to the community and I find it very immature.

You really should stop being so hateful and arrogant, and appreciate the fact very few modders are active and willing enough to provide more for the game. You are trying to kill it with your paranoid attitude. It's people like you who remove all motivation from lucasarts to make swbf3.

The security measures you mentioned are to make the game run smoother because it can't recognize AVI format. And I'm not trying to edit the video in any way, so that also nullifies your theory about it being illegal to post the video.
Sure be like that if you want. I'm not going to stop you. But when game publishers see someone breaching the EULA the find a way in their next game to stop it from happening again. And as for security measures I mean they lock down all the game data not just the sound the whole bunch to stop people from being able to tamper with it.

BTW, I'm not trying to start a flame war here. but your attitude certainly rings the bell for one to start.

Anyway jdee are you having any success with teh model?
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: Phobos on October 18, 2011, 04:57:14 PM
Quote from: SleepKiller on October 18, 2011, 04:54:59 PM
Sure be like that if you want. I'm not going to stop you. But when game publishers see someone breaching the EULA the find a way in their next game to stop it from happening again. And as for security measures I mean they lock down all the game data not just the sound the whole bunch to stop people from being able to tamper with it.

BTW, I'm not trying to start a flame war here. but your attitude certainly rings the bell for one to start.

Anyway jdee are you having any success with teh model?
I could take a video camera and record the video with that, or I could convert the mvs to mp4. What do you think is gonna be seen as breaching EULA? I don't think either one would. And since it's for promotional purposes of the game, it would also not breach EULA. LucasArts would be happy to see promotional videos for old games they made. If not, they would have pulled all those videos from MattsGameplay by now. I think the flaming is you telling me anything I want to do is "illegal" and not to do it, yet you say you have "tried and failed" at these things. Sounds less of a concern of EULA than a concern of you being the one to discover it.

Perhaps I will make a thread for the ps2 tutorial video once I get the sound added. This thread is meant to discuss the ps2 model meshes, which is related to the ps2 LVL topic. So I will wait for Led's approval/disapproval to post the link.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: jdee-barc on October 18, 2011, 05:02:22 PM
Ah, now this subject is for the time being, irrelevant. i went on gametaost to ask how i would go about this. They say its alright to do, but the method i plan to use is not gonna work

Quote from: Teancum on Gametoast on October 18, 2011, 04:57:14 PM
Yeah, no 3D rippers work on PS2/Xbox emulators. The 3D is processed in the emulator then output to the screen as 2D, so doing a 3D capture will give you a flat image. Only Dolphin actually uses DirectX to post-process the 3D, that's why it works (on some games).

and dolphin emulator is a gamecube/wii emulator only
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: Led on October 18, 2011, 05:02:58 PM
I enjoy the enthusiasm, but j-dee is right, let's get back onto his topic please.

I am not a lawyer, but I prefer to be safe rather than sorry.  We can look into the PS2 lvl file issue though, then make a decision.  tirpider is a PS2 player, maybe he can give us some insight.

thanks.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: Phobos on October 18, 2011, 05:03:57 PM
Shame to hear that Barc, that DX ripper won't work with emulators. There might be another way though, no need to give up so soon.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: SleepKiller on October 18, 2011, 05:10:22 PM
Quote from: Buckler on October 18, 2011, 05:02:58 PM
I enjoy the enthusiasm, but j-dee is right, let's get back onto his topic please.

I am not a lawyer, but I prefer to be safe rather than sorry.  We can look into the PS2 lvl file issue though, then make a decision.  tirpider is a PS2 player, maybe he can give us some insight.

thanks.
Hey I'm PS2 player to. (Sorry I just had to point it out.)

Hold on jdee I've got a theory to get you your model, it may or may not work. Imp pistol right?
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: jdee-barc on October 18, 2011, 05:13:27 PM
yep. on the bf2 disc
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: tirpider on October 18, 2011, 05:15:43 PM
I do play on the PS2 quite a bit. (love my old games)

I do remember about 5 years or so back, trying to get MAME running on it and ran into the usual disc swap / mod chip troubles. (I don't do/use either so it was basicly a road block.)
During that time I did prowl around some discs and was able to discover/rip/copy some sounds and images, nothing fancy.

I'll pop BF1 in and see what I can find real quick. But I am certain that the console models will be of a lower quality if they are diferent at all, and even at that, you would still have the same issues with pulling the models out of the lvl files and decoding (un munging) them. (hex editor and scripting language)

Might be cheaper (time wise) to learn to use xsi.


-------edit--------

Yeah... that was my first look inside a lvl file, and it looks like some kind of library file.. all the file names and strings in one place and the rest is mangled code.
Unless a person would want to follow up on the lvl extract.exe that's already out, I don't see much comming out of it.

regarding the dx model ripper. they are right. and even on an emulator that uses hardware 3d rendering, you would still have to do the modeler software stuff I don't understand to it.
(uv - skin - light - weight -reticulate it's splines and what not) basicly everything but draw the geometry.

on a side note, the ps2 lvl files are suspiciously smaller than the pc version. I hadn't noticed before, but perhaps all the factions draw upon a common pool of models to reduce the size?
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: SleepKiller on October 18, 2011, 05:26:01 PM
Quote from: jdee-barc on October 18, 2011, 05:13:27 PM
yep. on the bf2 disc
Okay i think I may have a way still no promises thou.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: Phobos on October 18, 2011, 05:36:29 PM
I tried substituting the ps2 imp.lvl for mine, and then the bes2, then the mission, then the common, one at a time. Every time it crashed while loading the map, no error logs in bfront.log
So it's probably coded too differently and uses some kind of memory pool that PC won't recognize. Only use they have atm is for texture extracting, unless we find a way to extract msh.

A couple years ago I saw download link for swbf1 ps2 modding tools on filefront, but I have not been able to find it for months. I wonder what happened to it?
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: SleepKiller on October 18, 2011, 05:50:39 PM
Well my way did not work. Oh well  :shrug:
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: tirpider on October 18, 2011, 06:05:41 PM
Looking at the diferences between the PS2 and PC version
ps2 has an elf instead of an exe
ps2 lvl files are tiny compared to PC fles.
there is a TEST folder containing TEST.lvl, and TESTH.lvl on the PS2 disc. Not in my PC BF1 folder.

Speculation:
If we could extract the files from the lvl, they would be munged, but still useable to a degree.
Could just lower quality graphic and model assest acount for the diff in side lvl file size? what else could it be?
imp.lvl 
PS2  4,774,568 bytes
PC  68,195,284 bytes


re bf2 tools and filefront. I've noticed that you have to refresh or go back to the page periodicaly. It tells you it can't find it, then you go back and it's there. (sometimes)
http://www.gamefront.com/files/4794395/swbattlefrontiimodtools.exe (http://www.gamefront.com/files/4794395/swbattlefrontiimodtools.exe) (worked just now)
When I took an intrest in this I got everything I could find and piled it onto a work drive. The file hoarding was spurred by watching the id1 folder on public ftp's shrink and disappear altogether, so I thought I'd better do it now than end up in a "where is this asset" thread with my hand out later.
Turns out I was already to late for a lot of the early BF mod stuff.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: Led on October 18, 2011, 06:16:02 PM
ah, yes, a lot of good stuff has been lost on filefront too.  I have been encouraging people to upload what they can here--I have "unlimited" disk space on the host.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: SleepKiller on October 18, 2011, 06:58:50 PM
Quote from: Buckler on October 18, 2011, 06:16:02 PM
ah, yes, a lot of good stuff has been lost on filefront too.  I have been encouraging people to upload what they can here--I have "unlimited" disk space on the host.
I love how you put quotes around "unlimited"  :rofl: . I intend to be upload a new tool soon jst cause of that laugh you gave me.  :hehe:
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: tirpider on October 18, 2011, 07:01:41 PM
158 references to imp_weap_inf_pistol in the PS2 IMP.lvl
133 references to imp_weap_inf_pistol in the PC IMP.lvl
that seems large, but after isolating the string-like structures, there are losts of them.
some are _ord refs and some are animation refs.

found the hp_fire for imp_weap_inf_pistol, so I must be close to it's modl.
But I don't recognize the tags in here. there are no CL1L, SEGM, or GEOM typ references, so it would take some time to parse it all out.
There are tags though. modl instead of MODL, but the size refs are still there and seem to work the same.(I love the data inspector in XVI32)

It appears that the models are split up into several different pieces. (perhaps to optimize load times?)
I made a list of alpha numeric strings for each(141000 for both, but most are data and garbage) and will comb through it to see if I can narrow it down to a reasonable list of tags.

With a list of tags I can chop the lvl up into chunks and those chunks can be further scrutinized to glean how the lvl is constructed. (and also how to put the stuff back in it's pre-lvl'ed state)

ETA on the tag list- tomorrow.... definatly not anytime today.
ETA on Scrutiny- well... yeah, thats the catch, isn't it. Later. More later than is ok, but sooner than never.

Pure reversing with a good data inspector, a scripting tool and a text editor that doesn't mess with nulls or whitespace. I feel like I'm 12, poking around on my old Vic-20 again.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: Phobos on October 18, 2011, 07:14:44 PM
Quote from: tirpider on October 18, 2011, 07:01:41 PM
158 references to imp_weap_inf_pistol in the PS2 IMP.lvl
133 references to imp_weap_inf_pistol in the PC IMP.lvl
that seems large, but after isolating the string-like structures, there are losts of them.
some are _ord refs and some are animation refs.

found the hp_fire for imp_weap_inf_pistol, so I must be close to it's modl.
But I don't recognize the tags in here. there are no CL1L, SEGM, or GEOM typ references, so it would take some time to parse it all out.
There are tags though. modl instead of MODL, but the size refs are still there and seem to work the same.(I love the data inspector in XVI32)

It appears that the models are split up into several different pieces. (perhaps to optimize load times?)
I made a list of alpha numeric strings for each(141000 for both, but most are data and garbage) and will comb through it to see if I can narrow it down to a reasonable list of tags.

With a list of tags I can chop the lvl up into chunks and those chunks can be further scrutinized to glean how the lvl is constructed. (and also how to put the stuff back in it's pre-lvl'ed state)

ETA on the tag list- tomorrow.... definatly not anytime today.
ETA on Scrutiny- well... yeah, thats the catch, isn't it. Later. More later than is ok, but sooner than never.

Pure reversing with a good data inspector, a scripting tool and a text editor that doesn't mess with nulls or whitespace. I feel like I'm 12, poking around on my old Vic-20 again.

What text editor would that be? I'm interested in trying some of these things you mention, and have the ps2 lvl files. It baffles me to think they got 65mb worth of stuff into 5mb without losing anything more than texture quality. The meshes alone are way bigger. Maybe it doesn't store mesh though?
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: SleepKiller on October 18, 2011, 07:18:09 PM
They cut down alot on mshs and TGAS read the SWBFII Modtools documentation to find out more.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: Phobos on October 18, 2011, 07:19:35 PM
Quote from: SleepKiller on October 18, 2011, 07:18:09 PM
They cut down alot on mshs and TGAS read the SWBFII Modtools documentation to find out more.
I'm talking about swbf1 though.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: tirpider on October 18, 2011, 07:51:37 PM
hex editor - XVI32 (It has that data inspector and a groovy little script engine. good for cleaning out mangled data)

Text editor - AEdiX suite v3.0.5 (comes with a hex editor, but it is not very robust)(also has a script engine and text hilighting, but I just use it like notepad.) Old and not supported anymore I think.

Scripting Language - AutoIT and I use SciTE to edit my scripts. Simple Basic structure. Perfect for folks like me that never took the time to learn about object oriented programming. (I hate any kind of programming that forces handles on you.) There is a big problem with AutoIT though. It sets off virus scanners. Never had a problem, but still, it sets them off. If I could find a language as easy as basic, and free, I would replace it. (FreeBasic has a crazy addon dll system for user created modules, where autoit just works out of the box)

Links to their sites:

Kiry's Tech (AEdiX suite v3.0.5)
http://www.kirys.it/downloads.html (http://www.kirys.it/downloads.html)

AutoIT (main download includes a slimmed down SciTE editor that works with lua as well.)
http://www.autoitscript.com/site/autoit/downloads/ (http://www.autoitscript.com/site/autoit/downloads/)

XVI32
http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm (http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm)

All of the above are freeware, but they are also easily worth 100 times what I paid for my first copy of BF1. I can't count the hours I've spent in each.

re: the imp pistol.
I got the list down to 3000 and falling for the PS2 lvl. turns out the tags are there, just lower case. It might be as easy as finding the pieces and appending them together in the right order.

Perhaps they used lower res models, droped the shadow volume, and uther special "feature" geometry.
The PS2 version is really lw res compared to PC. I still am amazed by the ZeroEngine and my vid card bites.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: SleepKiller on October 18, 2011, 10:30:40 PM
Quote from: Phobos Developer on October 18, 2011, 07:19:35 PM
I'm talking about swbf1 though.
Yes but you forget SWBF1 and SWBFII use the same engine Zero engine so most of the information will still be relervent.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: Phobos on October 18, 2011, 10:37:05 PM
Quote from: SleepKiller on October 18, 2011, 10:30:40 PM
Yes but you forget SWBF1 and SWBFII use the same engine Zero engine so most of the information will still be relervent.
Most of the tga and msh you were referring to are only used in bf2 not bf1.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: SleepKiller on October 18, 2011, 10:54:09 PM
 :slap: You do not get what I was meanning the process they use to compress data for the console is describe some what in the SWBFII Modtools documentation. Understand the process is the same for the two games? Comprendo?
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: Phobos on October 19, 2011, 08:37:37 AM
Quote from: SleepKiller on October 18, 2011, 10:54:09 PM
:slap: You do not get what I was meanning the process they use to compress data for the console is describe some what in the SWBFII Modtools documentation. Understand the process is the same for the two games? Comprendo?

The LVL compression process are too different to compare them the way you do. BF2 has way more code.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: tirpider on October 19, 2011, 09:30:07 AM
Banging out the tag list for the file by hand gave me a headache. so I turned to the header file of the lvl extract.exe and used his defines as a starting point.

Most all of his tags are valid, but there are some that turn up invalid sizes (several gigabytes.. might be movie refs, but in a side lvl?)

The partialy validated list follows.

ucfb   - the begining of the file
lvl_   - main sections. everything else is contained in one of these.
BODY   -
body   -
coll   - the 1billion + size refs, I bet I'm reading them wrong.
Coll   -
entc   -
expc   -
gmod   -
INFO   -
modl   -
NAME   -
ordc   -
prim   -
skel   -
zaa_   -
zaf_   -


lot of emptyness in that list, but the lvl_ file size refs (+ 8 for the ucfb and it's 4 byte value) mirror the file size exactly, so I'm on the right track.

As for the case, I'm willing to bet the uppercase ones are for something else, but haven't validated that yet.

The project I am in the middle of is exactly the same work, but with MSH files (I want so desperatly to swap the head of a tusken but can't track it down.) So I'll be moving back and forth from them as I develop better binary/hex/zipitydooda crunching functions.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: SleepKiller on October 19, 2011, 01:10:39 PM
Quote from: Phobos Developer on October 19, 2011, 08:37:37 AM
The LVL compression process are too different to compare them the way you do. BF2 has way more code.
Man, your stubbon. SWBF1 and SWBF2 use the same munge process the same data storing methods got it. And SWBFII has way more data because its packed to the maximim with content Pandemic even cut stuff from it. Get it the SWBFII side LVLS on the PC average 100MB and the ALL one is over 200 MB that is way more than the SWBF1 sides. Hence why their is more code. Do you get it now?
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: Phobos on October 19, 2011, 01:33:43 PM
Quote from: SleepKiller on October 19, 2011, 01:10:39 PM
Man, your stubbon. SWBF1 and SWBF2 use the same munge process the same data storing methods got it. And SWBFII has way more data because its packed to the maximim with content Pandemic even cut stuff from it. Get it the SWBFII side LVLS on the PC average 100MB and the ALL one is over 200 MB that is way more than the SWBF1 sides. Hence why their is more code. Do you get it now?
That's exactly what I was saying, just more detailed.
Title: Re: Is this ok to do or not (involves SWBF1+2 for ps2 and xbox)
Post by: tirpider on October 21, 2011, 10:52:51 AM
ugh.

After a couple of days burried in 32 bit singles and longints, I'm pretty sure I have discovered why there isn't a full on lvl de-compiler.

It isn't that it is impossible. It's the time and sheer abstract nature of the data (and the headaches and nose-bleed from information overload.)

A real programer could get the models out, but I'm just a hack/scripter, learning as I go.

As for being able to use ps2 models on PC BF1, you might have to add or edit some things, but I'm sure the renderer for the ps2 expects the same geometry format. (It's still Zero, after all.) The texture will probably be a different format, the special flags (transperancy, glossyness,ect..) for materials and such, might be set diferent(more conservative for the limitations of the platform. )

All that can be overcome, IF someone could figure out how to extract it to be worked on.
EhPortal 1.34 © 2025, WebDev