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.

South Park Mega Millionaire "l" (Localization) file

Featured Replies

  • Author
  • Localization

LolHacksRule, posted Tue Dec 01, 2020 2:17 am (60810)


The format is super simple. Language separation is internallly called though...

Code:
Repeating per text
1byte: 00
2byte: Bytesize of text
?bytes: UTF-8 text


Oh and I kinda wrote a script that eventually dies, can someone fix it if possible?

Code:
get NAME basename
string NAME ".txt"
get asize asize

savepos curr

for curr = curr < asize
   # Dump the strings
   get dummy byte
   get strSize byte
   if strSize >= 128
      get strSize2 byte
      xmath strSize "strSize (strSize2 - 1) * 128"
   endif
   savepos curr
   slog NAME curr strSize
   getdstring temp strSize
   savepos curr
next
  • Author
  • Localization

Zmkiy, posted Tue Dec 01, 2020 11:07 am (60815)


Big Endian
Code:
get NAME basename
string NAME ".txt"
get asize asize
endian big
savepos curr

for curr = curr < asize
   # Dump the strings

   get strSize short

   savepos curr
   slog NAME curr strSize
   getdstring temp strSize
   savepos curr
next
  • Author
  • Localization

LolHacksRule, posted Tue Dec 01, 2020 5:06 pm (60827)


Thanks, it works perfectly.
  • Author
  • Localization

LolHacksRule, posted Wed Dec 02, 2020 5:13 am (60849)


13 *: in bytes are internally indicators for the below. Replace "*" with the number.
"1:" appears to be black (plain) text.
"2:" appears to be bold text.
"3:" appears to be the header (?), similar to "2".
"4:" appears to be the pink bold.
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.