Chatbox
    You don't have permission to chat.
    Load More
Pharrox

Adventures model ripper [UPDATE v0.4.1]

50 posts in this topic

Pharrox    8
Pharrox

Hello everybody, first post here. :-)

 

A little bit ago I decided I wanted to get the models out of Adventures for a few projects I wanted to work on. Since I have a bit of experience in this area and a bit of free time I figured I'd see if I could throw together a little model ripper for fun and see what I could end up with. I didn't want to mention or post anything until I got it at 100 percent, but unfortunately my schedule coming up is looking pretty full and I don't think I'll be getting much of a chance to work on it anytime soon. So I've decided to release what I have at the moment in case anyone happens to be interested.

 

In general it seems to be working pretty well. It can rip the majority of models out of the game's 'MODELS.bin' and 'mod##.zlb.bin' files. It exports as a Maya Ascii (.ma) file. I realize this may not be the most convenient option, but prior experience has taught me that the common interchange formats simply don't support all the features I desire when working on these projects.

 

Known issues:

- It doesn't link multiple UV sets to their appropriate textures.

- It will often report success extracting linked textures even if the process failed.

- The initial perspective viewport errors out, leaving you in a fallback camera.

 

Possible issues:

- There may be an issue with assigning certain weight values. From what I've seen this is probably pretty minor, if it is a problem at all).

 

Download link, as well as character models and textures for the main cast can be found here.

 

Change log:

Version 0.4.1:

- Fixed a bug where a failed extracion would cause a crash.

Version 0.4:

- Updated values for models with a predefined weight scheme (final).

 

Version 0.3

- Added support for models with a normal/binormal/tangent configuration.

- Updated values for models with a predefined weight scheme.

 

Version 0.2

- Added support for exporting multiple UV sets.

 

Version 0.1

- Initial release

 

Images:

fox_zpse0a406ea.png

 

krystal_zpse67a11f7.png

 

falco_zpsfb029ea7.png

 

 

Other notes:

It's a basic console application, just drag and drop the files you want extracted. If there are 'TEX1.tab' and TEX1.bin' files in the same folder as the file being extracted it will extract and link the textures automatically. Without the texture files present at the time of extraction, the textures will need to be linked to the models manually.

 

In the case of 'mod##.zlb.bin' files, the files on the root of the disk are just copies of files of the same name in the other folders. If you want it to extract the textures for those models you will have to extract it from the folder containing that file, as the texture files on the root do not contain those textures.

 

Finally I'll release the source after I've cleaned it up a bit if anyone has any interest.

  • Like 8

Share this post


Link to post
Share on other sites
Tillie    356
Tillie

Wow...never thought I'd see a model ripper for Adventures!!!

 

Thanks a lot of those tools! :D

Share this post


Link to post
Share on other sites
Icy    282
Icy

This is amazing! :shock:

 

THANK YOU!!

 

Gotta go rip me some models. For a while, I've been wanting to take a deeper look at Adventures' models/textures, and now it looks like I can.

In the past, I ripped a few clean models using 3D Ripper DX, but they were never true "rips" so this is wonderful news to me.

Share this post


Link to post
Share on other sites
Robert Monroe    718
Robert Monroe

Someone mind posting a dump of images for these models in hidef for us plebians who can't use this? That'd be awesome!

Share this post


Link to post
Share on other sites
Pharrox    8
Pharrox

Thanks for the support! This is pretty much the kind of stuff I work on when I get burned out on my other programming projects. I eventually want to do Assault and Pokemon X/Y (if I can ever get a decrypted rom).

 

Minor update. It now saves multiple UV sets for polygons that have them, still doesn't link them to their appropriate textures (I'm no modeler and haven't figured out how to do that in Maya yet), but they're there to be assigned.

Share this post


Link to post
Share on other sites
Kett    0
Kett

Too bad the models can only be opened with Maya.

 

Is there a way to convert the models to another program?

Edited by DZComposer
Don't ask for warez.

Share this post


Link to post
Share on other sites
Scott7    91
Scott7

Maya can convert

 

Too bad the models can only be opened with Maya.

 

Is there a way to convert the models to another program?

 

Files from Maya can be exported into .obj and .fbx files, though you'd have to do that within' the modeling program itself. As far as I'm aware there's really no outside program that can convert one model format to another.

 

I myself on the other hand actually do use maya for alot of my work, so It'll definitely be pretty interesting to get a look at these models myself.

