SCUMMVM

bbond007
Top Contributor
Posts: 531
Joined: Tue May 26, 2020 5:06 am
Has thanked: 87 times
Been thanked: 211 times

Re: SCUMMVM

Unread post by bbond007 »

HerrBerzerk wrote: Sun Feb 19, 2023 8:53 pm

Nothing more, nothing less.... does this look normal to you?

Yes it does...

I totally forgot that I most (but apparently not all) MIDIMeister debug output a compile time option and now have a separate MIDIMeister-debug bin...

I do apologize for forgetting that step though :(

I did this to make the bin more efficient I guess :)

You can get the debug build at --> https://github.com/bbond007/MIDIMeister ... ster-debug

And then I'm pretty sure you'll see some output.

This is King's quest VI for example. I'm using UDP vs ttyS1(USER port) because my mt32-pi does not fit in my mister case due to the short USB3 cable requirement.

Code: Select all

# /media/fat/linux/MIDIMeister-debug UDP 192.168.1.172
/media/fat/linux/MIDIMeister-debug: /lib/libasound.so.2: no version information available (required by /media/fat/linux/MIDIMeister-debug)
MIDIMeister $0004h BBond007
UDP Server --> 192.168.1.172
Connecting to server --> 192.168.1.172:1999
Setting task priority --> -20
DEBUG --> True
Entering main loop...
SND_SEQ_EVENT_PORT_SUBSCRIBED
SND_SEQ_EVENT_SYSEX # = 000C   --> F0 41 10 16 12 7F 00 00 01 00 00 F7
SND_SEQ_EVENT_SYSEX # = 001E   --> F0 41 10 16 42 20 00 00 20 20 20 53 69 65 72 72 61 20 4F 6E 2D 4C 69 6E 65 20 20 20 28 F7
SND_SEQ_EVENT_SYSEX # = 010A   --> F0 41 10 16 12 08 00 00 53 6E 67 6C 56 6F 78 20 4D 53 00 00 01 00 3C 32 0B 01 00 00 00 07 00 00 00 00 00 00 00 32 32 32 32 32 00 00 00 0C 00 0B 00 07 64 00 00 00 00 64 00 00 26 64 64 64 64 32 4B 00 0C 00 0C 00 00 00 64 00 00 1D 64 64 64 64 00 32 0B 01 00 00 00 07 00 00 00 00 00 00 00 32 32 32 32 32 00 00 00 64 00 0B 00 07 64 64 00 00 00 64 00 00 00 64 64 64 64 64 64 00 0C 00 0C 00 00 00 64 00 00 00 64 64 64 64 00 32 0B 01 00 00 00 07 00 00 00 00 00 00 00 32 32 32 32 32 00 00 00 64 00 0B 00 07 64 64 00 00 00 64 00 00 00 64 64 64 64 64 64 00 0C 00 0C 00 00 00 64 00 00 00 64 64 64 64 00 32 0B 01 00 00 00 07 00 00 00 00 00 00 00 32 32 32 32 32 00 00 00 64 00 0B 00 07 64 64 00 00 00 64 00 00 00 64 64 64 64 64 64 00 0C 00 0C 00 00 00 64 00 00 00 64 64 64 64 00 00 00 00 00 00 00 00 00 00 5A F7
SND_SEQ_EVENT_SYSEX # = 010A   --> F0 41 10 16 12 08 02 00 43 68 69 63 61 67 6F 20 4D 53 01 00 07 00 24 37 0F 01 00 00 3C 07 03 00 01 0A 07 16 00 32 42 33 32 32 00 00 00 35 00 07 16 08 29 28 00 02 00 20 3B 64 52 64 47 29 00 5A 55 5C 0C 59 0C 02 00 00 32 47 59 38 64 52 28 00 4E 47 07 01 00 00 21 07 00 00 00 00 00 00 00 32 32 32 32 32 00 00 00 2A 01 09 61 0A 4B 00 00 03 00 04 2D 4B 1D 64 5C 11 00 3D 3C 1B 05 5B 0C 01 01 00 28 3D 59 64 64 45 23 00 30 2D 0F 01 01 00 3C 07 00 00 01 00 00 00 00 32 34 30 30 31 3E 08 42 37 00 07 16 09 28 28 00 02 00 37 57 64 52 64 50 34 00 64 55 5C 0C 59 0C 02 00 00 32 47 59 33 64 52 28 00 24 32 0B 00 00 00 00 07 00 00 00 00 00 00 00 32 32 32 32 32 00 00 00 00 00 0B 00 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 32 5B 0C 1B 0C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 73 F7
SND_SEQ_EVENT_SYSEX # = 010A   --> F0 41 10 16 12 08 04 00 41 72 6D 6F 72 20 20 20 4D 53 0C 05 0B 00 3D 14 0B 00 00 22 41 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 00 0B 00 07 00 00 00 00 00 00 00 00 00 00 00 00 00 64 4C 00 0C 00 0C 00 00 00 32 41 2D 50 64 64 50 32 54 00 0B 00 00 22 41 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 00 0B 00 07 00 00 00 00 00 00 00 00 00 00 00 00 00 64 4C 00 0C 00 0C 00 00 00 32 37 23 50 64 4B 32 01 27 00 04 00 00 05 41 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 00 0B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 50 4C 00 00 00 00 00 00 00 23 19 2D 19 4B 2D 23 01 43 32 0F 00 00 22 41 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 00 0B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 32 4C 00 00 00 00 00 00 00 32 41 14 50 64 64 19 01 00 00 00 00 00 00 00 00 00 00 3B F7
SND_SEQ_EVENT_SYSEX # = 010A   --> F0 41 10 16 12 08 06 00 53 79 6E 74 68 42 61 73 73 31 00 00 03 00 24 32 0B 01 01 00 00 07 00 00 00 00 00 00 00 32 32 32 32 32 00 00 00 64 11 0B 0A 0C 64 64 00 00 00 24 17 1F 00 42 25 10 00 64 64 00 0C 00 0C 00 00 00 37 2A 3D 22 64 5F 33 00 24 32 0B 01 01 00 00 07 00 00 00 00 00 00 00 32 32 32 32 32 00 00 00 64 11 0B 0A 0C 64 64 00 00 00 24 17 1F 00 42 25 10 00 64 64 00 0C 00 0C 00 00 00 37 2A 3D 22 64 5F 33 00 00 32 0B 01 00 00 00 07 00 00 00 00 00 00 00 32 32 32 32 32 00 00 00 64 00 0B 00 07 64 64 00 00 00 64 00 00 00 64 64 64 64 64 64 00 0C 00 0C 00 00 00 64 00 00 00 64 64 64 64 00 32 0B 01 00 00 00 07 00 00 00 00 00 00 00 32 32 32 32 32 00 00 00 64 00 0B 00 07 64 64 00 00 00 64 00 00 00 64 64 64 64 64 64 00 0C 00 0C 00 00 00 64 00 00 00 64 64 64 64 00 00 00 00 00 00 00 00 00 00 43 F7
SND_SEQ_EVENT_SYSEX # = 010A   --> F0 41 10 16 12 08 08 00 53 74 6F 6E 65 44 72 20 4D 53 05 05 07 00 03 32 03 00 00 64 00 0A 00 00 00 35 0E 22 15 2F 31 34 3C 47 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 4B 00 0C 00 0C 00 00 13 13 3E 2C 44 57 64 60 00 00 32 04 01 00 5C 00 0A 07 00 00 2C 1F 15 64 4B 46 37 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2E 4B 00 00 00 00 00 00 1D 30 30 31 44 5E 64 61 00 03 64 04 00 00 64 00 0A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5F 4B 00 0C 00 0C 00 00 00 24 48 3A 44 4B 64 63 00 60 32 03 01 00 5C 00 0A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2A 32 00 00 00 00 00 00 24 24 30 28 00 41 64 47 00 00 00 00 00 00 00 00 00 00 00 1A F7
SND_SEQ_EVENT_SYSEX # = 010A   --> F0 41 10 16 12 08 0A 00 57 69 6E 64 20 20 20 20 4D 53 08 05 0F 01 1D 00 05 00 00 18 00 00 06 5A 00 4B 46 41 00 00 0A 14 00 00 00 00 00 00 0F 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 32 32 00 00 00 00 00 00 3C 4B 50 50 4B 1E 32 1E 19 1F 00 05 00 00 18 00 00 06 5A 00 4B 46 41 00 00 0A 14 00 00 00 00 00 00 0F 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 32 32 00 00 00 00 00 00 3F 3F 50 50 4B 1E 32 1E 19 21 00 05 00 00 35 00 00 07 64 00 4B 46 41 00 00 14 46 00 00 00 00 00 4B 14 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 64 00 00 00 00 00 00 3C 4B 50 4B 4B 32 4B 1E 01 1F 00 05 00 00 35 00 00 07 50 00 41 46 41 00 00 14 2D 00 00 00 00 00 4B 14 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5A 3C 00 00 00 00 00 00 3C 4B 49 4B 4B 32 46 28 01 00 00 00 00 00 00 00 00 00 00 57 F7
SND_SEQ_EVENT_SYSEX # = 010A   --> F0 41 10 16 12 08 0C 00 43 72 61 63 6B 6C 65 73 4D 53 05 02 02 00 00 32 03 01 00 18 00 08 0A 00 00 24 22 0C 64 10 45 1C 52 09 02 64 00 00 00 0B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 58 00 0C 00 0C 00 00 0C 39 28 50 64 11 2D 31 24 24 00 07 01 00 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 32 00 0B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 64 00 0C 00 0C 00 00 00 32 32 32 32 64 64 64 64 18 32 0B 01 00 11 00 08 0A 64 00 24 1B 17 00 10 45 4E 5E 64 00 00 00 64 13 0B 00 00 64 5A 00 00 08 04 00 2C 1D 1A 3D 59 57 64 64 00 00 00 00 00 00 17 08 0C 0C 2A 63 64 63 63 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 60 F7
SND_SEQ_EVENT_SYSEX # = 010A   --> F0 41 10 16 12 08 0E 00 68 69 73 73 20 20 20 20 20 20 05 00 03 00 24 32 0B 01 00 18 00 07 00 00 00 00 00 00 00 32 32 32 32 32 00 00 00 64 00 0B 00 07 64 64 00 00 00 00 00 00 15 64 64 64 64 64 64 00 0C 00 0C 00 00 00 00 00 00 02 64 64 64 64 23 32 0B 01 00 18 00 07 00 00 00 00 00 00 00 32 32 32 32 32 00 00 00 64 00 0B 00 07 64 64 00 00 00 64 00 00 00 64 64 64 64 64 64 00 0C 00 0C 00 00 00 00 00 00 02 64 64 64 64 00 32 0B 01 00 00 00 07 00 00 00 00 00 00 00 32 32 32 32 32 00 00 00 64 00 0B 00 07 64 64 00 00 00 64 00 00 00 64 64 64 64 64 64 00 0C 00 0C 00 00 00 64 00 00 00 64 64 64 64 00 32 0B 01 00 00 00 07 00 00 00 00 00 00 00 32 32 32 32 32 00 00 00 64 00 0B 00 07 64 64 00 00 00 64 00 00 00 64 64 64 64 64 64 00 0C 00 0C 00 00 00 64 00 00 00 64 64 64 64 00 00 00 00 00 00 00 00 00 00 73 F7
SND_SEQ_EVENT_SYSEX # = 010A   --> F0 41 10 16 12 08 10 00 42 75 62 62 6C 65 73 20 20 20 00 02 04 01 18 32 0B 01 00 00 00 08 0A 00 00 24 1B 17 00 10 45 4E 5E 64 00 00 00 64 13 0B 00 00 32 32 00 00 08 04 00 2C 1D 1A 3D 59 57 3D 64 00 00 00 00 00 00 17 08 0C 0C 2A 63 64 63 63 18 00 0B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 32 00 0B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 32 00 00 00 00 00 00 00 32 32 32 32 64 64 64 64 18 32 0B 01 00 11 00 08 0A 64 00 24 1B 17 00 10 45 4E 5E 64 00 00 00 64 13 0B 00 00 64 5A 00 00 08 04 00 2C 1D 1A 3D 59 57 64 64 00 00 00 00 00 00 17 08 0C 0C 2A 63 64 63 63 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 16 F7
SND_SEQ_EVENT_SYSEX # = 010A   --> F0 41 10 16 12 08 12 00 53 70 6C 61 74 20 20 20 4D 53 00 00 03 00 0C 00 0B 00 00 00 64 00 08 00 00 00 00 23 00 00 00 00 32 00 00 00 00 5A 1E 03 00 00 5A 00 00 00 00 00 37 23 37 00 64 32 00 64 32 00 0C 00 0C 00 00 00 00 2C 39 37 00 64 31 00 0C 00 0B 00 00 00 64 00 08 00 00 00 00 23 00 00 00 46 00 00 00 00 00 5A 1E 03 00 00 5A 00 00 00 00 00 37 23 37 00 64 32 00 64 32 00 0C 00 0C 00 00 00 00 2D 37 37 00 64 32 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 65 F7
SND_SEQ_EVENT_SYSEX # = 010A   --> F0 41 10 16 12 08 14 00 57 61 72 6D 50 61 64 39 30 20 02 07 0C 00 24 54 10 01 01 2D 00 07 00 00 00 00 00 00 00 32 32 32 32 32 40 1A 3C 64 10 06 00 07 64 00 00 00 00 24 00 00 64 35 27 27 27 5A 55 5B 0C 1B 0C 00 00 00 26 64 00 51 64 49 00 00 24 2D 0B 01 01 00 00 07 00 00 00 00 00 00 00 32 32 32 32 32 40 1A 3C 64 10 06 00 07 64 00 00 00 00 24 00 00 64 35 27 27 27 5A 4F 5B 0C 1B 0C 00 00 20 42 64 00 44 4B 50 00 00 24 3C 0B 01 01 00 00 07 00 00 00 00 00 00 00 32 32 32 32 32 40 1A 3C 3E 10 06 00 07 64 00 00 00 00 24 00 00 64 35 27 27 27 5A 4F 5B 0C 1B 0C 00 00 32 42 64 00 44 4B 50 4C 4C 24 28 0B 01 01 00 00 07 00 00 00 00 00 00 00 32 32 32 32 32 40 1A 3C 3E 10 06 00 07 64 00 00 00 00 24 00 00 64 35 27 27 27 5A 4F 5B 0C 1B 0C 00 00 32 42 64 00 44 4B 50 4C 4C 00 00 00 00 00 00 00 00 00 00 26 F7
SND_SEQ_EVENT_SYSEX # = 010A   --> F0 41 10 16 12 08 16 00 45 78 70 6C 6F 64 65 20 4D 53 05 05 0F 00 0B 00 0F 00 00 0A 41 00 04 00 00 14 1E 00 00 00 14 28 00 00 05 28 00 64 00 0B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 4C 00 00 00 00 00 00 00 4B 4B 50 3B 64 64 64 64 11 00 0F 00 00 53 41 00 06 00 00 14 14 00 00 64 50 00 00 00 0A 1E 00 64 00 0B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 4C 00 00 00 00 00 00 28 32 41 50 41 50 64 37 00 29 00 0E 00 00 0A 41 00 06 00 00 14 0A 00 00 64 50 00 00 00 05 3C 00 64 00 0B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 4C 00 00 00 00 00 00 15 4B 4B 50 4F 64 64 64 64 18 00 0F 00 00 53 41 00 06 00 00 0A 0A 00 00 64 50 32 00 00 00 00 00 64 00 0B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 4C 00 00 00 00 00 00 28 32 41 50 41 50 64 37 00 00 00 00 00 00 00 00 00 00 00 6B F7
^CALL NOTES OFF!                    --> B0 7B 00
ALL NOTES OFF!                    --> B0 40 00
ALL NOTES OFF!                    --> B1 7B 00
ALL NOTES OFF!                    --> B1 40 00
ALL NOTES OFF!                    --> B2 7B 00
ALL NOTES OFF!                    --> B2 40 00
ALL NOTES OFF!                    --> B3 7B 00
ALL NOTES OFF!                    --> B3 40 00
ALL NOTES OFF!                    --> B4 7B 00
ALL NOTES OFF!                    --> B4 40 00
ALL NOTES OFF!                    --> B5 7B 00
ALL NOTES OFF!                    --> B5 40 00
ALL NOTES OFF!                    --> B6 7B 00
ALL NOTES OFF!                    --> B6 40 00
ALL NOTES OFF!                    --> B7 7B 00
ALL NOTES OFF!                    --> B7 40 00
ALL NOTES OFF!                    --> B8 7B 00
ALL NOTES OFF!                    --> B8 40 00
ALL NOTES OFF!                    --> B9 7B 00
ALL NOTES OFF!                    --> B9 40 00
ALL NOTES OFF!                    --> BA 7B 00
ALL NOTES OFF!                    --> BA 40 00
ALL NOTES OFF!                    --> BB 7B 00
ALL NOTES OFF!                    --> BB 40 00
ALL NOTES OFF!                    --> BC 7B 00
ALL NOTES OFF!                    --> BC 40 00
ALL NOTES OFF!                    --> BD 7B 00
ALL NOTES OFF!                    --> BD 40 00
ALL NOTES OFF!                    --> BE 7B 00
ALL NOTES OFF!                    --> BE 40 00
ALL NOTES OFF!                    --> BF 7B 00
ALL NOTES OFF!                    --> BF 40 00
Exiting program signal --> 'Interrupt'

