Page 3 of 6

Re: Scumvm

Posted: Thu May 14, 2015 9:32 pm
by MadMax2023
I tested again last scummvm released by Mikro, but there should be something wrong somewhere in my set-up.
Performance is so far from ancient releases by Keith (and it wasn't something really amazing).
I set CT60 cache to "normal, no copyback alert".
With Day of tentacle color are weird, it's so slow that it is unplayable, song is a disaster.
Maybe i don't use the most adapted version os the game (pc version).

I will try again later.

Re: Scumvm

Posted: Fri May 15, 2015 4:40 am
by jury
MadMax2023 wrote:it's so slow that it is unplayable, song is a disaster.
Maybe i don't use the most adapted version os the game (pc version).


Have you set sound to 11 or even 8 KHz? I will repeat, I also had terrible performance in this game, but when lowered sound setting, the performance was absolutely normal, even the sound finally sounded fine :)
Have you tested only this game? As most games I tested ( about 8 ) performed well without doing anything, just Day of Tentacles and one more game needed special treatement ( like lowering sound setting )

MadMax2023 wrote:With Day of tentacle color are weird


If it goes for colors, its not only Day of Tentacle, I have compared colors in couple of other games and in all of those colors were a little weird, but the explanation is simple:

mikro wrote:I must find time for both ScummVM and OpenTTD again, damn it.

Palette in ScummVM is seriously broken


And after above post there were no releases, so we just have to patiently wait for MiKRO :)

Re: Scumvm

Posted: Mon Sep 28, 2015 9:32 pm
by cb
mikro wrote:I can confirm that Olivier's changes do make a difference. So here you are, my build with Olivier's SDL: http://ge.tt/7nBDSJD2?c

I'm really happy to see this, the change will benefit for OpenTTD for sure too. All you have to do is ask :)

So if you guys like it, please test it and then, same as with OpenTTD, I can make a proper release. I do it not because I expect hundreds of fans but as soon as I release the official build, I don't want to mess with it anymore, so this is the only chance to force me to do some additional changes to both projects.

And of course - Olivier thanks for your contribution!


Hi,
I've just found out how to play the games at almost full speed with music on a CT60 with the build from your link (the 68020 one). :D

First, you have to setup Scummvm like stated before: in the options menu of the launcher, under the GFX tab, setup Graphics mode to normal/no scaling, and tick the box next to Fullscreen.
Then, exit the options menu and add your games. On the Audio tab.

Now, go back to the options menu. On the Audio tab, set Preferred Dev to No music make sure output rate to 8 Khz (very important). Exit that menu by clicking OK, and launch any game (doesn't matter).

The game should run fast but without music obviously.
Now, hit CTRL + F5 to bring up the internal Scummvm menu. Click on Return to launcher.

Go back to the options menu, and now on the Audio tab, set Preferred Dev to Default. Start the game you wish to play, and it should run exactly as fast as before, but WITH music enabled.

I just did that trick 4 times in a row to test it, with different sets of games, it worked every time (on F030/CT60 under TOS 4.04). You have to do that trick every time you start Scummvm though.

EDIT: it seems that when you start Scummvm, output rate must already be at 8Khz or the trick wont work. So if you have to change it to that value, exit & restart it.

Re: Scumvm

Posted: Tue Sep 29, 2015 6:15 am
by mikro
Are you sure it doesn't work if you set the device to Default *and* 8 kHz from the beginning?

Re: Scumvm

Posted: Tue Sep 29, 2015 5:54 pm
by cb
mikro wrote:Are you sure it doesn't work if you set the device to Default *and* 8 kHz from the beginning?


I already tried that with no success. Games just run at 10 FPS at most.

Re: Scumvm

Posted: Tue Sep 29, 2015 7:26 pm
by cb
OK... Now I feel stupid. Indeed the games run just fine from the begining as long as I use those settings:

GXF: no stretching/Fullscreen
Audio: default device/8 KHZ

Forget about that trick I posted, it's uselesss... I guess I mixed bad settings at one point and I tried over complicated things for no reason... :lol:

Anyway, that build you posted runs great and at almost full speed, so thank you for that. Do you plan to update it to the new versions of Scummvm when they are released?

Re: Scumvm

Posted: Tue Sep 29, 2015 8:32 pm
by saulot
Hi, are there sources for those patches? I would be interested in seeing them.
mikro: this Scumvm is with this 'custom 8-bit' backend you have mentioned?

Re: Scumvm

Posted: Wed Sep 30, 2015 6:18 am
by mikro
Saulot: I suppose cb is talking about that particular build. Of course I'll release full source code as soon as it's done (what is not), this was supposed to be just a test build but then I lost all my spare time for it (incl. OpenTTD).

But if you're willing to catch up and fix the 8-bit rendering, drop me a mail/pm, I'll send you my changeset.

Re: Scumvm

Posted: Sun Dec 18, 2016 6:23 pm
by jury
mikro wrote:I must find time for both ScummVM and OpenTTD again, damn it.

Palette in ScummVM is seriously broken, that games must look terrible.


Hi mikro
Just a reminder. Palette is still broken! :)

