SCUMMVM

bbond007
Top Contributor
Posts: 521
Joined: Tue May 26, 2020 5:06 am
Has thanked: 86 times
Been thanked: 204 times

Re: SCUMMVM

Unread post by bbond007 »

nio wrote: Fri Nov 12, 2021 3:37 pm What usb to midi adapter is supported? I really want to use Mt32-pi with scummvm on mister. Please show your setup. thanks
I suggest Roland UM-ONE-MK2
seastalker
Posts: 214
Joined: Tue Jun 02, 2020 6:49 pm
Has thanked: 4 times
Been thanked: 47 times

Re: SCUMMVM

Unread post by seastalker »

Update question: I had a complete install on my SD card of "ScummVM 2.1.0 'Electric Sheep' Complete Collection" which took a while to build. I forgot if the update script might wreck anything like game compatibility but I updated- it now says I'm at 2.2.0

First, according to this page, bbond007 added versions 2.3 and 2.5: https://githubmemory.com/repo/bbond007/ ... /issues/15

How does one update from an earlier version? Bypassing the updater script?

More importantly, is ScummVM like MAME where updates can break what once was compatible or where you need to update your game files, or is the latest version always just 'better'?

I did notice that the update now changed my look to no longer see the pumpkin-orange and yellow Theme so I'm already concerned about updating.

THANK YOU TO ALL DEVELOPERS! YOU ARE AMAZING!
Milspex
Posts: 165
Joined: Wed Jun 10, 2020 6:46 pm
Has thanked: 38 times
Been thanked: 35 times

Re: SCUMMVM

Unread post by Milspex »

seastalker wrote: Wed Nov 17, 2021 6:22 pm
THANK YOU TO ALL DEVELOPERS! YOU ARE AMAZING!
hear hear!!
bbond007
Top Contributor
Posts: 521
Joined: Tue May 26, 2020 5:06 am
Has thanked: 86 times
Been thanked: 204 times

Re: SCUMMVM

Unread post by bbond007 »

seastalker wrote: Wed Nov 17, 2021 6:22 pm Update question: I had a complete install on my SD card of "ScummVM 2.1.0 'Electric Sheep' Complete Collection" which took a while to build. I forgot if the update script might wreck anything like game compatibility but I updated- it now says I'm at 2.2.0

First, according to this page, bbond007 added versions 2.3 and 2.5: https://githubmemory.com/repo/bbond007/ ... /issues/15

How does one update from an earlier version? Bypassing the updater script?

More importantly, is ScummVM like MAME where updates can break what once was compatible or where you need to update your game files, or is the latest version always just 'better'?
You just run Install_ScummVM.sh and 2.5 will be added. You can also modify Install_ScummVM.INI to include any or all historic builds.

I have personally never seen upgrading ScummVM break compatibility when I upgraded, but I'm not going to say it never happened. More likely compatibility will be increased as more bugs have been fixed and more game engines have been added .

Install_ScummVM.sh is not going to remove your existing 2.1.0 or 2.2.0 builds, so you'll still have them if you suspect something has broken.
seastalker wrote: Wed Nov 17, 2021 6:22 pm I did notice that the update now changed my look to no longer see the pumpkin-orange and yellow Theme so I'm already concerned about updating
The themes files are different format for (some) versions/branches.

For example, for version 2.2.0, you'd need scummmodern22.zip or scummremastered22.zip from the repo.

I think 2.3 - 2.5 use the same format.
seastalker
Posts: 214
Joined: Tue Jun 02, 2020 6:49 pm
Has thanked: 4 times
Been thanked: 47 times

Re: SCUMMVM

Unread post by seastalker »

Thank you bbond007. I sorted that I needed to update my .sh install file from here :https://github.com/bbond007/MiSTer_ScummVM

Now it downloaded the other versions! From the same link, I re-downloaded the latest themes, most notably "scummremastered22.zip" and made a copy of it to rename to "scummremastered.zip" and now themes are restored in 2.2 Thought to mention in case others are stuck.

I also see now how that the installer has builds 2.2, 2.3, and 2.5 and that you switch between them by not ONE ScummVM script to start, but now the multiple scripts after updating all. If a game fails I can try loading it in a different version.

