Posts Tagged ‘sna’

SNA support

Monday, November 26th, 2007

While there will be no support for SNA files, as mentioned in an earlier post, there will be a more sensible way to quickly load and run disk and tape images in the next version of Caprice32 PSP.

For those who are interested in why exactly SNA will not be supported, here are the reasons:

  1. SNA files are model-dependent. Once a snapshot is created for a 464, for example, it can no longer be used for another model, since the file itself captures the system’s identity
  2. SNA files are emulator-dependent. They are of little use to anyone using another emulator
  3. For the above two reasons, I do not want to contribute to saturation of SNA files on the web, when much better alternatives (ROM, tape and disk images) are readily available
  4. Treating SNA files as regular image files means supporting save states for the SNA file. This just seems recursively silly

This decision is final (sorry); however, if you absolutely insist on loading SNA files, feel free to add such functionality by downloading and compiling your own copy (ah, the beauty of open source software).

I am aware of CPC’s inflexibility with regard to disk loading, however, and as mentioned before, there will be a more sensible way to load, say, Gryzor, and instantly see the title screen, instead of having to cat and run your way through BASIC. So pull up a chair and stick around, this should be interesting, if not fun and (gasp!) useful :)

Future of Caprice32

Friday, November 23rd, 2007

Thanks to those who submitted feedback about Caprice32, ZIP and multi-disk support will be added in the next release.

SNA files, on the other hand, will not be supported, and here’s why. SNA files are not proper cartridges or disk images – they’re save state files containing a “snapshot” of memory and CPU registers. The Save State tab provides the same functionality (except as an added bonus, it GZip’s the save states, making them a lot smaller).

If you want to convert an existing SNA file to Caprice32 PSP’s save state format, here’s how to do it:

  • Compress the SNA file with GZip
  • Pick some PNG image (any in-game screenshot made with Caprice32 PSP will do)
  • Concatenate the PNG image with the GZipped SNA file in the following order: PNG image, SNA file
  • Rename the resulting file so that it’s composed of the full name of the disk image (including the extension), plus ‘.sXX’ as an extension, where XX is an integer between 00 to 10. Example: 1943.dsk.s00
  • Place the file in the SAVEDATA directory, and it will be available when the DSK file is loaded.