[Rpcemu] Patch for 0.9.1 - Mac keyboard support

Theo Markettos theo at markettos.org.uk
Tue Nov 20 14:08:40 PST 2018


On Tue, Nov 20, 2018 at 09:38:56PM +0000, lists at maemagel.com wrote:
> My hacked version would have been pretty awful, even if it had worked. 
> Kernel extensions need to be signed in newer versions of OS X and I'm
> not a registered developer, so I ended up downloading an application
> called "Tunnelblick" and borrowing its Tun/Tap kernel extensions, which
> were signed.  The emulator would randomly stall during !Boot when
> setting up networking, so I decided to cut my losses and gave it up as a
> bad job.  I'll have a look at "networkextension", just to see, though
> I'm not too experienced when it comes to OS X development.

Using Tunnelblick's TUN/TAP was what I did - it worked, but it wasn't exactly
user friendly.  I don't think I've tried it on anything post Mavericks,
though.

Apple does say:
The com.apple.developer.networking.networkextension entitlement is required
in order to use the NETunnelProvider class. Enable this entitlement when
creating an App ID in your developer account.

but according to StackOverflow (which must be true) that's no longer the
case.  (It may still apply to iOS).  There are also things like:
https://github.com/zhuhaow/NEKit
that build on top of NETunnelProvider and handle the entitlement, like you
do with Tunnelblick.

> Peter did ask me whether I'd be prepared to create Mac binaries when I
> emailed him previously off-list, and I "umm"ed and "ah"ed about it.  It
> really depends on how much work there is, and whether there are any
> other oddities thrown up by OS X that need to be worked around (such as
> the keyboard and networking).  It would be nice to have a proper
> installer as well (there is an installer builder in QT apparently,
> though I've not investigated in any detail).

I don't think there's much to do beyond putting the files in a .app bundle
inside a .dmg archive?  I don't think there's any need for an installer,
users open the .dmg and just drag RPCEmu.app to /Applications.  You'd
probably put the Qt libraries inside the .app so there's no system
dependencies, or even statically link.

Looks like this is the tool to make a bundle including Qt libraries:
http://doc.qt.io/qt-5/osx-deployment.html

A wizard that's roughly 'what ROM image do you want', 'where do you want
your hostfs to go' etc would be nice, but not critical.

My Allegro binaries were pretty much fire-and-forget - I got a few people
asking about stuff, but not a lot.

Theo



More information about the RPCEmu mailing list