Thank you again for making this! Now I only have to read documentation to make games exit back into ScummVM instead of exiting to the Mister menu, and to get the games to display larger in scale. Probably just some .ini settings to tweak.
Neocaron
Posts: 350
Joined: Sun Sep 27, 2020 10:16 am
Has thanked: 191 times
Been thanked: 71 times

Re: SCUMMVM

Unread post by Neocaron »

Hello there! I think I did ask already a while back, but I'm not sure, any hope to have Vsync implemented in ScummVM as well as scanline filters and shadow masks? I feel it's the only thing missing for me to have an enjoyable experience. Cheers!
rhester72
Top Contributor
Posts: 1119
Joined: Thu Jun 11, 2020 2:31 am
Has thanked: 13 times
Been thanked: 171 times

Re: SCUMMVM

Unread post by rhester72 »

@Neocaron I don't think that will be viable as the filters/masks are dependent on the MiSTer framework, which (ironically) isn't used at all in ScummVM being a pure Linux ARM application. There's also barely enough CPU headroom for ScummVM as-is, adding video post-processing to it is likely to make it too slow to be usable.
bbond007
Top Contributor
Posts: 521
Joined: Tue May 26, 2020 5:06 am
Has thanked: 86 times
Been thanked: 204 times

Re: SCUMMVM

Unread post by bbond007 »

Please let me know if anyone who uses ScummVM, has mt32pi and is also willing to test...
I have had quite a few people ask for this feature before...

