Author Topic: Update of ScummVM possible?  (Read 46882 times)

David McKenna

  • Hero Member
  • *****
  • Posts: 898
  • Karma: +32/-0
    • View Profile
Re: Update of ScummVM possible?
« Reply #45 on: December 27, 2024, 06:33:45 pm »
Hi Martin,

  I can start ScummVM and add games, change settings, download icons, but I can't run any games. When I try, I always get this message in the console:

User picked target 'queen' (engine ID 'queen', game ID 'queen')...
Running Flight of the Amazon Queen (CD/DOS/English)
queen.1: b6302bccf70463de3d5faf0f0628f742, 190787021 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 the ScummVM window disappears. Did you change any settings before you ran your example, or have any SDL related settings in CONFIG.SYS or some SDL ini file? I ran with all defaults on AOS 5.1 in a VirtualBox VM...

Regards,
« Last Edit: December 27, 2024, 06:35:28 pm by David McKenna »

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2537
  • Karma: +195/-0
    • View Profile
Re: Update of ScummVM possible?
« Reply #46 on: December 27, 2024, 07:52:16 pm »
It seems to run like version 2.8.0. Sound, Music, controls works in windowed mode. Full screen lags.

Pretty sure this is due to our SDL2 port. I wonder if scummvm can still be build with SDL1?

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5334
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Update of ScummVM possible?
« Reply #47 on: December 27, 2024, 10:18:10 pm »
Hi Martin,

  I can start ScummVM and add games, change settings, download icons, but I can't run any games. When I try, I always get this message in the console:

User picked target 'queen' (engine ID 'queen', game ID 'queen')...
Running Flight of the Amazon Queen (CD/DOS/English)
queen.1: b6302bccf70463de3d5faf0f0628f742, 190787021 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 the ScummVM window disappears. Did you change any settings before you ran your example, or have any SDL related settings in CONFIG.SYS or some SDL ini file? I ran with all defaults on AOS 5.1 in a VirtualBox VM...

Regards,

Hi David

I'm running it right now on ArcaOS 5.1 on VirtualBox too.  I haven't done any special tweak to SDL. The only thing that I have is that I use the SDL runtimes from the rpm. Did you installed the Andrey Vasilkin' SDL by any chance? maybe there is a confusion there.

Quote
Directory of C:\usr\lib

 3-14-16 10:28p         1,400    124 a---  SDL12.dll
 3-14-16 10:28p       301,035    124 a---  SDL120.dll
 7-26-23  4:09a       629,023    124 a---  SDL2200.dll
10-20-20  2:55p         8,055    124 a---  SDL2N200.dll
        4 file(s)     939,513 bytes used

For what I see with pmdll.exe, scummvm.exe uses to SDL2200.dll and SDL2N200.dll

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

David McKenna

  • Hero Member
  • *****
  • Posts: 898
  • Karma: +32/-0
    • View Profile
Re: Update of ScummVM possible?
« Reply #48 on: December 27, 2024, 10:38:57 pm »
Martin,

  Thanks for the hint - I did not have Andrey's version installed, but I did have the most recent on netlabs-exp (2.28.1). I downgraded to the most recent on netlabs-rel (2.0.18) and now it works. Only issue I see so far is I get a SIGSEGV and exceptq report every time I exit a game, but so far everything works (haven't tried getting MIDI working yet). Thanks.

Regards,
« Last Edit: December 28, 2024, 01:30:34 am by David McKenna »

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2537
  • Karma: +195/-0
    • View Profile
Re: Update of ScummVM possible?
« Reply #49 on: December 27, 2024, 11:20:52 pm »
Can you upload one of the exceptq reports?

David McKenna

  • Hero Member
  • *****
  • Posts: 898
  • Karma: +32/-0
    • View Profile
Re: Update of ScummVM possible?
« Reply #50 on: December 28, 2024, 01:29:53 am »
 Sure, here ya go....

Regards,

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2537
  • Karma: +195/-0
    • View Profile
Re: Update of ScummVM possible?
« Reply #51 on: December 28, 2024, 08:13:37 am »
Sure, here ya go....
Looking at the call stack, appears to be something with libcx and/or pthreads - not a scummvm issue per se.

