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.

cut_paste.bms script

Featured Replies

  • Author
  • Localization

makc_ar, posted Fri Jun 15, 2018 10:01 pm (35919)


Someone to write a script for this files https://www59.zippyshare.com/v/izSC1Cux/file.html? How to cut 28 bytes of footer in .xsew file and create a new file .wav?

footer in .xsew file
Image
create a new file .wav
Image

Right?
Code:
get SIZE asize
get NAME basename
math SIZE - 28
string NAME .wav
log NAME 0x0 SIZE
  • Author
  • Localization

aluigi, posted Sat Jun 16, 2018 7:30 am (35926)


These xsew files are playable as-is too, anyway yes the script is correct but if you want something 100% compliant with the RIFF format try this:
Code:
idstring "RIFF"
get SIZE long
math SIZE 8
get NAME basename
string NAME .wav
log NAME 0 SIZE
  • Author
  • Localization

aluigi, posted Sat Jun 16, 2018 12:39 pm (35940)


Doesn't seem a real format but there is something strange, the repeated sequence of 0xa3f32000.
So if you try the xor.exe tool you can find a better "sense" in the file but still an unknown format:
Code:
xor.exe m40_301c.sngw output.dat 0xa3f32000
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.