Anyway, all this suggests the data is not being sent from the MISTer.RBF core to your USER port for some reason. I'm not sure what is going on and why it would work with ao486.rbf and not MENU.RBF. Perhaps there was some compatibility regression in MENU.RBF?

If your mt32-pi and MiSTer are both connected to the network, I suppose you could try UDP...

User avatar
HerrBerzerk
Posts: 273
Joined: Tue Feb 01, 2022 1:45 pm
Has thanked: 121 times
Been thanked: 39 times

Re: SCUMMVM

Unread post by HerrBerzerk »

bbond007 wrote: Mon Feb 20, 2023 12:53 am

Anyway, all this suggests the data is not being sent from the MISTer.RBF core to your USER port for some reason. I'm not sure what is going on and why it would work with ao486.rbf and not MENU.RBF. Perhaps there was some compatibility regression in MENU.RBF?

If your mt32-pi and MiSTer are both connected to the network, I suppose you could try UDP...

Thank you, I will try and do more tests, maybe with the old menu.rbf the following evenings.

I would also try this UDP setting, though I have to work myself through this process first, never done this. Is there a setup instruction somewhere. And is Wifi sufficient for Mister and MT32?

And do I need a sound mixer then or is the sound streamed to the Mister?

Thanks,

Frank

User avatar
HerrBerzerk
Posts: 273
Joined: Tue Feb 01, 2022 1:45 pm
Has thanked: 121 times
Been thanked: 39 times

