dMZX Forums: Games relying on sprite values set from previous games no longer "work" -> Archived MegaZeux Bugs -> Tracker

Jump to content

Report ID 775 Title Games relying on sprite values set from previous games no longer "work"
Product Archived MegaZeux Bugs Status Fixed (Severity 2 - Fair)
Version 2.91j Fixed in 2.92
Introduced In Version 2.80XOperating System All platforms

Page 1 of 1
  • Cannot start a new Issue
  • Closed Issue This issue is locked

Report ID #775: Games relying on sprite values set from previous games no longer "work"

#1 User is offline  
Lachesis 

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

Posted 07 July 2019 - 06:36 PM

Some pre-port games rely on sprite values not being cleared between game loads. Several games are verified to not work because they rely on putting sprites before width and height are set. This could be fixed by initializing these values to something like -1 when loading a pre-port world (although, they can also be worked around with a world that uses SWAP WORLD to initialize them as well).

Games that rely on width/height values persisting and/or placing sprites with only one dimension initialized:

Quote

Hackers Can Turn Your Computer Into a Bomb! (also SMZX, which means it doesn't work in DOSBox either)
Lethal Recurse (2003 DoZ)
Serum (2003 DoZ)
Trashman Dan (2004-Q2 DoZ)


Pre-port sprite games known to work without needing this fix (these could be double checked anyway though):

Quote

The Cave of Death and LOL
Comfat (was broken by an unrelated bug introduced in 2.80, fixed in 2.91i)
Project MoveZig (was broken by an unrelated bug introduced in 2.83, fixed in 2.91j)
Sprite Catcher (was broken by an unrelated bug introduced in 2.70, fixed in master-2.92)
Manuel the Manx (2002 WoZ) (was broken by an unrelated bug introduced in 2.84, fixed in master)


Preliminary list of all other pre-port games using sprites, compiled by Terryn:

Quote

Dragonbreed Demo
Kaboink!
NecroScathe
OMGWTF
Smallhacker Sidescrolling Engine
The Wired Demo
TRINITY (2002-Q4 DoZ)
30275 (2002-Q4 DoZ)
Larry the Junkie (2002-Q4 DoZ)
Dark Core (2003 DoZ)
Netwars (2003 DoZ)
Convergence (2003 DoZ)
Depravity (2003 DoZ)
19451 (2004-Q1 DoZ)
Distance (2004-Q1 DoZ) [SMZX]
Xeikana (2004-Q1 DoZ)
SUPER-DUPER GAME (2004-Q1 DoZ)
Lab Rat (2004-Q1 DoZ)
Quest for the Sapphire Sword (2004-Q1 DoZ)
mo2_exo.mzx (MZXO Summer 2004)
mo3_prophet.mzx (MZXO Summer 2004)
omfg! gold! (2004-Q2 DoZ)


Mainly before this fix goes in it'd be good to go through all these worlds and check to see if any others rely on putting before setting the dimensions or if this fix would actually negatively affect anything (I doubt it, though). Also, it's unclear if any games rely on the other sprite values not being cleared.
"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
  • Closed Issue This issue is locked

Replies (1 - 2)

#2 User is offline  
Lachesis 

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

Posted 19 July 2019 - 01:57 PM

Updating status to: Fixed
Issue fixed in: 2.92

Fixed in GIT ba3afe0f by just making sprite placement unconditional for pre-port games. Also, added "Serum" from the 2003 DoZ to the list of affected games. "Depravity" from the same DoZ also had a different bug that was fixed.
"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

#3 User is offline  
Terryn 

  • ******
  • Group: DigiStaff
  • Posts: 2,960
  • Joined: 12-October 00
  • Gender:Male

Posted 23 July 2019 - 12:37 AM

Moving to: Archived MegaZeux Bugs


Page 1 of 1
  • Cannot start a new Issue
  • Closed Issue This issue is locked

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


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