Re: Scumvm

Posted: Sun Dec 18, 2016 10:14 pm
by mikro
Damn, somebody still remembers. ;-) The truth is now my options are a little limited because I don't have a CT60 nearby so I could use only Aranym. And I work on some other projects. But Saulot did write me back then and he seemed to be determined to continue the development. Otherwise... you must be patient. It's in my queue (with OpenTTD) but no date set (as usual).

Re: Scumvm

Posted: Mon Dec 19, 2016 7:34 am
by jury
mikro wrote:Damn, somebody still remembers. ;-)

No chance to forget, as I have couple of games to play :P

OK then, all I can do is still wait :)

Edit:
Oh, and if any tests are needed, I can gladly help

Re: Scumvm

Posted: Sat Mar 25, 2017 9:14 pm
by Sturm
So? What's the best build to use with a CT60? I tried the official 1.9 release, it crashes under Mint and is slow as hell in TOS. I tried the one at the beginning of this post, but is really slow too.

The other links you posted are invalid.

Would you be so kind to reupload them?

Thank you

Re: Scumvm

Posted: Sat Mar 25, 2017 11:58 pm
by Eero Tamminen
mikro wrote:Damn, somebody still remembers. ;-) The truth is now my options are a little limited because I don't have a CT60 nearby so I could use only Aranym. And I work on some other projects. But Saulot did write me back then and he seemed to be determined to continue the development. Otherwise... you must be patient. It's in my queue (with OpenTTD) but no date set (as usual).


Both ScummVm and OpenTTD work also with Hatari. You can use for example:
* hatari-prg-args.sh -s 14 --ttram 256 --machine falcon --tos tos404.img --dsp none --addr24 off --fpu internal -- ./scummvm-m68020-olivier.ttp -c scummvm.cfg
* hatari-prg-args.sh -s 4 --ttram 256 --machine tt --tos tos306uk.img -- ./openttd-m68020.gtp -m null -s null -b 8bpp-optimized

(Haven't tested them in a long time, but they worked fine with Hatari v1.9, with plain TOS.)

Re: Scumvm

Posted: Sun Mar 26, 2017 12:10 am
by mikro
Since I do have a CT60e now, I can give you another vague promise that one day I'm going to look at it again. ;-)

Re: Scumvm

Posted: Sun Mar 26, 2017 2:09 pm
by jury
There is hope :)

Re: Scumvm

Posted: Thu Mar 15, 2018 12:39 am
by Estrayk
mikro wrote:Since I do have a CT60e now, I can give you another vague promise that one day I'm going to look at it again. ;-)


I´ve tested ScummVM today, it works like a charm in MagiC 6.20 btw.

https://www.youtube.com/watch?v=Q7smNXIl6HM


Re: Scumvm

Posted: Thu Mar 15, 2018 11:56 am
by wongck
Estrayk wrote:I´ve tested ScummVM today, it works like a charm in MagiC 6.20 btw.

Nice. :thumbs:

Re: Scumvm