Re: SCUMMVM

Unread post by HerrBerzerk »

bbond007 wrote: Mon Feb 20, 2023 12:53 am

Anyway, all this suggests the data is not being sent from the MISTer.RBF core to your USER port for some reason. I'm not sure what is going on and why it would work with ao486.rbf and not MENU.RBF. Perhaps there was some compatibility regression in MENU.RBF?

OK, I guess it's really a regression in MENU.RBF. Only thing I did now was taking the old menu.rbf from the first release and replaced the most recent menu.rbf with this old one and everything worked immediatly. Sometimes it pays out to be tenacious :-)

So is there a way getting this bug fixed for recent releases of menu.rbf?

Thank you very much,

Frank

bbond007
Top Contributor
Posts: 531
Joined: Tue May 26, 2020 5:06 am
Has thanked: 87 times
Been thanked: 211 times

Re: SCUMMVM

Unread post by bbond007 »

HerrBerzerk wrote: Mon Feb 20, 2023 8:16 pm

OK, I guess it's really a regression in MENU.RBF. Only thing I did now was taking the old menu.rbf from the first release and replaced the most recent menu.rbf with this old one and everything worked immediatly. Sometimes it pays out to be tenacious :-)

So is there a way getting this bug fixed for recent releases of menu.rbf?

