ROM Hack [Need help] Bakumatsu Renka Shinsengumi DS translation

ZaMoNG

Member
OP
Newcomer
Joined
Dec 20, 2014
Messages
7
Trophies
0
XP
61
Country
Hi, everyone.
I'm trying to extract scripts.

I found sc.bin file, maybe it's a script file.


https://www.mediafire.com/?yrvcp92wb48ey84
sc.bin download link

but Bakumatsu Renka Shinsengumi used custom table. Shift-JIS didn't match!
I ever try but I could not find any readable text.

How can i handle this problem?
I really need someone who can help me. please let me know.


P.S
There are some difficult for me to communicate in english. It is possible to read. Simply writing is poor : (
Sorry to bother U
 
  • Like
Reactions: Pablitox

DarthNemesis

Well-Known Member
Member
Joined
Feb 19, 2008
Messages
1,210
Trophies
0
XP
260
Country
United States
rMIoiE6.png


lt12.bin contains the font; you could try to find the characters from a line of the script in there and then do a relative search in the other files?
 

DarthNemesis

Well-Known Member
Member
Joined
Feb 19, 2008
Messages
1,210
Trophies
0
XP
260
Country
United States
Using the tile indices of the images from lt12.bin as a table file, I found text in arm9.bin and sc.bin. Looks like sc.bin contains 200 files, each compressed with LZ77. Split and decompress them to find the script:

TivXhtL.png


Here's a partial table file; it's missing some kanji at the end.
 

Attachments

  • bakuren table.zip
    10.7 KB · Views: 204

ZaMoNG

Member
OP
Newcomer
Joined
Dec 20, 2014
Messages
7
Trophies
0
XP
61
Country
Using the tile indices of the images from lt12.bin as a table file, I found text in arm9.bin and sc.bin. Looks like sc.bin contains 200 files, each compressed with LZ77. Split and decompress them to find the script:

TivXhtL.png


Here's a partial table file; it's missing some kanji at the end.

Oh, I'm much obliged to you for your help.
With the help One of my favorite game is be able to translate.

If you don't mind, May I ask one more question?
i tried to decompress sc.bin using Crystaltile2 so i found some text!
But it is not perfect! : some scripts are missing.
It seems that there is a problem in process of decompression sc.bin file.
Crystaltile2 cannot be decompressed it perfectly. I can't decompressed sc.bin like what you do.
can you tell me how to decompress that file?

I'm really sorry to ask a question like that. Thank you for readind my writing : )
 

DarthNemesis

Well-Known Member
Member
Joined
Feb 19, 2008
Messages
1,210
Trophies
0
XP
260
Country
United States
i tried to decompress sc.bin using Crystaltile2 so i found some text!
But it is not perfect! : some scripts are missing.
It seems that there is a problem in process of decompression sc.bin file.
Crystaltile2 cannot be decompressed it perfectly. I can't decompressed sc.bin like what you do.
can you tell me how to decompress that file?

sc.bin isn't a single compressed file, rather it's multiple compressed files appended to each other. In order to decompress them you would first need to split the files - each file is padded to the next 256-byte offset with 0x00 and 4 other bytes, then the next file starts with 0x10 indicating LZ77 compression:

0UZUNWX.png


These are the file offsets I found doing a quick search using this padding pattern:
0x000000, 0x004C00, 0x009200, 0x00F000, 0x01A800, 0x01F400, 0x023200, 0x029000, 0x02D200, 0x02FE00, 0x033C00, 0x037200, 0x039C00, 0x03FA00, 0x046600, 0x049600, 0x04E600, 0x056800, 0x05C600, 0x05F600, 0x061400, 0x064200, 0x066E00, 0x068800, 0x069E00, 0x06BC00, 0x06D800, 0x06F000, 0x070400, 0x071A00, 0x073A00, 0x075E00, 0x077E00, 0x079800, 0x07B200, 0x07C200, 0x07DA00, 0x07FC00, 0x080E00, 0x082600, 0x083C00, 0x085400, 0x086C00, 0x088600, 0x089C00, 0x08B600, 0x08CC00, 0x08E000, 0x08FE00, 0x091600, 0x092E00, 0x094800, 0x095E00, 0x096C00, 0x097C00, 0x098800, 0x099800, 0x09A800, 0x09BA00, 0x09CA00, 0x09D800, 0x09E600, 0x09F400, 0x0A0600, 0x0A1400, 0x0A2200, 0x0A2E00, 0x0A3C00, 0x0A4A00, 0x0A5C00, 0x0A6A00, 0x0A7800, 0x0A8600, 0x0A9600, 0x0AA600, 0x0AB400, 0x0AC200, 0x0AD000, 0x0ADE00, 0x0AEA00, 0x0AFA00, 0x0B0800, 0x0B1600, 0x0B2600, 0x0B3400, 0x0B4000, 0x0B4E00, 0x0B5C00, 0x0B6C00, 0x0B7800, 0x0B8600, 0x0B9200, 0x0BA200, 0x0BBA00, 0x0BC600, 0x0BD000, 0x0BDC00, 0x0BE800, 0x0BF600, 0x0C0400, 0x0C1000, 0x0C2200, 0x0C2C00, 0x0C3A00, 0x0C4600, 0x0C5200, 0x0C5E00, 0x0C6A00, 0x0C7600, 0x0C8200, 0x0C8C00, 0x0C9800, 0x0CA600, 0x0CB000, 0x0CBA00, 0x0CC800, 0x0CD400, 0x0CE000, 0x0CEC00, 0x0CFA00, 0x0D0800, 0x0D1200, 0x0D1C00, 0x0D2600, 0x0D3000, 0x0D3A00, 0x0D4400, 0x0D4E00, 0x0D5A00, 0x0D6600, 0x0D7000, 0x0D7C00, 0x0D8600, 0x0D9000, 0x0D9800, 0x0DA200, 0x0DAC00, 0x0DB600, 0x0DC000, 0x0DC600, 0x0E0400, 0x0E3A00, 0x0E7400, 0x0EAC00, 0x0EE800, 0x0F2E00, 0x0F6400, 0x0F9400, 0x0FC800, 0x0FFA00, 0x102400, 0x104600, 0x105800, 0x107E00, 0x10A000, 0x10C000, 0x10D600, 0x10EA00, 0x110200, 0x111200, 0x112600, 0x113C00, 0x115400, 0x116A00, 0x117A00, 0x119200, 0x11A800, 0x11C400, 0x11D600, 0x11E800, 0x11FE00, 0x121600, 0x122C00, 0x123E00, 0x125200, 0x126200, 0x127800, 0x128A00, 0x129A00, 0x12A800, 0x12B800, 0x12CA00, 0x12DA00, 0x12F800, 0x133000, 0x135800, 0x137400, 0x138800, 0x13A000, 0x13C000, 0x13CC00, 0x13D800, 0x13E600, 0x13F800, 0x140600, 0x141800, 0x142A00, 0x143800, 0x144800, 0x145600, 0x148C00
Once the files are separated, Crystaltile or other such programs (I used my BatchLZ77) should be able to decompress them.
 

You may also like...

General chit-chat
Help Users
    KenniesNewName @ KenniesNewName: https://www.servethehome.com/pny-cs3140-1tb-nvme-ssd-review/2/ damn bruh