20kdc / gabien-app-r48

(Possibly buggy) application for game making, modding, and datamining, with a general focus around game engines compatible with the RPG Maker series.
The Unlicense
30 stars 2 forks source link

Adding a script without importing it makes game unrunnable #23

Closed rohkea closed 6 years ago

rohkea commented 6 years ago

Steps to reproduce:

  1. Open a VXA game in R48.
  2. Open Database Objects → Scripts
  3. Add a new script at any position
  4. Run the game.

Expected result: no changes should be visible when running the game, since a newly-added script should be just an empty script with no code and shouldn’t affect anything.

Actual result: an error occurs (unless I export the empty script and re-import it): ‘Failed to load script’ error message.

20kdc commented 6 years ago

I think I know why this is, but now I need to get an empty zlib stream...

20kdc commented 6 years ago

I don't know if that's actually accepted by RGSS, so testing needed.

rohkea commented 6 years ago

Thanks! Tested in both RXP and RVXA engines, works well.