XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Thu Aug 16, 2018 1:55 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Kamen Rider City Wars - Android
PostPosted: Fri Mar 30, 2018 2:14 pm 
Offline
veteran
User avatar

Joined: Thu Sep 03, 2015 10:33 pm
Posts: 86
Has thanked: 13 times
Have thanks: 6 times














You can make the ads go away by registering

Bigchillghost wrote:
dswd2015 wrote:
I read the tutorial, all the parts

Then simple questions: do you understand the concepts of different data types? Do you realize what hexadecimal system is?

dswd2015 wrote:
Sorry to take your time, do not worry, I will not ask any more questions.

Don't get me wrong, but I have no time writing another tutorial based on another example right now coz I'm occupied with a personal project at the moment.
Actually questioning is not some annoying things, but the necessary access to learning, only if you know what to question.
dswd2015 wrote:
until I got to the hex edit, I downloaded the sample files but I could not understand the final procedure.

As mentioned above, put forward specific questions so that people will know what you're actually confused about.


No problem, I could not understand the hexadecimal concept, I thank you for your help.


Top
 Profile  
 
 Post subject: Re: Kamen Rider City Wars - Android
PostPosted: Sun Apr 01, 2018 12:59 am 
Offline
veteran
User avatar

Joined: Thu Sep 03, 2015 10:33 pm
Posts: 86
Has thanked: 13 times
Have thanks: 6 times
Bigchillghost wrote:
dswd2015 wrote:
I read the tutorial, all the parts

Then simple questions: do you understand the concepts of different data types? Do you realize what hexadecimal system is?

dswd2015 wrote:
Sorry to take your time, do not worry, I will not ask any more questions.

Don't get me wrong, but I have no time writing another tutorial based on another example right now coz I'm occupied with a personal project at the moment.
Actually questioning is not some annoying things, but the necessary access to learning, only if you know what to question.
dswd2015 wrote:
until I got to the hex edit, I downloaded the sample files but I could not understand the final procedure.

As mentioned above, put forward specific questions so that people will know what you're actually confused about.



Hey dude, I figured out how to do it, thank you very much for your help, mainly for solving the texture problem, thank you very much.

Image


Top
 Profile  
 
 Post subject: Re: Kamen Rider City Wars - Android
PostPosted: Sun Apr 01, 2018 4:21 am 
Offline
veteran
User avatar

Joined: Thu Sep 03, 2015 10:33 pm
Posts: 86
Has thanked: 13 times
Have thanks: 6 times
Bigchillghost wrote:
dswd2015 wrote:
Is it possible to explain the procedure for extraction? A tutorial with description and pictures would help.

Sure. That would be easy. Basic structure for the texture file:
Code:
Offset      Type      Specification

0x8B      Long      ImageWidth
0x8F      Long      ImageHeight
0x9C      Long      RawPixelDataSize
0xA0      Bytes      RawPixelData


The pixel data actually begins at 0xA0 (= 160), not 0xA4 I mentioned earlier.
You can wrap the data with PVRTexTool like this:

It's no a problem to write a script for conversion when you know the above info.
But with only one texture file the research might not be accurate.


I still have a question, do these values shown in the image need to be calculated to arrive at this result?


Top
 Profile  
 
 Post subject: Re: Kamen Rider City Wars - Android
PostPosted: Sun Apr 01, 2018 4:51 am 
Offline
mega-veteran
mega-veteran
User avatar

Joined: Tue Jul 05, 2016 9:37 am
Posts: 275
Has thanked: 16 times
Have thanks: 121 times
You can see that the pixel data can be aligned for every two bytes so it's 16 bits per pixel for sure.

Then you just have to weigh how many bits should be assigned to each channel. Basically it's a test and verify process. But there should be some fields specifying the format in the header.
Usually it would be some enum values mapping to different formats. But to figure it out, you'll need to work with more samples.


Attachments:


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


_________________
"No investigation means no right to speak."
An Imitable Workflow for Reverse Engineering a Game Model

Don't forget to thank people by clicking Image when you get helped.


Top
 Profile  
 
 Post subject: Re: Kamen Rider City Wars - Android
PostPosted: Sun Apr 15, 2018 2:05 am 
Offline
n00b

Joined: Fri Jul 01, 2016 9:03 am
Posts: 14
Has thanked: 1 time
Have thanks: 0 time
I got the models from this game now. Thank you very much for your help. BTW I used noesis to convert those texture from dds to png.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2

All times are UTC + 1 hour


Who is online

Users browsing this forum: gulanxiu13 and 5 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