Share this post


Link to post
Share on other sites
DZComposer    2,308
DZComposer

Please do not ask, explicitly or implicitly, for pirated software.

Share this post


Link to post
Share on other sites
Tillie    356
Tillie

Well I've looked through the data &...so far, I've had no luck on finding Andross or the Arwing (There is the tiny Arwing that you see when you pick a level), but I did find his brain though!

Share this post


Link to post
Share on other sites
Scourge    808
Scourge

*crossing fingers for SFAD Fox McCloud Gmod model* :D

  • Like 1

Share this post


Link to post
Share on other sites
The Undying Nephalim    115
The Undying Nephalim

The Extractor does not seem to be working properly. For instance I've dragged mod53.zlb.bin into the .exe and it generates .png files fine. It also generates .ma files, but every time I open them in Maya it gives an error and the file is completely blank. Some files have joints when I open them in Maya, but I've yet to find any model that extracts an actual mesh. Am I doing something wrong? do any other files have to be extracted in addition to the .bin file in order to create the .ma properly?

Share this post


Link to post
Share on other sites
Scott7    91
Scott7

The Extractor does not seem to be working properly. For instance I've dragged mod53.zlb.bin into the .exe and it generates .png files fine. It also generates .ma files, but every time I open them in Maya it gives an error and the file is completely blank. Some files have joints when I open them in Maya, but I've yet to find any model that extracts an actual mesh. Am I doing something wrong? do any other files have to be extracted in addition to the .bin file in order to create the .ma properly?

 

Which version of Maya are you using? An old Dev friend of mine tried it out with an older version and he got quite a few errors trying to load them.

Share this post


Link to post
Share on other sites
The Undying Nephalim    115
The Undying Nephalim

Which version of Maya are you using? An old Dev friend of mine tried it out with an older version and he got quite a few errors trying to load them.

I've tried both Maya 2010 and Maya 2012

Share this post


Link to post
Share on other sites
Scott7    91
Scott7

I've tried both Maya 2010 and Maya 2012

 

Yeah, that's the same version he tried. If you're able, try seeing if you can get ahold of a 2013 or 2014 version. I use Maya 2013, myself, and I was able to load them just fine.

 

2yn3wd0.jpg

 

You can easily get a student license for either on the Auto-desk website, though I very much doubt you'd want to get the 4-year license for just the tool alone.

Share this post


Link to post
Share on other sites
The Undying Nephalim    115
The Undying Nephalim

Yeah, that's the same version he tried. If you're able, try seeing if you can get ahold of a 2013 or 2014 version. I use Maya 2013, myself, and I was able to load them just fine.

 

 

 

You can easily get a student license for either on the Auto-desk website, though I very much doubt you'd want to get the 4-year license for just the tool alone.

 

I still cant get to seem the model to open. Maybe it's just a problem with the model itself? I'm trying to extract the model of Andross, does it work on your end?

Share this post


Link to post
Share on other sites
Scott7    91
Scott7

I still cant get to seem the model to open. Maybe it's just a problem with the model itself? I'm trying to extract the model of Andross, does it work on your end?

 

That's definitely something to do with the model itself, unfortunately. We've attempted extracting him as well, though to no such luck. We noticed the same thing with Drakor, as well. I wouldn't be surprised if some of the other boss models are under a different compression format entirely.

Share this post


Link to post
Share on other sites
The Undying Nephalim    115
The Undying Nephalim

That's definitely something to do with the model itself, unfortunately. We've attempted extracting him as well, though to no such luck. We noticed the same thing with Drakor, as well. I wouldn't be surprised if some of the other boss models are under a different compression format entirely.

Figures.... those are the exact two models I was trying to extract. :lol:

 I was able to open up Fox and a Sharpclaw so it must just be a problem with Andross.

Share this post


Link to post
Share on other sites
Scott7    91
Scott7

Figures.... those are the exact two models I was trying to extract. :lol:

 I was able to open up Fox and a Sharpclaw so it must just be a problem with Andross.

 

Yeah.. Sadly I don't think we'll be getting the complete rips of those two anytime soon. ^^;

 

At best we can get them as hard rips. Andross himself shouldn't be too difficult to rig due to the simplicity of his form, though Drakor would be a bit more complicated.

Share this post


Link to post
Share on other sites
Tillie    356
Tillie

