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.

Oodle bindings for java?

Featured Replies

  • Author
  • Localization

Bleech Studios, posted Tue May 19, 2020 10:19 am (56830)


Ive had to convert a bms script into java, does anyone have the oodle bindings or ones that work? Whenever I try to decompress with oodle I just get no bytes returned and a size of 0 instead of the decompressed size

Code:
//zsize=compressed, size=uncompressed
Oodle.oodleLib.OodleLZ_Decompress(
                     uint(sourcePointer), (long)zsize, uint(resultPointer),
                     (long)size, 0, 0,
                     0, null, 0,
                     null,null,null,
                     0, 3);


(Java does not have pointers, but I have the uint() makes it a pointer which comes from the oodle binding im current using which does not work)
  • Author
  • Localization

Bleech Studios, posted Tue May 19, 2020 2:03 pm (56836)


Sorry, forgot to say that I was using that library, I keep getting it saying
'Oodle decompression failed: 0'
  • Author
  • Localization

aluigi, posted Sun Oct 11, 2020 7:43 pm (59300)


Be 100% sure if the compressed and decompressed size are exact or oodle will return errors.
Remember that the oodle data usually starts with 0x8c so double check if you are poiting to the compressed data.
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.