XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Mon Sep 25, 2017 1:44 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: [PSX] Silent Hill - Tools
PostPosted: Sun Apr 07, 2013 12:09 am 
Offline
mega-veteran
mega-veteran
User avatar

Joined: Thu Jul 26, 2012 5:06 pm
Posts: 222
Location: Poland, Łódź
Has thanked: 286 times
Have thanks: 68 times
This is pack with all useful tools for Silent Hill (PSX).
It contains:
- Silent Hill Files Extractor
- Tool for main executable (1ST/BODYPROG.BIN) encryption/decryption
- Font Editor
- DListEditor
- Source files

DOWNLOAD SILENT HILL TOOLS

_________________
http://ikskoks.pl/
https://www.facebook.com/ikskoks
Image


Last edited by ikskoks on Sat Sep 24, 2016 10:15 am, edited 2 times in total.

Top
 Profile  
 
 Post subject: Re: [PSX] Silent Hill - Tools
PostPosted: Mon Jul 21, 2014 3:10 am 
Offline
advanced
User avatar

Joined: Fri Aug 05, 2011 5:53 am
Posts: 54
Has thanked: 84 times
Have thanks: 14 times
update by CharlesM on Thu Jan 09, 2014 3:20 am
CharlesM wrote:
I've written a new files extraction tool for Silent Hill based on the original program by HoRRoR. The source and Windows binary are here:

http://cgfm2.emuviews.com/new/shx-010814.zip

It supports the following versions of the game:

    JP, Full Game (SLPM-86192)
    EU, Full Game (SLES-01514)
    Official U.S. PlayStation Magazine Demo Disc #16 (SCUS-94278)
    US, Trial (Demo) Game (SLUS-90050)
    JP, Trial (Demo) Game (SLPM-80363)
    EU, Trial (Demo) Game (SLED-01735)

The demo versions of the game store the files differently, but I've done some research and figured out what the changes are. It is easy to add other versions of the game to the source, I just supported the ones I had.

The program has options to view the filesystem, extract the files, and extract all unused data which comes "between" files and isn't officially part of the game data. Who knows, there could be some interesting things in there.

The earliest version of the game seems to be from the US PlayStation Magazine Demo Disc #16 listed above. I've been writing about the unused pictures, audio, and item names at The Cutting Room Floor, which were obtained using the file extraction program. The wiki page for that research is here:

http://tcrf.net/Proto:Silent_Hill

Hope this tool and information will be useful. Any feedback or suggestions are appreciated.
Code:
Silent Hill data tool.
Based on an original programn (C) 2010 HoRRoR_X (www.consolegames.ru)
This program (C) 2014 Charles MacDonald (cgfm2.emuviews.com)

usage: shx <command> <parameters...>
Specify a command with no parameters to get help on use.
Available commands are: view extract unused

usage: shx extract <exe_file> <data_file> <output_dir>
example: shx extract slus_007.07 silent game_data
source: http://silenthillcommunity.com/viewtopi ... 5&t=435683


Attachments:


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



Last edited by SILENTpavel on Sun Nov 02, 2014 3:02 pm, edited 3 times in total.

Top
 Profile  
 
 Post subject: Re: [PSX] Silent Hill - Tools
PostPosted: Sun Oct 19, 2014 9:02 pm 
Offline
ultra-n00b

Joined: Sun Oct 19, 2014 8:49 pm
Posts: 3
Has thanked: 0 time
Have thanks: 7 times
I have updated the original file extractor, so it now works with ISO images directly and supports few more game versions.

Supported versions:
    SLES-01514 - EU, Full Game
    SLUS-00707 - US, Full Game (v1.1)
    SLUS-00707 - US, Full Game Beta (v1.0)
    SLPM-86192 - JP, Full Game (also distributed in SLPM-87029 release)
    SLED-01735 - EU, Trial (Demo) Game
    SLUS-90050 - US, Trial (Demo) Game
    SLPM-80363 - JP, Trial (Demo) Game
    SCUS-94278 - Official U.S. PlayStation Magazine Demo Disc #16
    SCED-02420 - Best Horror Games Ever Demo

