110-kenichi / mame

MAmidiMEmo
Other
77 stars 5 forks source link

linux support #1

Closed cyberic99 closed 10 months ago

cyberic99 commented 3 years ago

Hello!

Thanks for sharing this project. Do you plan or intend to support building on Linux?

I tried to run the app with wine, I get this error:

image

And I get this in the terminal:

0078:err:ole:start_rpcss Failed to start RpcSs service
00d0:err:winediag:MIDIMAP_drvOpen No software synthesizer midi port found, Midi sound output probably won't work.
00d0:fixme:wbemprox:client_security_SetBlanket 0000000062C9ECF0, 0000000002D6B870, 10, 0, (null), 3, 3, 0000000000000000, 0x00000000
00d0:fixme:wbemprox:client_security_Release 0000000062C9ECF0
00d0:fixme:wbemprox:enum_class_object_Next timeout not supported
00d0:fixme:heap:RtlSetHeapInformation 000000000FDC0000 0 0000000000218880 4 stub
00d0:fixme:heap:GetNumaHighestNodeNumber semi-stub: 0000000000218910
00d0:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
00d0:fixme:path:parse_url failed to parse L"wrapper"
00d0:fixme:path:parse_url failed to parse L"MAmidiMEmoUI"
00d0:fixme:path:parse_url failed to parse L"Accessibility"
00d0:fixme:path:parse_url failed to parse L"System"
00d0:fixme:path:parse_url failed to parse L"System.Configuration"
00d0:fixme:path:parse_url failed to parse L"System.Xml"
00d0:fixme:path:parse_url failed to parse L"Newtonsoft.Json"
00d0:fixme:path:parse_url failed to parse L"System.Design"
00d0:fixme:path:parse_url failed to parse L"System.Drawing"
00d0:fixme:path:parse_url failed to parse L"System.Data"
00d0:fixme:path:parse_url failed to parse L"System.Windows.Forms"
00d0:fixme:path:parse_url failed to parse L"System.Drawing.Design"
00d0:fixme:path:parse_url failed to parse L"System.Web"
00d0:fixme:path:parse_url failed to parse L"System.Data.OracleClient"
00d0:fixme:path:parse_url failed to parse L"System.Runtime.Serialization.Formatters.Soap"
00d0:fixme:path:parse_url failed to parse L"System.Web.RegularExpressions"
00d0:fixme:path:parse_url failed to parse L"System.Core"
00d0:fixme:path:parse_url failed to parse L"System.Numerics"
00d0:fixme:path:parse_url failed to parse L"System.Security"
00d0:fixme:path:parse_url failed to parse L"System.Transactions"
00d0:fixme:path:parse_url failed to parse L"System.Core"
00d0:fixme:path:parse_url failed to parse L"System.Drawing"
00d0:fixme:nls:get_dummy_preferred_ui_language (0x8 0000000000213900 0000000000000000 0000000000213904) returning a dummy value (current locale)
00d0:fixme:nls:get_dummy_preferred_ui_language (0x8 0000000000213900 000000000C3A0890 0000000000213904) returning a dummy value (current locale)
00d0:fixme:ntdll:EtwEventRegister ({8e9f5090-2d75-4d03-8a81-e5afbf85daf1}, 000000001008249C, 0000000000000000, 00000000110467C8) stub.
00f8:err:ole:CoGetContextToken apartment not initialised
00fc:fixme:path:parse_url failed to parse L"System.Windows.Forms"
00fc:fixme:path:parse_url failed to parse L"System.Deployment"
00fc:fixme:path:parse_url failed to parse L"MetroFramework"
00fc:fixme:path:parse_url failed to parse L"System.Windows.Forms"
00fc:fixme:path:parse_url failed to parse L"System.Drawing"
00fc:fixme:path:parse_url failed to parse L"System"
00fc:fixme:path:parse_url failed to parse L"System.Configuration"
00fc:fixme:nls:LCMapStringEx unsupported lparam c3f5760
00fc:fixme:path:parse_url failed to parse L"System.Xml"
00fc:fixme:path:parse_url failed to parse L"System.Data.SqlXml"
00fc:fixme:path:parse_url failed to parse L"MAmidiMEmoUI.resources"
00fc:fixme:path:parse_url failed to parse L"MAmidiMEmoUI.resources"
00fc:fixme:olepicture:OLEPictureImpl_QueryInterface () : asking for unsupported interface {c3fcc19e-a970-11d2-8b5a-00a0c9b7c9c4}
00fc:fixme:olepicture:OLEPictureImpl_QueryInterface () : asking for unsupported interface {b196b283-bab4-101a-b69c-00aa00341d07}
00fc:fixme:olepicture:OLEPictureImpl_QueryInterface () : asking for unsupported interface {af86e2e0-b12d-4c6a-9c5a-d7aa65101e90}
00fc:fixme:olepicture:OLEPictureImpl_QueryInterface () : asking for unsupported interface {ecc8691b-c1db-4dc0-855e-65f6c551af49}
00fc:fixme:olepicture:OLEPictureImpl_QueryInterface () : asking for unsupported interface {94ea2b94-e9cc-49e0-c0ff-ee64ca8f5b90}
00fc:fixme:olepicture:OLEPictureImpl_QueryInterface () : asking for unsupported interface {00000003-0000-0000-c000-000000000046}
00fc:fixme:olepicture:OLEPictureImpl_QueryInterface () : asking for unsupported interface {00000144-0000-0000-c000-000000000046}
00fc:fixme:path:parse_url failed to parse L"MAmidiMEmoUI.resources"
00fc:fixme:path:parse_url failed to parse L"MAmidiMEmoUI.resources"
00fc:fixme:gdiplus:GdipCreateHalftonePalette stub
00fc:fixme:path:parse_url failed to parse L"MetroFramework.Fonts"
00fc:fixme:gdiplus:GdipGetFamilyName No support for handling of multiple languages!
00d0:fixme:virtual:NtFlushProcessWriteBuffers stub
00fc:fixme:path:parse_url failed to parse L"Melanchall.DryWetMidi"
00fc:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 4 000000000C479138 000000002A17B1C8 000000002A17B980 0000000000000000
00fc:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 000000000C479110 000000002A17B588 000000002A17BD40 0000000000000000
00fc:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 000000000C479110 000000002A17B588 000000002A17BD40 0000000000000000
00fc:fixme:path:parse_url failed to parse L"MAmidiMEmoUI.resources"
00fc:fixme:path:parse_url failed to parse L"MAmidiMEmoUI.resources"
00fc:fixme:path:parse_url failed to parse L"System.Runtime.Serialization"
00fc:fixme:path:parse_url failed to parse L"SMDiagnostics"
00fc:fixme:path:parse_url failed to parse L"System.ServiceModel.Internals"

