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.
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.80X | Operating System | All Platforms |
Page 1 of 1
Report ID #220: MZMs don't version robot file format
Page 1 of 1
Replies (1 - 2)
#2
Lachesis
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.
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
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
0 User(s) are reading this issue
0 Guests and 0 Anonymous Users
Powered by IP.Tracker 1.3.2 © 2025 IPS, Inc.