Step 1: If you have Debian 6+ skip this step
Debian 5(What Trulys Server uses) and older debian versions:
Open your apt repositories using
vi /etc/apt/sources.list
You will see some old repos that don't exist anymore.
Press a to activate insert mode
Remove the lines that exist
Replace with
deb
http://archive.debian.org/debian lenny main contrib non-free
EDIT: Press the esc key to exit insert mode then press : followed by x then enter.
Replacing Lenny with your Debian distro is you have something older than Debian 5.
Step 2:
Issue the following commands
pressing y to all questions
apt-get update
apt-get upgrade
apt-get install fluxbox
apt-get install wine
wget http://winetricks.org/winetricks
mv winetricks /bin/
chmod +x /bin/winetricks
apt-get install cabextract
apt-get install vnc4server
apt-get install proftpd
apt-get install xterm
rmdir /var/www/
useradd /home/ftpuser -s /bin/bash -c "Name FTPUserAccount" ftpuser
mkdir /home/ftpuser
mkdir /home/ftpuser/www
mkdir /home/ftpuser/server
chown -R ftpuser /home/ftpuser/
ln -s /home/ftpuser/www /var/www
ln -s /home/ftpuser/server /root/server
cd /root/.wine/drive_c/windows
wget http://saints-rpgwo.co.cc/backbone/COMCTL32.OCX
wget http://saints-rpgwo.co.cc/backbone/COMDLG32.OCX
wget http://saints-rpgwo.co.cc/backbone/dx7vb.dll
wget http://saints-rpgwo.co.cc/backbone/MSCOMCTL.OCX
wget http://saints-rpgwo.co.cc/backbone/MSINET.OCX
wget http://saints-rpgwo.co.cc/backbone/MSMAPI32.OCX
wget http://saints-rpgwo.co.cc/backbone/MSSTDFMT.dll
wget http://saints-rpgwo.co.cc/backbone/Msvbvm60.dll
wget http://saints-rpgwo.co.cc/backbone/MSWINSCK.OCX
wget http://saints-rpgwo.co.cc/backbone/Richtx32.ocx
wget http://saints-rpgwo.co.cc/backbone/TABCTL32.OCX
cd ~
wget http://saints-rpgwo.co.cc/backbone/setup.exe
wget http://saints-rpgwo.co.cc/backbone/Client.CAB
wget http://saints-rpgwo.co.cc/backbone/SETUP.LST
passwd ftpuser
Now input whatever you desire for ftp password.
Step 3:
Issue one of the two following commands
vnc4server :0
vnc4server -depth 8 -geometry 640x480 :0
I suggest the second one only if you run a low spec VPS/computer.
It will ask you for a vnc password input the desired password.
Now open a vnc viewer
I usually use
http://www.realvnc.com/download/viewer/alternatively you could try
http://www.tightvnc.com/download.phpThe vnc server will be equal to what you get if you issue ifconfig.
Look for a non local ip.
If you are using a VPS it will be the ip your host gave you for vps.
The :0 at the end makes the port 5900 if you omit the :0 it will be 5901+
Once you are in the vnc right click->applications->terminal emulators->xterm
once xterm is open
Issue the command winecfg
Set the default wine os to Windows 98
Add the libraries specified in
http://appdb.winehq.org/objectManager.php?sClass=application&iId=9747Press ok on the winecfg once done.
Then issue the command wine setup.exe
Go through the usual rpgwo setup
Once back at the xterm issue the command winetricks.
This will open winetricks(hopefully).
Select the Default WinePrefix
Install windows dlls or components
Select anything that mentions VB6.
If you get a error that says download VB6 runtimes manually then put in directory do that then run again.
After you finish with runtimes you should be good but I install all windows fonts just in case.
Step 4.
Open ftp using
ftp://IPOFSERVER/ ->If you get errors using windows explorer download ftp commander or another ftp client.
Username if you followed my instructions too closely is ftpuser
password is whatever you set it to.
Upload your server.exe and all its inis/etc. to the server directory
Upload your SERVERNAME.files folder into the www directory.
Step 5.
Open VNC back up.
Open a xterm window.
Issue the command wine /root/server.exe
also wine server/server.exe should work
Congratulations Your server should now be in full operation.
This will be my last post.
I do not care for most the community members.
However I wrote this guide as I do like the game and Nowdays
you can rent a vps capable of running rpgwo for about $3 per month.
These steps should work just as well for v2 servers.