Abrir menu principal

UESPWiki β

Alterações

Redguard:Extracting game data

4 255 bytes adicionados, 15h07min de 23 de outubro de 2014
m
redundant cat
{{Trail}}{{Peer review}}
While ''Redguard'' can be [[General:Playing DOS Installments under DOSBox|played with DOSBox]], the game's data files can only be extracted with a Windows-based installer. This article attempts to act as a how-to for extracting said files with alternative tools so those unable or unwilling to use the installer can nevertheless access the files contained within the installation archive and get off on the right foot playing ''Redguard'' in DOSBox.

==In Linux==
Linux systems vary wildly in their make-up, and thus it is impossible to tailor this article to every possible set-up. Instead, this guide will assume, for the sake of simplicity, a typical system with common tools (namely either <code>apt-get</code> or <code>yum</code>) and adequately-populated software repositories. This guide also assumes DOSBox is already set up properly with game files kept under <code>~/DOS/</code> and assumes the Redguard install disc is mounted at <code>/media/cdrom/</code>.

If this guide does not work for you, consult your operating system documentation and search the Web ''before'' asking for help here.

===Using unshield===
<code>unshield</code> is a terminal-based tool for extracting InstallShield archives. Thus, you will first need to open a terminal window. Some sort of terminal emulator is usually installed by default, such as <code>xterm</code>, <code>kterm</code> or <code>gnome-terminal</code>.

# Open a terminal window.
# Install unshield:
#* <code>sudo apt-get install unshield</code> (for APT)
#* <code>sudo yum install unshield</code> (for yum)
# Create a temporary directory for Redguard and change to it: <code>mkdir ~/redguard && cd ~/redguard</code>
# Extract the Redguard data files: <code>unshield -g "Common Files" x /media/cdrom/DATA1.CAB</code>
# Copy the Redguard executables: <code>cp /media/cdrom/Rg*.exe ./Common_Files/</code>
# Move data to DOSBox directory: <code>mv Common_Files ~/DOS/redguard</code>
# Clean up: <code>cd .. && rmdir redguard</code>

'''NOTE:''' ''This method extracts both the software and Glide versions of Redguard. Users wishing to save space may wish to remove the artwork directory for the version they do not intend to use: "3dart" contains the software renderer files and "fxart" contains the Glide files.''

==In Mac OS X==
This guide will assume, for the sake of simplicity, DOSBox is already set up properly with game files kept under <code>~/DOS/</code> and assumes the Redguard install disc is mounted at <code>/Volumes/Redguard/</code>.

===Using unshield===
# [[:File:Unshield-mac.zip|Download]] and install unshield.
# Open Terminal.app (<code>/Applications/Utilities/Terminal.app</code>).
# Create a temporary folder for Redguard and change to it: <code>mkdir ~/redguard && cd ~/redguard</code>
# Extract the Redguard data files: <code>unshield -g "Common Files" x /Volumes/Redguard/DATA1.CAB</code>
# Copy the Redguard executables: <code>cp /Volumes/Redguard/Rg*.exe ./Common_Files/</code>
# Move data to DOSBox data folder: <code>mv Common_Files ~/DOS/redguard</code>
# Clean up: <code>cd .. && rmdir redguard</code>

'''NOTE:''' ''This method extracts both the software and Glide versions of Redguard. Users wishing to save space may wish to remove the artwork folder for the version they do not intend to use: "3dart" contains the software renderer files and "fxart" contains the Glide files.''

==In Windows==
For simplicity's sake this guide assumes DOSBox is already set up, that game data files are kept in <code>C:\Documents\DOS\</code> and that your CD/DVD drive is <code>D:</code>.

===Using i5comp===
# Download [ftp://ftp.sac.sk/pub/sac/pack/i5comp21.rar i5comp] and extract it to somewhere in the path (eg. <code>C:\Windows\</code>).
# Open a terminal window: press Win-R and run <code>cmd</code>.
# Create directory for Redguard and switch to it: <code>md "C:\Documents\DOS\redguard" && cd /d "C:\Documents\DOS\redguard"</code>
# Extract common files: <code>i5comp x -r -g"Common Files" D:\data1.cab</code>
# Copy executable and extract art files:
#* <code>copy D:\rg.exe && i5comp x -r -g"Xngine Art" D:\data1.cab</code> (for software renderer)
#* <code>copy D:\rgfx.exe && i5comp x -r -g"3DFX Art" D:\data1.cab</code> (for Glide renderer)
Blockers, Patrulhadores
25 581
edições