Is anyone else having this issue?

I guess it would be worthwhile to work backwards through https://github.com/MiSTer-devel/Menu_Mi ... r/releases to see when exactly the regression occurred.

EDIT: Actually, it looks like that means just trying menu_20220413.rbf as the menu_20210315..rbf and older predate the mt32-pi support.

HerrBerzerk wrote: Mon Feb 20, 2023 10:26 am

I would also try this UDP setting, though I have to work myself through this process first, never done this. Is there a setup instruction somewhere. And is Wifi sufficient for Mister and MT32?

And do I need a sound mixer then or is the sound streamed to the Mister?

WiFi works fine for me, so It would probably worth a try...

I guess the mixer question depends on if the menu.rbf mt32-pi functionality is 100% broken or just 50% broken. Hopefully the mixing still works...

UDP support was added to mt32-pi last year at some point so if it fails to work you may need to upgrade that.

[ScummVM_2_6_1.sh]

Code: Select all

if [ -f "${MT32PI_DRIVER}" ]
then
	killall ${MT32PI_DRIVER}
	# for UDP mode
	taskset ${MT32PI_CPU_MASK} ${MT32PI_DRIVER} QUIET UDP mt32-pi &
	# for normal mode
	#taskset ${MT32PI_CPU_MASK} ${MT32PI_DRIVER} QUIET &
