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.

Okage [PS2 Game] Script Files unpacking?

Featured Replies

  • Author
  • Localization

Rintron, posted Sat Jul 14, 2018 8:50 pm (36754)


https://www.dropbox.com/s/yj5tvqg42fozu ... D.PME?dl=0
Hello. The above file contains lotsa (not all of it) text from the game. There's couple more files like this one with story text.
The text is plainly visible in a text or hex editor. In fact, all of the script commands which govern the dialogue seem to be there.
However, no matter how I edit the text, be it with less characters or more, the game then either refuses to load any text, or loads it... simply wrong.
So I dunno if this belongs in this section or not, but I'm hoping that maybe someone can do a quickbms to unpack the text (bonus points if it can be reinserted with the new reimport2 function, since it would help with translating the game).
You guys are literally my last resort, after hours of trying, testing and the like.
In worst case, the game simply is ultra strict with how it handles its text and without actually reverse engineering its code and creating a whole separate tool, it might be impossible to make progress with text editing. But I hope I'm wrong.

Thank you for your time.
  • Author
  • Localization

aluigi, posted Sun Jul 15, 2018 2:12 am (36759)


Try this script for quickbms, use the latest version if possible (just in case):
Code:
idstring "KOME_RXUI_DATA  "
get STRINGS long
for i = 0 < STRINGS
    get ID long
    get SIZE long
    putarray 0 ID SIZE
next i
get NUM long
for i = 0 < NUM
    get DUMMY long
    get DUMMY long
next i
for i = 0 < STRINGS
    getarray SIZE 0 i
    slog "" -1 SIZE
next i
  • Author
  • Localization

Rintron, posted Sun Jul 15, 2018 4:44 am (36768)


Hello! Thank you! This works wonderfully with dumping the script. Shame that reimport2 will not accept this (sequential) and the original reimport will throw the usual errors if any of the text strings are too big(which frankly is a huge problem because in case of translating, longer strings are often a given).
Can something be done about this or is this the end of the road?
Thank you once more.
  • Author
  • Localization

Rintron, posted Sun Jul 15, 2018 9:01 am (36777)


Thank you so much! And yeah, I apologize. I suppose this does belong in Game Localization.
Now I need to do thorough testing of how much can you stretch the script before it starts breaking. in game I mean.
Thank you once more!
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.