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.

Ubisoft MPEG files (Tonic Trouble)

Featured Replies

  • Author
  • Localization

Droolie, posted Wed Feb 25, 2015 3:56 pm (3465)


Hey there!

I'm looking to decode the Ubisoft MPEG files found in Tonic Trouble, and I'd be forever grateful if anyone could help. I've posted this on various forums without any help, so I'm hoping I'll have some luck here. :)

Here are some examples of stereo Ubisoft MPEG files: https://app.box.com/s/4a8u0kbfe1izlewedqjl
Here are 3 examples of mono Ubisoft MPEG files (they're voice tracks): https://app.box.com/s/qypjqe1pypd9dtmncern
It seems that much like normal MPEG audio, stereo files have 1 frame for left channel, 1 frame for right channel, and then repeat.

The tracks seem to be 16-bit 44100Hz files, and from what I've found, the format is a bit like this:
Code:
0x4 - the amount of samples of the audio track. Seems to be used only for loop length.
0x4 - "2RUS" header for stereo, "1RUS" header for mono
0x??- frame header, starting with at least 8 "on" bits (11111111). This start is just like MPEG, but the rest of the header isn't...
[ frame ]
0x?? - frame header, seems to be padded to nibble level (as in, there can be 4 "on" bits at the end of one byte and 4 at the beginning of the following byte)
[ frame ]
etc.


Many thanks,
Droolie.
  • Author
  • Localization

Droolie, posted Wed Feb 25, 2015 4:51 pm (3468)


Yeah, I have, but DecUbiSnd doesn't support that format.
  • Author
  • Localization

deton24, posted Sat Sep 28, 2019 10:23 pm (51066)


Converter has been released with source codes:
http://www.ctpax-x.org/?goto=files&show=161

You can consider donating CTPAX-X on Kiwi, Yandex Money, Webmoney (data provided in the left of the main page) helping them keep their site online.

Thanks to aluigi for providing QuickBMS script extracting MPX segments!
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.