On 28 April 2012 02:48, James Paige <b...@hamsterrepublic.com> wrote: > On Sat, Apr 28, 2012 at 02:38:39AM +1200, Ralph Versteegen wrote: >> On 28 April 2012 02:23, James Paige <b...@hamsterrepublic.com> wrote: >> > On Fri, Apr 27, 2012 at 06:11:36PM +1200, Ralph Versteegen wrote: >> >> On 27 April 2012 10:55, James Paige <b...@hamsterrepublic.com> wrote: >> >> > On Thu, Apr 26, 2012 at 3:26 PM, James Paige <b...@hamsterrepublic.com> >> >> > wrote: >> >> >> On Thu, Apr 26, 2012 at 03:17:47PM -0700, >> >> >> subvers...@hamsterrepublic.com wrote: >> >> >>> james >> >> >>> 2012-04-26 15:17:47 -0700 (Thu, 26 Apr 2012) >> >> >>> 210 >> >> >>> Prompt to download ar+tar+gzip the first time you try to distribute >> >> >>> as a debian linux package on Windows >> >> >>> (I am reasonably confident that tar.exe and gzip.exe work standalone, >> >> >>> but I have my doubts about ar.exe) >> >> >> >> >> >> My reason for thinking so is that tar.exe and gzip.exe are both taken >> >> >> from UnxUtils which all seems to be designed with standalone usage in >> >> >> mind, but ar.exe is taken from MinGW, so I don't know yet whether it >> >> >> depends on any MinGW dll files, and if so, which ones. >> >> > >> >> > Okay! I figured it out. There were indeed three mingw .dll files that >> >> > ar.exe required. Yay for Dependency Walker! >> >> > >> >> > I tested "Export Debian Linux Package" on a pristine Windows XP >> >> > virtualbox, and it all seems to work great (aside from my previously >> >> > mentioned file permission lamentations) >> >> > >> >> > I am almost feeling bold enough to tackle "Export Mac OS X app bundle" >> >> > but I guess there isn't a whole lot of point to doing that one until >> >> > we figure out a nightly build method for the Mac port. >> >> >> >> That shouldn't be hard: just copy distrib-nightly.sh, remove all the >> >> stuff that's already uploaded by distrib-nightly.sh, and replace the >> >> packaging stuff with a call to distrib-mac.sh. Perhaps change the name >> >> of the produced archive, which is currently OHRRPGCE-$TODAY-$CODE.dmg >> > >> > Hmmm... actually, that does sound fairly simple. I'll give it a shot. >> > All the mac builds I attempt on my Mac at work are unusable because of >> > bug 933 "Doors link incorrectly in Mac builds" >> > >> > However, a unusably broken nightly build is still better than no nightly >> > build at all :) >> >> It's better not to upload nightlies of Custom though, since it will >> just write garbage .rpg files, which is useless and dangerous > > Maybe I will send them to > http://HamsterRepublic.com/ohrrpgce/nightly/dangerously-unstable/ or > something like that for now ;) > >> >> Much harder is adding support for including the .rpgdir inside the app >> >> bundle, for changing the name of the app to the name of the game, for >> >> supporting icons, and for changing the contents of the 'About' screen. >> >> But I'll do all of that later. >> > >> > I think I know how to include the .rpgdir into the app bundle. I'll try. >> > And that is something that I can test even without fixing bug 933. >> > >> > I also know I have scripted Mac icon insertion before, I'll see if I can >> > dig up any of my old scripts that do that. >> >> The icon is OHRRPGCE-Game.app/Contents/Resources/game.ics. The hard >> bit is finding a cross platform command line tool for creating ics >> files. > > Hmmm, yeah, interesting. > > Perhaps we should allow import of platform-specific icons as separate > lumps, like: > > Import Windows Icon (.ico) > Import Mac Icon (.icns) > Import Linux Icon (.png) > > And then direct people to something like http://iconverticons.com/ where > they can convert the files themselves
Sounds like a good solution me; saves us plenty of trouble. >> > As for the "About" screen, I wouldn't know where to begin. >> >> It might be possible to just edit Info.plist. That's probably all >> that's needed to change the name of the app too. >> >> >> However I doubt the Mac version supports autorunning at all. I should >> >> investigate that now... >> > >> > I was just looking at the autorunning code, and I am pretty sure that >> > gamename.app will launch gamename.rpg from the same folder. (but I have >> > not tested yet ) >> > >> >> I should mention that the deadline for my MSc is in two months and I >> >> have a lot to do, so I'll be panicking working on that and probably >> >> won't be doing any more work on the OHR until that's finished. >> > >> > Okay, no worries! Focus on what is important, and good luck! >> > >> >> By the way, could you delete >> >> http://hamsterrepublic.com/ohrrpgce/nightly/ohrrpgce-nightly-osx-r4881.tar.bz2 >> >> ? It's corrupt: the end of the file is missing. Yep, there never was a >> >> nightly. >> > >> > Done! >> > >> > --- >> > James >> > _______________________________________________ >> > Ohrrpgce mailing list >> > ohrrpgce@lists.motherhamster.org >> > http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org >> _______________________________________________ >> Ohrrpgce mailing list >> ohrrpgce@lists.motherhamster.org >> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org >> > _______________________________________________ > Ohrrpgce mailing list > ohrrpgce@lists.motherhamster.org > http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org _______________________________________________ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org