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.

Mr. Goodliving Java Games "s" (Sound) file

Featured Replies

  • Author
  • Localization

LolHacksRule, posted Wed Dec 02, 2020 5:39 am (60850)


EDIT: Please note I looked at Mega Millionaire here but it's also used in other Mr. Goodliving Ltd (RealArcade/GameHouse) Java games (and iOS ports of them).

The game loads the sounds from the "s" file, however for my distribution of the game the "compressed" version isn't present and the game runs on Java instead of C (at least on Android which is what I'm looking at), unfortunately converting the smali function that loads the sound files to Java errors the decompiler out... According to code, there's headerless ADPCM data in the file in some form. Can someone crack this sound file? Please note I renamed the file to make name sorting easier. https://anonfiles.com/5aD5efvfp8/SouthP ... ile_uncomp
  • Author
  • Localization

spiritovod, posted Wed Dec 02, 2020 7:35 pm (60868)


Here are functions, where most work with the sound file is being done. Sampler invokes p_mixeri_readSoundFile to read into byte buffer and then invokes decodeadpcm (int version) to decode that buffer. There is also "short" version of that function, but it seems it's not used.
I advise you to convert dex to jar and use fernflower based decompiler or some wrapper for it, like bytecode viewer, to decompile dex/apk directly.
  • Author
  • Localization

LolHacksRule, posted Wed Dec 02, 2020 8:52 pm (60870)


I did use an online smali to Java converter but I guess its a little outdated. Thanks anyway.
  • Author
  • Localization

LuigiMario79, posted Wed Mar 16, 2022 12:15 am (70517)


Does anyone have a script for QuickBMS that I could use to decompile this filetype?
  • Author
  • Localization

LolHacksRule, posted Mon Dec 12, 2022 8:17 pm (74582)


Super late, but for Android and iOS games, you can pop it into Audacity's raw data viewer with auto detect and the VOX ADPCM encoding.

It also works with Imaginationland's sound file for iOS from my testing.

Otherwise expect MIDIs and Waves.
  • Author
  • Localization

LuigiMario79, posted Sun Jan 08, 2023 4:35 am (74918)


I just tried that with the Collapse game for android, but the resulting output is too loud and noisy, and the first music track's volume is inconsistent.

I've attached a link to the zip file with the "s.uncomp" file and the audio result after importing it. I can't attach the file directly because it's too big.
https://anonfiles.com/lag7FcQbyd/collapse_zip
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.