.NET seems supported on linux now, so I tried to compile the project.

I get several errors looking like this:

error MSB4019: The imported project "/Microsoft.Cpp.Default.props" was not found. Confirm that the expression in the Import  declaration "/Microsoft.Cpp.Default.props" is correct, and that the file exists on disk

Thank you for your answers!

110-kenichi commented 3 years ago

//Oops, so sorry. I missed your comments...

It seems that this error messages comes from MIDI API. Do you know the Wine can handle MIDI API?

And also, I would like to port Linux and Mac, however it's premature...

cyberic99 commented 3 years ago

//Oops, so sorry. I missed your comments...

no problem

It seems that this error messages comes from MIDI API. Do you know the Wine can handle MIDI API?

yes, it seems so: https://wiki.winehq.org/MIDI

Why does MAmidiMEmo need a software synthesizer?

can you try to compile a 'mini/light' version of MAmidiMEmo

And also, I would like to port Linux and Mac, however it's premature...

OK, good news. I am not familiar at all with dotnet nor visual studio, but I can help you with wine or native compilation.

Thanks

110-kenichi commented 3 years ago

Hi,

Why does MAmidiMEmo need a software synthesizer?

Now, you can play a MIDI file to drop the [Player] tab. You don't need a sequencer anymore to play music.

image

can you try to compile a 'mini/light' version of MAmidiMEmo OK, good news. I am not familiar at all with dotnet nor visual studio, but I can help you with wine or native compilation.

Yes, multi-platform is one of the my goal. However, it is hard to create Linux/Mac version due to using other library.... But, I think that the dream come true in the near future.

Thanks,