Page 1 of 3

Re: SAM Coupé screenshot format

Posted: Sun May 24, 2020 1:20 pm
by PeterJ
Excellent [mention]obo[/mention],

I'm glad I can now switch to your emulator. Thank you for doing this.

I use an outlook.com email address for new message alerts. I know they often go in people's junk folders.

Re: SAM Coupé screenshot format

Posted: Sun May 24, 2020 4:38 pm
by obo
Stefan spotted that I'd attached the wrong binaries to the release, using those from 24th March instead of 24th May. Please re-download if you've grabbed the older files, as only the new version supports SSX.

It looks like my forum notifications are working now too :)

Re: SAM Coupé screenshot format

Posted: Sun May 24, 2020 10:15 pm
by moroz1999
Thank you! That's a really great news, I will add a support of the format as soon as possible.

Re: SAM Coupé screenshot format

Posted: Sat Jun 06, 2020 11:37 pm
by moroz1999
Please check github for an updated version of ZX-Image.
I've added support of mode3 and mode4 SSX files, others are to be implemented soon as well.

When I try to run the python script, I get the following problem:
f:\projects\ssxview-master>python ssxview.py mode2.ssx
File "ssxview.py", line 71
sys.exit(f"Invalid SSX file size ({size} bytes)")
^
SyntaxError: invalid syntax

What am I doing wrong? I've copied mode2.ssx from samples to same dir as python script located.

Re: SAM Coupé screenshot format

Posted: Tue Jun 09, 2020 6:17 pm
by obo
Thanks for the updated zx-image, which I'll get set up soon.

It looks like it's choking on the f-string formatter in ssxview.py, which was added in Python 3.6. I'd best add that as a requirement :)

Re: SAM Coupé screenshot format

Posted: Sat Nov 28, 2020 8:32 pm
by pavero
[mention]PeterJ[/mention] and [mention]moroz1999[/mention]

How does it look with the support of SSX format now?

1) In ZX-Image library? Does it really require PHP 7.4?

2) At SC site?

Thanks for info.

Re: SAM Coupé screenshot format

Posted: Sat Nov 28, 2020 8:34 pm
by pavero
[mention]obo[/mention] Is it possible to open SSX files in your emulator?

Re: SAM Coupé screenshot format

Posted: Sat Nov 28, 2020 9:03 pm
by pavero
[mention]moroz1999[/mention]

$converter->getResultMime() probably doesn't work for SSX files.

Re: SAM Coupé screenshot format

Posted: Sat Nov 28, 2020 9:05 pm
by PeterJ
[mention]pavero[/mention], because of the amount of issues we had with Sam screens I went back to using PNGs. I'm happy to try again though. I just spent a long time on it and didn't get anywhere. Will need to refer back to my notes to find the details.
[mention]moroz1999[/mention] kindly updates the image library when we request it.

Re: SAM Coupé screenshot format

Posted: Sat Nov 28, 2020 9:09 pm
by pavero
PeterJ wrote: Sat Nov 28, 2020 9:05 pm @pavero, because of the amount of issues we had with Sam screens I went back to using PNGs. I'm happy to try again though. @moroz1999 kindly updates the image library when we request it.
It's working for me now at my local computer!

The basic issue which I can see is to install PHP 7.4 on SC hosting server.

Re: SAM Coupé screenshot format

Posted: Sat Nov 28, 2020 10:31 pm
by PeterJ
Hi [mention]pavero[/mention]

I will see which version of PHP we are running in the morning. The server is still on Ubuntu 16.04, so this will need updating to 18.04 or 20.04 soon. Not sure what version 16.04 runs, but I run updates every couple of weeks.

Edit. Just checked and Ubuntu 16.04 runs PHP 7.0. I won't be updating to 18.04 or 20.04 until after Christmas.

I also need to reference back to the exact issues we had. I just remember some Sam screens worked, but not others.

Re: SAM Coupé screenshot format

Posted: Sat Nov 28, 2020 11:03 pm
by pavero
PeterJ wrote: Sat Nov 28, 2020 10:31 pm Hi @pavero

I will see which version of PHP we are running in the morning. The server is still on Ubuntu 16.04, so this will need updating to 18.04 or 20.04 soon. Not sure what version 16.04 runs, but I run updates every couple of weeks.

Edit. Just checked and Ubuntu 16.04 runs PHP 7.0. I won't be updating to 18.04 or 20.04 until after Christmas.

I also need to reference back to the exact issues we had. I just remember some Sam screens worked, but not others.
Thanks.

Maybe [mention]moroz1999[/mention] can prepare a version compatible with PHP 7.0

Re: SAM Coupé screenshot format

Posted: Sun Nov 29, 2020 12:38 pm
by moroz1999
Sorry guys, I was a bit busy with real life lately. Will look into issues and provide support for SSX.
I was targeting the PHP7.4 really lately and I'm eager to switch to a fresh 8.0 with all its features. However, I will take a look at how to provide the support for 7.0, there should be some transpilers available already if I'm not mistaken.

Re: SAM Coupé screenshot format

Posted: Sat Dec 05, 2020 8:50 pm
by moroz1999
viewtopic.php?f=32&t=3786 - added topic for zx-image discussions.
Shortly: SSX is fully supported now, mime is fixed, now I'll try to transpile it for older PHPs.

