raydac / zxpoly

a multi-CPU ZX-Spectrum 128 concept platform
GNU General Public License v3.0
93 stars 9 forks source link

Loading Snapshot doens't load full state of machine. #36

Closed Silveriomrs closed 2 years ago

Silveriomrs commented 2 years ago

Good morning,

OS: Linux Mint 20.2

I have check it, when I save a game with no clash colour, etc... in Snapshot and I load it again, it doesn't keep the attributes from the game & machine. I mean, it loads as no special palete and with clash colour. Like a regular ZX Spectrum with original palete.

Cheers

raydac commented 2 years ago

it would be good if you would describe step by step, which game and which kind of snapshot?

Silveriomrs commented 2 years ago

Sorry, You're right, but I decided to record a video instead to describe it.

Here is the link, it's a hide video, so only with this link you can see it. https://youtu.be/v1FWOCF2wEY

When you consider OK just tell me to remove it.

Thanks

raydac commented 2 years ago

now I understand, you have loaded Spec256 game and saving it as ZXPoly snapshot I didn't implement any adaptation because didn't think about such use case, thank you I will check how to fix it

raydac commented 2 years ago

I have made improvements, you can try 2.2.2-SNAPSHOT

Silveriomrs commented 2 years ago

imagen Hi, that was the version I tried it out.

or... Did you make some changes in the code of this version?

raydac commented 2 years ago

updated snapshot version can be downloaded from here https://github.com/raydac/zxpoly/releases/tag/2.2.2-S

Silveriomrs commented 2 years ago

imagen

It works fine now. Here is the console log too.

Thanks for your job

raydac commented 2 years ago

one explanation that it is not zxpoly mode, it is spec256 mode and spec256 snapshots

Silveriomrs commented 2 years ago

Related issue, When trying to type the name of the snapshot to save... i cannot delete what was wroten, I mean... trying to get back to correct a typing mistake it doesn't allow, only type new characters not to back.

raydac commented 2 years ago

I also saw such behavior under Ubuntu and looks like that it is issue of JDK file chooser panel, I will investigate

Silveriomrs commented 2 years ago

I can garantee that not. I use JDK11 and JFileChooser and it has not that behavior on my projects.

raydac commented 2 years ago

do you use for your projects native look and feel?

raydac commented 2 years ago

I will check options for file dialog, may be some wrong flag because open dialog works well as I see