Skip to content

1.0.6.8-oss.1 - save file NaN fix

Latest

Choose a tag to compare

@bazsupport bazsupport released this 28 Aug 04:38
5384a4f

Based on the Pixel Game Maker MV 1.0.6.8 player (tag v1.0.6.8, commit 5b7ac6d). Changes: #3.

Read this first

The open source player is version 1.0.6.8. The player shipped with the current Steam editor is 1.0.6.12. This release is 1.0.6.8 plus the fix below; it does not include whatever changed in 1.0.6.9 to 1.0.6.12, because that source is not public. Use it if you need this fix now, and keep a backup of your stock player-win folder. The fix has been merged into the official repository and can be picked up by Gotcha Gotcha Games for a future official player.

Fixed

  • A save could be silently truncated when any variable held NaN (for example after a division by zero), and the player then reported no save data on the next start. NaN and Infinity are now written to the save file and read back, so the variable keeps its value.
  • The mouse position could become NaN or Infinity at game start when the scene is exactly twice the display width; Mouse X / Mouse Y now stay valid.
  • On PC, a failed save write (disk full, locked file) no longer replaces the existing save: the new save is written to a temporary file first and swapped in only after the write succeeded.

Notes

  • Save files containing NaN are not strict JSON; only the player reads them. Players older than this release cannot load a save that contains NaN (such a save could not be written before this fix).
  • Built from commit 5384a4f as Release (test play) and Runtime (exported games) with Visual Studio 2022 Community, Win32.
  • The exe still reports version 1.0.6.8; this release is identified by its tag.

Files

  • player.exe - test-play player. In the editor's Options, point the player path at this file.
  • runtime.zip - runtime for exported games. In the editor's Options, point the runtime path at this zip. Includes the three VLC plugin DLLs from the stock install, unchanged.

SHA-256

  • player.exe: c7d867c47ce78c78dea7a115c7dc43277be97f74f8e072b1551cd605ad601fa5
  • runtime.zip: 270bf1614ca39638304e9b20292d7636421745ca841b0b71ab4966b07ed3609e