I have big problem for patching the game for the downloader.
Patching latest 1.20 patch
Orginal patch is a found http://ubuntuone.com/0X7xY9HU099mXDP1VWyWx7
Im also shared the setup.exe file http://ubuntuone.com/7SrgDOZ2kHoku9BTFhWgHV
with md5sum is 9a48a4a599f29119d19fbce5a80a9ef7
but i can not this download working. it downloading file but says not found.
The installation program may be the fact that it does not recognize all of the files. which may be required. orginal setup files are setup.exe patchw32.dll patchinfo.str and PATCH.RTP
how can i put this all into that download program. if im put all files tar-package. How to unpacking files in program. Is there POL_unzip script???
RedFactionPatch120.tar.gz
http://ubuntuone.com/4ZL4Hugqm7qSZybothTp0Q
md5sum: 5c4d4499d24549709211e8c7b8448867
if im using a playonlinux terminal and install patch. its working.
[code]
#!/bin/bash
# Date : (2013-02-21 01-15)
# Last revision : (2013-02-21 01-15)
# Wine version used : 1.5.24
# Distribution used to test : Ubuntu 12.10
# Author : lahtis
# Script licence : GPL v.2
# Program : Retail 2-cd version
# Red Faction installer and patcher.
[ -z "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
PREFIX="RedFaction"
WORKING_WINE_VERSION="1.5.24"
TITLE="Red Faction"
EDITOR="Volition / THQ"
GAME_URL="http://community.redfaction.com"
AUTHOR="lahtis"
# Initialization
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_Debug_Init
# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
Set_OS winxp
POL_SetupWindow_VMS "256"
POL_System_TmpCreate "$PREFIX"
# Fix pulseaudio issue
which pulseaudio && Set_OS "winxp"
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
# Select virtual desktop mode on
Set_Desktop On 1024 768
POL_SetupWindow_browse "Please select the installation setup.exe file to CD-ROM." "$TITLE installation"
POL_SetupWindow_wait "Installation in progress." "$TITLE installation"
POL_Wine start /unix "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE"
# Patching latest 1.20 patch
# patch is a found http://ubuntuone.com/0X7xY9HU099mXDP1VWyWx7
# it is self-extracting file for LOCAL
# im also shared the setup.exe file http://ubuntuone.com/7SrgDOZ2kHoku9BTFhWgHV
# with md5sum is 9a48a4a599f29119d19fbce5a80a9ef7
# but i can not this download working.
POL_System_TmpCreate "RFPatchTmp"
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
POL_SetupWindow_browse "$(eval_gettext 'Select patch to execute')" "$TITLE" ""
POL_Wine start /unix "$APP_ANSWER"
POL_Wine_WaitExit
else
cd "$POL_System_TmpDir"
POL_Download "http://ubuntuone.com/7SrgDOZ2kHoku9BTFhWgHV" "9a48a4a599f29119d19fbce5a80a9ef7"
POL_SetupWindow_wait "Wait while the Red Faction 1.20 patch is downloading...\\nThis operation can take time, depending of your connexion." "$TITLE installation"
POL_Wine start /unix "setup.exe"
POL_Wine_WaitExit "$TITLE"
fi
POL_System_TmpDelete
POL_Shortcut "RedFaction.exe" "$TITLE" "$TITLE.png"
POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.\\n\\nIf the game crashes at startup, open a terminal and type:\\necho 0|sudo tee /proc/sys/kernel/yama/ptrace_scope')"
POL_SetupWindow_Close
exit 0
[/code]
Using Ubuntu 18.04.4 LTS and latest Playonlinux.
My scripts: https://github.com/lahtis/playonlinux