User Tools

Site Tools


projects:liflg:mojosetup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:liflg:mojosetup [2010/01/26 18:06] kratz00projects:liflg:mojosetup [2012/02/21 19:44] (current) – [x86 and x86-64 Support] kratz00
Line 6: Line 6:
  
 ======Problems====== ======Problems======
-  * doesn't create a symlink which points to the startscript of the game (https://bugzilla.icculus.org/show_bug.cgi?id=3129)+  * doesn't create a symbolic link which points to the start script of the game (https://bugzilla.icculus.org/show_bug.cgi?id=3129)
   * 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 archives +  * no support for 7z archives (but there is support for *.xz files)
-  * no support for extracting Theocracy archives +
-  no support for lzma/7z archives+
  
-====== x86 and x86-64 Support====== +====== x86 and x86_64 Support====== 
-If we have binaries for both architectures we build two installers, most likely we only have binaries for x86+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 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 anyway to run the game.
- +
-  * 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://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?61:mas:17:lindjbjfokpddaijpfbp+ 
 +Initial tech discussion about MojoSetup features:\\  
 +http://icculus.org/pipermail/lokisetup/2007-May/000810.html 
 + 
 +Documentation:\\  
 +http://hg.icculus.org/icculus/mojosetup/raw-file/tip/docs.txt
  
 ======Naming schema====== ======Naming schema======
  
 <code> <code>
-$GameName_$Version-$Language.$Special-$Patchlevel_$Arch+$GameName_$Version-$Language.$Special-$Patchlevel_$Arch.mojo.run
 </code> </code>
  
Line 52: Line 53:
 ======Installer Howto====== ======Installer Howto======
  
-   *check out the dummy: <code> svn export svn://svn.linux-gamers.net/liflg/trunk/mojosetup_dummy $DIRNAME-ACCORDING-TO-THE-NAMING-SCHEMA</code>+   *get a clone of the LIFLG repository: <code>hg clone https://kratz00.org/hg/liflg/</code> 
 + 
 +   *create your working copy: <code>cp -pr liflg/mojosetup_dummy$DIRNAME-ACCORDING-TO-THE-NAMING-SCHEMA</code>
  
    *change to the directory: <code>cd $DIRNAME-ACCORDING-TO-THE-NAMING-SCHEMA</code>    *change to the directory: <code>cd $DIRNAME-ACCORDING-TO-THE-NAMING-SCHEMA</code>
Line 70: Line 73:
    *pack the installer: <code>    *pack the installer: <code>
 #!/bin/sh #!/bin/sh
-NAME=`basename "$PWD"`+NAME=`basename "$PWD".mojo.run`
 cp mojosetup* "$NAME" cp mojosetup* "$NAME"
 zip - -qr9 data/ guis/ meta/ scripts/ | cat >> "$NAME" zip - -qr9 data/ guis/ meta/ scripts/ | cat >> "$NAME"
-sha256sum "$NAME" > "$NAME".sha256 </code>+sha256sum "$NAME" > "$NAME".sha256</code>
  
 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:
 <code> <code>
-zip - -qr9 data/ guis/ meta/ scripts/ >> "$NAME"+zip - -qr9 data/ guis/ meta/ scripts/ >> "$NAME".mojo.run
 </code> </code>
  
projects/liflg/mojosetup.1264525589.txt.gz · Last modified: 2010/01/26 18:06 by kratz00