Gildor's Forums

Author Topic: Injustice - Gods Among Us file format  (Read 51004 times)
DarkSoul
Newbie
*
Posts: 5


View Profile
Re: Injustice - Gods Among Us file format
« Reply #45 on: May 13, 2013, 20:36 »

@warrantyvoider

very nice tool you released there,this makes things so much easier  Grin

this also works with decompressed files from PS3

thanks alot for sharing
Logged
howfie
Newbie
*
Posts: 34


View Profile
Re: Injustice - Gods Among Us file format
« Reply #46 on: May 13, 2013, 23:50 »

awesome, thanks warranty, this deffo saves me some time too Smiley.
Logged
ccc93
Newbie
*
Posts: 3


View Profile
Re: Injustice - Gods Among Us file format
« Reply #47 on: May 21, 2013, 14:43 »

Any news about injustice files?? Smiley
Logged
howfie
Newbie
*
Posts: 34


View Profile
Re: Injustice - Gods Among Us file format
« Reply #48 on: May 29, 2013, 03:59 »

as youve seen ive just been pulling models out one by one and using the xdk to get textures. im sure gildor will eventually get it done though. for those interested in skeletal mesh format just google

sticklove testinjustice main.cpp

dont try to compile unless you have xdk and are really good at c++ hehehe.

warranty, do you happen to know the encoding of the normals and tangents are? ive tried various fixed point methods but nothing works! normals are encoded in 4-bytes, 1-byte per component. thx!
Logged
warrantyvoider
Full Member
***
Posts: 109


View Profile
Re: Injustice - Gods Among Us file format
« Reply #49 on: May 29, 2013, 13:56 »

its as simple as -1.0f == 0x00, 0.0f == 0x80, 1.0f == 0xFF, so its

byte b = ReadByte();
float f = ((float)b / 255f) * 2f - 1f;

and the order should be xyzw, but I dunno if y*=-1, I tried alot combination myself, but dunno for sure. btw the UVs are packed in HalfFloats, at least for me3

greetz

PS: maybe this helps a bit from what I posted recently on my forum:
« Last Edit: May 29, 2013, 13:58 by warrantyvoider » Logged
howfie
Newbie
*
Posts: 34


View Profile
Re: Injustice - Gods Among Us file format
« Reply #50 on: May 29, 2013, 14:20 »

cool thx ill give it a try Smiley. so far with injustice every character ive pulled out uses the same 0x24 byte vertex format. only thing in mesh file i dont understand now is right before the vertex buffer there is a section of indices, one index per vertex, that i dont know what its for (its not an index buffer though). ignoring it works pretty well though Smiley.

http://sticklove.deviantart.com/art/Killer-Frost-374450340

man, you are getting really fancy with me3 explorer. Smiley
« Last Edit: May 29, 2013, 14:24 by howfie » Logged
Tosyk
Sr. Member
****
Posts: 333



View Profile WWW
Re: Injustice - Gods Among Us file format
« Reply #51 on: July 11, 2017, 21:26 »

looking through the thread I didn't understand a solution to get character models, is it possible? I have pc ultimate edition version.
Logged

Коллекционирую игровые модели.
ma blog - http://cgig.ru
Gildor
Administrator
Hero Member
*****
Posts: 7905



View Profile WWW
Re: Injustice - Gods Among Us file format
« Reply #52 on: July 11, 2017, 21:37 »

This thread, I think, about Xbox360/PS3 version which seems has different data formats. PC version should be supported.
Logged
Kamakazi51
Newbie
*
Posts: 5


View Profile
Re: Injustice - Gods Among Us file format
« Reply #53 on: December 22, 2020, 05:36 »

 How far did u ever get in the console version. I've been trying to inject my texture back to the console .xxx and it crashes. I've tried a mk9.ddsinjector , pc files run fine but the consoles take a couple hours. I've changed the toc file to the file size but still crashes. The out putted xxx is huge by comparison and is missing some parts when run back through Umodel.  What's ur method?.
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7905



View Profile WWW
Re: Injustice - Gods Among Us file format
« Reply #54 on: December 22, 2020, 09:34 »

I don't remember.
Logged
Jump to:  

Powered by SMF | SMF © 2006-2009, Simple Machines LLC
Leviathan design by Bloc | XHTML | CSS