fi

If you can "ping mt32-pi" logged in via SSH (meaning DNS is working) then you can use "mt32-pi", if not use the IP address....
ie. taskset ${MT32PI_CPU_MASK} ${MT32PI_DRIVER} QUIET UDP 192.168.1.### &

User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

Re: SCUMMVM

Unread post by RealLarry »

bbond007 wrote: Mon Feb 20, 2023 9:29 pm
HerrBerzerk wrote: Mon Feb 20, 2023 8:16 pm

OK, I guess it's really a regression in MENU.RBF. Only thing I did now was taking the old menu.rbf from the first release and replaced the most recent menu.rbf with this old one and everything worked immediatly. Sometimes it pays out to be tenacious :-)

So is there a way getting this bug fixed for recent releases of menu.rbf?

Is anyone else having this issue?

If I may speak for myself, no, not at all. Everything is playing fine - just tested with my mt32-pi UserPort and UDP by playing "Conquest of the Longbow" (ScummVM) and playing some MIDI files with "aplaymidi" on a ssh connection.
MENU is the latest stable (menu_20221224), but a Nightly MiSTer Core for testing reasons.

Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
HerrBerzerk
Posts: 273
Joined: Tue Feb 01, 2022 1:45 pm
Has thanked: 121 times
Been thanked: 39 times

Re: SCUMMVM

Unread post by HerrBerzerk »

bbond007 wrote: Mon Feb 20, 2023 9:29 pm

EDIT: Actually, it looks like that means just trying menu_20220413.rbf as the menu_20220413.rbf and older predate the mt32-pi support.

You see me puzzled now. I tested the latest 3 Menu.rbf from Github. As expected, 20210315 did not work, but both, 20220413 AND 20221424 worked fine.
So I'm asking myself what version of menu.rbf is installed on my Mister. It was a fresh install and several update_all.

However, I guess I just leave the latest version of menu.rbf in the fat directory now and everything should be fine. I guess it's not worth digging deeper into the problem unless you want me something else to look up.

On the UDP Topic:
The "Mixer-Question" was meant like: When I send the Midi Commands via UDP to the MT32Pi, how does the music itself comes to the speakers?

My understanding is, there is Music from the MT32Pi and Sound Effects from the mister via Samples. Do I need an external Mixer or how are the audio outputs come together?

Thanks,

Frank

bbond007
Top Contributor
Posts: 531
Joined: Tue May 26, 2020 5:06 am
Has thanked: 87 times
Been thanked: 211 times

Re: SCUMMVM

Unread post by bbond007 »

HerrBerzerk wrote: Tue Feb 21, 2023 10:12 am

Commands via UDP to the MT32Pi, how does the music itself comes to the speakers?
My understanding is, there is Music from the MT32Pi and Sound Effects from the mister via Samples. Do I need an external Mixer or how are the audio outputs come together?

It depends on if menu.rbf mt32-pi functionality is 100% broken (on your hardware) or just 50% broken. Hopefully the mixing still works...

I'd say to give it a try, if anything, knowing the answer could be beneficial in diagnosing the issue.

Also might be worth trying the nightly menu.rbf core to see if that works.

bbond007
Top Contributor
Posts: 531
Joined: Tue May 26, 2020 5:06 am
Has thanked: 87 times
Been thanked: 211 times

Re: SCUMMVM

Unread post by bbond007 »

RealLarry wrote: Tue Feb 21, 2023 5:20 am

