projects:liflg:mojosetup
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
projects:liflg:mojosetup [2009/09/22 19:49] – rettichschnidi | projects:liflg:mojosetup [2012/02/21 19:44] (current) – [x86 and x86-64 Support] kratz00 | ||
---|---|---|---|
Line 6: | Line 6: | ||
======Problems====== | ======Problems====== | ||
- | * doesn' | + | * doesn' |
* how can we launch a shell script from within the installer? | * how can we launch a shell script from within the installer? | ||
- | * how can we copy the same behavior which is possible with loki_setup and the component tag | + | * how can we copy the same behavior which is possible with loki_setup and the component tag (there is something nasty for the downloadable Postal installers done by Ryan) |
+ | * no support for extracting Wise setup archives (*.exe) | ||
+ | * no support for extracting Microsoft cabinet files (*.cab) | ||
+ | * no support for extracting InstallShield cabinet files (*.cab) | ||
+ | * no support for 7z archives (but there is support for *.xz files) | ||
- | ====== x86 and x86-64 | + | ====== x86 and x86_64 |
- | If we have binaries for both architectures we build two installers, most likely we only have binaries | + | If we have binaries for both architectures we build two installers, most likely we only have x86 binaries, |
- | in this case we will only make a installer for x86. | + | in this case we will only make an installer for x86. |
- | It would not make sense to build a native x86_64 installer, if you need the 32 libs anyway to run the game. | + | It would not make sense to build a native x86_64 installer, if you need all the 32 bit libraries |
- | + | ||
- | * since the installer itself is a binary, there has to be a separate x64 installer to deliver x64-game-binaries | + | |
- | * it's not possible for a x86 installer to detect if its running on a x64 machine (and install the x64 binary of the game) | + | |
+ | * since the installer itself is a binary, there has to be a separate x86_64 installer to deliver x86_64 game binaries | ||
======Worth reading====== | ======Worth reading====== | ||
- | http:// | + | |
+ | Initial tech discussion about MojoSetup features:\\ | ||
+ | http:// | ||
+ | |||
+ | Documentation:\\ | ||
+ | http:// | ||
======Naming schema====== | ======Naming schema====== | ||
< | < | ||
- | $GameName_$Version-$Language.$Special-$Patchlevel_$Arch.bin | + | $GameName_$Version-$Language.$Special-$Patchlevel_$Arch.mojo.run |
</ | </ | ||
Line 32: | Line 39: | ||
* $Language: indicates in which language the game is, if it supports more than one language use // | * $Language: indicates in which language the game is, if it supports more than one language use // | ||
* $Special: normally this field can be omitted, it's used to distinguish special flavours of a game, e.g. our Serious Sam 2 installer is avaiable as a dvd, 4 cd and //Software Pyramide// dvd version (multiple words have to be separated by a dot) | * $Special: normally this field can be omitted, it's used to distinguish special flavours of a game, e.g. our Serious Sam 2 installer is avaiable as a dvd, 4 cd and //Software Pyramide// dvd version (multiple words have to be separated by a dot) | ||
- | * $Patchlevel: | + | * $Patchlevel: |
* $Arch: x86 or x86_64 | * $Arch: x86 or x86_64 | ||
- | Example 1: mohaa_1.11beta3-dutch.warchest.edition_x86.bin | + | Example 1: mohaa_1.11beta3-dutch.warchest.edition_x86 |
^ $GameName ^ $Version ^ $Language ^ $Special ^ $Patchlevel ^ $Arch ^ | ^ $GameName ^ $Version ^ $Language ^ $Special ^ $Patchlevel ^ $Arch ^ | ||
| mohaa | 1.11beta3 | dutch | warchest.edition| | x86| | | mohaa | 1.11beta3 | dutch | warchest.edition| | x86| | ||
- | Example 2: true.combat.elite_0.49b-english-4_x86_64.bin | + | Example 2: true.combat.elite_0.49b-english-4_x86_64 |
^ $GameName ^ $Version ^ $Language ^ $Special ^ $Patchlevel ^ $Arch ^ | ^ $GameName ^ $Version ^ $Language ^ $Special ^ $Patchlevel ^ $Arch ^ | ||
| true.combat.elite | 0.49b | english | | 4| x86_64| | | true.combat.elite | 0.49b | english | | 4| x86_64| | ||
- | ====Setup up MojoSetup | + | ======Installer |
- | *check out the dummy: < | + | *get a clone of the LIFLG repository: < |
- | | + | *create your working copy: < |
+ | |||
+ | *change to the directory: < | ||
| | ||
Line 62: | Line 71: | ||
*add needed files to data/ | *add needed files to data/ | ||
- | *pack the installer | + | *pack the installer: < |
#!/bin/sh | #!/bin/sh | ||
- | NAME="`pwd|rev|awk -F/ ' | + | NAME=`basename |
- | cp mojosetup* " | + | cp mojosetup* " |
- | zip -9r files.zip | + | zip - -qr9 data/ guis/ meta/ scripts/ |
- | cat files.zip | + | sha256sum |
- | rm files.zip | + | |
- | sha256sum " | + | If anybody knows why the following does not work, please let us know: |
+ | < | ||
+ | zip - -qr9 data/ guis/ meta/ scripts/ >> " | ||
+ | </ | ||
======Create the hash file====== | ======Create the hash file====== | ||
< | < | ||
- | sha256sum $Installer.bin > $Installer.bin.sha256 | + | sha256sum $Installer > $Installer.sha256 |
</ | </ | ||
+ | |||
======Signing the hash file====== | ======Signing the hash file====== | ||
< | < | ||
- | gpg -b --armor -u team@liflg.org $Installer.bin.sha256 | + | gpg -b --armor -u team@liflg.org $Installer.sha256 |
</ | </ | ||
======Bugreports by the LIFLG team====== | ======Bugreports by the LIFLG team====== | ||
Line 88: | Line 101: | ||
http:// | http:// | ||
+ | * Wrong wording vs. automatically mount install CD/DVD | ||
+ | http:// | ||
== Closed/ | == Closed/ | ||
projects/liflg/mojosetup.1253641798.txt.gz · Last modified: 2009/09/22 19:49 (external edit)