Du är här > Les forums > Your creations. > [script] Civilization 3
| Nytt ämne - Svara |
| Författare | Svar |
| marco_g | Måndag 24 Maj 2010 at 13:47 - [Citat] |
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 <Ändrat av marco_g |
| NSLW | Tisdag 25 Maj 2010 at 9:20 - [Citat] |
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 | Lördag 29 Maj 2010 at 18:45 - [Citat] |
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. |
135 användare online


