Retro Hackers LogoGuestLog in

Summer Tree
News
Database
Users
Projects
Game Ports
Videos
Music
Material
Feedback

SJIS Dump

Game : N/A

Platform : Not Applicable

Author : EsperKnight

Release date : 04 Oct 2009

Category : Script Extraction / Insertion

OS : Windows

Skill Level : Beginner

Version : 1.0

Downloads : 1145

Utility description

Searches and extracts potential SJIS (and ASCII) strings from a file.

Sourcecode included.

Reviews

Not suitable for dumps of files larger than 0x100 byteshollowaytape2016-06-14Version 1.0

This tool is almost extremely useful - as it is, it's very useful for identifying where all the Shift-JIS is located in the files. I had hoped to use this unmodified for getting a full dump, but I noticed that in the dumps it was returning, strings of text would occasionally be split in two by a one-kanji-long string which did not occur in the original strings. These all occurred at multiples of 0x100 bytes.

The source code provided with the script shows that it loads the input file into a character buffer 0x100 bytes at a time. Since kanji are represented by two bytes, they might get split up into two different buffers, resulting in garbage characters or simply incorrect kanji being returned. This happens whenever there's an odd number of kana or ASCII characters loaded into the buffer.

So this tool works perfectly for very small files, but can introduce a lot of mistakes into a dump if the results of this bug are not spotted. I would gladly use SJIS Dump if not for the bug.

Search & raw-dump thanks to this!BlackDog612014-09-06-

With more platforms and games making use of Shift JIS encoding for Japanese, this tool has come very handy to me. I just run it from a batch file:

for /F "delims=" %%a IN ('dir /b *.*') do SJIS_Dump.exe "%%a" "%%a.txt" 4 0