dMZX Forums: Older games may rely on ModObj-era volume reset bug -> MegaZeux Bugs -> Tracker

Jump to content

Report ID 809 Title Older games may rely on ModObj-era volume reset bug
Product MegaZeux Bugs Status Confirmed (Severity 2 - Fair)
Version <2.80 Fixed in -
Introduced In Version <2.80Operating System All platforms

Page 1 of 1
  • Cannot start a new Issue
  • You cannot reply to this issue

Report ID #809: Older games may rely on ModObj-era volume reset bug

#1 User is offline  
Lachesis 

  • the pinnacle of human emotion
  • Group: DigiStaff
  • Posts: 3,904
  • Joined: 17-July 04
  • Gender:Female
  • Location:Sealand

Posted 19 June 2020 - 10:23 PM

In ModObj-era MegaZeux releases (1.00g, 1.02, 2.02, 2.07, and likely any others prior to 2.50) the following code results in the mod audio being reset when the new mod plays. It's not clear exactly what the cause of this is, but every MegaZeux release since keeps the existing volume when the new mod plays.

MOD "CV_BALON.MOD"
VOLUME 255
SET "vol" TO 255
: "l"
DEC "vol" BY 5
VOLUME "vol"
WAIT 1
IF "vol" > 0 "l"
END MOD
MOD "CV_TECH.MOD"


Aside from the mod names this is the exact same code that the Catacombs of Zeux ending uses to switch to CT_END2.MOD, and relying on this bug is the reason that mod does not actually audibly play in 2.51 and up.

Unless the 1.x copies of the Zeux registered worlds are found (in which case this could be versioned for 1.x and a 1.x loader could be added) I'm not sure there's a good way to fix this bug.
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"

xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository


Page 1 of 1
  • Cannot start a new Issue
  • You cannot reply to this issue

1 User(s) are reading this issue
1 Guests and 0 Anonymous Users


Powered by IP.Tracker 1.3.2 © 2024  IPS, Inc.