dMZX Forums: MZMs don't version robot file format -> Archived MegaZeux Bugs -> Tracker

Jump to content

Report ID 220 Title MZMs don't version robot file format
Product Archived MegaZeux Bugs Status Fixed (Severity 2 - Fair)
Version 2.83 Fixed in 2.84
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 #220: MZMs don't version robot file format

#1 User is offline  
ajs 

  • carpe diem
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,614
  • Joined: 21-October 00
  • Gender:Male
  • Location:United Kingdom

Posted 29 December 2009 - 06:50 PM

MZM2 saves out robots, but it does so without any versioning independent of its own version (2). This causes problems because it prevents the robot file format from changing in the world format, as save_robot() is used in both the world saver and the MZM saver. I want to be able to optimize the "save" only metadata out of the regular robot file format, but I cannot do so without breaking the MZM2 loader.

To fix this, either robot serialization should be done completely separately for MZM2, or an MZM3 format should be introduced which saves the version the robot program was from. I'm leaning towards MZM3 because Exo required a similar change when he decoupled bytecode and source in "debytecode" (currently unmerged) for a similar reason.

--ajs.


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,949
  • Joined: 17-July 04
  • Gender:Female
  • Location:Sealand

Posted 21 May 2012 - 05:59 PM

Updating status to: Fixed
Issue fixed in: 2.84


All of the work was already done, all I had to do was remove a couple of debytecode-only checks. MegaZeux 2.84 and beyond will save MZM3s instead of MZM2s -- for all purposes MZMXs and MZM2s are treated as having a version of the current world version or 0x253, whichever is lower. GITs d7acdae853 and 9da540f7d1.
"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,966
  • Joined: 12-October 00
  • Gender:Male

Posted 27 May 2012 - 07:27 PM

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 © 2025  IPS, Inc.