[PSX] Silent Hill - Tools

Programs that are related to this or that game.
Post Reply
User avatar
ikskoks
mega-veteran
mega-veteran
Posts: 294
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 365 times
Been thanked: 92 times
Contact:

[PSX] Silent Hill - Tools

Post by ikskoks » Sun Apr 07, 2013 12:09 am

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
Last edited by ikskoks on Sat Sep 24, 2016 10:15 am, edited 2 times in total.

User avatar
SILENTpavel
advanced
Posts: 54
Joined: Fri Aug 05, 2011 5:53 am
Has thanked: 86 times
Been thanked: 15 times

Re: [PSX] Silent Hill - Tools

Post by SILENTpavel » Mon Jul 21, 2014 3:10 am

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: Select all

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
You do not have the required permissions to view the files attached to this post.
Last edited by SILENTpavel on Sun Nov 02, 2014 3:02 pm, edited 3 times in total.

horrorx
ultra-n00b
Posts: 3
Joined: Sun Oct 19, 2014 8:49 pm
Been thanked: 7 times

Re: [PSX] Silent Hill - Tools

Post by horrorx » Sun Oct 19, 2014 9:02 pm

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.
You do not have the required permissions to view the files attached to this post.

Giromancy
ultra-n00b
Posts: 3
Joined: Tue Oct 21, 2014 4:11 am
Has thanked: 4 times
Been thanked: 1 time

Re: [PSX] Silent Hill - Tools

Post by Giromancy » Tue Oct 21, 2014 4:24 am

Thanks guys! i appreciate all the work you are doing, really ;)

horrorx
ultra-n00b
Posts: 3
Joined: Sun Oct 19, 2014 8:49 pm
Been thanked: 7 times

Re: [PSX] Silent Hill - Tools

Post by horrorx » Sat Nov 01, 2014 6:30 pm

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.
You do not have the required permissions to view the files attached to this post.

Giromancy
ultra-n00b
Posts: 3
Joined: Tue Oct 21, 2014 4:11 am
Has thanked: 4 times
Been thanked: 1 time

Re: [PSX] Silent Hill - Tools

Post by Giromancy » Sun Nov 02, 2014 8:06 pm

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!

MartinBiohazard
ultra-n00b
Posts: 1
Joined: Sun Nov 02, 2014 11:49 pm

Re: [PSX] Silent Hill - Tools

Post by MartinBiohazard » Sun Nov 02, 2014 11:55 pm

Thanks a lot for the updated version horrorx!!

Testing now...

Greetings.

Nisto
n00b
Posts: 15
Joined: Sun Nov 02, 2014 3:39 pm
Been thanked: 10 times

Re: [PSX] Silent Hill - Tools

Post by Nisto » Tue Feb 03, 2015 11:37 am

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: Select all

inline unsigned int decodeSize(unsigned int v)
{
    unsigned int lba = ((v >> 0x13) & 0xFFFF) << 8;
    return lba;
}
0xFFFF should be 0xFFF:

Code: Select all

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..

horrorx
ultra-n00b
Posts: 3
Joined: Sun Oct 19, 2014 8:49 pm
Been thanked: 7 times

Re: [PSX] Silent Hill - Tools

Post by horrorx » Tue Apr 07, 2015 1:22 am

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: Select all

	// 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.

Nisto
n00b
Posts: 15
Joined: Sun Nov 02, 2014 3:39 pm
Been thanked: 10 times

Re: [PSX] Silent Hill - Tools

Post by Nisto » Tue Apr 14, 2015 4:22 pm

Thanks for verifying, horrorx. ;)

banderlog
ultra-n00b
Posts: 1
Joined: Sat Jan 28, 2012 5:20 pm
Been thanked: 1 time

Re: [PSX] Silent Hill - Tools

Post by banderlog » Wed Jan 13, 2016 12:25 am

we need a new version for
Silent Hill (Trade Demo) [SLUS-80707]

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

Ranboon
ultra-n00b
Posts: 1
Joined: Fri Sep 23, 2016 8:05 am

Re: [PSX] Silent Hill - Tools

Post by Ranboon » Sat Sep 24, 2016 7:44 am

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.

User avatar
ikskoks
mega-veteran
mega-veteran
Posts: 294
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 365 times
Been thanked: 92 times
Contact:

Re: [PSX] Silent Hill - Tools

Post by ikskoks » Sat Sep 24, 2016 10:16 am

Ranboon wrote: Sweet, is there an update for this?
There is a new link in the first post.

Post Reply