samkusin/clemens_iigs

Unable to write changes to disk images

Closed this issue · 7 comments

I played the "Where in the USA is Carmen Sandiego" IIGS game and solved some cases. When I quit the emulator and re-play "Where in the USA is Carmen Sandiego" the next time, I found the cases that I solved previously was NOT saved in the "Where in the USA is Carmen Sandiego" disk image.

So I suggest to include 2 changes:

  1. The emulator should be able to write the changes back to the disk image
  2. The emulator should allow saving of the snapshot of disk image. When the snapshot is re-loaded into the emulator, it should return to the previous state of the disk image.

Where in the U.S.A. is Carmen Sandiego IIgs.zip

Snapshots save the current state of all active disks (at least as of a week ago) within its file - if you reload a snapshot you should see all disks in their respective drives.

I'm surprised that shutdown isn't saving disks, but there's been a lot of rework over the past couple weeks.

The 0.6 version will be branched shortly and will be used for testing these issues you've brought up in addition to the full regression testbook.

Snapshots save the current state of all active disks (at least as of a week ago) within its file - if you reload a snapshot you should see all disks in their respective drives.

I'm surprised that shutdown isn't saving disks, but there's been a lot of rework over the past couple weeks.

The 0.6 version will be branched shortly and will be used for testing these issues you've brought up in addition to the full regression testbook.

I did not see how to save the snapshot of the disk image.

And I did not shutdown the emulator.

When the user solve a case in "Where in the USA is Carmen Sandiego", the game should trigger a save action to write the changes back the disk. But I found emulator does not save the changes back to the disk image.

When I played the non-IIGS version of the game in Virtual ][, it will properly save the changes to the disk image after I solved a case. When I quit the game and restart playing again, the disk image will include all the previous changes I have played before.

Ok, I will use the disks you sent in this issue when I run through some of my tests before releasing the next version.

You can save and load snapshots via two buttons at the top of the emulator screen (next to the settings icon.)

Ok, I will use the disks you sent in this issue when I run through some of my tests before releasing the next version.

But first you need to know how to play the game.

I should also point out that the game progress is saved to the original disk image, there is NO external game save file

OK. I found a way for you to see the issue when you start the game but without playing.

  1. You need to add the disk 1 to S5,D1 and disk 2 to S5,D2, then boot the emulator and double click "Carmen USA" from Disk 1

Screenshot 2023-04-09 at 12 04 15 AM

  1. When you see the Borderbund Logo, wait for some time and left click the mouse to bypass the splash screen.

  2. When you see the main screen of the game, select Game > Acme Detective Roster

Screenshot 2023-04-09 at 12 09 14 AM

  1. You will see two names in the detective roster, try to delete both of them

Screenshot 2023-04-09 at 12 09 40 AM

  1. After deleted both detectives from the detective roster, you should see this screen.

Screenshot 2023-04-09 at 12 10 07 AM

  1. Now reboot the IIGS and repeat steps 1-3, you should see the 2 detective names re-appear again in the detective roster even though you have previously deleted them in step 4.

Screenshot 2023-04-09 at 12 09 14 AM

Screenshot 2023-04-09 at 12 09 40 AM

It seems that the issue is fixed. Now I can see the progress can successfully be saved in the "Where in the USA is Carmen Sandigeo" IIGS game.

Disk persistence was fixed in #111 and through various fixes since then.