Adventure Creation Kit
Chris Hopkins' toolkit for making old-school, 2-D CRPGs
  • Home
  • About ACK
  • Download ACK
  • Features

News Category

Making a standalone OS X ACK game app

News No Comments »

Previously my plans for standalone OS X ACK game apps was to have the game creator send me their ACK game, and, time-permitting, I’d make a custom stripped-down version of the Launcher just for that game.  But that makes me a bottleneck, and also the user might have a modified ACK (thanks to the fan patches that continue, and Chris’s insterest in updating), a new version of DOSBOx, etc.

SO, thanks to Applescript, I’m able to instead provide a shell OS X app that the game creator can fill with their game, ACK version and DOSBox version, by following these steps:

1. Download shell of game app here.

2. Extract it – you will have a “ACKGameShell” app (that won’t work yet.).  Control-click or right-click it and choose “Show Package Contents”

3. Navigate to Contents/Resources

4. In a separate window, find the ACK Launcher app, and control or right-click it and choose “Show Package Contents”

5. Navigate to the ACK Launcher’s Contents/Resources folder

6. Select everything in the ACK Launcher Resources folder, copy, and paste it all into the ACKGameShell’s Resources folder.  When done, the ACK folder, DOSBox and several other small files should now be in your ACKGameShell’s Resources folder.

7. Close the ACK Launcher ‘s Contents/Resources window

8. In ACKGameShell’s Resources folder, do the following:

9. Delete “Revolution.icns”, “Revolution.rsrc”, “RevolutionDoc.icns”, and the applet files “c”, “f”, “g”, “i”, “m”, “n”, “o”, “p”, “r”, “t” and “x”

10. Duplicate “dosbox.conf”

11. Rename the duplicate “game.conf”

12. In ACKGameShell’s ACK folder, do the following:

13. Delete all the folders in the GAMENAME/ACK/GAMES folder except for your GAMENAME (whatever your game is called) folder (ie, delete TUTORIAL, BRIGANDS, etc.)

14. Delete the ACK/KITS folder.

15. In the ACK folder, delete ACK.BAT, ACK00.EXE, and ACK04.EXE through ACK10.EXE. (leave ACK01 through ACK03 alone).

16. Navigate back to the ACKGameShell Resources folder, and open game.conf.

17. In game.conf change the last line to “ACKMOD -r GAMENAME -exit”  where GAMENAME is the name of your game

18. Make any other DOSBox configuration changes you’d like as defaults for your game (shader used, etc.) and then save this altered game.conf.

18. Navigate to Resources/Scripts/ and double-click main.scpt.  This should open up the Applescript editor.

19. The third line of the script should read:

set the resources_path to game_path & quoted form of “ACKGameShell.app/Contents/Resources/”

Change “ACKGameShell” in that line to what you want to call your standalone game app (the name of your OS X app).  Note you need to retain the “.app” after the name.  E.g. Let’s say your ACK Game is called “Zork Space”, you’d change that line to read:

set the resources_path to game_path & quoted form of “Zork Space.app/Contents/Resources/”

20. The fourth line of the script should read:

set the dosbox_path to game_path & quoted form of “ACKGameShell.app/Contents/Resources/DOSBox.app/Contents/MacOS/”

Change “ACKGameShell” to match EXACTLY what you used in the previous line.  So for your example game, we’d change it to:

set the dosbox_path to game_path & quoted form of “Zork Space.app/Contents/Resources/DOSBox.app/Contents/MacOS/”

21. Save your changed main.scr (File –> Save in menu or command-S).

22. Now navigate back to whatever folder is containing the ACKGameShell itself.  Rename ACKGameShell to match exactly what you entered as the name in main.scpt (you’re just doing a file rename like you would with any other file in OS X).  Following our example, you’d rename “ACKGameShell” as “Zork Space”

23. Now if you double-click your game app, it should launch DOSBox and your game!  If this doesn’t work, go back over the steps above and make sure you didn’t miss somthing.

24. After you have your standalone ACK game app working, if you want to give your app a custom icon, follow the steps here.


April 27th, 2013 |



Back from the Void

News No Comments »

So this site was down for several weeks thanks to Nexpoint implosion fiasco, but now is back up on a new, hopefully much more reliable host.

In happier ACK news:

  • There’s now a Facebook fan page for Adventure Creation Kit
  • ACK user rld has still been hard at work on his ACK-ehancing Mega-Patches
  • Garth’s Equipment Shop has resumed work on his ACK version of Wasteland as well as creating a ACK Quick Reference resource (click on the icons to navigate to each section)
  • And here’s video demo of Garth’s conversion of Metal Gear to ACK:

 

 


September 23rd, 2012 |



  • Recent Posts

    • Making a standalone OS X ACK game app
    • Back from the Void
  • Recent Comments

    • Archives

      • April 2013
      • September 2012
    • Categories

      • News
    • Meta

      • Log in
      • Entries feed
      • Comments feed
      • WordPress.org
    RSS XHTML CSS Log in
    Copyright © 2023 Adventure Creation Kit All Rights Reserved
    Wp Theme by i Software Reviews
    Proudly Powered by Wordpress