Update: PHP7.0 compatible version is ready to run, described in topic above.

Re: SAM Coupé screenshot format

Posted: Sun Jan 17, 2021 7:36 pm
by pavero
Emulator Sim Coupe generates two different SSX files (in SS4 mode) for the same title.

e.g.:
https://spectrumcomputing.co.uk/entry/3 ... e/Amalthea
https://spectrumcomputing.co.uk/entry/3 ... tain_Comic

1) The first one (24 592 b)
https://spectrumcomputing.co.uk/zxdb/si ... load-1.ssx

2) The second one (98 304, 4x bigger size + resolution)
https://spectrumcomputing.co.uk/zxdb/si ... -run-1.ssx

[mention]obo[/mention]
[mention]moroz1999[/mention]

Is it a feature or bug? :)

Re: SAM Coupé screenshot format

Posted: Wed Feb 03, 2021 8:31 am
by PeterJ
pavero wrote: Sun Jan 17, 2021 7:36 pm Emulator Sim Coupe generates two different SSX files (in SS4 mode) for the same title.
Hi [mention]pavero[/mention] and [mention]moroz1999[/mention],

[mention]Stefan[/mention] kindly replied to my report on GitHub, and there is a later version which is available here:

https://github.com/simonowen/simcoupe/r ... g/20200827

I have tested with Captain Cosmic and the files are the correct size.

Start taking SSX screens everyone!

PS - Noticed that Simon also created a SSX viewer in Python which looks nice:

https://github.com/simonowen/ssxview

Re: SAM Coupé screenshot format

Posted: Wed Feb 03, 2021 6:19 pm
by pavero
PeterJ wrote: Wed Feb 03, 2021 8:31 am
Hi [mention]pavero[/mention] and [mention]moroz1999[/mention],

[mention]Stefan[/mention] kindly replied to my report on GitHub, and there is a later version which is available here:

https://github.com/simonowen/simcoupe/r ... g/20200827

I have tested with Captain Cosmic and the files are the correct size.

Start taking SSX screens everyone!

PS - Noticed that Simon also created a SSX viewer in Python which looks nice:

https://github.com/simonowen/ssxview
I am a little bit confused now.

On that link I can still see only the old version, all files are 6 months old, without any changes.

[mention]PeterJ[/mention] , [mention]Stefan[/mention] ?

Re: SAM Coupé screenshot format

Posted: Wed Feb 03, 2021 6:32 pm
by PeterJ
[mention]pavero[/mention],

The original one linked here:

viewtopic.php?p=37338#p37338

Is from 24 May 2020

The new one in my post above is from 27 Aug 2020.

Old version

New version

Re: SAM Coupé screenshot format

Posted: Wed Feb 03, 2021 6:39 pm
by pavero
PeterJ wrote: Wed Feb 03, 2021 6:32 pm @pavero,

The original one linked here:

viewtopic.php?p=37338#p37338

Is from 24 May 2020

The new one in my post above is from 27 Aug 2020.

Old version

New version
For me both versions are old. :)

I am using the version from 27 Aug 2020 for several months. And the bug is still there.

Now I have tried to generate SSX file from Bulgulators game and the output size is still about 100kB.

Re: SAM Coupé screenshot format

Posted: Wed Feb 03, 2021 6:43 pm
by PeterJ
pavero wrote: Wed Feb 03, 2021 6:39 pm
I am using the version from 27 Aug 2020 for several months. And the bug is still there.

Now I have tried to generate SSX file from Bulgulators game and the output size is still about 100kB.
OK, I only tried the game that you put in your earlier post, Captain Cosmic and that was the correct size. Does that file come out the right size for you now?

Re: SAM Coupé screenshot format

Posted: Wed Feb 03, 2021 6:45 pm
by pavero
Well, maybe there is some progress between both versions, but there is still not 100%.

Re: SAM Coupé screenshot format

Posted: Wed Feb 03, 2021 6:47 pm
by pavero
PeterJ wrote: Wed Feb 03, 2021 6:43 pm
pavero wrote: Wed Feb 03, 2021 6:39 pm
I am using the version from 27 Aug 2020 for several months. And the bug is still there.

Now I have tried to generate SSX file from Bulgulators game and the output size is still about 100kB.
OK, I only tried the game that you put in your earlier post, Captain Cosmic and that was the correct size. Does that file come out the right size for you now?
Yep, Captain Cosmic works fine.

Re: SAM Coupé screenshot format

Posted: Wed Feb 03, 2021 6:48 pm
by PeterJ
OK, I get the same result as you with Bulgulators. I will add to the GitHub report.

I suggest this does not stop us taking screens, we just keep a list of ones which come out incorrectly.

Re: SAM Coupé screenshot format

Posted: Wed Feb 03, 2021 6:51 pm
by PeterJ
Posted here [mention]pavero[/mention]

https://github.com/simonowen/simcoupe/issues/37

Re: SAM Coupé screenshot format

Posted: Wed Feb 03, 2021 7:08 pm
by pavero
Here is the other example.

https://www.worldofsam.org/products/f-16-combat-pilot

(SSX output 96 kB for running screen)