k4zmu2a / SpaceCadetPinball

Decompilation of 3D Pinball for Windows – Space Cadet
MIT License
3.37k stars 209 forks source link

Unable to compile via CMake on M1 MacBook Air 2020 running Ventura #174

Open bjwil1991 opened 1 year ago

bjwil1991 commented 1 year ago

I'm unable to compile the game on my M1 MacBook Air 2020 running Ventura. Is it because the source code isn't ready for Ventura? Or am I missing something? I have the txt file with the environment set to arm64 and I think I messed up somewhere. I have the SDL2, SDL2_Mixer, libsdl2, and libsdl2_mixer installed on my MacBook Air M1 and CMake is also installed along with vscodium (I couldn't find vscode anywhere and I'll keep searching). Did I mess up somewhere?

Edit: I got it to compile successfully using the VSCode software this time. I know the music will be added in the future to this, but I like it so far and it brings back memories playing this on Windows 95 back when Plus! 95 was released. Man, those were the days.

k4zmu2a commented 1 year ago

I can’t help you with Mac build specifics, but it’s all good since you solved it yourself.

Music playback is already implemented and it is supposed to work on Mac.

bjwil1991 commented 1 year ago

I looked at the terminal and it says error: couldn't open timidity.cfg

martinbaste commented 1 year ago

I had the same issue with the audio. Fixed it by adding the files from the FULLTILT version of the game (the CADET subdirectory) next to the built binary. That makes the binary use those instead of the windows version that I was using and the audio got fixed.