David McKenna

  • Hero Member
  • *****
  • Posts: 898
  • Karma: +32/-0
    • View Profile
Re: Update of ScummVM possible?
« Reply #52 on: December 28, 2024, 02:42:39 pm »
Paul,

  Does this version of ScummVM have fluidsynth support built in?

Regards,

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2537
  • Karma: +195/-0
    • View Profile
Re: Update of ScummVM possible?
« Reply #53 on: December 28, 2024, 09:11:01 pm »
  Does this version of ScummVM have fluidsynth support built in?

Negative...
Code: [Select]
Checking for FluidSynth... no
Checking for FluidLite... no

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5334
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Update of ScummVM possible?
« Reply #54 on: December 28, 2024, 11:17:09 pm »
Hello David

In my case when I run "Flight of the Amazon Queen - Freeware CD Version (unmodified original) ", I hear the background music. Usually is on MIDI but I can not be sure. The scummvm.exe does not directly reference to "fluidsynth", but maybe some other DLL uses it or play MIDI in some other way. Is there a game you know for sure that uses MIDI to see if plays the music?

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5334
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Update of ScummVM possible?
« Reply #55 on: December 29, 2024, 02:32:29 am »
Hi

Thanks to David I noticed that SDL2 2.28.1 is available on netlabs-exp compared to the 2.0.18 that is on the release rpm. I didn't know someone was working on updating SDL2.
Will it be any improvement on compiling ScummVM to run with SDL version 2.28.1 ?

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2537
  • Karma: +195/-0
    • View Profile
Re: Update of ScummVM possible?
« Reply #56 on: December 29, 2024, 07:57:43 am »
The previous scummvm.exe was definitely NOT using fluidsynth, the one in https://smedley.id.au/tmp/scummvm-exe-20241229.zip should use it.

David McKenna

  • Hero Member
  • *****
  • Posts: 898
  • Karma: +32/-0
    • View Profile
Re: Update of ScummVM possible?
« Reply #57 on: December 29, 2024, 03:32:23 pm »
 Hi Paul,

  Thanks for this - it seems to work fine, and I can choose 'Fluidsynth' as the MIDI device and add a soundfont. Fluidsynth is installed and working on my system. When I start scummvm, I can tell it is loading the soundfont because of the drop in free memory of 30MB+ (the size of the sound font) that did not happen before. Hard to tell if it is actually being used  (testing with 'Flight of the African Queen') because as Martin pointed out, the background music (which sounds like typical cheesy MIDI music for games) plays with or without fluidsynth, although there is a MIDI tab in the game settings which implies it uses MIDI. So maybe there is a fallback built in if no MIDI available? I'll need to find other games that use MIDI to verify....

Regards,.
« Last Edit: December 29, 2024, 04:17:57 pm by David McKenna »

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5334
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Update of ScummVM possible?
« Reply #58 on: December 30, 2024, 09:55:57 pm »
Hello
Thanks to David I noticed that SDL2 2.28.1 is available on netlabs-exp compared to the 2.0.18 that is on the release rpm. I didn't know someone was working on updating SDL2.
Will it be any improvement on compiling ScummVM to run with SDL version 2.28.1 ?
Sorry to insist on this question. I wanted to install SDL2 2.28.1 to confirm if ScummVM and other SDL apps runs or not. I installed netlabs-exp, but when I try to install SDL2 I got an error that I need "pthr01.dll" which I already have installed.

Latest SDL is 2.30.10, which is good that we are getting that version close. Thanks to the one trying to port that one.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2537
  • Karma: +195/-0
    • View Profile
Re: Update of ScummVM possible?
« Reply #59 on: December 30, 2024, 10:31:27 pm »
Sorry to insist on this question. I wanted to install SDL2 2.28.1 to confirm if ScummVM and other SDL apps runs or not. I installed netlabs-exp, but when I try to install SDL2 I got an error that I need "pthr01.dll" which I already have installed.

<sarcasm>Gotta love how easy rpm has made it to install things</sarcasm>