Create an application bundle for Mac OS games ScummVM
by Chloe October 18, 2009 in the category Computers, Tutorial
The purpose of this tutorial: to help you create an Application Bundle OSX transport, traveling on other systems, to play Scumm games, keeping his backups in applications, to avoid dispersion beyond this file. This is ideal if you carry these games on a CF card or USB stick for example.
Creating the. App
Open the Terminal application (Utilities / Terminal). Create a directory 'MyScummGame.app';
mkdir MyScummGame.app
Create the file hierarchy
mkdir-p 'Contents / MacOS /' # will contain the binary mkdir-p 'Contents / Resources / game' # will contain the game data mkdir-p 'Contents / Resources / saves' # will contain backups of the game
Then create a file icons. Find a screenshot, a PNG icon or anything and with any software that can do it, convert it into icon. Icns. Game.icns Name the file and move it to the destination 'Contents / Resources / game.icns'
cp ~ / Pictures / monIcone.icns Contents / Resources / game.icns Then, move the game data in Scumm Contents / Resources / game /
cp-R ~ / monJeuScumm / * Contents / Resources / game / Rip ScummVM.app (imagining that he is in the root directory of the user) the file scummvm and move it to the directory Contents / MacOS /
cp ~ / ScummVM.app / Contents / MacOS / scummvm Contents / MacOS / Here is a list of games for the current version of Scumm (1.0.0rc143760). It must reflect the value "Game ID"
Full Title Game ID -------------------- ------------------------------ ------------------------ Atlantis Indiana Jones and the Fate of Atlantis indy3 Indiana Jones and the Last Crusade Loom Loom Maniac Mansion Monkey maniac The Secret of Monkey Island Monkey2 Monkey Island 2: LeChuck's Revenge pass samnmax Passport to Adventure Sam & Max Hit the Road Day of the Tentacle Tentacle zak Zak McKracken and the Alien Mindbenders ft. Full Throttle The Dig dig comi The Curse of Monkey Island activity Putt-Putt & Fatty Bear's Activity Pack brstorm Bear Stormin 'fbear Fatty Bear's Birthday Surprise fbpack Fatty Bear's Fun Pack Funpack Putt-Putt's Fun Pack Putt-puttmoon Putt Goes To The Moon puttputt Putt-Putt Joins the Parade airport Let's Explore the Airport with Buzzy arttime Blue's Art Time Activities balloon Putt-Putt and Pep's Balloon-O-Rama baseball2001 Baseball Backyard Baseball Backyard Baseball 2001 Baseball2003 Backyard Baseball 2003 Backyard Basketball Basketball Blues123Time Blue's 123 Time Activities BluesABCTime Blue's ABC Time Activities Blue's Birthday BluesBirthday Adventure BluesTreasureHunt Blue's Treasure Hunt catalog Humongous Interactive Catalog Chase SPY Fox in Cheese Chase Farm Let's Explore the Farm with Buzzy football2002 Football Backyard Football Backyard Football 2002 Freddi Freddi Fish 1: The Case of the freddi2 Missing Kelp Seeds Freddi Fish 2: The Case of the Haunted Schoolhouse freddi3 Freddi Fish 3: Case Of The Stolen Conch Shell freddi4 Freddi Fish 4: The Case of the Hogfish Rustlers of Briny Gulch freddicove Freddi Fish 5: The Case of the Creature FreddisFunShop of Coral Cave Freddi Fish's One-Stop Fun Shop jungle Let's Explore the Jungle with Buzzy Pajama Sam's Lost & Found Lost maze Freddi Fish and Luther's Maze Madness Moonbase Moonbase Commander mustard SPY Fox in Hold the Mustard pajama Pajama Sam 1: No Need to Hide When It's Dark Outside pajama2 Pajama Sam 2: Thunder and Lightning Are not So Frightening pajama3 Pajama Sam 3: You Are What You Eat From Your Head to Your Feet pjgames Pajama Sam: Games to Play On Any Day puttcircus Putt-Putt Joins the Circus puttrace Putt-Putt Enters the Race PuttsFunShop Putt-Putt's One-Stop Fun Shop putttime Putt-Putt Travels Through Time puttzoo Putt-Putt Saves the Zoo readtime Blue's Reading Time Activities SamsFunShop Pajama Sam's One-Stop Fun Shop Soccer2004 Soccer Backyard Soccer Backyard Soccer 2004 SoccerMLS Backyard Soccer MLS Edition socks Pajama Sam's Sock Works SPYFOX SPY Fox 1: Dry Cereal spyfox2 SPY Fox 2: Some Assembly Required spyozon SPY Fox 3: Operation Ozone thinker1 Big Thinkers First Grade Big Thinkers Kindergarten thinkerk water Freddi Fish and Luther's Water Worries acted Sierra AGI game Elvira1 Elvira - Mistress of the Dark elvira2 Elvira II - The Jaws of Cerberus Waxworks Waxworks simon1 Simon the Sorcerer 1 simon2 Simon the Sorcerer 2 The Feeble Files feeble DIMP Demon in My Pocket Jumble Jumble puzzle NoPatience swampy Swampy Adventures cine Kinematics evo.1 game engine cruise Kinematics evo.2 game engine drascula Drascula: The Vampire Strikes Back gob Gob Groove Groove game engine game engine kyra1 The Legend of Kyrandia kyra2 The Legend of Kyrandia: The Hand of Fate kyra3 The Legend of Kyrandia: Malcolm's Revenge of lure Lure The Temptress Made Made parallactic parallactic game engine game engine queen Flight of the Amazon Queen game saga SAGA Engine sky Beneath a Steel Sky sword1 Broken Sword 1: The Shadow of the Templars sword1demo Broken Sword 1: The Shadow of the Templars (Demo) Broken sword1mac 1 Sword: The Shadow of the Templars (Mac) sword1macdemo Broken Sword 1: The Shadow of the Templars (Mac Demo) sword1psx Broken Sword 1: The Shadow of the Templars (PlayStation) sword1psxdemo Broken Sword 1: The Shadow of the Templars (PlayStation demo) sword2 Broken Sword 2: The Smoking Mirror sword2alt Broken Sword 2: The Smoking Mirror (alt) sword2psx Broken Sword 2: The Smoking Mirror (PlayStation) sword2psxdemo Broken Sword 2: The Smoking Mirror (PlayStation / Demo) sword2demo Broken Sword 2: The Smoking Mirror (Demo) Tinsel Tinsel game engine key Touche: The Adventures of the Fifth Musketeer Tucker Bud Tucker in Double Trouble Create a wrapper file (bash script) which will be used to run with ScummVM Game Options preconfigured:
nano Contents / MacOS / scumm_w Insert into this file the following contents, replacing the information by the relevant values in your case (it should reflect the ID of the previous game).
/ bin / bash DESCRIPTION = "The description of the game" ID_JEU = "Game ID" # eg, FT for Full Throttle echo "Starting game $ DESCRIPTION" ThePath = $ 0; echo "$ thePath"; THED = $ (dirname "$ thePath"); Updir = "$ THED /../" SavePath = "$ updir / Resources / saves" mkdir-p "$ SavePath" GAMEPATH = "$ updir / Resources / game /" "$ THED / scummvm - savepath =" $ SavePath "- path =" $ GAMEPATH "$ ID_JEU echo "Ran The Game $ DESCRIPTION"
Make this file executable
chmod + x Contents / MacOS / scumm_w Now we will create the Info.plist, MacOS, which tells how to run the application.
nano Contents / Info.plist Complete with the following information:
xml version = "1.0" encoding = "UTF-8"? DOCTYPE plist PUBLIC "- / / Apple / / DTD PLIST 1.0 / / EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key> CFBundleDisplayName </ key> <string> Game description </ string> <key> CFBundleExecutable </ key> <string> scumm_w </ string> <key> CFBundleIconFile </ key> <string> game.icns </ string> <key> CFBundleIdentifier </ key> <string> com.scumm.identifiant_du_jeu </ string> <key> CFBundleName </ key> <string> identifiant_du_jeu </ string> <key> CFBundlePackageType </ key> <string> APPL </ string> <key> CFBundleShortVersionString </ key> <string> 1.0 </ string> <key> NSAppleScriptEnabled </ key> <string> false </ string> <key> NSHumanReadableCopyright </ key> Copyleft <string> Pirate, Inc.. </ string> <key> NSPrincipalClass </ key> <string> NSApplication </ string> </ dict> </ plist>
The. App should now be executable. If this is not the case, make a copy and test the copy.







