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 [2010/04/24 20:15] – kratz00 | 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 (there is something nasty for the downloadable Postal installers done by Ryan) | * 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) | ||
Line 12: | Line 12: | ||
* no support for extracting Microsoft cabinet files (*.cab) | * no support for extracting Microsoft cabinet files (*.cab) | ||
* no support for extracting InstallShield cabinet files (*.cab) | * no support for extracting InstallShield cabinet files (*.cab) | ||
- | * no support for extracting Descent 3 Mercenary | + | * no support for 7z archives |
- | * no support for lzma/7z archives | + | |
- | ====== 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====== | ||
Line 51: | Line 53: | ||
======Installer Howto====== | ======Installer Howto====== | ||
- | *check out the dummy: < | + | *get a clone of the LIFLG repository: < |
+ | |||
+ | | ||
| | ||
Line 69: | Line 73: | ||
*pack the installer: < | *pack the installer: < | ||
#!/bin/sh | #!/bin/sh | ||
- | NAME=`basename " | + | NAME=`basename " |
cp mojosetup* " | cp mojosetup* " | ||
zip - -qr9 data/ guis/ meta/ scripts/ | cat >> " | zip - -qr9 data/ guis/ meta/ scripts/ | cat >> " | ||
- | sha256sum " | + | sha256sum " |
If anybody knows why the following does not work, please let us know: | If anybody knows why the following does not work, please let us know: | ||
< | < | ||
- | zip - -qr9 data/ guis/ meta/ scripts/ >> " | + | zip - -qr9 data/ guis/ meta/ scripts/ >> " |
</ | </ | ||
projects/liflg/mojosetup.1272132950.txt.gz · Last modified: 2010/04/24 20:15 by kratz00