Hi all,

Following on from Timothy Coltman's recent work, I have started work on a GUI for the Mac OS X version of RPCEmu. My aim is to make it easier to use by providing the same functionality that is available in the menus of the Windows version. I'm also trying to make it easy to install by creating a Mac OS X .app bundle that can be installed using drag and drop.

Here's what I've done so far:
 * Created an Xcode project file that builds RPCEmu.app.
 * Made some changes to Allegro:
- allow keyboard events to get through to windows other than the main one - changes the shutdown code so that the normal Cocoa shutdown stuff gets run (before I made this change the preferences set with NSUserDefaults weren't getting saved sometimes)
 * Created a preferences window (there's not much there yet)
* Allow the data files (ROMs, HD images, rpc.cfg, hostfs etc. etc.) to be stored in a user-chosen directory. This was done to avoid writing to files inside RPCEmu.app which is discouraged on OS X (just like writing to app dirs is discouraged on RISC OS). The data directory is ~/Library/Application Support/RPCEmu by default. * Check for the existence of the data directory on startup, and create & populate it with default files if it doesn't exist. * Check for ROM files on startup and allow the user to choose one/ some to copy to <data-dir>/roms if there aren't any there already. * Added a menubar and menu entries to load floppy discs and CD-ROM ISO images.
 * Added an icon (based on an Artworks Risc PC logo from Arcade).

I still have quite a bit to do, for example I need to allow the settings in rpc.cfg to be changed in the preferences window, but I wanted to release my changes now so that Timothy Coltman can merge some work he's been doing with them (we have exchanged a few emails off-list).

My changes should not affect the behaviour on Windows or Linux (unless I've made a mistake ;-)

I have made two patches - one against the Subversion trunk and one against RPCEmu Spoon 0.8.1. To get it up and running: * Gunzip http://www.devrx.org/software/rpcemu/rpcemu-svn-fjd.diff.gz (for SVN trunk) or http://www.devrx.org/software/rpcemu/rpcemu-0.8.1-fjd.diff.gz (for RPCEmu Spoon) and apply with patch -p1 * If you are using the code from SVN, create directories hostfs and poduleroms * Untar http://www.devrx.org/software/rpcemu/rpcemu-fjd- binfiles.tar.gz
 * Follow the instructions in readme-macosx.txt

Comments welcome - if my changes are OK it would be nice to get them into the Subversion repository.

Cheers,

Francis


_______________________________________________
Rpcemu mailing list
[email protected]
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu

Reply via email to