Mirror 1, Mirror 2.


Attachments:


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



Top
 Profile  
 
 Post subject: Re: [PSX] Silent Hill - Tools
PostPosted: Tue Oct 21, 2014 4:24 am 
Offline
ultra-n00b

Joined: Tue Oct 21, 2014 4:11 am
Posts: 3
Has thanked: 4 times
Have thanks: 1 time
Thanks guys! i appreciate all the work you are doing, really ;)


Top
 Profile  
 
 Post subject: Re: [PSX] Silent Hill - Tools
PostPosted: Sat Nov 01, 2014 6:30 pm 
Offline
ultra-n00b

Joined: Sun Oct 19, 2014 8:49 pm
Posts: 3
Has thanked: 0 time
Have thanks: 7 times
Extractor updated to version 1.1.

- Fixed invalid directory structure and file extensions for SCUS-94278
- Added linux version
- Added new supported versions:
    SLED-02186 - EU, Trial (Demo) Game #2
    SLED-02190 - PlayStation Zone CD Vol. 10
    SCED-04082 - Euro Demo (Future) 103

Links are the same.


Attachments:


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



Top
 Profile  
 
 Post subject: Re: [PSX] Silent Hill - Tools
PostPosted: Sun Nov 02, 2014 8:06 pm 
Offline
ultra-n00b

Joined: Tue Oct 21, 2014 4:11 am
Posts: 3
Has thanked: 4 times
Have thanks: 1 time
horrorx wrote:
Extractor updated to version 1.1.

- Fixed invalid directory structure and file extensions for SCUS-94278
- Added linux version
- Added new supported versions:
    SLED-02186 - EU, Trial (Demo) Game #2
    SLED-02190 - PlayStation Zone CD Vol. 10
    SCED-04082 - Euro Demo (Future) 103

Links are the same.


Everything works fine now with SCUS-94278. Big thanks horrorx and Paul!


Top
 Profile  
 
 Post subject: Re: [PSX] Silent Hill - Tools
PostPosted: Sun Nov 02, 2014 11:55 pm 
Offline
ultra-n00b

Joined: Sun Nov 02, 2014 11:49 pm
Posts: 1
Has thanked: 0 time
Have thanks: 0 time
Thanks a lot for the updated version horrorx!!

Testing now...

Greetings.


Top
 Profile  
 
 Post subject: Re: [PSX] Silent Hill - Tools
PostPosted: Tue Feb 03, 2015 11:37 am 
Offline
n00b

Joined: Sun Nov 02, 2014 3:39 pm
Posts: 15
Has thanked: 0 time
Have thanks: 10 times
Any chance you can add an option to extract files to RAW format (with sector flags etc)? VGMToolbox requires this to convert XA to playable files. So basically you can't do much with the files in the "XA" folder unless they contain all sector data.

Also I noticed some files are smaller than they should be. For example, \XA\35_26008 should be 0x3A56480, where the extracted size is 0xD7000. Tried both SLPM-86192 and SLUS-00707. I cannot find the code for it in your latest release of SHExtract, but in one of your older sources for a program called "OffsetDecoder", the masking for the size decoding seems to be incorrect:

Code:
inline unsigned int decodeSize(unsigned int v)
{
    unsigned int lba = ((v >> 0x13) & 0xFFFF) << 8;
    return lba;
}
0xFFFF should be 0xFFF:
Code:
la      $v0, dword_8001B11C
sll     $v1, $a0, 1
addu    $v1, $a0
sll     $v1, 2
addu    $v1, $v0
lw      $v0, 0($v1)
nop
srl     $v0, 19
andi    $v0, 0xFFF
jr      $ra
sll     $v0, 8


