XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Mon Jun 18, 2018 7:54 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Okami .dat files
PostPosted: Thu Feb 15, 2018 12:35 am 
Offline
ultra-n00b

Joined: Sat Feb 10, 2018 2:51 am
Posts: 4
Has thanked: 1 time
Have thanks: 0 time














You can make the ads go away by registering

Hey folks, real new at this sort of stuff so might come off as a bit of a dunce here.

I'm trying to find all the possible .dat files in the Okami HD PC data that I can convert into .dds files, mainly things like the maps and other 2D images. Problem is I honestly have no clue how I'm supposed to do this.

So far I've decrypted everything stored in \Okami\data_pc with quickbms and been trying to view files with Noesis, which like I said before only lets me view certain files.

Thanks and sorry if this is in the wrong section


Top
 Profile  
 
 Post subject: Re: Okami .dat files
PostPosted: Thu Feb 15, 2018 5:44 pm 
Offline
mega-veteran
mega-veteran
User avatar

Joined: Tue Jul 05, 2016 9:37 am
Posts: 226
Has thanked: 15 times
Have thanks: 87 times
How are others supposed to help if you don't upload any samples? (:

_________________
An Imitable Workflow for Reverse Engineering a Game Model

"No investigation means no right to speak."
Remember to thank people when you get helped. That's the minimum respect to their efforts.


Top
 Profile  
 
 Post subject: Re: Okami .dat files
PostPosted: Thu Feb 15, 2018 10:58 pm 
Offline
ultra-n00b

Joined: Sat Feb 10, 2018 2:51 am
Posts: 4
Has thanked: 1 time
Have thanks: 0 time
Bigchillghost wrote:
How are others supposed to help if you don't upload any samples? (:


oh sorry!

https://mega.nz/#!cu5SnBYS!GYfOap2rIq5B ... xyR7utR0S0

this first one is what ive already been able to extract as i mentioned in the original post

https://mega.nz/#!Ji4SFQII!KgFrNEoOBDqO ... K5lBci_Hb8

and this is an example of decrypted .dat files that im triyng to convert to .dds


Top
 Profile  
 
 Post subject: Re: Okami .dat files
PostPosted: Fri Feb 16, 2018 8:53 am 
Offline
beginner

Joined: Fri Dec 15, 2017 5:21 pm
Posts: 25
Has thanked: 1 time
Have thanks: 25 times
What's the problem? I mean, all the files are properly handled by my tools I've posted in this thread: viewtopic.php?f=21&t=17404&start=30#p137061

see this map_r10e_0.png


Top
 Profile  
 
 Post subject: Re: Okami .dat files
PostPosted: Fri Feb 16, 2018 10:33 am 
Offline
mega-veteran
mega-veteran
User avatar

Joined: Tue Jul 05, 2016 9:37 am
Posts: 226
Has thanked: 15 times
Have thanks: 87 times
ffgriever wrote:
all the files are properly handled by my tools I've posted in this thread

Not sure whether he has seen that or not.

bug wrote:
this is an example of decrypted .dat files that im triyng to convert to .dds

Anyway here's a BMS script that can dump the images from the dat files you uploaded.


Attachments:


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


_________________
An Imitable Workflow for Reverse Engineering a Game Model

"No investigation means no right to speak."
Remember to thank people when you get helped. That's the minimum respect to their efforts.


Top
 Profile  
 
 Post subject: Re: Okami .dat files
PostPosted: Fri Feb 16, 2018 10:55 pm 
Offline
ultra-n00b

Joined: Sat Feb 10, 2018 2:51 am
Posts: 4
Has thanked: 1 time
Have thanks: 0 time
Bigchillghost wrote:
ffgriever wrote:
all the files are properly handled by my tools I've posted in this thread

Not sure whether he has seen that or not.

bug wrote:
this is an example of decrypted .dat files that im triyng to convert to .dds

Anyway here's a BMS script that can dump the images from the dat files you uploaded.


thanks so much, you're an absolute lifesaver


Top
 Profile  
 
 Post subject: Re: Okami .dat files
PostPosted: Sat Feb 17, 2018 12:10 am 
Offline
ultra-n00b

Joined: Sat Feb 10, 2018 2:51 am
Posts: 4
Has thanked: 1 time
Have thanks: 0 time
ffgriever wrote:
What's the problem? I mean, all the files are properly handled by my tools I've posted in this thread: http://forum.xentax.com/viewtopic.php?f ... 30#p137061

see this map_r10e_0.png


i could be doing something wrong, but ive tried those and unfortunately they don't seem to work for me (they close almost immediately after i open them), im not sure if its because im on windows 10 or if im missing something else?


Top
 Profile  
 
 Post subject: Re: Okami .dat files
PostPosted: Sat Feb 17, 2018 1:39 pm 
Offline
beginner

Joined: Fri Dec 15, 2017 5:21 pm
Posts: 25
Has thanked: 1 time
Have thanks: 25 times
These are command line tools. It's just much easier and faster to type things than click through them. Not to mention how much easier these are to use in batch mode (with a simple for-do batch loop). Making GUIs is just too much hassle, comparing the value they add (or detract) to the application.

Code:
okami-pack -u input_file output_dir


But that may be a matter of age.


Top
 Profile  
 
 Post subject: Re: Okami .dat files
PostPosted: Tue Feb 20, 2018 8:21 am 
Offline
VIP member
VIP member
User avatar

Joined: Wed Nov 05, 2008 12:16 pm
Posts: 1091
Has thanked: 2138 times
Have thanks: 603 times
Bigchillghost wrote:
Anyway here's a BMS script that can dump the images from the dat files you uploaded.

:eek: man you went all out, nice detective work! :D
this is a generic ripper script that can do the same :D
Code:
# script for QuickBMS http://aluigi.altervista.org/quickbms.htm

findloc OFFSET binary "\x44\x44\x53\x20"
do
    goto OFFSET
    goto -0x14 0 seek_cur
    get NAME string
    string NAME p "OkamiHD_PC\%s.dds" NAME
    goto OFFSET
    goto 0x14 0 seek_cur
    get SIZE long
    log NAME OFFSET SIZE
    findloc OFFSET binary "\x44\x44\x53\x20" 0 "" -1
while OFFSET != ""

_________________
Noesis
Hex2obj
QuickBMS
Unity Studio
TextureFinder


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


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