Hi,
Maybe you're experiencing some driver issue.
About the script, right now it contains lots of unused statements:
#return = local path to scaled image
get_image() {
URL=$1
wget $URL --output-document="$REPERTOIRE/tmp/leftnotscaled.jpeg"
convert "$REPERTOIRE/tmp/leftnotscaled.jpeg" -scale 150x356\! "$REPERTOIRE/tmp/left.jpeg"
echo "$REPERTOIRE/tmp/left.jpeg"
}
Unused code, not to mention that those days we prefer hosting images on the server rather than use ugly code in scripts. When the script is ready, just provide some link to a copy of the scaled gfx and I'll put it on the server.
#return = path to game.exe
get_gameexe() {
cd $WINEPREFIX/drive_c && find . -name kb.exe
}
Unused code
#set properties and forget
install_configuration(){
Set_GLSL On
}
Unused code
install_directx(){
...
Unused and totally outdated code, use "function" scripts to install DirectX
POL_SetupWindow_wait_next_signal "Setting configuration properties" "$TITLE installation"
#install_configuration
#POL_Wine_Direct3D UseGLSL
POL_SetupWindow_detect_exit
Since this call is commented out, you can remove all that
#install_directx
#POL_Call POL_Install_d3dx9
#POL_Call POL_Install_d3dx9_36
Dead code
POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dx9_36
PoL_Call POL_Install_d3dx10
PoL_Call POL_Install_d3dx11
last two commands don't work because the case is wrong (must be POL in uppercase). So if installation works as-is, you didn't need them
POL_Shortcut "kb.exe" "$SHORTCUT_NAME" "gfw_high.ico" "" "Game;StrategyGame;"
Third parameter is the name of the file to get from the server, so a local filename doesn't work. If you get the right icon you don't need it.
Regards,
Pierre.
Edited by petch