Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
100 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
APPTITLE="Psychonauts Installer" | ||
DATAFILE="data/PsychonautsData2.pkg" |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
-- Lines starting with "--" are comments in this file. | ||
-- You should add your installer's strings here, instead of localization.lua, | ||
-- but localization.lua has instructions on how this file is formatted. | ||
|
||
MojoSetup.applocalization = { | ||
["Uninstall complete"] = { | ||
en = "Uninstall complete. You may also delete 'Psychonauts' in your home directory to remove personal savegames and settings.", | ||
de = "Deinstallation komplett. Du kannst auch 'Psychonauts' in deinem Heimverzeichnis löschen, um eigene Spielstände und Einstellungen zu entfernen.", | ||
es = "Desinstalación completa. Puedes borrar 'Psychonauts' en tu directorio home para borrar configuraciones personales y tus juegos grabados.", | ||
pl = "Usuwanie zakończone. By usunąć zapisane stany gry i ustawienia, można również usunąć 'Psychonauts' z domowego katalogu.", | ||
it = "Disinstallazione completata. Se desideri cancellare i salvataggi e le impostazione cancella 'Psychonauts' nella tua directory home.", | ||
}; | ||
|
||
["Psychonauts README"] = { | ||
de = "Psychonauts-README", | ||
es = "LEEME", | ||
pl = "Psychonauts README", | ||
it = "Informazioni su Psychonauts", | ||
}; | ||
}; | ||
|
||
-- end of app_localization.lua ... | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
local TOTAL_INSTALL_SIZE = 5485393918; | ||
|
||
local _ = MojoSetup.translate | ||
|
||
Setup.Package | ||
{ | ||
vendor = "doublefine.com", | ||
id = "psychonauts", | ||
description = "Psychonauts", | ||
version = "1.0", | ||
splash = "splash.bmp", | ||
superuser = false, | ||
write_manifest = true, | ||
support_uninstall = true, | ||
recommended_destinations = | ||
{ | ||
MojoSetup.info.homedir, | ||
"/opt/games", | ||
"/usr/local/games" | ||
}, | ||
|
||
Setup.Readme | ||
{ | ||
description = _("Psychonauts README"), | ||
source = _("README-linux.txt") | ||
}, | ||
|
||
Setup.Option | ||
{ | ||
-- !!! FIXME: All this filter nonsense is because | ||
-- !!! FIXME: source = "base:///some_dir_in_basepath/" | ||
-- !!! FIXME: doesn't work, since it wants a file when drilling | ||
-- !!! FIXME: for the final archive, not a directory. Fixing this | ||
-- !!! FIXME: properly is a little awkward, though. | ||
|
||
value = true, | ||
required = true, | ||
disabled = false, | ||
bytes = TOTAL_INSTALL_SIZE, | ||
description = "Psychonauts", | ||
|
||
Setup.File | ||
{ | ||
wildcards = "*"; | ||
filter = function(dest) | ||
if dest == "Psychonauts" then | ||
return dest, "0755" -- make sure it's executable. | ||
end | ||
if dest == "libSDL-1.2.so.0" then | ||
return dest, "0755" -- make sure it's executable. | ||
end | ||
if dest == "libopenal.so.1" then | ||
return dest, "0755" -- make sure it's executable. | ||
end | ||
return dest -- everything else just goes through as-is. | ||
end | ||
}, | ||
|
||
Setup.DesktopMenuItem | ||
{ | ||
disabled = false, | ||
name = "Psychonauts", | ||
genericname = "Psychonauts", | ||
tooltip = _("A mind-bending platforming adventure"), | ||
builtin_icon = false, | ||
icon = "psychonauts.png", | ||
commandline = "%0/Psychonauts", | ||
workingdir = "%0", | ||
category = "Game" | ||
} | ||
} | ||
} | ||
|
||
-- end of config.lua ... | ||
|