Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Unpack .pak file for Touhou The Genius of Sappheiros: Weekend

Featured Replies

  • Author
  • Localization

Ven, posted Thu Oct 21, 2021 12:54 pm (67109)


Hello, I'm working on a translation for the PSVita version of The Genius of Sappherios, and since there's already a translation for the pc version I thought I might see those for ease of use.
Unfortunately the pc game (and translation) uses .pak files, and I can't figure out how to unpack them, can anyone help me? Thanks in advance.

Link for the translation .pak files: https://www.mediafire.com/file/l0jyl7e6 ... s.rar/file
  • Author
  • Localization

aluigi, posted Fri Dec 10, 2021 1:52 pm (68129)


The first 32bit number is the only thing in clear-text, everything else seem encrypted/obfuscated.
The only thing I noticed is the block of data starting from about offset 0x9ba1c0 of Game.pak which is a sequence of the same 64 bytes, but it's not a xor key and probably not related to any block cipher encryption.
  • Author
  • Localization

Ekey, posted Fri Dec 10, 2021 3:12 pm (68133)


Edited: I looked at my old source codes and found the Touhou Monsters Card game, I make tool for unpack files - 7 years ago. Format and encryption is absolutely identical

Image

Encryption: Mersenne Twister Xor (64 bytes key) :)
  • Author
  • Localization

Ekey, posted Fri Dec 10, 2021 5:46 pm (68143)


Done! :)

Binaries: here
Sources: here
  • Author
  • Localization

DJ Normality, posted Fri Dec 10, 2021 6:23 pm (68144)


:shock: yo thats crazy thanks Ekey have to check it out
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.