home *** CD-ROM | disk | FTP | other *** search
Text File | 2000-06-12 | 63.1 MB | 241,090 lines |
Text Truncated. Only the first 1MB is shown below. Download the file for the complete contents.
- #! /bin/sh
- # This garbage is normal
- skip=163
- # This script was generated using Makeself 1.5.3
- CRCsum=887330366
- MD5=00000000000000000000000000000000
- label="Myth II: Soulblighter Demo"
- script=./setup.sh
- targetdir=myth2_demo
- scriptargs=""
- keep=y
- finish=true; xterm_loop=;
- [ x"$1" = x-xwin ] && {
- finish="echo Press Return to close this window...; read junk"; xterm_loop=1; shift 1;
- }
- if [ x"$1" = "x-help" -o x"$1" = "x--help" ]; then
- cat << tac
- 1) Getting help or info about $0 :
- $0 -help Print this message
- $0 -info Print embedded info : title, default target directory, embedded script ...
- $0 -lsm Print embedded lsm entry (or no LSM)
- $0 -list Print the list of files in the archive
- $0 -check Checks integrity of the archive
-
- 2) Running $0 :
- $0 [options] [additional arguments to embedded script]
- with following options (in that order)
- -confirm Ask before running embedded script
- -keep Do not erase target directory after running embedded script
- -target NewDirectory Extract in NewDirectory
- tac
- exit 0;
- fi
- if [ x"$1" = "x-lsm" -o x"$1" = "x--lsm" ]; then
- cat << EOF_LSM
- no LSM
- EOF_LSM
- exit 0;
- fi
- if [ "$1" = "-info" ]; then
- echo Identification: $label
- echo Target directory: $targetdir
- echo Uncompressed size: 111908 KB
- echo Compression: gzip
- echo Date of packaging: Wed Mar 1 17:40:37 PST 2000
- echo script run after extraction: $script $scriptargs
- [ x"$keep" = xy ] && echo "directory $targetdir is permanent" || echo "$targetdir will be removed after extraction"
- exit 0;
- fi
- if [ "$1" = "-list" ]; then
- echo Target directory: $targetdir
- tail +$skip $0 | gzip -cd | tar tvf -
- exit 0;
- fi
- if [ "$1" = "-check" ]; then
- sum1=`tail +6 $0 | cksum | sed -e 's/ /Z/' -e 's/ /Z/' | cut -dZ -f1`
- [ $sum1 -ne $CRCsum ] && {
- echo Error in checksums $sum1 $CRCsum
- exit 2;
- }
- if [ $MD5 != "00000000000000000000000000000000" ]; then
- # space separated list of directories
- [ x"$GUESS_MD5_PATH" = "x" ] && GUESS_MD5_PATH="/usr/local/ssl/bin"
- MD5_PATH=""
- for a in $GUESS_MD5_PATH; do
- if which $a/md5 >/dev/null 2>&1 ; then
- MD5_PATH=$a;
- fi
- done
- if [ -x $MD5_PATH/md5 ]; then
- md5sum=`tail +6 $0 | $MD5_PATH/md5`;
- [ $md5sum != $MD5 ] && {
- echo Error in md5 sums $md5sum $MD5
- exit 2;
- } || { echo check sums and md5 sums are ok; exit 0; }
- fi
- if [ ! -x $MD5_PATH/md5 ]; then
- echo an embedded md5 sum of the archive exists but no md5 program was found in $GUESS_MD5_PATH
- echo if you have md5 on your system, you should try :
- echo env GUESS_MD5_PATH=\"FirstDirectory SecondDirectory ...\" $0 -check
- fi
- else
- echo check sums are OK ; echo $0 does not contain embedded md5 sum ;
- fi
- exit 0;
- fi
- if ! tty -s; then # Do we have a terminal?
- if [ x"$DISPLAY" != x -a x"$xterm_loop" = x ]; then # No, but do we have X?
- if xset q > /dev/null 2>&1; then # Check for valid DISPLAY variable
- GUESS_XTERMS="dtterm eterm Eterm xterm rxvt kvt konsole"
- for a in $GUESS_XTERMS; do
- if which $a >/dev/null 2>&1; then
- XTERM=$a
- break
- fi
- done
- chmod a+x $0 || echo Please add execution rights on $0
- if [ `echo "$0" | cut -c1` = / ]; then # Spawn a terminal!
- exec $XTERM -title "$label" -e "$0" -xwin "$@"
- else
- exec $XTERM -title "$label" -e "./$0" -xwin "$@"
- fi
- fi
- fi
- fi
- [ x"$finish" = x ] && finish=true
- if [ "$1" = "-confirm" ]; then verbose=y; shift 1; fi
- if [ "$1" = "-keep" ]; then keep=y; shift 1; fi
- if [ "$1" = "-target" -a x"$2" != x ]; then targetdir=$2; keep=y; shift 2; fi
- if [ "$keep" = y ]; then echo "Creating directory $targetdir"; tmpdir=$targetdir;
- else tmpdir="/tmp/selfgz$$"; fi
- location=`pwd`
- echo=echo; [ -x /usr/ucb/echo ] && echo=/usr/ucb/echo
- mkdir $tmpdir || {
- $echo 'Cannot create target directory' $tmpdir >&2
- $echo 'you should perhaps try option -target OtherDirectory' >&2
- eval $finish; exit 1;
- }
- $echo -n Verifying archive integrity...
- sum1=`tail +6 $0 | cksum | sed -e 's/ /Z/' -e 's/ /Z/' | cut -dZ -f1`
- [ $sum1 -ne $CRCsum ] && {
- $echo Error in check sums $sum1 $CRCsum
- eval $finish; exit 2;
- }
- echo OK
- if [ $MD5 != \"00000000000000000000000000000000\" ]; then
- # space separated list of directories
- [ x$GUESS_MD5_PATH = x ] && GUESS_MD5_PATH=\"/usr/local/ssl/bin\"
- MD5_PATH=\"\"
- for a in $GUESS_MD5_PATH; do
- if which $a/md5 >/dev/null 2>&1 ; then
- MD5_PATH=$a;
- fi
- done
- if [ -x $MD5_PATH/md5 ]; then
- md5sum=`tail +6 $0 | $MD5_PATH/md5`;
- [ $md5sum != $MD5 ] && {
- $echo Error in md5 sums $md5sum $MD5
- eval $finish; exit 2;
- }
- fi
- fi
- $echo -n "Uncompressing $label"
- cd $tmpdir
- [ "$keep" = y ] || trap 'cd /tmp; /bin/rm -rf $tmpdir; exit $res'
- if ( (cd $location; tail +$skip $0; ) | gzip -cd | tar xvof - | (while read a; do $echo -n .; done; echo; )) 2> /dev/null; then
- res=0; if [ x"$script" != x ]; then
- if [ x"$verbose" = xy ]; then
- $echo "OK to execute: $script $scriptargs $* ? [Y/n] "
- read yn
- [ x"$yn" = x -o x"$yn" = xy -o x"$yn" = xY ] && { $script $scriptargs $*; res=$?; }
- else
- $script $scriptargs $*; res=$?
- fi
- [ $res != 0 ] && echo "The program returned an error code ($res)"
- fi
- [ "$keep" = y ] || { cd /tmp; /bin/rm -rf $tmpdir; }
- else
- echo "Cannot decompress $0"; eval $finish; exit 1
- fi
- eval $finish; exit $res
- END_OF_STUB
- ï û╞╜8∞Yp╒y_╔g∙8Σ¼ A≤Γ8X╥ΘNÆ-π┴gΘ,+X÷Iº╘5µt╖½[{∩÷╪█╒I⌐à1'¢⌡╠╘tB&n╦Lg:i:éê9┘≥ ¢╢⌐MC0⌡╕:┘XJG5εa└°·}o≈N'┘x╥iC┌7s┌╖∩}∩{▀┐▀≈}∩╘ß⌡4╖yÖ▀Θ╟φr¡«»'!ñí┴àOw├*·─Å█╡╩]+«Uu⌡u.w=L╣▌½\q1ƒ├Gì+Ö&┬⌡Γ
- √,║7└ë╠ ╗Åâ|╓ºφí╬Mñ╡òln▌╥╒√┘d╛═₧ç<{I│╖m½π│ΘH7'╟)J▄╬║╨uN╚┴0q╟ò*Rδr╣Ä╬░'110Φ9Γ"æx╥6ñäA╕√ê_R┼>QΦ+£LxI&¢à¿:H┬ü8Q┬╠êóöó²QêJ@ ΓD b║¼è"ΘD8rƒ)z50ΣòD@µ¬Ñ¿8Dd.Γd╪O*ú⌐k╞rùI ΣDNªW:¡═[qÅÆÉH$ïJ6D²>"E9*a\%z(PDCt┌▓«FTQP_æσx╖¿\\1ÑÑ~!JëlPú²τîr
- ÿ
- ÆT*\<Ä¿ÑP`+ß╣Çó╩╓⌐╝0#░d▐2ºÇ¿Ä╙MU$┴ü▓└Oì⌡╦üJ≡u ≡ 7: í▐ëpüh╝èäÑ`D«┬ÇΓ@1≡Ñ≈ü%╨░u+αò└ôH!τ£:δFG3RαQDìâ\Nç├ß╚▀Θm#▐÷«╓o¢wKº▀t▌╫ë╗«Ä┤m·&±qQEP#$&KhαV ▒Dù╨└╕EµéR$é╬¡╠m»½%mHçº-╧»╓à3`$^µ8ΩzÆ╤╞±X ╚9stf╚φΓΣ('╦~ñ╓ΘrΓy╡╬Zτ`Ä┤w#pZ│:OUτ¼E⌠É£τW╣ª&ÅAñ¿α*xéfΦ╘É Y┴Rë₧≤F═╪Åé.
- éΦ¢`╡(╟╒XLÆ≡└!┴ë"¬úuï┐╙│P▌B:7┬╢Cì╥hX?╘Vúw£▓]AΓAYê 'τ╠%&s╔╠Θ╬░àQ^!╛ΓaÇ'F%▄á"é
- ╛DΓ£8 ╦éy`Pòe?$Ç[I¬ó╝é2,B/@ó\é,úτφ@ε╦fIA!╠@9mZ<m▐Ym£5tOε£H T║ⁿvH, T,è7'╒üµ_╩½_ó;páê└A!┴ béWRºGUüª YÆ<a ⌠∩G≡µ═┬2ÇP"&D┴d∙Çv*Tc@
- qè╥.ífVßYü);PX╚Ç8`6k
- Bⁿ ╪ÉÖ6¬@
- Äτ└░A≥1Qà┤7Å@╞agªb@W(j.kB
- δW1┤ ΣèbL14⌡Σ2≡l╩▀V▐]]µ─╪÷\m ô(&╓qE<Φτ¿4▄áá8÷└^t╗╥ ╪UΣqåΦÅ╨\{══A╪òé!Yèl7åLG╧═âM═[█
- ╖┼Θ6è2║¡Yê╙,eΓSτz╙▄╒ 2╥v└▌╨L'█p¥╙▄Γ)ÿê╩ÑqôOu<QAÖ╔┤╘FIó█πVφ!ö;1I≥Y@¡±▐┐NÑσcP│╨±`¼¿4äÄ49≥ó▄Eδp▌%>H┘▓»⌐Ω:╠¿≈ñ5}╚┤ÅYZ»-¼]0ü4■áí┤Y
- εé⌠8äÖ«Iæ┼ΩΩ⌐┐_╠φå╙╫çb═▌∩αbß╓?└¡BPè
- ⁿP│$ü Pó"«└≤hHJ0⌠êJ╡7è}éáìFº$╨E▐┬°2≈ö╨u└0┌oóXKq,ôàë╠ΓñH≈Yå}¼f>ókLÜ▐^g,íTò D!ΘφE- σ⌐æ>ò&'èDà╕VZó┤Üe╗PÜ*╦╓ì]e«
- ¡åZe5√æ(ñºä$∩┬ûYE╗└ò╨ÿ┼TfúÇS%┴╪/╔B┼└∞mIßWh╞Kí~m@▄hδd╫û╓^<£è√rë?╘ÅΦh┌ñ┌⌠qÉùó╚J¡(D╣╣ñ▐Rqy-ó9ó╛@päe(>w}cn╔5û╗`┘+c¬╣Üu3¼5C"é╠ä j'╧Ñhè&)F½I/ èB¼Oé3µuæ»╨MHæ9tö░Y⌠≈[&&!╩âúOU@ì╡êd┼╢Q╝└ë!lèz▌nΓ≈vv∙LV╣║bû%└δ⌡┌@ô¡(,ä╠YpδUi¼è»▄Ü
- B>*╘ÇΓ╠■NòD╒l╖qD*·╕óFë╨¥AÜé▐Éú94ö»j╜╫¼nÆó╝`F(vN╥S╨│Qå└ëF£î5B!½δ]â⌡k\Udì╦5╕·=▓█U[?╪░zì┘│ÿíb[Ç$!╥7¢F≥@╧⌡ª1╔&U╨▄ @k═uU┤!├¡f√╟╦└íOσíΣHOá╜Fò|╝«ñ╥x<ó╨G*=■ª╓╓jl:αU╚C+▒Θ@⌐hw)╧ûh*í└SFΦcLìµ»▀hΦEPZCbÿ/é¬ùZôjτ%çxÜù¢7∩Φnm÷nmεhφ÷vÇY2¢╚üÇ,ÿ▄√=¿)¿≤╝ìδ╘HÆ»GCαpl±v÷lφx:5ô#öƒ┘δïVPΓ0▀▄vJ`q≤▓RLç┼8)&óuhbñ▄BO¢%π╓▌å╓░Γàªp ╢M"▐τ═╪I╤
- ì&g>╙¢GµîKÑ└Éü
- H∩f4ZaAßr═Ñ(@┬Ö╓¥═a╒⌡é¢╬5½╩ƒ@oI╩J&W