Forum

[script] Battlezone 2

Författare Svar
joe21 Wednesday 26 May 2010 at 20:15
joe21Anonymous

Wine DB page

Test PC 1: AMD Athlon 64 3000+ (2ghz single core, with 3ghz Pentium 4 performance), 1 GB DDR RAM,
Radeon HD 4650 512mb AGP, non wide screen LCD monitor
Test PC 2: Similar but with an old NVIDIA AGP,Ubuntu 9.04 and maybe a different sound chip

Tested:
* Single player modes:
- Instant action mode extensively, on 3 maps
- The first mission
* The LAN and Internet multi-player modes
* Joystick

Bugs:
* Game crashes when color depth is set to 32 bit (PC 1)
* Minor problems with menu font (PC 1 - fixed by 1.3 patch (public beta 5.1))
* Unreadable text chat font (PC 1 - fixed by 1.3 patch (public beta 5.1))
* Sometimes when this game is started, the keyboard does not respond in the pilot & saved games menus (PC 1 -
fixed by 1.3 patch (public beta 5.1))
* The backspace key does not always respond when typing (PC 1 & 2 - fixed by 1.3 patch (public beta 5.1))
* Problem with engine sound (PC 2)
* Quitting a game play mode takes me to my desktop (PC 2 - try ctrl+alt+left/right arrow key)
* A desktop panel appears when I start a game play mode (PC 2 - try alt+tab)

Internet - Yes, with playable lag (tested with 1.2 patch installed)
LAN - Yes

I was able to play this game with max graphics and a good frame rate in full screen mode with the games
maximum resolution of 1280x1024, on PC 2 with its NVIDIA card. On PC 1 with its ATI Radeon, I could not set the
color depth to 32 bit and the games fonts were messy.

The game running with max graphics in Linux

NOTE 1 : The screen shots have some graphical glitches(including mouse cursor), these are not from the game.
NOTE 2 : I was using the 640 x 480 resolution to fit the screen shot images into this post.




#!/bin/bash
# Date : (2010-05-8 18-55)
# Last revision : (2010-06-2 18-06)
# Wine version used : 1.1.44
# Distribution used to test : Ubuntu 10.04 32bit & Ubuntu 9.04 32bit
# Author : Joe21
# Licence : none
# Depend : none

[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"

POL_SetupWindow_Init "$SITE/setups/Battlezone2/BZTop.png" "$SITE/setups/Battlezone2/BZLeft.png"

POL_SetupWindow_presentation "Battlezone 2" "Pandemic Studios" "No website" "Joe21" "Battlezone2"

POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "/Setup/Setup.exe"

POL_SetupWindow_install_wine "1.1.44"
Use_WineVersion "1.1.44"

select_prefix "$REPERTOIRE/wineprefix/Battlezone2"
POL_SetupWindow_prefixcreate

PROGRAMFILES="Program Files" 
POL_LoadVar_PROGRAMFILES

Set_OS "win98"
Set_SoundDriver "oss"

POL_SetupWindow_wait_next_signal "Running Installation..." "Battlezone 2"
wine "$CDROM/Setup/Setup.exe"
POL_SetupWindow_detect_exit

POL_SetupWindow_message "Please do not go forward until the setup program is finished."

POL_SetupWindow_make_shortcut "Battlezone2" "$PROGRAMFILES/Battlezone II" "bzone.exe" "$SITE/setups/Battlezone2/BZ.ico" "Battlezone 2" "" ""

Set_WineVersion_Assign "1.1.44" "Battlezone 2"
	
POL_SetupWindow_message "Installation Successful."

POL_SetupWindow_Close

exit



Ändrat av joe21

NSLW Friday 28 May 2010 at 10:06
NSLW

Please move following
PROGRAMFILES="Program Files"
POL_LoadVar_PROGRAMFILES
after prefix creation.
joe21 Wednesday 2 June 2010 at 20:05
joe21Anonymous

I will submit this script for validation after I have tested Battlezone 2 with other wine versions.

I will also submit an install script for the 1.3 patch (public beta 5.1), I am currently testing it and have noticed some compatibility improvements, with the keyboard and font bugs being fixed. I will post this patches install script into a separate thread for feedback, before I submit it for validation.

Ändrat av joe21