[Patch] Full macOS / Mac OS X support
Posted: Sun 12 May, 2019 11:10 pm
Hi
first of all thank you for this project and the immense amount of work you invested in PCem. It is a pleasure for me to use it and play my childhood games again. The emulation is awesome and proofs to be far ahead of DosBox in accuracy and performance for my use cases.
However, I found it a bit inconvenient to manually patch the sources, compile and mess with config paths when I use PCem on my Macbook. Also, creating and loading CD ROM images proofed to be far more complicated than I thought on Mac. Finally I was wondering why OpenGL 3 rendering wasn't enabled because Mac OS X would support it for window contexts in general.
Well, I accepted that as a challenge and invested this weekend to fix all these issues with the motivation to give a little bit back:
- Implemented an automated build process for Mac OS app bundles and DMG installers
- Changed the PCem path location as by Apple standard for Macs (to use ~/Library/Application Support/PCem). Path gets auto-created if the folder doesn't exist
- Implemented a OS/Finder extension to create MS DOS compatible (ISO 9660 joliet) images from directories with 1 click: https://github.com/kyr0/MacOS-Finder-Co ... o-CD-Image
- Implemented experimental OpenGL 3.0 support and upgraded the shader versions (branch: opengl3)
I did also release the .dmg installer file as a beta to test for Mac users. Known issues are noted on GitHub and as GitHub issues but so far everything I tested works (nothing critical): https://github.com/kyr0/PCemV14MacOSX/releases
I marked everywhere that this is unofficial. It's based on the v14 linux release sources.
Code & docs:
https://github.com/kyr0/PCemV14MacOSX
@SarahWalker I wrote a detailed description of my changes for you in case you'd like to apply my changes. I'd also offer to volunteer for a PCem 15 mac release if official support is desired.
Issues: https://github.com/kyr0/PCemV14MacOSX/issues
Those issues are all very much "minor" and are no deal-breaker at all. If you could give me a hint where to fix them in the code I would like to try to fix them all.
Again, thank you for the great work on PCem. As a programmer I do really see the great achievements made. I'm impressed by your long-term motivation and overall commitment and code quality. Thank you for the clean code. I was able to learn something new from your code and it was a pleasure to work with the code base.
The diff: OpenGL 3 on Mac: https://github.com/kyr0/PCemV14MacOSX/compare/opengl3
The diff: Mac support in general: https://github.com/kyr0/PCemV14MacOSX/c ... db0bc5c8d8
Greetings from Munich,
Aron
first of all thank you for this project and the immense amount of work you invested in PCem. It is a pleasure for me to use it and play my childhood games again. The emulation is awesome and proofs to be far ahead of DosBox in accuracy and performance for my use cases.
However, I found it a bit inconvenient to manually patch the sources, compile and mess with config paths when I use PCem on my Macbook. Also, creating and loading CD ROM images proofed to be far more complicated than I thought on Mac. Finally I was wondering why OpenGL 3 rendering wasn't enabled because Mac OS X would support it for window contexts in general.
Well, I accepted that as a challenge and invested this weekend to fix all these issues with the motivation to give a little bit back:
- Implemented an automated build process for Mac OS app bundles and DMG installers
- Changed the PCem path location as by Apple standard for Macs (to use ~/Library/Application Support/PCem). Path gets auto-created if the folder doesn't exist
- Implemented a OS/Finder extension to create MS DOS compatible (ISO 9660 joliet) images from directories with 1 click: https://github.com/kyr0/MacOS-Finder-Co ... o-CD-Image
- Implemented experimental OpenGL 3.0 support and upgraded the shader versions (branch: opengl3)
I did also release the .dmg installer file as a beta to test for Mac users. Known issues are noted on GitHub and as GitHub issues but so far everything I tested works (nothing critical): https://github.com/kyr0/PCemV14MacOSX/releases
I marked everywhere that this is unofficial. It's based on the v14 linux release sources.
Code & docs:
https://github.com/kyr0/PCemV14MacOSX
@SarahWalker I wrote a detailed description of my changes for you in case you'd like to apply my changes. I'd also offer to volunteer for a PCem 15 mac release if official support is desired.
Issues: https://github.com/kyr0/PCemV14MacOSX/issues
Those issues are all very much "minor" and are no deal-breaker at all. If you could give me a hint where to fix them in the code I would like to try to fix them all.
Again, thank you for the great work on PCem. As a programmer I do really see the great achievements made. I'm impressed by your long-term motivation and overall commitment and code quality. Thank you for the clean code. I was able to learn something new from your code and it was a pleasure to work with the code base.
The diff: OpenGL 3 on Mac: https://github.com/kyr0/PCemV14MacOSX/compare/opengl3
The diff: Mac support in general: https://github.com/kyr0/PCemV14MacOSX/c ... db0bc5c8d8
Greetings from Munich,
Aron