NostalgicPlayer icon indicating copy to clipboard operation
NostalgicPlayer copied to clipboard

Build for Mac OS is possible?

Open kpstsp opened this issue 10 months ago • 3 comments

If possible, create a pkg or binary for Mac OS. Or maybe some tutorial on how to build it.

kpstsp avatar Apr 20 '24 12:04 kpstsp

Sorry, but not at the moment. The user interface is heavy bound to the Windows UI. But if you don't want the UI, it should be possible to create a console version, like the one in Source/Clients/NostalgicPlayerConsole.

However, I have no idea how to compile C# on a Mac and I don't own one, so I cannot test anything. If anyone out there want to give it a try, I would be glad to help as much as possible.

neumatho avatar Apr 20 '24 12:04 neumatho

Got it. I don't have big experience with the C# toolchain, but I have an Intel MacBook and m2 based MacBook Air, so I might check this out and try to build at least a CLI version. I currently use xmp console player and sometimes Xmplay (via Wine). In my opinion, NostalgicPlayer sounds better than xmplay (I checked mods for the tracker and digibooster modules). Another reason to build/port something like your player for Mac is the lack of proper mod players with a user interface for current Mac Os. A couple of players using the BASS library (such as Vox) can play few types of modules. Some older multi-format players are already outdated and lack backward compatibility (a common Mac OS problem) or source code. xmp, uade, all this was ported over from Linux versions. So I'll try of course.

kpstsp avatar Apr 20 '24 13:04 kpstsp

One thing that needs to be created, is an output agent for Mac, else you won't hear anything. You could start out with a simple one, that just writes the output samples to disk and then hear the output elsewhere. Later on, you can create a real output agent that plays the sound.

neumatho avatar Apr 20 '24 13:04 neumatho