I have a mt32pi but unfortunately my IO board has a proprietary USER-IO :(

Thanks goes Rysha creating a test menu.rbf which essentially lets us communicate with the mt32pi from within HPS Linux.


EDIT: file deleted :( not working...

menu.rbf goes into /media/fat
MrTTYMIDI goes into /media/fat/linux
ScummVM_2_5_1.sh replaces your existing one (generally in /media/fat/Scripts)

ScummVM-mt32pi.jpg
ScummVM-mt32pi.jpg (458.12 KiB) Viewed 9016 times
User avatar
RealLarry
Top Contributor
Posts: 772
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 92 times
Been thanked: 334 times

Re: SCUMMVM

Unread post by RealLarry »

bbond007 wrote: Wed Mar 16, 2022 10:33 pm Please let me know if anyone who uses ScummVM, has mt32pi and is also willing to test...
I have had quite a few people ask for this feature before...

I have a mt32pi but unfortunately my IO board has a proprietary USER-IO :(

Thanks goes Rysha creating a test menu.rbf which essentially lets us communicate with the mt32pi from within HPS Linux.
I don't get it. My mt32-pi's are driven by user-I/O and working within AO486 and Atari ST, but there is no reaction at the pi's within your ScummVM 2.51 and these new files. I can see that MrTTYMIDI starts, I've selected the appropriate MIDI device and MIDI-like sound is working in games - but even if I turn off the mt32-pi, so I'm sure that ScummVM is using a soft-synth as a fallback.
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
bbond007
Top Contributor
Posts: 521
Joined: Tue May 26, 2020 5:06 am
Has thanked: 86 times
Been thanked: 204 times

Re: SCUMMVM

Unread post by bbond007 »

RealLarry wrote: Thu Mar 17, 2022 4:07 am I don't get it. My mt32-pi's are driven by user-I/O and working within AO486 and Atari ST, but there is no reaction at the pi's within your ScummVM 2.51 and these new files. I can see that MrTTYMIDI starts, I've selected the appropriate MIDI device and MIDI-like sound is working in games - but even if I turn off the mt32-pi, so I'm sure that ScummVM is using a soft-synth as a fallback.
Which games did you try? Keep in mind that there are global options vs per game options...

When I change to MrTTYMIDI I get no sound at all(obviously), when I change to my UM-ONE I get my Yamaha KB...

Testing with Sam and Max, Ultima VIII and a few others..
User avatar
RealLarry
Top Contributor
Posts: 772
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 92 times
Been thanked: 334 times

Re: SCUMMVM

Unread post by RealLarry »

bbond007 wrote: Thu Mar 17, 2022 4:30 am
RealLarry wrote: Thu Mar 17, 2022 4:07 am I don't get it. My mt32-pi's are driven by user-I/O and working within AO486 and Atari ST, but there is no reaction at the pi's within your ScummVM 2.51 and these new files. I can see that MrTTYMIDI starts, I've selected the appropriate MIDI device and MIDI-like sound is working in games - but even if I turn off the mt32-pi, so I'm sure that ScummVM is using a soft-synth as a fallback.
Which games did you try? Keep in mind that there are global options vs per game options...

When I change to MrTTYMIDI I get no sound at all(obviously), when I change to my UM-ONE I get my Yamaha KB...

Testing with Sam and Max and a few others..
I only tried Conquest Of Longbow as this a game is known to me that it works with GM/MIDI using an external mt32-pi/clumsy (by using an USB<->MIDI cable). Will re-try with Sam 'n Max, Larry and others ...
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
RealLarry
Top Contributor
Posts: 772
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 92 times
Been thanked: 334 times

Re: SCUMMVM

Unread post by RealLarry »

Hmm...still no music from mt32-pi (via User I/O port). "ttymidi" set by global options, no game specific MIDI/MT32 options set, but music is still playing by soft-synth (I think...nothing else cabled nor active). Tried with Sam 'n Max, Larry 1+6, Quest for Glory 3.
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
RealLarry
Top Contributor
Posts: 772
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 92 times
Been thanked: 334 times

Re: SCUMMVM

Unread post by RealLarry »

Remark: If I ran MrTTYMIDI at MiSTer's console/ssh, I can use "aplaymidi -p 128:1 <midifile>" and "see" the file playing in mt32-pi's display. No audio via User I/O port, obviously, but things are working fine so far. I'm just wondering why this isn't working with ScummVM.
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
bbond007
Top Contributor
Posts: 521
Joined: Tue May 26, 2020 5:06 am
Has thanked: 86 times
Been thanked: 204 times

Re: SCUMMVM

Unread post by bbond007 »

RealLarry wrote: Thu Mar 17, 2022 10:08 am Remark: If I ran MrTTYMIDI at MiSTer's console/ssh, I can use "aplaymidi -p 128:1 <midifile>" and "see" the file playing in mt32-pi's display. No audio via User I/O port, obviously, but things are working fine so far. I'm just wondering why this isn't working with ScummVM.
Very strange. I'm not sure why its not working...

Thanks for trying...
bbond007
Top Contributor
Posts: 521
Joined: Tue May 26, 2020 5:06 am
Has thanked: 86 times
Been thanked: 204 times

Re: SCUMMVM

Unread post by bbond007 »

RealLarry wrote: Thu Mar 17, 2022 10:08 am Remark: If I ran MrTTYMIDI at MiSTer's console/ssh, I can use "aplaymidi -p 128:1 <midifile>" and "see" the file playing in mt32-pi's display. No audio via User I/O port, obviously, but things are working fine so far. I'm just wondering why this isn't working with ScummVM.
Looks like the ttymidi driver is segfaulting...

I'm actually going to do a completely new driver rather than invest any more time into ttymidi.

Initially it will probably be one-directional when I release something.
User avatar
jurkevicz
Posts: 34
Joined: Mon Jan 31, 2022 2:49 am
Has thanked: 27 times
Been thanked: 12 times

Re: SCUMMVM

Unread post by jurkevicz »

Looking forward to this.
User avatar
RealLarry
Top Contributor
Posts: 772
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 92 times
Been thanked: 334 times

Re: SCUMMVM

Unread post by RealLarry »

bbond007 wrote: Fri Mar 18, 2022 12:28 am
RealLarry wrote: Thu Mar 17, 2022 10:08 am Remark: If I ran MrTTYMIDI at MiSTer's console/ssh, I can use "aplaymidi -p 128:1 <midifile>" and "see" the file playing in mt32-pi's display. No audio via User I/O port, obviously, but things are working fine so far. I'm just wondering why this isn't working with ScummVM.
Looks like the ttymidi driver is segfaulting...

I'm actually going to do a completely new driver rather than invest any more time into ttymidi.

Initially it will probably be one-directional when I release something.
Something new on this: I used menu_unstable from today and am able to play MIDI files by using aplaymidi on an ssh console (while in menu or in ScummVM)!
All tested games in ScummVM are still using internal sound - except Beneath a Steel Sky which starts und uses MT32 music together with MrTTYMIDI. Weird.

EDIT: For the record: One has to set "MiSTer mt32pi (ttymidi) (ALSA)" in Options/Audio first, before Options/MIDI take into account. And thats the point where MrTTYMIDI segfaults when starting a game.
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
bbond007
Top Contributor
Posts: 521
Joined: Tue May 26, 2020 5:06 am
Has thanked: 86 times
Been thanked: 204 times

Re: SCUMMVM

Unread post by bbond007 »

RealLarry wrote: Mon Mar 21, 2022 10:21 am Something new on this: I used menu_unstable from today and am able to play MIDI files by using aplaymidi on an ssh console (while in menu or in ScummVM)!
All tested games in ScummVM are still using internal sound - except Beneath a Steel Sky which starts und uses MT32 music together with MrTTYMIDI. Weird.
EDIT: For the record: One has to set "MiSTer mt32pi (ttymidi) (ALSA)" in Options/Audio first, before Options/MIDI take into account. And thats the point where MrTTYMIDI segfaults when starting a game.
I found ttymidi to crash at different points depending on what game I was running.

Anyway, there are a number of issues that I found with the ttymidi code I was using. Like using a deprecated ALSA API call, having unused and unnecessary variables, using more threads than necessary, overly complicated sysex stuff, and I'm still not entirely sure what causes the segfaults.

The new Driver is called "MIDIMeister" and replaces ttymidi. I have not seen it segfault yet in my testing.

Right now it only provides an output port, however, I can easily add an input port and thread when/if there is a use case for it.

I have provided two versions of the driver, one with debugging output enabled and (smaller one) with debugging compiled out.

Thanks for testing and please report back how this driver works.

EDIT: file removed
User avatar
jurkevicz
Posts: 34
Joined: Mon Jan 31, 2022 2:49 am
Has thanked: 27 times
Been thanked: 12 times

Re: SCUMMVM

Unread post by jurkevicz »

and MIDIMeister goes in the Lunux Folder Correct?
bbond007
Top Contributor
Posts: 521
Joined: Tue May 26, 2020 5:06 am
Has thanked: 86 times
Been thanked: 204 times

Re: SCUMMVM

Unread post by bbond007 »

jurkevicz wrote: Mon Mar 21, 2022 5:53 pm and MIDIMeister goes in the Lunux Folder Correct?
Sorry, yes I forgot to mention that...

Install instructions:
  • copy menu.rbf to /media/fat
  • copy MIDIMeister to /media/fat/linux
  • copy ScummVM_2_5_1.sh to wherever your current script resides. (usally /media/fat/Scripts)
I added a README.TXT and the "unstable nightlies" menu.rbf to the zip..

That is about all I can do for now until I get my new IO board...
blacklistedcard
Posts: 77
Joined: Mon Jun 08, 2020 1:54 am
Has thanked: 3 times
Been thanked: 9 times

Re: SCUMMVM

Unread post by blacklistedcard »

bbond007 wrote: Mon Mar 21, 2022 6:12 pm
jurkevicz wrote: Mon Mar 21, 2022 5:53 pm and MIDIMeister goes in the Lunux Folder Correct?
Sorry, yes I forgot to mention that...

Install instructions:
  • copy menu.rbf to /media/fat
  • copy MIDIMeister to /media/fat/linux
  • copy ScummVM_2_5_1.sh to wherever your current script resides. (usally /media/fat/Scripts)
I added a README.TXT and the "unstable nightlies" menu.rbf to the zip..

That is about all I can do for now until I get my new IO board...
I tested it out and it's working! the mt32-pi is running great with the few games that I have.
Attachments
20220322_031812.jpg
20220322_031812.jpg (194.05 KiB) Viewed 8963 times
User avatar
RealLarry
Top Contributor
Posts: 772
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 92 times
Been thanked: 334 times

Re: SCUMMVM

Unread post by RealLarry »

Can confirm this working! Just tested ScummVM (Longbow, LL6) with great success, also aplaymidi is still working. Great job!
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
flynnsbit
Top Contributor
Posts: 552
Joined: Sun May 24, 2020 8:07 pm
Has thanked: 183 times
Been thanked: 308 times
Contact:

Re: SCUMMVM

Unread post by flynnsbit »

Any audio hiccups or missing notes? Try Monkey Islands title sequence.
User avatar
RealLarry
Top Contributor
Posts: 772
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 92 times
Been thanked: 334 times

Re: SCUMMVM

Unread post by RealLarry »

Tried MI2 also and yes, there were some hiccups, but my mt32-pi has a bad day today (jumping display) and I thought this as the cause. Will try again later.

EDIT: MI2 intro song has some hickups, also some complexier MIDI files I'm playing by aplaymidi. But that's okay for now, the essential thing is that it IS working.
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
flynnsbit
Top Contributor
Posts: 552
Joined: Sun May 24, 2020 8:07 pm
Has thanked: 183 times
Been thanked: 308 times
Contact:

Re: SCUMMVM

Unread post by flynnsbit »

RealLarry wrote: Tue Mar 22, 2022 10:44 am Tried MI2 also and yes, there were some hiccups, but my mt32-pi has a bad day today (jumping display) and I thought this as the cause. Will try again later.

EDIT: MI2 intro song has some hickups, also some complexier MIDI files I'm playing by aplaymidi. But that's okay for now, the essential thing is that it IS working.
Totally, I just wanted to make sure someone else had confirmed to rule out any config or hardware issues on my side. bbond already knows about it.
blacklistedcard
Posts: 77
Joined: Mon Jun 08, 2020 1:54 am
Has thanked: 3 times
Been thanked: 9 times

Re: SCUMMVM

Unread post by blacklistedcard »

flynnsbit wrote: Tue Mar 22, 2022 10:39 am Any audio hiccups or missing notes? Try Monkey Islands title sequence.
I have not noticed any hiccups or missing notes. I'll test with Monkey Islands. I have King Quest IV running for hours and it's has not experienced any audio problems.

Also the CPU usage on the Mister is very low while play King Quest. Man it's so much better than running on AO486.
Attachments
scumm.png
scumm.png (3.16 KiB) Viewed 8840 times
blacklistedcard
Posts: 77
Joined: Mon Jun 08, 2020 1:54 am
Has thanked: 3 times
Been thanked: 9 times

Re: SCUMMVM

Unread post by blacklistedcard »

RealLarry wrote: Tue Mar 22, 2022 10:44 am Tried MI2 also and yes, there were some hiccups, but my mt32-pi has a bad day today (jumping display) and I thought this as the cause. Will try again later.

EDIT: MI2 intro song has some hickups, also some complexier MIDI files I'm playing by aplaymidi. But that's okay for now, the essential thing is that it IS working.
I played the intros for Monkey Island 1 & 2 (Ultimate Talkie Edition - DOS). I did not experience any hiccups or audio problems. The midi audio played without any issue.
flynnsbit
Top Contributor
Posts: 552
Joined: Sun May 24, 2020 8:07 pm
Has thanked: 183 times
Been thanked: 308 times
Contact:

Re: SCUMMVM

Unread post by flynnsbit »

blacklistedcard wrote: Tue Mar 22, 2022 7:25 pm
RealLarry wrote: Tue Mar 22, 2022 10:44 am Tried MI2 also and yes, there were some hiccups, but my mt32-pi has a bad day today (jumping display) and I thought this as the cause. Will try again later.

EDIT: MI2 intro song has some hickups, also some complexier MIDI files I'm playing by aplaymidi. But that's okay for now, the essential thing is that it IS working.
I played the intros for Monkey Island 1 & 2 (Ultimate Talkie Edition - DOS). I did not experience any hiccups or audio problems. The midi audio played without any issue.
What Pi version are you using?
blacklistedcard
Posts: 77
Joined: Mon Jun 08, 2020 1:54 am
Has thanked: 3 times
Been thanked: 9 times

Re: SCUMMVM

Unread post by blacklistedcard »

Raspberry PI 4
blacklistedcard
Posts: 77
Joined: Mon Jun 08, 2020 1:54 am
Has thanked: 3 times
Been thanked: 9 times

Re: SCUMMVM

Unread post by blacklistedcard »

blacklistedcard wrote: Tue Mar 22, 2022 8:06 pm Raspberry PI 4
I also have the CPU limit turned off, so its running full speed.
Post Reply