Does it have to do with that maybe? I guess it's also possible the size is correctly specified and not a fault of your program, but somehow the game processes the size differently for XA files..


Top
 Profile  
 
 Post subject: Re: [PSX] Silent Hill - Tools
PostPosted: Tue Apr 07, 2015 1:22 am 
Offline
ultra-n00b

Joined: Sun Oct 19, 2014 8:49 pm
Posts: 3
Has thanked: 0 time
Have thanks: 7 times
Nisto wrote:
Any chance you can add an option to extract files to RAW format (with sector flags etc)?

Sorry, but I do not want to work on this tool again. But sources at your disposal. ;) It should be simple to implement.

Nisto wrote:
I cannot find the code for it in your latest release of SHExtract, but in one of your older sources for a program called "OffsetDecoder", the masking for the size decoding seems to be incorrect:

These sources are drafts which published without my permission. They can contain a lot of mistakes.
In new versions I used bit fields instead of logical shifts and bit masks:
Code:
   // word 0
   uint32_t startSector     : 19;  // CD start sector number
   uint32_t chunkCount      : 12;  // Size in chunks of size 0x100
   uint32_t directoryIndex0 : 1;

Accessing chunkCount is similar to (v >> 19) & 0xFFF.

Nisto wrote:
Does it have to do with that maybe? I guess it's also possible the size is correctly specified and not a fault of your program, but somehow the game processes the size differently for XA files..

Size of PSX RAM is 2MB. 0x3A56480 is too large byte count to read it to memory. I think specified size relates to loading to memory data. All other data can read from disc chunk-by-chunk. This logic can be specified in loaded to memory part (overlay), it seems that they contain executable code. So there are not quite files in the conventional sense.


Top
 Profile  
 
 Post subject: Re: [PSX] Silent Hill - Tools
PostPosted: Tue Apr 14, 2015 4:22 pm 
Offline
n00b

Joined: Sun Nov 02, 2014 3:39 pm
Posts: 15
Has thanked: 0 time
Have thanks: 10 times
Thanks for verifying, horrorx. ;)


Top
 Profile  
 
 Post subject: Re: [PSX] Silent Hill - Tools
PostPosted: Wed Jan 13, 2016 12:25 am 
Offline
ultra-n00b

Joined: Sat Jan 28, 2012 5:20 pm
Posts: 1
Has thanked: 0 time
Have thanks: 1 time
we need a new version for
Silent Hill (Trade Demo) [SLUS-80707]

http://silenthillcommunity.com/viewtopi ... 0&t=437574


Top
 Profile  
 
 Post subject: Re: [PSX] Silent Hill - Tools
PostPosted: Sat Sep 24, 2016 7:44 am 
Offline
ultra-n00b

Joined: Fri Sep 23, 2016 8:05 am
Posts: 1
Has thanked: 0 time
Have thanks: 0 time
ikskoks wrote:
This is pack with all useful tools for Silent Hill (PSX).
It contains: The Hydromax - https://www.the5x5project.com/my-hydrom ... ew-results
- Silent Hill Files Extractor
- Tool for main executable (1ST/BODYPROG.BIN) encryption/decryption
- Font Editor
- DListEditor
- Source files

DOWNLOAD SILENT HILL TOOLS


Sweet, is there an update for this?


Last edited by Ranboon on Tue Feb 21, 2017 2:49 pm, edited 2 times in total.

Top
 Profile  
 
 Post subject: Re: [PSX] Silent Hill - Tools
PostPosted: Sat Sep 24, 2016 10:16 am 
Offline
mega-veteran
mega-veteran
User avatar

Joined: Thu Jul 26, 2012 5:06 pm
Posts: 222
Location: Poland, Łódź
Has thanked: 286 times
Have thanks: 68 times
Ranboon wrote:
Sweet, is there an update for this?


There is a new link in the first post.

_________________
http://ikskoks.pl/
https://www.facebook.com/ikskoks
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 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