If I may speak for myself, no, not at all. Everything is playing fine - just tested with my mt32-pi UserPort and UDP by playing "Conquest of the Longbow" (ScummVM) and playing some MIDI files with "aplaymidi" on a ssh connection.
MENU is the latest stable (menu_20221224), but a Nightly MiSTer Core for testing reasons.

As usual, you are very helpful :)

Thanks!

User avatar
HerrBerzerk
Posts: 273
Joined: Tue Feb 01, 2022 1:45 pm
Has thanked: 121 times
Been thanked: 39 times

Re: SCUMMVM

Unread post by HerrBerzerk »

bbond007 wrote: Tue Feb 21, 2023 10:05 pm

I'd say to give it a try, if anything, knowing the answer could be beneficial in diagnosing the issue.

i got UDP working now fine. I see the text messages on the mt32pi display and I see the channel bars flickering up and down.

Now probably a dumb question, but how do I actually can hear the music now? Do I have to connect an audio cable from the mt32pi to Mister? Or via USB? I tried a headphone on the mt32pi without success, I can hear only the samples from the Mister through my speakers.

IMG_2408.jpeg
IMG_2408.jpeg (3.1 MiB) Viewed 11514 times
jca
Top Contributor
Posts: 1911
Joined: Wed May 27, 2020 1:59 pm
Has thanked: 145 times
Been thanked: 454 times

Re: SCUMMVM

Unread post by jca »

The audio is sent back to the FPGA where it is mixed with the regular audio so you can hear it the same way you hear the audio on MISTer.

User avatar
HerrBerzerk
Posts: 273
Joined: Tue Feb 01, 2022 1:45 pm
Has thanked: 121 times
Been thanked: 39 times

Re: SCUMMVM

Unread post by HerrBerzerk »

jca wrote: Wed Feb 22, 2023 9:33 pm

The audio is sent back to the FPGA where it is mixed with the regular audio so you can hear it the same way you hear the audio on MISTer.

You mean the audio is getting streamed over wifi to the fpga when I use UDP?

jca
Top Contributor
Posts: 1911
Joined: Wed May 27, 2020 1:59 pm
Has thanked: 145 times
Been thanked: 454 times

Re: SCUMMVM

Unread post by jca »

Via the MISTer - MT-32 connection.

Edit:
For more details have a look here https://github.com/dwhinham/mt32-pi/wiki/MiSTer-FPGA

User avatar
HerrBerzerk
Posts: 273
Joined: Tue Feb 01, 2022 1:45 pm
Has thanked: 121 times
Been thanked: 39 times

Re: SCUMMVM

Unread post by HerrBerzerk »

jca wrote: Thu Feb 23, 2023 11:39 am

Via the MISTer - MT-32 connection.
For more details have a look here https://github.com/dwhinham/mt32-pi/wiki/MiSTer-FPGA

I read that, and also the UDP section. But what is the benefit of using UDP when I have to connect it to the user port anyway to receive the Audio/Music?

jca
Top Contributor
Posts: 1911
Joined: Wed May 27, 2020 1:59 pm
Has thanked: 145 times
Been thanked: 454 times

Re: SCUMMVM

Unread post by jca »

SCUMMVM is running on the Linux side and communicates with the FPGA via UDP.

User avatar
HerrBerzerk
Posts: 273
Joined: Tue Feb 01, 2022 1:45 pm
Has thanked: 121 times
Been thanked: 39 times

Re: SCUMMVM

Unread post by HerrBerzerk »

jca wrote: Fri Feb 24, 2023 12:47 pm

SCUMMVM is running on the Linux side and communicates with the FPGA via UDP.

Ah, thank you. I thought that ScummVM, Midimeister and Menu all run on the Linux side.

jca
Top Contributor
Posts: 1911
Joined: Wed May 27, 2020 1:59 pm
Has thanked: 145 times
Been thanked: 454 times

Re: SCUMMVM

Unread post by jca »

I did not know about Midimeister but I just had a look. This is an audio driver running on the Linux side and can communicate to a core running on the FPGA via serial or UDP and sends a MIDI stream.
ScummVM running on Linux sends the MIDI stream to the Midimeister driver which is also running under Linux. Midimeister sends the MIDI stream to the core running on the FPGA via UDP in this case. The core running on the FPGA communicates to the MT-32 via the I/O board, gets back the MIDI audio which is mixed with whathever audio the core is outputting and you get the rsult on the normal audio output of MISTer.
You run ScummVM via a script and you can only do that after a reboot of MISTer at which point the core running on the FPGA is Menu.rbf.
It is "simple" as that :D

bbond007
Top Contributor
Posts: 531
Joined: Tue May 26, 2020 5:06 am
Has thanked: 87 times
Been thanked: 211 times

Re: SCUMMVM

Unread post by bbond007 »

jca wrote: Fri Feb 24, 2023 12:47 pm

SCUMMVM is running on the Linux side and communicates with the FPGA via UDP.

Normally it would go to /dev/ttyS1 which the menu.rbf links to the user port/mt32-pi. UDP is just an alternative delivery method.

HerrBerzerk wrote: Fri Feb 24, 2023 8:11 am

