XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Fri Nov 17, 2017 10:08 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 52 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: piecemontee's SF4 Assets Explorer Sourceforge Project
PostPosted: Tue Aug 04, 2009 11:47 pm 
Offline
advanced

Joined: Mon Aug 03, 2009 9:34 pm
Posts: 50
Has thanked: 5 times
Have thanks: 16 times
Hello every one, I had little time at first but now I have no time at all, so I decided to release the sources.
So I uploaded my whole Hg repository on source forge:
http://sf4viewer.sourceforge.net/

Feel free to contact me to get a developper membership!

Warning: This was coded in short bursts and everything was done in header files since this is very small code base, so it may look weird

OLD post:

See screenshots page 2

DONE:
- EMZ decompression (compressed file backup to NAME.compressed)
- model display
- textures display
- Character Sub model toggle (thanks LouNGeR)
- DDS texture extraction/injection (with file backup)
- fixed 100%CPU usage
- textured character models (open .cos and .col and select #EMO or #EMG)
- file drag and drop
- simple geometry extraction/injection[/b] (vertex inject only available #EMG)fixed vertex count detection
- skeletton display
- EMM materials browsing (no edition yet)
- rendering option toolbar: skeleton, wireframe, ....
- advanced models shading (bump map & correct ink shader)
- fixed normals and face orientation OBJ export (EMO/EMG) Again!
- animation names listing (#EMA)

TODO:
- EMM materials edition
- resized asset injector
- full model extraction/injection (#EMO)


MORE TODO:
- EMZ recompression
- skeletton skinning & animation display
- Readme/Manual

Thanks :
- LouNGeR for model on/off,
- magnum@Xentax for skeletton&texture assignment ids.


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.


_________________
http://sf4viewer.sourceforge.net/


Last edited by piecemontee on Wed Aug 11, 2010 11:23 pm, edited 15 times in total.

Top
 Profile  
 
 Post subject: Re: SF4 Asset explorer
PostPosted: Wed Aug 05, 2009 1:21 am 
Online
Moderator
User avatar

Joined: Sun May 18, 2008 3:01 pm
Posts: 2444
Has thanked: 56 times
Have thanks: 1190 times
This is the greatest thanks so much :)

I hope you eventually release the source code as I love to see how all these different model viewers are made and like to learn from them.

Keep up the great work.


Top
 Profile  
 
 Post subject: Re: SF4 Asset explorer
PostPosted: Wed Aug 05, 2009 12:55 pm 
Offline
veteran

Joined: Sun Feb 08, 2009 5:45 pm
Posts: 115
Has thanked: 35 times
Have thanks: 7 times
THHHHAAAAANNNNK YOOOOOOUUUUU!

Thank you!


Top
 Profile  
 
 Post subject: Re: SF4 Asset explorer
PostPosted: Wed Aug 05, 2009 9:01 pm 
Offline
veteran
User avatar

Joined: Sun Jul 05, 2009 12:58 pm
Posts: 129
Has thanked: 13 times
Have thanks: 0 time
Nice :D But how we can extract the char's and others ? cause " Extract files " it's not highlighted

Edit: Ah just read the whole Todo list ... :S


Top
 Profile  
 
 Post subject: piecemontee's SF4 Assets Explorer [ALPHA RELEASE] CPU FIXED
PostPosted: Wed Aug 05, 2009 11:47 pm 
Offline
advanced

Joined: Mon Aug 03, 2009 9:34 pm
Posts: 50
Has thanked: 5 times
Have thanks: 16 times
Hi folks! :)

Here is the second alpha release.
http://www.gamevixenzone.com/gvz/viewtopic.php?f=142&t=3684&start=0&view=viewpoll

Alternate download

DONE:
- Character model display
- fixed "simple" models display (stages, character shadow simple model...) (no need to vote for this anymore)
- textures display
- Character Sub model toggle (thanks LounGer)
- DDS texture extraction/injection (with file backup)
- on the fly EMZ decompression (with compressed file backup)
- fixed 100%CPU usage

:write: TODO:
- textured models
- geometry extraction/injection
- shadered models
- resized asset injector
- EMZ recompression (2011)
- skeletton skinning & animation display (2012)
- Readme/Manual (2013)

_________________
http://sf4viewer.sourceforge.net/


Top
 Profile  
 
 Post subject: Re: SF4 Asset explorer
PostPosted: Thu Aug 06, 2009 12:49 am 
Online
Moderator
User avatar

Joined: Sun May 18, 2008 3:01 pm
Posts: 2444
Has thanked: 56 times
Have thanks: 1190 times
magnum created an sf4 smd exporter script in pearl I hope this can help you map out the file format quickly.


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Last edited by chrrox on Thu Aug 06, 2009 1:38 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: SF4 Asset explorer
PostPosted: Thu Aug 06, 2009 1:18 am 
Offline
ultra-n00b

Joined: Fri Aug 08, 2008 11:35 pm
Posts: 5
Has thanked: 2 times
Have thanks: 0 time
excellent work :)


Top
 Profile  
 
 Post subject: Re: SF4 Asset explorer
PostPosted: Thu Aug 06, 2009 1:19 am 
Offline
ultra-n00b

Joined: Sun Jul 26, 2009 8:43 pm
Posts: 5
Has thanked: 1 time
Have thanks: 2 times
The EMO script (which btw is in Perl, not Python) spits out a *_data.txt file that shows almost the entire data dump for the file. There's 7 numbers that I can't figure out what are for, and is holding back model importing (from what I remember, when I tried modifying them, it crashed the game). It's the 3 unknown floats and the 4 chars (3 of which seems to always have the same value, and the 4th which is always 255).

An interesting thing to note is that the first 3 floats all change in increments of 1/255 (and range from -1 to 1), so I wonder if they're some how related to the chars.

I'll have to double check the crashing part, because I tried that in my early days of trying to modify the files, and maybe the crash was actually due to something else...


Top
 Profile  
 
 Post subject: Re: SF4 Asset explorer
PostPosted: Thu Aug 06, 2009 1:39 am 
Online
Moderator
User avatar

Joined: Sun May 18, 2008 3:01 pm
Posts: 2444
Has thanked: 56 times
Have thanks: 1190 times
If you want to re compress the data the game will read plain zlib compressed files also if that makes it easier to re compress them.


Top
 Profile  
 
 Post subject: Re: SF4 Asset explorer
PostPosted: Thu Aug 06, 2009 7:10 am 
Offline
advanced

Joined: Mon Aug 03, 2009 9:34 pm
Posts: 50
Has thanked: 5 times
Have thanks: 16 times
magnum wrote:
The EMO script (which btw is in Perl, not Python) spits out a *_data.txt file that shows almost the entire data dump for the file. There's 7 numbers that I can't figure out what are for, and is holding back model importing (from what I remember, when I tried modifying them, it crashed the game). It's the 3 unknown floats and the 4 chars (3 of which seems to always have the same value, and the 4th which is always 255).

An interesting thing to note is that the first 3 floats all change in increments of 1/255 (and range from -1 to 1), so I wonder if they're some how related to the chars.

I'll have to double check the crashing part, because I tried that in my early days of trying to modify the files, and maybe the crash was actually due to something else...

Great!
Thank you for the information :) , I'll tell you if I find the remaining values meaning