Geez, these enviroments are hard to put together as hell, especially the Krazoa Palace & the fact that the rainbow-ish colors make my eyes hurt.... :hehe:

 

There has to be a way to display the textures or something

 

98f07JS.png

Share this post


Link to post
Share on other sites
Robert Monroe    718
Robert Monroe

Awesome! I loved the palace's architecture.

Share this post


Link to post
Share on other sites
Pharrox    8
Pharrox

The files it outputs are based on 2014, so I'm not sure how older versions will react. Song support for older versions may be something I work on when everything else is cleared up.

I'll try to do an update this week to fix the models that don't work. There seem to be a pattern to the ones that fail, it's all just a guess though. Worst case scenario I can add a few commands that will allow people to specify its behavior in cases where it can't identify things automatically.

Also I'll be updating some of the weight values next release. I'm not sure they'll be perfect (working on that) but they'll be better than they are now (which is just broken).

Share this post


Link to post
Share on other sites
Pharrox    8
Pharrox

Okay, so...progress.

 

Firstly, sorry for the double post, figured since it a new version that adds the models being requested it would warrant its own post. Let me know if it's a problem.

 

Anyway, the new version should now support the boss models. It's kinda a stupid hack that I wanted to avoid, but given my already limited time and the fact that I just got a second job, I figure it'll have to do for now. Left the previous version up as well in case it breaks anything else (only tested on the bosses). Weights on some models have been improved as well. Will work on that more later.

 

Finally, can anyone explain to me the importance of binormal and tangent vectors? The boss models use them, but as far as I can tell in Maya they are auto generated and there is no way to alter them manually. Exporting them to fbx, altering them, then reimporting it seems to cause no changes. I know they are used for normal mapping, but I'm no modelling expert, I just look at the files and disassemble/reassemble them using common sense and a bit of trial and error. Currently the binormal/tangent vectors are just ignored. I'd prefer to preserve as much data in the output as possible, so if anyone familiar with these things could give a bit of insight it would be greatly appreciated. :-)

Share this post


Link to post
Share on other sites
Tillie    356
Tillie

I tried piecing the Krazoa Palace together...holy hell its hard.

 

BebYjkQ.png

 

I'll probably test out the new ripper & try out other environments soon enough.

 

edit

 

I got the Galdon ripped! So far, the new ripper is workin good

 

e0LCwrd.png

 

edit: I tried it on the mod###.zlb files and...unless I use the first version of the ripper, it seems that it'll export only a few pieces of the environment & crash.

Share this post


Link to post
Share on other sites
Pharrox    8
Pharrox

Oopsies! Commented out some error checking to make debugging easier. Forgot to reenable it. Fixed now.

Were all mod###.zlb causing a crash or just a specific one? It should've only been crashing when it failed to extract something, and the ones I just tried everything in them seemed to work fine. It'd give me something else to look into.

Also, is that how Galdon came out, or did you change something with the normals? They seemed to come out alright when I tested them.

Thanks for letting me know wht you find. Let me know if you run into any more problems.

Share this post


Link to post
Share on other sites
Tillie    356
Tillie

Were all mod###.zlb causing a crash or just a specific one? It should've only been crashing when it failed to extract something, and the ones I just tried everything in them seemed to work fine. It'd give me something else to look into.

 

Heres a few of the mod###.zlb that didn't work & where they were (I'm still looking around)

 

mod21.zlb (Wallcity)

mod13.zlb (swaphol)

mod52.zlb (bossdrakor)

 

I tried it with the updated ripper & it doesn't crash anymore but I get a lot of "Extracting model [T#: ####]...failed!" (I think it has to do more with the environments themselves than the ripper so nothing I can do)

 

Also, is that how Galdon came out, or did you change something with the normals? They seemed to come out alright when I tested them.

 

I didn't tamper with Galdon, I just threw it in Maya & it appeared like that (Granted its probably because I haven't tinkered around Maya as much as 3DS Max or Blender)

 

Thanks for letting me know wht you find. Let me know if you run into any more problems.

 

Anytime, I will.

 

After god knows how many hours I spent trying to piece the Krazoa Palace together, I've got it done! Only problem is...some textures don't seem to be fitting like the Krazoa Statues here

 

bUZlIhx.jpg

 

Not sure how to fix them...I haven't tinkered around too much in 3DS Max or Blender so maybe someone knows something I don't.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now