I read that, and also the UDP section. But what is the benefit of using UDP when I have to connect it to the user port anyway to receive the Audio/Music?

It is simply a different use case and initially I was suggesting it as a work-around.

The benefit is that you need no hardware besides the RPi and you can distance the MiSTer and mt32-pi much further apart.

If you are streaming from the MiSTer, you can send the MIDI via UDP to your PC running UDPMIDI.EXE and Munt and let OBS do the mixing.

jca
Top Contributor
Posts: 1911
Joined: Wed May 27, 2020 1:59 pm
Has thanked: 145 times
Been thanked: 454 times

Re: SCUMMVM

Unread post by jca »

bbond007 wrote: Fri Feb 24, 2023 3:30 pm
jca wrote: Fri Feb 24, 2023 12:47 pm

SCUMMVM is running on the Linux side and communicates with the FPGA via UDP.

Normally it would /dev/ttyS1 which the menu.rbf links to the user port/mt32-pi. UDP is just an alternative method.

...

This was a really fast post as I was in a hurry. Later on I made a more detailed post which may not be fully correct. Please correct any mistake I made, I like to know how things work.

bbond007
Top Contributor
Posts: 531
Joined: Tue May 26, 2020 5:06 am
Has thanked: 87 times
Been thanked: 211 times

Re: SCUMMVM

Unread post by bbond007 »

jca wrote: Fri Feb 24, 2023 5:06 pm

This was a really fast post as I was in a hurry. Later on I made a more detailed post which may not be fully correct. Please correct any mistake I made, I like to know how things work.

Did not see that before I responded.

jca wrote: Fri Feb 24, 2023 2:23 pm

I did not know about Midimeister but I just had a look. This is an audio driver running on the Linux side and can communicate to a core running on the FPGA via serial or UDP and sends a MIDI stream.
ScummVM running on Linux sends the MIDI stream to the Midimeister driver which is also running under Linux. Midimeister sends the MIDI stream to the core running on the FPGA via UDP in this case. The core running on the FPGA communicates to the MT-32 via the I/O board, gets back the MIDI audio which is mixed with whathever audio the core is outputting and you get the rsult on the normal audio output of MISTer.
You run ScummVM via a script and you can only do that after a reboot of MISTer at which point the core running on the FPGA is Menu.rbf.
It is "simple" as that :D

Yes, that seem accurate. I guess for completeness, it might be beneficial to explain more about MIDIMeister which is essentially an ALSA driver that translates ALSA MIDI sequencer events into a standard MIDI data stream. The source is locate here --> https://github.com/bbond007/MIDIMeister

It can also work with other utilities running on the HPS like for example aplaymidi.

HerrBerzerk wrote: Fri Feb 24, 2023 2:06 pm

Ah, thank you. I thought that ScummVM, Midimeister and Menu all run on the Linux side.

"Menu" is kind of ambiguous as the Menu.rbf is like a minimal core that provides video for the actual menu "MiSTer" which does run on the Linux side and also provides a massive amount of IO connectivity for the various cores. I guess I'd call MiSTer.bin it a state-machine as far as the design pattern. It's hard (for me anyway) to explain. But hope I did OK.

User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

Re: SCUMMVM

Unread post by RealLarry »

bbond007 wrote: Fri Feb 24, 2023 3:30 pm
HerrBerzerk wrote: Fri Feb 24, 2023 8:11 am

I read that, and also the UDP section. But what is the benefit of using UDP when I have to connect it to the user port anyway to receive the Audio/Music?

It is simply a different use case and initially I was suggesting it as a work-around.
The benefit is that you need no hardware besides the RPi and you can distance the MiSTer and mt32-pi much further apart.

...which is thankfully indeed a very useful feature I'm using from time to time with my stand-alone mt2-pi/ClumsyMIDI and a PC (self compiled MIDIMeister): Simply throw the mt32-pi to anywhere, connect only power and audio and let the party begin.

Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
HerrBerzerk
Posts: 273
Joined: Tue Feb 01, 2022 1:45 pm
Has thanked: 121 times
Been thanked: 39 times

Re: SCUMMVM

Unread post by HerrBerzerk »

RealLarry wrote: Sat Feb 25, 2023 6:04 am

connect only power and audio and let the party begin.

Do I understand it right, that you have to change the ini setting of the pi then to Audio from i2c and plug your 3,5mm jack cable to the pi?

User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

Re: SCUMMVM

Unread post by RealLarry »

HerrBerzerk wrote: Sat Feb 25, 2023 9:23 am
RealLarry wrote: Sat Feb 25, 2023 6:04 am

connect only power and audio and let the party begin.

Do I understand it right, that you have to change the ini setting of the pi then to Audio from i2c and plug your 3,5mm jack cable to the pi?

Correct, more or less. The ClumsyMIDI is a HAT on top of the Pi and routes the MIDI signals to DIN-5 sockets and audio to a I2S DAC.
I'm driving this baby as a dual-use synthesizer. WiFi is always enabled and you can connect DIN-5 cables or MIDI/UDP at any time. Always ready for use.