Posted: Mon May 14, 2018 11:42 am
by stormy
Can anyone tell me how to get RAW midi output working? The driver is called STMIDI and that is what it is supposed to do. When I select this option my Falcon just locks up with a black screen, in mint or tos. I have a real MT32 so this is why I want to get it working.

Re: Scumvm

Posted: Mon May 14, 2018 1:54 pm
by mouse_master
mzry wrote:Can anyone tell me how to get RAW midi output working? The driver is called STMIDI and that is what it is supposed to do. When I select this option my Falcon just locks up with a black screen, in mint or tos. I have a real MT32 so this is why I want to get it working.


IIRC, the ST Midi driver can not currently work, as it basically needs threads (SDL Timer implementation) to run the way ScummVM has implemented the Midi subsystem, which uses a timer and a callback. IIRC, the Atari SDL_Timer implementation from Patrice uses an interrupt or PTH, neither of which ScummVM really likes from the way the callbacks are programmed.

A hack in the code can be used to run the necessary timer, but playback is not always quite on time. It would be much better to code a partial backend to replace the SDL timer used from the SDL backend, even better to code a whole backend to replace the SDL one, specific for the Falcon/Firebee, clear out/optimize lots of fluff.

Re: Scumvm

Posted: Mon May 14, 2018 4:02 pm
by stormy
Thank you for this amazingly detailed explanation. This seems like a number one priority kind of issue, I am surprised nobody involved in the programming has fixed it yet.

Re: Scumvm

Posted: Sat Nov 03, 2018 1:28 pm
by MadMax2023
Since a long time i didn't update my ScummVM, i installed the last official 2.0 release.

I discovered that since the 1.8 version the atari port works with all supported engine, so i put tons of non lucas art games in my Falcon (police quest 4, Myst, Land of lore, Simon the sorcerer 2, etc ...) and it works perfectly it is really amazing to be able to play to all these great games on a Falcon.

Few games are too slow to be playable : monkey island 3 (it is not too far from a good playable speed), the 7th guest. If someone like OL or Mikro want to give a try to make an (more) optimized port i will be interested, thanks :)

Re: Scumvm

Posted: Sat Nov 03, 2018 4:59 pm
by jury
MadMax2023 wrote: (police quest 4, Myst, Land of lore, Simon the sorcerer 2, etc ...) and it works perfectly


How did you configure Simon the Sorcerrer that it works perfectly? I have tried many, many configurations and never managed to make it work faster than 1 frame every few seconds :/

Re: Scumvm

Posted: Sun Nov 04, 2018 5:48 am
by handballchamp
hi all - best steps for this... I've downloaded the tpp files. do I just grab games now? New to this?

Re: Scumvm

Posted: Sun Nov 04, 2018 7:53 am
by stormy
handballchamp wrote:hi all - best steps for this... I've downloaded the tpp files. do I just grab games now? New to this?


Scummvm on Atari has the same interface as any other machine, so if you don't know how to use the Scummvm interface then you'd be better off looking for guides on youtube or in the scumm forums.

But without talking about the interface itself, you just put your games inside the 'games' folder, or make one if there isn't one, then run the TTP. Add your game and away you go. Then perhaps use some of the recommended settings in this thread.

Re: Scumvm

Posted: Sun Nov 04, 2018 9:59 am
by MadMax2023
jury wrote:
MadMax2023 wrote: (police quest 4, Myst, Land of lore, Simon the sorcerer 2, etc ...) and it works perfectly


How did you configure Simon the Sorcerrer that it works perfectly? I have tried many, many configurations and never managed to make it work faster than 1 frame every few seconds :/


I am playing SCUMMVM within a dirty a quick install of mint that i have on one partition only to play games with ct60+videl (my main partition is a mint system enhanced for my ctpci+video card).
If you play scummvm under tos it will be slow, so run it with mint.

Setup the game by setting the graphic to "no scaling", about audio simon the sorcerer 2 has voices, the sound rendering is far from perfect (scratch noises are frequent) but it does not slow down to have it enabled, you can choose subs+voices.

To play games with videl i use a rgb monitor with the peritel cable. I find the display speed is a little faster than on a vga modern flat screen.

What is your configuration? scummvm won't work at a playable speed on a standard falcon;