Skapa ett program paket för Mac OS spel ScummVM
av Chloe 18 oktober, 2009 i kategorin Datorer, Tutorial
Syftet med den här guiden: att hjälpa dig att skapa ett Application Bundle OSX transporter, resande på andra system, att spela SCUMM spel, hålla sina säkerhetskopior i ansökningarna, för att undvika spridning bortom denna fil. Detta är idealiskt om du gör dessa spel på ett CF-kort eller USB-minne till exempel.
Skapa. App
Öppna programmet Terminal (Utilities / Terminal). Skapa en katalog 'MyScummGame.app';
mkdir MyScummGame.app
Skapa filhierarkin
mkdir-p "Contents / MacOS / '# kommer att innehålla den binära mkdir-p "Contents / Resources / game" # kommer att innehålla speldata mkdir-p "Contents / Resources / sparar '# innehåller säkerhetskopior av spelet
Skapa sedan en fil ikoner. Hitta en skärmdump, en PNG-ikon eller vad som helst och med all programvara som kan göra det, konvertera den till ikonen. Icns. Game.icns Namnge filen och flytta den till destination "Contents / Resources / game.icns"
cp ~ / Pictures / monIcone.icns Contents / Resources / game.icns Sedan flytta spelet data i SCUMM Contents / Resources / game /
cp-R ~ / monJeuScumm / * Contents / Resources / game / Rip ScummVM.app (inbilla sig att han är i rotkatalogen för användaren) filen scummvm och flytta den till den katalog Contents / MacOS /
cp ~ / ScummVM.app / Contents / MacOS / scummvm Contents / MacOS / Här är en lista på spel för den nuvarande versionen av SCUMM (1.0.0rc143760). Det måste återspegla värdet "Game ID"
Fullständig titel Game ID -------------------- ------------------------------ ------------------------ Atlantis Indiana Jones and the Fate of Atlantis indy3 Indiana Jones och det sista korståget Loom Loom Maniac Mansion Monkey galning The Secret of Monkey Island Monkey2 Monkey Island 2: LeChuck's Revenge passera samnmax Passport to Adventure Sam & Max Hit the Road Day of the Tentacle Tentacle Zak Zak McKracken och Alien Mindbenders ft Full Throttle Den DIG DIG comi The Curse of Monkey Island verksamhet 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 Fogar paraden flygplatsen Let's Explore the Airport med Buzzy arttime Blue's Art fritidsaktiviteter ballong Putt-Putt och Pep's Balloon-O-Rama baseball2001 Baseball Backyard Baseball Backyard Baseball 2001 Baseball2003 Backyard Baseball 2003 Backyard Basket Basket Blues123Time Blue's 123 fritidsaktiviteter BluesABCTime Blue's ABC fritidsaktiviteter Blue födelsedag BluesBirthday Adventure BluesTreasureHunt Blue's Treasure Hunt sortiment Humongous Interactive Catalog Chase SPION Fox i Cheese Chase Farm Let's Explore gården med Buzzy football2002 Football Backyard Football Backyard Football 2002 Freddi Freddi Fisk 1: The Case of the freddi2 Missing Kelp Seeds Freddi Fisk 2: The Case of the Haunted Schoolhouse freddi3 Freddi Fisk 3: Fallet med den stulna Conch Shell freddi4 Freddi Fisk 4: The Case of the Hogfish Rustlers av Briny Gulch freddicove Freddi Fisk 5: The Case of the Creature FreddisFunShop av Coral Cave Freddi Fisk One-Stop-Shop Fun djungel Let's Explore the Jungle med Buzzy Pajama Sam's Lost & Found Lost labyrint Freddi Fisk och Luthers Maze Madness Moonbase Moonbase Commander senap SPION Fox i Håll Senap pajama Pajama Sam 1: No Need to Hide När det är mörkt ute pajama2 Pajama Sam 2: Thunder and Lightning Är inte så skrämmande pajama3 Pajama Sam 3: Du blir vad du äter från huvudet på fötterna pjgames Pajama Sam: spel på en viss dag puttcircus Putt-Putt Fogar Circus puttrace Putt-Putt Öppnar Race PuttsFunShop Putt-Putt One-Stop-Shop Fun putttime Putt-Putt Travels Through Time puttzoo Putt-Putt Saves the Zoo readtime Blue's Reading fritidsaktiviteter SamsFunShop Pajama Sam's One-Stop-Shop Fun Soccer2004 Fotboll Backyard Soccer Backyard Soccer 2004 SoccerMLS Backyard Soccer MLS Edition strumpor Pajama Sam's Sock Works SPYFOX SPION Fox 1: Dry Cereal spyfox2 SPION Fox 2: Some Assembly Required spyozon SPION Fox 3: Operation Ozon thinker1 Big Thinkers första klass Big Thinkers Förskola thinkerk vatten Freddi Fisk och Luthers Vatten Worries handlat Sierra AGI spel Elvira1 Elvira - Mistress of the Dark elvira2 Elvira II - Jaws of Cerberus Waxworks Waxworks simon1 Simon the Sorcerer 1 simon2 Simon the Sorcerer 2 Feeble Files svaga DIMP Demon in My Pocket Jumble Jumble pussel NoPatience sumpig Swampy Adventures cine Kinematik evo.1 spelmotor kryssning Kinematik evo.2 spelmotor drascula Drascula: The Vampire Strikes Back gob Gob Groove Groove spelmotor spelmotor kyra1 Legenden om Kyrandia kyra2 The Legend of Kyrandia: The Hand of Fate kyra3 The Legend of Kyrandia: Malcolm's Revenge of locka Lure The Temptress Made Made parallactic parallactic spelmotor spelmotor drottning Flight of the Amazon Queen spelet saga SAGA Engine himmel 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) afton afton spelmotor nyckel Touche: The Adventures of femte Musketeer Tucker Bud Tucker in Double Trouble Skapa en wrapper fil (bash-script) som kommer att användas för att köra med ScummVM Spelinställningar förkonfigurerad:
nano Contents / MacOS / scumm_w Sätt in denna fil med följande innehåll, som ersätter information från motsvarande värden i ditt fall (det bör återspegla ID föregående spel).
/ Bin / bash BESKRIVNING = "Beskrivningen av spelet" ID_JEU = "Game ID" # exempelvis, FT Full Throttle echo "Starting game $ description" ThePath = 0 $; echo "$ thePath"; Thed = $ (katalognamn "$ thePath"); Updir = "$ Thed /../" SavePath = "$ updir / Resources / sparar" mkdir-p "$ SavePath" GAMEPATH = "$ updir / Resources / game /" "$ Thed / scummvm - savepath =" $ SavePath "- path =" $ GAMEPATH "$ ID_JEU echo "Ran The Game $ description"
Gör den här filen körbar
chmod + x Contents / MacOS / scumm_w Nu ska vi skapa Info.plist, MacOS, som talar om hur du kör programmet.
nano Contents / Info.plist Komplett med följande 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> Spelbeskrivning </ 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>
Den. App bör nu vara körbara. Om detta inte är fallet, gör en kopia och testa kopian.







