ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sun Sep 23, 2018 11:52 am

All times are UTC




Post new topic  Reply to topic  [ 16 posts ] 
Author Message
PostPosted: Sat Jan 06, 2018 10:42 pm 

Joined: Mon Oct 27, 2014 1:49 pm
Posts: 692
STREAM.SWD archive from Conflict: Vietnam (XBOX) which contains PSF streams.

https://mega.nz/#!Cp8FyLhI!8eXyVwNF3KnD ... 3nvfiNYSK0

Thanks in advance.


Top
   
PostPosted: Sun Jan 07, 2018 10:03 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 8819
That's just a container because there are no information at the end of the file.
Is there an index file?
Worst case scenario we can make a lame PSF dumper.


Top
   
PostPosted: Sun Jan 07, 2018 10:15 pm 

Joined: Mon Oct 27, 2014 1:49 pm
Posts: 692
Here are all the files I found in the same directory that have small size : https://mega.nz/#!v4EjhYpR!PtU1HC5MQNRY ... p3nPXKlMvE


Top
   
PostPosted: Sun Jan 07, 2018 10:18 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 8819
Better to go with a dumper:
Code:
findloc OFFSET binary "PSF"
do
    goto OFFSET
    get DUMMY long
    findloc NEXT_OFFSET binary "PSF" 0 ""
    if NEXT_OFFSET == ""
        get SIZE asize
    else
        math SIZE = NEXT_OFFSET
    endif
    math SIZE -= OFFSET
    log "" OFFSET SIZE
    math OFFSET = NEXT_OFFSET
while NEXT_OFFSET != ""


Top
   
PostPosted: Sun Jan 07, 2018 10:22 pm 

Joined: Mon Oct 27, 2014 1:49 pm
Posts: 692
(no message)


Last edited by Mygoshi on Sat Mar 24, 2018 7:51 pm, edited 1 time in total.

Top
   
PostPosted: Sun Jan 07, 2018 10:34 pm 

Joined: Mon Oct 27, 2014 1:49 pm
Posts: 692
(no message)


Last edited by Mygoshi on Sat Mar 24, 2018 7:51 pm, edited 1 time in total.

Top
   
PostPosted: Sun Jan 07, 2018 10:44 pm 

Joined: Mon Oct 27, 2014 1:49 pm
Posts: 692
(no message)


Last edited by Mygoshi on Sat Mar 24, 2018 7:51 pm, edited 1 time in total.

Top
   
PostPosted: Sun Jan 07, 2018 10:49 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 8819
I don't think that the sch files are referred to the swd container, didn't check, just supposing since they are probably just "referring" to the psf files and not indexing them.
Anyway if the dumper works, what else?


Top
   
PostPosted: Sun Jan 07, 2018 10:52 pm 

Joined: Mon Oct 27, 2014 1:49 pm
Posts: 692
Mh, because music is sequenced and I really need to know the proper filenames. There are +8000 files extracted, that would be too long to analyze each file ^^ I already did it with a lot of other games, and I think it's a complicated way to reconstruct music. But yes, the dumper works, it does the job, but ... is there a possibility to sort the filenames as decimal please ?? Maybe it would help me to extract them in order.


Top
   
PostPosted: Sun Jan 07, 2018 11:04 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 8819
8000? wow!
You can use the -N option for decimal filenames.
Maybe the index is located in the game executable, sometimes it happens but honestly I would like to avoid to check this type of stuff.
If you want to try check in the exe and if you need some "constants" to search use the offset of the last PSF file and if you don't find it use its value divided by 0x800.
For example the last psf is at offset 0x34b7c800 so the second number to search for recognizing the index/TOC is 0x000696f9.


Top
   
PostPosted: Sun Jan 07, 2018 11:08 pm 

Joined: Mon Oct 27, 2014 1:49 pm
Posts: 692
Thank you for the information. I think the better solution here is to check the other platforms. PC will be the same I think, so I'm gonna check PS2. I'm pretty sure PS2 also uses a big SWD container, but maybe something like an index file is in the directory. We can't know at the moment.


Top
   
PostPosted: Sun Jan 07, 2018 11:19 pm 

Joined: Mon Oct 27, 2014 1:49 pm
Posts: 692
Ok, PC version has SoundPC folder that appears directly. No Stream.swd.


Top
   
PostPosted: Tue Jan 09, 2018 9:02 pm 

Joined: Mon Oct 27, 2014 1:49 pm
Posts: 692
Problem solved. PC version has direct PSF and they are supported by the "great_escape.bms" script.


Top
   
PostPosted: Thu May 31, 2018 8:40 am 

Joined: Thu May 31, 2018 8:33 am
Posts: 2
aluigi wrote:
Better to go with a dumper:
Code:
findloc OFFSET binary "PSF"
do
    goto OFFSET
    get DUMMY long
    findloc NEXT_OFFSET binary "PSF" 0 ""
    if NEXT_OFFSET == ""
        get SIZE asize
    else
        math SIZE = NEXT_OFFSET
    endif
    math SIZE -= OFFSET
    log "" OFFSET SIZE
    math OFFSET = NEXT_OFFSET
while NEXT_OFFSET != ""

What computer language is this in?

has someone implemented such a dumper?

What are PSF files? First time looking into decoding Conflict: Vietname (Xbox) data.

Also, looking for the graphics to edit the displayed names on the 4 game character status bars.


Last edited by KaosEngineer on Thu May 31, 2018 8:43 am, edited 1 time in total.

Top
   
PostPosted: Thu May 31, 2018 8:42 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 8819
It's a script for QuickBMS:
http://quickbms.aluigi.org


Top
   
PostPosted: Thu May 31, 2018 8:50 am 

Joined: Thu May 31, 2018 8:33 am
Posts: 2
aluigi wrote:
It's a script for QuickBMS:
http://quickbms.aluigi.org

I see now. I entered this site on this thread looking for info on Conflict: Vietnam.

Thanks for the quick reply.


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

All times are UTC


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:
Powered by phpBB® Forum Software © phpBB Limited