Estas Aqui > Les forums > Your creations. > [script] Civilization 3
| Nuevo tema - Responder |
| Autor | Respuestas |
| marco_g | Lunes 24 Mayo 2010 a las 13:47 - [Citar] |
Membre![]() |
Here is a script to install Civilization 3. Unfortunately the game has to run in a virtual desktop and the menus are very slow. Does this have to be documented somewhere?
#!/bin/bash
# Date : (2010-05-29)
# Last revision : (2010-05-29)
# Wine version used : 1.0.1
# Distribution used to test : Ubuntu 9.10
# Author : Marco Gerards
# Licence : GPLv3
# Depend : none
# Tested with Civilization 3, version 1.07f
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="Civilization 3"
AUTHOR="Marco Gerards"
PREFIX="Civilization3"
PREFIXDIR="$REPERTOIRE/wineprefix/$PREFIX"
WORKINGWINEVERSION="1.0.1"
POL_SetupWindow_make_icon_for_shortcut()
{
convert "$HOME/.local/share/icons/$2" -geometry 32X32 "$REPERTOIRE/icones/32/$1"
}
wget http://upload.wikimedia.org/wikipedia/en/7/7a/Civilization_III_Coverart.png --output-document="$REPERTOIRE/tmp/leftnotscaled.png"
convert "$REPERTOIRE/tmp/leftnotscaled.png" -scale 150x356\! "$REPERTOIRE/tmp/left.jpeg"
POL_SetupWindow_Init "" "$REPERTOIRE/tmp/left.jpeg"
POL_SetupWindow_presentation "$TITLE" "Firaxis" "http://www.firaxis.com/" "$AUTHOR" "$PREFIX"
select_prefix "$PREFIXDIR"
# Let the user select a CDROM
POL_SetupWindow_cdrom
# Check if this CDROM is the Civilization 3 CDROM
POL_SetupWindow_check_cdrom "/Civilization3.exe"
POL_SetupWindow_install_wine "$WORKINGWINEVERSION"
Use_WineVersion "$WORKINGWINEVERSION"
POL_SetupWindow_prefixcreate
cat <Editado por: marco_g |
| NSLW | Martes 25 Mayo 2010 a las 9:20 - [Citar] |
Membre![]() ![]() |
What's that?
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Infogrames Interactive/Civilization III" cp LSANS.TTF LSANS.fot Citation: Unfortunately the game has to run in a virtual desktop and the menus are very slow. Does this have to be documented somewhere? If you wish you can add info message about mouse behaviour Does the game need NO-CD? |
| marco_g | Sabado 29 Mayo 2010 a las 18:45 - [Citar] |
Membre![]() |
Citation de NSLW: What's that? This is a work around for http://bugs.winehq.org/show_bug.cgi?id=3498 Citation de NSLW:
I have added a message to the updated script above. Citation de NSLW:
No, this is not required for this game or any of the games for which I created a script. |
156 Usuarios Conectados


