For direct access use https://forums.oldunreal.com
It's been quite a while since oldunreal had an overhaul, but we are moving to another server which require some updates and changes. The biggest change is the migration of our old reliable YaBB forum to phpBB. This system expects you to login with your username and old password known from YaBB.
If you experience any problems there is also the usual "password forgotten" function. Don't forget to clear your browser cache!
If you have any further concerns feel free to contact me: Smirftsch@oldunreal.com

UnrealInstaller script

for Unreal & UnrealTournament
Post Reply
User avatar
EAGLE_CoMa
OldUnreal Member
Posts: 19
Joined: Sat Nov 23, 2002 9:19 pm

UnrealInstaller script

Post by EAGLE_CoMa »

After writing the InstallHowto I spend some time to write an unrealinstaller script.
It tries to guide you through the procedure I described in the HOWTO.
Except It does not make any backups.
Thats your part.
Like in my HOWTO: You dont need to be root!!

The script makes use of following tools which should be installed:

bash
Xdialog
wget
wine >= 0.9.19 (compiled with --enable-opengl)

Since it uses Xdialog you will have to run it in xterm (or others like this)
and your eviroment variable TERM hast to be set to "xtern" or similar.
You can check it by

Code: Select all

env |grep TERM
and set it by

Code: Select all

export TERM=xterm
If it finds an unreal-folder in $HOME/.wine/drive_c, you will get asked to install over this existing
unreal.
But I dont recommend it.
The script is published under the GPL and comes with NO WARRENTY.
If you have already an installed Unreal and you just want to try out the installer, please rename the folder.
Attention!!
The installation will be started with wine.
For programms runnig with Wine, filenames are not case sensitive.
So give it a really different name instead of just changing to capitals.

I would be happy if someone tries it out and gives me feedback in this thread.
Especially which Unreal version you have on CD, wich combination of patches you did and if it worked or not.
The more feedback I get, the more can the script be improved.
If there are enough infomation about it I can change the script to give you recommendations about
the right combination of patches.

for me following combinations worked :


CD-VersionOfficial Patch OMPComment
205224v 224Still my first choice
205224v 224-V0.2
205224v and 226f 226-V0.2
205226f 226-V0.2


About my first choice:

Maybe its special to my config, but if I use OMP224-V0.2, I get visual errors in the game.
I fiddeled around and found the new nvidia drivers for my Ti4200 are a soulution, because you can activate

[OpenGLDrv.OpenGLRenderDevice]
ZRangeHack=True
UseVertexProgram=True
UseZTrick=True

After playing a little I felt the response of unreal to my movements are a bit laggy.
Back to 224v and OMP224 brought me the visual errors again.
After moving back to the nvidia-legacy drivers my unreal OMP224 runs like I am use to be.
Ok it looks not that nice like with the new OMP but, since I like it to play 1on1's online, response is much more important for me.

here you can get the script:

www.coopmasters.de/unrealinstaller.bz2

Download it, unzip it where ever you want,

Code: Select all

wget www.coopmasters.de/unrealinstaller.bz2
bunzip2 unrealinstaller.bz2
and start it with

Code: Select all

bash unrealinstaller
greets

eagle
Last edited by EAGLE_CoMa on Wed Sep 13, 2006 10:28 pm, edited 1 time in total.
User avatar
EAGLE_CoMa
OldUnreal Member
Posts: 19
Joined: Sat Nov 23, 2002 9:19 pm

Re: UnrealInstaller script

Post by EAGLE_CoMa »

Today I uploaded a modified version of the script on    [url=http://sourceforge.net/projects/unrealinstaller]sourceforge.net[/url].
I dropped the  GUI stuff.
Just start the script with

Code: Select all

bash unrealinstaller.sh -s /media/cdrom -t /where_to_install_Unreal -p path_of_patch.exe 
For more detailed explaination there is a README.TXT in the package.

What it does:

[olist]
[*] Creates the target folder if it does not exist
[*] Copies neccessary and maybe some unnessesary (i.e. language files) files from mounted CD into target folder
[*] symlinks maps to Maps
[*] If path to the unpacked OpenGl-Patch *exe is given via option -p PATH,
[olist]
[*] it creates a temporary wine folder
[*] links target folder to /tmp/tmpwine/drive_c/Unreal
[*] starts the OpenGlpatch
[*] deletes temp.winefolder
[*] makes all files nonexecutable except System/UnrealLinux.bin
[/olist]
[/olist]

I encourage you to test it.
Its beta! Use it at your own risk!
AND:
Never ever start the script as root!

Since everything is done in targetfolder and /tmp/wine_pid, you can test it with any targetfolder you choose and delete it afterwards if you want.

If you find bugs or have suggestions, please do it at [url=http://sourceforge.net/projects/unrealinstaller/develop]sourceforge.net[/url].
You will have to be registered on sourceforge to file a bug.

Or at least write me a message here.

User avatar
EAGLE_CoMa
OldUnreal Member
Posts: 19
Joined: Sat Nov 23, 2002 9:19 pm

SVN Browse

Post by EAGLE_CoMa »

Actually it should be possible to take a look at the source code on sourceforge.
Currently CSV/SVN Browse is down by purpose due to service.
But if you try [url=http://sourceforge.net/apps/trac/unrealinstaller/wiki]Trac[/url] it works.
svn ckeckout works also.
Last edited by EAGLE_CoMa on Mon Feb 07, 2011 9:58 am, edited 1 time in total.
User avatar
EAGLE_CoMa
OldUnreal Member
Posts: 19
Joined: Sat Nov 23, 2002 9:19 pm

UnrealInstaller script updated

Post by EAGLE_CoMa »

Change log
  • structured code with functions
  • more comments
  • install target is needed, not optional
  • added confirmation request, which can be disabled optionally
  • newer versions of wine use 'wineboot -i' instead of 'wineprefixcreate'
  • wineboot refuses to init a directory in /tmp, if user is not the owner
      -> now we use $HOME/tmp_wine_dir
  • prevent wineboot to download and install gecko into $HOME/tmp_wine_dir
  • give wineserver time to shut down
  • added long options for s,p,h
With this version (rev 3) its possible to patch an existing Installation with 227*.

It needs still testing. And I hope there are some out there who want to test to help improving the script.


Planned:
  • if patch is packed, unpack it temporarely to work with it
  • take only the name of the patch and download it from mirror(s), use aria2c if avaiable
User avatar
EAGLE_CoMa
OldUnreal Member
Posts: 19
Joined: Sat Nov 23, 2002 9:19 pm

update: UnrealInstaller script

Post by EAGLE_CoMa »

Since it is not a release and SVN Browse works again, there are no more files in files section.

If you are interested in testing, please use svn checkout like shown on sourceforge.net/projects/unrealinstaller/develop.

If there are people who are willing to help/participate, you are welcome.



change log:
  • oppress most (unusefull) output
  • show user what is done and its exit status
  • added option -c,--checksums
  • added option -d, --download for patch
  • use aria2 or wget for downloading
  • if patchfile is packed, unpack it automatically
  • make ucclinux.bin also executable
  • added mirrors.txt
planned:
  • if script is stable, add a GUI which makes use of it
Post Reply

Return to “Linux-Board”