Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente | |||
lokigames:shogo [2024/04/22 17:47] – twolife | lokigames:shogo [2024/04/22 17:48] (Version actuelle) – twolife | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | ====== | ||
+ | |||
+ | ===== Install the game ===== | ||
+ | |||
+ | To install the required util : | ||
+ | < | ||
+ | # apt-get install patchelf | ||
+ | </ | ||
+ | |||
+ | To install the game, mount your CD & run the installer with '' | ||
+ | < | ||
+ | # mount /dev/cdrom / | ||
+ | $ cd / | ||
+ | $ linux32 ./ | ||
+ | </ | ||
+ | |||
+ | ===== Register the game ===== | ||
+ | The file '' | ||
+ | |||
+ | The hard part in today' | ||
+ | |||
+ | After that it's easy: | ||
+ | < | ||
+ | ./ | ||
+ | </ | ||
+ | |||
+ | ===== Hack hack hack ===== | ||
+ | |||
+ | Patch the binaries to use (system provided) SDL1.2 instead of the bundled SDL1.1 | ||
+ | < | ||
+ | patchelf --replace-needed libSDL-1.1.so.0 libSDL-1.2.so.0 cdaudio.dll | ||
+ | patchelf --replace-needed libSDL-1.1.so.0 libSDL-1.2.so.0 client | ||
+ | patchelf --replace-needed libSDL-1.1.so.0 libSDL-1.2.so.0 shogolauncher | ||
+ | rm libsmpeg-0.4.so.0 libfreetype.so.6 libSDL-1.1.so.0 | ||
+ | </ | ||
+ | |||
+ | Bypass the anti-copy protection: | ||
+ | < | ||
+ | mkdir custom files | ||
+ | truncate -s 207618048 files/ | ||
+ | </ | ||
+ | |||
+ | ===== Replace the startup script ===== | ||
+ | Replace the provided startup script '' | ||
+ | < | ||
+ | #!/bin/sh | ||
+ | export SHOGODIR=" | ||
+ | export SHOGO_MOVIEPATH=" | ||
+ | export SHOGO_CDROM=" | ||
+ | |||
+ | if ! test -d ~/.hyperion ; then | ||
+ | echo Creating directory ~/.hyperion | ||
+ | mkdir ~/.hyperion | ||
+ | fi | ||
+ | |||
+ | if ! test -d ~/ | ||
+ | echo Creating directory ~/ | ||
+ | mkdir ~/ | ||
+ | fi | ||
+ | |||
+ | if ! test -e ~/ | ||
+ | echo Creating default autoexec.cfg file | ||
+ | echo '" | ||
+ | cat $SHOGODIR/ | ||
+ | fi | ||
+ | |||
+ | if ! test -e ~/ | ||
+ | echo Creating default settings file | ||
+ | cp $SHOGODIR/ | ||
+ | fi | ||
+ | |||
+ | if ! test -d ~/ | ||
+ | echo " | ||
+ | mkdir ~/ | ||
+ | fi | ||
+ | |||
+ | cd $SHOGODIR | ||
+ | |||
+ | if ! test -e $SHOGO_CDROM/ | ||
+ | ./ | ||
+ | exit | ||
+ | fi | ||
+ | |||
+ | cmdline=`./ | ||
+ | |||
+ | if test -z " | ||
+ | exit | ||
+ | fi | ||
+ | |||
+ | export MESA_EXTENSION_MAX_YEAR=2002 | ||
+ | export _ _GL_ExtensionStringVersion=17700 | ||
+ | |||
+ | eval " | ||
+ | |||
+ | unset LD_PRELOAD | ||
+ | unset _ _GL_ExtensionStringVersion | ||
+ | unset MESA_EXTENSION_MAX_YEAR | ||
+ | |||
+ | rm >/ | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ===== Prevent a game crash ===== | ||
+ | '' | ||
+ | |||
+ | This is due to a change in '' | ||
+ | |||
+ | ==== Option a ==== | ||
+ | You can use a little [[https:// | ||
+ | |||
+ | < | ||
+ | |||
+ | ==== Option b ==== | ||
+ | The missing function can be found in a //very// old '' | ||
+ | |||
+ | < | ||