_________________
http://sf4viewer.sourceforge.net/


Top
 Profile  
 
 Post subject: Re: SF4 Asset explorer
PostPosted: Thu Aug 06, 2009 9:49 pm 
Offline
VVIP member
VVIP member

Joined: Fri Jul 04, 2003 6:11 pm
Posts: 688
Has thanked: 33 times
Have thanks: 14 times
Oh this is most excellent! I was wondering when an explorer for this format would be made, and you made it, thank you for this, I look forward to it's development! We are a few steps closer to further SF4 modding.


Top
 Profile  
 
 Post subject: Re: SF4 Asset editor
PostPosted: Sat Aug 08, 2009 1:30 am 
Offline
advanced

Joined: Mon Aug 03, 2009 9:34 pm
Posts: 50
Has thanked: 5 times
Have thanks: 16 times
I added preliminary vertex import/export support:

The workflow will be the same as DDS :
export EMG in obj format
edit (I used misfit3D for my tests)
inject back at the same location in the cos file

Normat/tex coords are locked to the original value for now bu I am working on it.


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.


_________________
http://sf4viewer.sourceforge.net/


Top
 Profile  
 
 Post subject: Re: SF4 Asset editor
PostPosted: Sat Aug 08, 2009 1:34 am 
Online
Moderator
User avatar

Joined: Sun May 18, 2008 3:01 pm
Posts: 2444
Has thanked: 56 times
Have thanks: 1190 times
Very nice. Here is the link to the new release.
http://www.gamevixenzone.com/gvz/downlo ... p?id=10612


Top
 Profile  
 
 Post subject: Re: SF4 Asset editor
PostPosted: Sat Aug 08, 2009 1:54 am 
Offline
advanced

Joined: Mon Aug 03, 2009 9:34 pm
Posts: 50
Has thanked: 5 times
Have thanks: 16 times
chrrox wrote:
Very nice. Here is the link to the new release.
http://www.gamevixenzone.com/gvz/downlo ... p?id=10612

Sorry I quick fixed the exe, U're link is not valid anymore:
http://www.gamevixenzone.com/gvz/viewtopic.php?f=142&t=3684&p=27298#p27298

_________________
http://sf4viewer.sourceforge.net/


Top
 Profile  
 
 Post subject: Re: SF4 Asset editor
PostPosted: Sat Aug 08, 2009 2:05 am 
Online
Moderator
User avatar

Joined: Sun May 18, 2008 3:01 pm
Posts: 2444
Has thanked: 56 times
Have thanks: 1190 times
How does the obj export and import work isn't the weighting information needed to avoid some weird side effects?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 52 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: Adngel, AstroStormz, Beyond69, Hornedal, o0Crofty0o and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group