OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Applications => Topic started by: Sigurd Fastenrath on April 25, 2021, 10:41:26 am

Title: Update of ScummVM possible?
Post by: Sigurd Fastenrath on April 25, 2021, 10:41:26 am
Is there a possibility to update "our" ScummVM for OS/2 Version from 1.9 to the upcoming 2.3 Version? And if, in wixh wich way can I help, if at all? Thanks in advance!
Title: Re: Update of ScummVM possible?
Post by: Paul Smedley on April 25, 2021, 10:59:07 am
HI Sigurd,

Is there a possibility to update "our" ScummVM for OS/2 Version from 1.9 to the upcoming 2.3 Version? And if, in wixh wich way can I help, if at all? Thanks in advance!

I can surely take a look. They used to mail me when a new release was coming, but stopped at some point.

Meanwhile... https://smedley.id.au/tmp/scummvm-2.1.0-os2.zip is from a while ago, and is probably untested....

Cheers,

Paul
Title: Re: Update of ScummVM possible?
Post by: Martin Iturbide on April 25, 2021, 04:11:15 pm
Thanks Paul.

I also took a little time to update the page of the OS2World Gaming Site (https://www.os2world.com/games/index.php/native-games/packs/231-scumm-vm).

Regards
Title: Re: Update of ScummVM possible?
Post by: Sigurd Fastenrath on April 26, 2021, 08:30:50 am
Thanks, Paul!

I can confirm, 2.1 is working with ArcaNoae 5.06 once I downloaded SDL2 from Hobbes and copied the extracted dlls to the OS2/DLL directory.

A AN Package Manager search for SDL2 did show no result.

There is an SDL Package available with  AN Package Manager but that leads not to a starting ScummVM.

- Is it possible to bundle the SDL2 DLLs with ScummVM?


One regression:

- I can not change the ScummVM Theme. The themes are included with the "other" Versions (like Windows) but unfortunately not as a separate file nor addon. The seem to be included in the .exe file (?). Is it possible to add the Themes (like modern) in the OS/2 Version as well (as with 1.9 i.e.)? The Standard Scheme does really look not very flattering.

Thanks again!!

Sigurd
Title: Re: Update of ScummVM possible?
Post by: Dave Yeo on April 26, 2021, 04:10:34 pm
SDL2 should be available in netlabs-exp.
Title: Re: Update of ScummVM possible?
Post by: Paul Smedley on April 26, 2021, 10:22:33 pm
SDL2 should be available in netlabs-exp.

Is it compatible with Digi's original port or did they manage to make it incompatible?
Title: Re: Update of ScummVM possible?
Post by: Dave Yeo on April 27, 2021, 12:11:24 am
SDL2 should be available in netlabs-exp.

Is it compatible with Digi's original port or did they manage to make it incompatible?

I'm not sure, haven't had any problems with it.
Title: Re: Update of ScummVM possible?
Post by: Sigurd Fastenrath on April 27, 2021, 10:07:55 pm
Here some additional pictures, showing that there is only the standard theme as choice available and the other picture showing the error message within the second command window after the program started.

Hope this helps.

EDIT: Upps, sorry PM View did not cache the SCUMMVM window, at least it shows the error message of the second window
Title: Re: Update of ScummVM possible?
Post by: Martin Iturbide on April 28, 2021, 03:00:57 am
Hi Dave

SDL2 should be available in netlabs-exp.

There is the SDL2 package on netlabs-exp, but it does not contains SDL2.DLL, only SDL2200.DLL.
SCUMMVM.EXE seems to require SDL2.DLL.

I even try to find it:

Quote
[C:\]yum whatprovides */SDL2200.dll
SDL2-2.0.12-2.oc00.i686 : Cross-platform multimedia library
Repo        : netlabs-rel
Matched from:
Filename    : /@unixroot/usr/lib/SDL2200.dll

SDL2-2.0.12-2.oc00.i686 : Cross-platform multimedia library
Repo        : installed
Matched from:
Filename    : /@unixroot/usr/lib/SDL2200.dll

[C:\]yum whatprovides */SDL2.dll
No Matches found

[C:\]yum whatprovides */sdl2.dll
No Matches found

Regards
Title: Re: Update of ScummVM possible?
Post by: Martin Iturbide on April 28, 2021, 03:06:31 am
Hi

I just put Digi's SDL2 DLLs (SDL2-2.0.4-20200907.zip) on the same directory to run ScummVM. I get the same warnings as Sigurd.

I will get a game to keep testing it.

Regards
Title: Re: Update of ScummVM possible?
Post by: Martin Iturbide on April 28, 2021, 03:21:45 am
Hi

I tried Fly of the Amazon Queen. Sound works, music and voice audio (talkie version). Alt+Enter works for full screen.
For the moment I have the issue that on full screen mode, or if I increase the size of the window, the mouse works bad, it make little jumps (skips spaces).

Regards
Title: Re: Update of ScummVM possible?
Post by: Paul Smedley on May 01, 2021, 03:03:39 am
Building 2.2.0 now, will try investigate the theme issues...
Title: Re: Update of ScummVM possible?
Post by: Paul Smedley on May 01, 2021, 06:59:55 am
Building 2.2.0 now, will try investigate the theme issues...

2.2.0 doesn't start with Digi's SDL2: {0}[u:\dev\scummvm-2.2.0\scummvm-2.2.0-os2] scummvm.exe
Could not initialize SDL: SDL not built with joystick support!
Title: Re: Update of ScummVM possible?
Post by: Dave Yeo on May 01, 2021, 08:50:04 am
Configure option?
It does bring up something I was wondering, namely how hard to add joystick support to SDL? Seems we can read the USB joystick, but it would have to be massaged into the right format.
Title: Re: Update of ScummVM possible?
Post by: Paul Smedley on May 01, 2021, 09:24:28 am
Hi Dave,

Configure option?
It does bring up something I was wondering, namely how hard to add joystick support to SDL? Seems we can read the USB joystick, but it would have to be massaged into the right format.

I couldn't see a configure option to disable joystick support. Pretty sure sdl 1.2 had support - maybe I'll look at adding that support into Digi's SDL2  port
Title: Re: Update of ScummVM possible?
Post by: Paul Smedley on January 27, 2023, 04:21:06 am
Test version of the upcoming scummvm 2.7.... https://smedley.id.au/tmp/scummvm-2.7.0-20230127.zip
Title: Re: Update of ScummVM possible?
Post by: Sigurd Fastenrath on January 27, 2023, 08:46:21 pm
Hi Paul,

thank you, I tried it, but it won't start. PMDLL tells me that SDL2200.DLL is missing. Do you know where I can get this file? (Prefer not ANPM). Thanks again!
Title: Re: Update of ScummVM possible?
Post by: Paul Smedley on January 27, 2023, 10:12:22 pm
Hi Paul,

thank you, I tried it, but it won't start. PMDLL tells me that SDL2200.DLL is missing. Do you know where I can get this file? (Prefer not ANPM). Thanks again!

Try https://rpm.netlabs.org/release/00/zip/SDL2-2_0_18-1_oc00.zip
Title: Re: Update of ScummVM possible?
Post by: Martin Iturbide on January 28, 2023, 03:15:59 am
Test version of the upcoming scummvm 2.7.... https://smedley.id.au/tmp/scummvm-2.7.0-20230127.zip

Hi Paul

Which is the correct location of the share path? I'm getting:
Quote
WARNING: You are missing a valid 'translations.dat' file. GUI translation will n
ot be available!
WARNING: generateZipSet: Could not find 'gui-icons.dat'!
WARNING: Could not find theme 'scummremastered' falling back to builtin!
WARNING: initWithU32String: Fribidi not available, will use input strings as fal
lback.!

I had tried different locations of the /share and I can not remove this errors.

Regards
Title: Re: Update of ScummVM possible?
Post by: Paul Smedley on January 28, 2023, 03:18:01 am
I'll investigate, I just ran 'make install' I don't really know how to test this...
Title: Re: Update of ScummVM possible?
Post by: Dave Yeo on January 28, 2023, 04:47:15 am
I'll investigate, I just ran 'make install' I don't really know how to test this...

What was your PREFIX? Standard /usr/local?
Title: Re: Update of ScummVM possible?
Post by: Sigurd Fastenrath on January 28, 2023, 03:42:24 pm
I do Just Start scummvm.exe in the bin directory, I do not have ANPM installed, nor the usr etc directories.

Thanks for the DLL, Paul. It crashes while starting with libc error.  I am on the road now, will Post a screen shot once I am at home again.

Looks promising :D
Title: Re: Update of ScummVM possible?
Post by: David McKenna on January 28, 2023, 04:21:59 pm
 Hi Paul,

 I get the same error messages as Martin does, but if I move the contents of '/scummvm/share/scummvm' into the '/scummvm/bin' directory, all errors go away (except the fribidi one, we don't have a fribidi.dll I know of), but then I get a new one that says 'No PNG support compiled!' and it crashes with an exceptq file (attached).

 Regards,

EDIT: found a fribidi.dll on Hobbes by KO Myung-Hun, but it didn't help. Maybe needs to be used during building?
Title: Re: Update of ScummVM possible?
Post by: Martin Iturbide on January 28, 2023, 04:53:35 pm
Hi

I rearranged the files in the most easy way possible. (picture attached)

I was able to run ScummVM
- WARNING: initWithU32String: Fribidi not available, will use input strings as fallback.!
- The GUI takes time to load here.
- I downloaded the game Drascula and run it. It took some time to load.  It runs with audio, music is missing from the game. Nice game intro.
- I had played Drascula a little bit in window mode and works fine clicking the screen.
- Full screen mode (Alt+Enter) works, but click and movement is slow (choppy)
- On normal exit it will crash and generate the exceptq file.

You can test these free games: https://www.scummvm.org/games/

Too bad gotcha can not capture the game screen :)

Regards
Title: Re: Update of ScummVM possible?
Post by: Paul Smedley on December 30, 2023, 08:50:13 am
scummvm 2.8.0 will  be released  soon. I did a build from the 2.8.0 branch - https://smedley.id.au/tmp/scummvm-2.8.0-os2.zip
Title: Re: Update of ScummVM possible?
Post by: David McKenna on December 31, 2023, 02:53:19 am
Hey Paul,

  Gave this one a try, and like the last one, it needs the contents of \scummvm\share\scummvm copied to the same directory as scummvm.exe. Once that is done, it starts up fine. Tried to run Drascula (which works with the last one), but I get this error:

[C:\programs\scummvm]scummvm
WARNING: initWithU32String: Fribidi not available, will use input strings as fallback.!
User picked target 'drascula' (engine ID 'drascula', game ID 'drascula')...
   Looking for a plugin supporting this target... Drascula: The Vampire Strikes Back
Running Drascula: The Vampire Strikes Back (DOS/English)
packet.001: c6a8697396e213a18472542d5f547cb4, 32847563 bytes.
WARNING: SDL_SetVideoMode: SDL_CreateRenderer() failed with VSYNC option, retrying without it...!
WARNING: SDL_SetVideoMode: SDL_CreateRenderer() failed with VSYNC option, retrying without it...!
WARNING: SDL_SetVideoMode says we can't switch to that mode (Surface already associated with window)!

 and it stopped there. FYI - I upgraded to ArcaOS 5.1 using UEFI since you made that last one, so don't know if that might be an issue here...

Regards,

EDIT: didn't work on a non-UEFI laptop either - same error message...
Title: Re: Update of ScummVM possible?
Post by: Martin Iturbide on January 13, 2024, 02:24:07 am
Hello.

I just repacked Paul's port, including a very basic readme with the requirements, icons and reorganized the path.
- http://www.os2world.com/games/downloads/native/packs/ScummVM_2-8-0.zip

I added "FriBidi_0-19-7.zip (https://hobbes.nmsu.edu/download/pub/os2/dev/libraries/NLS/FriBidi_0-19-7.zip)" but I still get the "WARNING: initWithU32String: Fribidi not available, will use input strings as fallback.!"

Regards
Title: Re: Update of ScummVM possible?
Post by: Paul Smedley on January 13, 2024, 03:03:25 am
I just repacked Paul's port, including a very basic readme with the requirements, icons and reorganized the path.
- http://www.os2world.com/games/downloads/native/packs/ScummVM_2-8-0.zip

I added "FriBidi_0-19-7.zip (https://hobbes.nmsu.edu/download/pub/os2/dev/libraries/NLS/FriBidi_0-19-7.zip)" but I still get the "WARNING: initWithU32String: Fribidi not available, will use input strings as fallback.!"

Thanks Martin - are you OK if  I share that link with the ScummVM team so they can make it available via the ScummVm site as well?

Cheers,

Paul
Title: Re: Update of ScummVM possible?
Post by: Martin Iturbide on January 13, 2024, 03:04:26 am
I just repacked Paul's port, including a very basic readme with the requirements, icons and reorganized the path.
- http://www.os2world.com/games/downloads/native/packs/ScummVM_2-8-0.zip

I added "FriBidi_0-19-7.zip (https://hobbes.nmsu.edu/download/pub/os2/dev/libraries/NLS/FriBidi_0-19-7.zip)" but I still get the "WARNING: initWithU32String: Fribidi not available, will use input strings as fallback.!"

Thanks Martin - are you OK if  I share that link with the ScummVM team so they can make it available via the ScummVm site as well?

Cheers,

Paul

It is completely ok with me. Thanks for your port.

Regards
Title: Re: Update of ScummVM possible?
Post by: Paul Smedley on January 13, 2024, 03:07:57 am
Thanks, I sent the link to the ScummVM team.
Title: Re: Update of ScummVM possible?
Post by: David McKenna on January 13, 2024, 01:51:23 pm
Hey Martin,

  Were you able to get anything to work with this latest one?

Regards,
Title: Re: Update of ScummVM possible?
Post by: Martin Iturbide on January 13, 2024, 06:55:17 pm
Hi David

Yesterday I tried a free game "Flight of the Amazon Queen - Freeware CD Version (unmodified original) (https://downloads.scummvm.org/frs/extras/Flight%20of%20the%20Amazon%20Queen/FOTAQ_Talkie-original.zip)" from the Free games site:
- https://www.scummvm.org/games/

It produce sound here, looks fine, point and click works. It is usable here for the moment. Alt+Enter for fullscreen works, but here it can make the audio crack.

Regards
Title: Re: Update of ScummVM possible?
Post by: Martin Iturbide on January 13, 2024, 07:35:01 pm
Hi David.

I think I found an issue here. In my ArcaOS VirtualBox ScummVM works fine, sounds and it is playable. In real hardware it runs, but it is very, very, very slow when running the game.
Is that the issue you are experimenting ? It is super slow, but it is not affecting the operating system performance.

Regards
Title: Re: Update of ScummVM possible?
Post by: christech on February 05, 2024, 08:18:17 pm
ScummVM gives me an error about not being able to find OGG0 when launching from the command line.  Further troubleshooting I found I also needed libogg, libvorbis and libtheora installed.
Title: Re: Update of ScummVM possible?
Post by: Martin Iturbide on February 09, 2024, 02:25:53 am
Thanks christech, I'm updating the readme file.

Regards
Title: Re: Update of ScummVM possible?
Post by: Martin Iturbide on February 12, 2024, 03:49:43 am
I think I found an issue here. In my ArcaOS VirtualBox ScummVM works fine, sounds and it is playable. In real hardware it runs, but it is very, very, very slow when running the game.
Is that the issue you are experimenting ? It is super slow, but it is not affecting the operating system performance.

Hello

I'm still trying to find out what can be wrong here. ScummVM works fine in the VirtualBox guest, but it is very, very, very slow in the Thinkpad T14s. I will try it out tomorror on the Thinkpad L420 and check what happens.

Regards
Title: Re: Update of ScummVM possible?
Post by: Paul Smedley on February 12, 2024, 09:28:34 am
It'd be interesting if you see similar patterns with other SDL apps - I'd have to guess this is due to SDL, not the scummvm port - as I recall seeing sluggishness with openttd as well
Title: Re: Update of ScummVM possible?
Post by: Martin Iturbide on February 12, 2024, 03:00:47 pm
Hello again

On the Thinkpad L420 , ScummVM 2.8.0 works fine with "Flight of the Amazon Queen - Freeware CD Version (unmodified original)".
Installed:
- ScummVM 2.8.0 (http://www.os2world.com/games/downloads/native/packs/ScummVM_2-8-0.zip)
- "Flight of the Amazon Queen - Freeware CD Version (unmodified original) (https://downloads.scummvm.org/frs/extras/Flight%20of%20the%20Amazon%20Queen/FOTAQ_Talkie-original.zip)"
- yum install SDL2 SDL2_net
And it works.

Not sure what else to check. Both machines are up to date with the YUM repository updates. Maybe I will check Panorama and Uniaud versions.
Any suggestions are welcome.

Regards
Title: Re: Update of ScummVM possible?
Post by: christech on February 19, 2024, 12:27:20 am
On my ArcaOS 5.0 box I get a

'The system cannot find the file GLIB2124." error when trying to start from the CLI. I installed Fribidi and all of the other dependencies. Fribidi says it requires GLib 2.12.4 from 2006, is this correct? I tried installing GLib 2.12.4 and my system does not like it.
Title: Re: Update of ScummVM possible?
Post by: Martin Iturbide on February 19, 2024, 12:59:18 am
On my ArcaOS 5.0 box I get a

'The system cannot find the file GLIB2124." error when trying to start from the CLI. I installed Fribidi and all of the other dependencies. Fribidi says it requires GLib 2.12.4 from 2006, is this correct? I tried installing GLib 2.12.4 and my system does not like it.

I don't have GLIB2124 on my VM and Scummvm is working.  Only glib20.dll.

Regards
Title: Re: Update of ScummVM possible?
Post by: christech on February 19, 2024, 02:23:39 am
Right. I don't remember installing it on my 5.1 machine.