mt32pi_clumsymidi.jpg
mt32pi_clumsymidi.jpg (209.72 KiB) Viewed 11147 times
back.jpg
back.jpg (213.04 KiB) Viewed 11146 times
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
HerrBerzerk
Posts: 273
Joined: Tue Feb 01, 2022 1:45 pm
Has thanked: 121 times
Been thanked: 39 times

Re: SCUMMVM

Unread post by HerrBerzerk »

RealLarry wrote: Sat Feb 25, 2023 10:11 am

Correct, more or less. The ClumsyMIDI is a HAT on top of the Pi and routes the MIDI signals to DIN-5

Oh nice, just read it... I did not know about that before, thank you.

User avatar
HerrBerzerk
Posts: 273
Joined: Tue Feb 01, 2022 1:45 pm
Has thanked: 121 times
Been thanked: 39 times

Re: SCUMMVM

Unread post by HerrBerzerk »

Can I create Subfolders in the Scripts folder like below? Or is this breaking something because of Paths and so on?

Bildschirm­foto 2023-02-26 um 13.22.40.png
Bildschirm­foto 2023-02-26 um 13.22.40.png (72.78 KiB) Viewed 11054 times
User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

Re: SCUMMVM

Unread post by RealLarry »

HerrBerzerk wrote: Sun Feb 26, 2023 12:25 pm

Can I create Subfolders in the Scripts folder like below? Or is this breaking something because of Paths and so on?

Totally okay in principle, but I'd choose a more personalized name, like "my_scummvm" to prevent unforeseen misfortune in a distant future...

Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

Re: SCUMMVM

Unread post by RealLarry »

ScummVM 2.7.0 released.

Code: Select all

With ScummVM 2.7.0, we officially announce support for the following games:

Soldier Boyz
Obsidian
Pink Panther: Passport to Peril
Pink Panther: Hokus Pokus Pink
Adibou 2 "Environment", "Read/Count 4 & 5" and "Read/Count 6 & 7"
Driller/Space Station Oblivion
Halls of the Dead: Faery Tale Adventure II
Chop Suey, Eastern Mind, and 16 other Director 3 and Director 4 titles

and some other improvements.
@bbond007 It's your turn now ;)

Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
bbond007
Top Contributor
Posts: 531
Joined: Tue May 26, 2020 5:06 am
Has thanked: 87 times
Been thanked: 211 times

Re: SCUMMVM

Unread post by bbond007 »

RealLarry wrote: Tue Feb 28, 2023 9:12 am

ScummVM 2.7.0 released.
...
@bbond007 It's your turn now ;)

I updated my repo with the following:

  • 2.7.0

  • 2.7.0-Unstable

  • 2.7 (2.7.1pre)

  • 2.7-Unstable (2.7.1pre)

Anyway, can't get any version to recognize Halls of the Dead: Faery Tale Adventure II.

The Windows ScummVM 2.7.0 does not recognize it either, so maybe its just a problem with the game I sourced...

I was hoping it would work. The original Faery Tale Adventure (on the Amiga) was one of my favorite games and probably the first RPG I ever played.

I was not aware there was a sequel - but it did come out 10 years later than the first. Faery Tale Adventure II requires an Intel Pentium 90 MHz running 32bit Windows, so there is little chance it will work well on ao486.

I've done VERY LITTLE testing with these builds, so It's your turn now - good luck ;)

bbond007
Top Contributor
Posts: 531
Joined: Tue May 26, 2020 5:06 am
Has thanked: 87 times
Been thanked: 211 times

Re: SCUMMVM

Unread post by bbond007 »

bbond007 wrote: Wed Mar 01, 2023 11:53 pm

Anyway, can't get any version to recognize Halls of the Dead: Faery Tale Adventure II.

FTA2-2.png
FTA2-2.png (1.6 MiB) Viewed 10786 times

Figured it out. Runs really well and supports MIDI :)

Needed to get the ISO... not the 18,725 KB Zip file floating around on the abandonware sites.

User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

Re: SCUMMVM

Unread post by RealLarry »

bbond007 wrote: Wed Mar 01, 2023 11:53 pm
RealLarry wrote: Tue Feb 28, 2023 9:12 am

ScummVM 2.7.0 released.
...
@bbond007 It's your turn now ;)

I updated my repo with the following:

  • 2.7.0

  • 2.7.0-Unstable

  • 2.7 (2.7.1pre)

  • 2.7-Unstable (2.7.1pre)

[...]
I've done VERY LITTLE testing with these builds, so It's your turn now - good luck ;)

Appreciated, as always! Will do some tests at weekend.

Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

Re: SCUMMVM

Unread post by RealLarry »

Did some tests with my favorites and everything is still running fine, even with MIDI.
"Soldier Boyz" is detected but crashes ScummVM when starting.
"Driller/Space Station Oblivion" (Atari ST) is detected but ScummVM complains about it when starting.
"Obsidian" is an interesting one, where your moves are done in a movie, also with MIDI support.
Both "Pink Panther" games are working. No MIDI.
Thanks for the hint for "Halls of the Dead", nice game which I didn't know anything about yet. I need a pension to enjoy all these games :)

Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
Post Reply