Higurashi: When They Cry Mei (Android)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
aaa801
Posts: 48
Joined: Wed Oct 12, 2016 12:22 pm

Re: Higurashi: When They Cry Mei (Android)

Post by aaa801 »

Hm not too sure, looks like someone ran across the same format before https://zenhax.com/viewtopic.php?t=7320
bonder
Posts: 16
Joined: Tue Oct 08, 2019 10:02 pm

Re: Higurashi: When They Cry Mei (Android)

Post by bonder »

I did find a decrypter for that game here: https://github.com/28598519a/DecStarlyGirls
Both games were developed by Smileaxe, but I've no idea how to use this program or if it'd even work with Mei's files.
MLSpence
Posts: 1
Joined: Thu Jan 14, 2021 9:54 pm

Re: Higurashi: When They Cry Mei (Android)

Post by MLSpence »

Hey so I have been spending my entire day trying to figure out how to rip the files from this game and can't seem to get anywhere, can someone give me a step-by-step guide on how to do this? I've been trying a lot of the stuff suggested through this thread before and can't seem to get anything working, so I believe I'm doing something completely wrong.
manpaint
Posts: 2
Joined: Sun Jan 17, 2021 1:23 am

Re: Higurashi: When They Cry Mei (Android)

Post by manpaint »

I have been trying to extract the data from the Sx1.05 files since two day now. I have not yet managed to do anything but I have recorded my finding. It may be useful to someone (see attachement).

TLDR of my findings:

-Sx1.05 are likely archive types. In the case of adventure background, each files seems to contains only one (conjecture).
-Sx1.24 files apparently exist according to the RAM.
-Advbg_001.bytes seems to contains a Advbg_001.bin file according to RAM.
-Ninjaripper and GLintercept do not work with Nox Emulator.
-Starly Girls' SX files have a clear file (archive-like) structure wheras Mei does not.
-DecStarlyGirls does something to the files, but I think its designed to exact .unity3d files from a master file instead of decrypting SX files.
-AdvBg_011 is apparently this background ( https://cdn.discordapp.com/attachments/384427950478589972/800177194508222505/AdvBg_011.png )

-SX files hex header appears to be:

Code: Select all

53 78 31 2E 30 35 00 03 XX XX XX XX XX XX XX XX 00 04 00 04 00 00 08 00 08 00 00 00 
00 02 FF FF FF FF F8 FF FF FF F8 FF FF FF F8 FF FF FF F8 FF FF FF F8 FF FF FF F8 FF


Research notes.txt also contains possible relasted data that I extracted from Nox emulator's RAM.

Edit: SxamTools was updated to support SX files but its written in swift and therefore don't work well with with Windows. If someone could try to port the code it would be great. https://github.com/tellowkrinkle/SxamTools

According to tellowkrinkle, Sx1.05 files are compressed etc1 4bpp texture data, but they've split images into two pieces, each with only two color channels (blue is approximately zero in both)
TwoLeggedRat
Posts: 10
Joined: Sat Sep 05, 2020 6:06 am

Re: Higurashi: When They Cry Mei (Android)

Post by TwoLeggedRat »

manpaint wrote:I have been trying to extract the data from the Sx1.05 files since two day now. I have not yet managed to do anything but I have recorded my finding. It may be useful to someone (see attachement).

TLDR of my findings:

-Sx1.05 are likely archive types. In the case of adventure background, each files seems to contains only one (conjecture).
-Sx1.24 files apparently exist according to the RAM.
-Advbg_001.bytes seems to contains a Advbg_001.bin file according to RAM.
-Ninjaripper and GLintercept do not work with Nox Emulator.
-Starly Girls' SX files have a clear file (archive-like) structure wheras Mei does not.
-DecStarlyGirls does something to the files, but I think its designed to exact .unity3d files from a master file instead of decrypting SX files.
-AdvBg_011 is apparently this background ( https://cdn.discordapp.com/attachments/384427950478589972/800177194508222505/AdvBg_011.png )

-SX files hex header appears to be:

Code: Select all

53 78 31 2E 30 35 00 03 XX XX XX XX XX XX XX XX 00 04 00 04 00 00 08 00 08 00 00 00 
00 02 FF FF FF FF F8 FF FF FF F8 FF FF FF F8 FF FF FF F8 FF FF FF F8 FF FF FF F8 FF


Research notes.txt also contains possible relasted data that I extracted from Nox emulator's RAM.

Edit: SxamTools was updated to support SX files but its written in swift and therefore don't work well with with Windows. If someone could try to port the code it would be great. https://github.com/tellowkrinkle/SxamTools

According to tellowkrinkle, Sx1.05 files are compressed etc1 4bpp texture data, but they've split images into two pieces, each with only two color channels (blue is approximately zero in both)


Sorry for the late notice, but, if you didn't notice (unless I'm not realizing something myself), but the files could be extracted using this. https://github.com/clienthax/higurashimeitool (Based on tellowkrinke's Sxam Tools.)
manpaint
Posts: 2
Joined: Sun Jan 17, 2021 1:23 am

Re: Higurashi: When They Cry Mei (Android)

Post by manpaint »

TwoLeggedRat wrote:
Sorry for the late notice, but, if you didn't notice (unless I'm not realizing something myself), but the files could be extracted using this. https://github.com/clienthax/higurashimeitool (Based on tellowkrinke's Sxam Tools.)


Well the guy is working on SX support (see the report I made on that Girhub page) but as the time of writing this, its not done.
TwoLeggedRat
Posts: 10
Joined: Sat Sep 05, 2020 6:06 am

Re: Higurashi: When They Cry Mei (Android)

Post by TwoLeggedRat »

N/A.