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.

Switch PAK archive

Featured Replies

  • Author
  • Localization

Riesz, posted Mon Jun 20, 2022 3:39 pm (72187)


I've been trying to extract files from a Switch game called Taisho x Alice and although the game files are .PAK, none of the various PAK tools or 7zip I've tried are able to extract these files.

Here's an example of one of the PAK archives:
https://www.mediafire.com/file/1fa0obmt ... G.PAK/file
  • Author
  • Localization

rabatini, posted Mon Jun 20, 2022 5:45 pm (72190)


Riesz wrote:
I've been trying to extract files from a Switch game called Taisho x Alice and although the game files are .PAK, none of the various PAK tools or 7zip I've tried are able to extract these files.

Here's an example of one of the PAK archives:
https://www.mediafire.com/file/1fa0obmt ... G.PAK/file


This will extract the pak.
i dont know if it will work with all files.
if not, send more samples.

Code:
get NOIDEA long
get ENTRIES long
getdstring NOIDEA 0x24
for RIP = 1 to ENTRIES
get OFFSET long
xmath OFFSET "(OFFSET * 0X800)"
get SIZE long
log "" OFFSET SIZE
next RIP
  • Author
  • Localization

rabatini, posted Tue Jun 21, 2022 3:01 am (72201)


Here



Code:
# Script by Rabatini (Luke)
# Taisho x Alice - SWITCH (.PAK)
# Version 0.1b

get NOIDEA long
get ENTRIES long
get NOIDEA long
get matematica long
getdstring zeros 0x10
get check long
if check == 0x00000200
get name_table long
savepos pointer_table
goto name_table
get name string
savepos name_table
goto pointer_table

for RIP = 1 to ENTRIES
       
   get OFFSET long
   xmath OFFSET "(OFFSET * matematica)"
   get SIZE long
   savepos table
   log name OFFSET SIZE
   goto name_table
   get name string
   savepos name_table
   goto table

next RIP
else
goto 0x08
getdstring NOIDEA 0x20
get check long
  if check == 0
for RIP = 1 to ENTRIES

   get OFFSET long
   xmath OFFSET "(OFFSET * MATEMATICA)"
   get SIZE long
   log "" OFFSET SIZE
next rip
   elif check > 0
get zeros longlong
for RIP = 1 to ENTRIES

   get OFFSET long
   xmath OFFSET "(OFFSET * MATEMATICA)"
   get SIZE long
   log "" OFFSET SIZE

next RIP
   

endif




Ugly but works.

Taisho x Alice.bms

  • Author
  • Localization

Riesz, posted Wed Jun 22, 2022 3:51 pm (72239)


Thank you so much!!
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.