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

I made an installer for Linux version of Unreal

Unreal Unreal and more Unreal
User avatar
Smirftsch
Administrator
Posts: 9001
Joined: Wed Apr 29, 1998 10:00 pm
Location: NaPali
Contact:

Re: I made an installer for Linux version of Unreal

Post by Smirftsch »

sign!
Last edited by Smirftsch on Mon May 18, 2009 7:53 am, edited 1 time in total.
Sometimes you have to lose a fight to win the war.
User avatar
GreatEmerald
OldUnreal Member
Posts: 5347
Joined: Mon May 21, 2007 2:30 pm

Re: I made an installer for Linux version of Unreal

Post by GreatEmerald »

After doing some investigation, it turns out that adding new items to the menu is very, very easy. All you need to do is create a file called Unreal.desktop in /usr/share/applications, and put this in it:

Code: Select all

[Desktop Entry]
Version=227
Type=Game
Name=Unreal
Comment=Alter your reality. Forever.
Categories=Game;
Exec=/home/aidas/Unreal/System/UnrealLinux.sh
Icon=/home/aidas/Unreal/Help/Unreal.ico
Terminal=false
StartupNotify=true
Of course, you'll need to change Exec and Icon paths depending on where the user has it installed. Exec is also the launchable file. Not tested with the .bin file, but might work too.
User avatar
Trydi
OldUnreal Member
Posts: 76
Joined: Mon Apr 20, 2009 7:25 pm

Re: I made an installer for Linux version of Unreal

Post by Trydi »

Yes - adding item is easy, but i don't now why it's not working with bin. Anyway - i must test this. But there is one problem - you set static patch to your install.dir in /home folder - other users may install game somewhere else and have personal user_name - what then ? I think it's not a problem for someone who knows bash. I know only few command - not whole language. Maybe someone write script to searching UnrealLinux.bin i directory, where user installed game ?
Last edited by Trydi on Mon May 18, 2009 3:40 pm, edited 1 time in total.
Unofficial Linux Installer for Unreal (227f): http://www.oldunreal.com/cgi-bin/yabb2/ ... 41027403/0.

Happy Linux User :-)
User avatar
GreatEmerald
OldUnreal Member
Posts: 5347
Joined: Mon May 21, 2007 2:30 pm

Re: I made an installer for Linux version of Unreal

Post by GreatEmerald »

Why so complicated? The user has to enter the install dir when they install - so when you install, just generate a .desktop file and dump it into /usr/share/applications.
Also, to execute .bin files correctly, the official Epic script for UT2004 is this:

Code: Select all

#!/bin/sh

SUBDIR="."

#----------------------------------------
script=$0
count=0

while [ -L "$script" ]
do
script=`perl -e "print readlink(\"$script\"), \"\n\""`
count=`expr $count + 1`

if [ $count -gt 100 ]
then
echo "Too many symbolic links"
exit 1
fi
done

GAME_DIR=`dirname $script`

cd $GAME_DIR
cd System
./ut2004-bin "$@"
The file is named ut2004 and is in UT2004 folder (not in UT2004/System). So, to make it work, just alter it so the last line reads UnrealLinux.bin and name the file something like Unreal and dump it into the Unreal directory, then try .desktoping that file.

EDIT: Oh, Smirf, I found one issue with the Windows installer. It doesn't install if you have a server of another Unreal game running in the background! The installer simply won't launch :( I have to shut down the server, install and restart!
Last edited by GreatEmerald on Mon May 18, 2009 5:39 pm, edited 1 time in total.
User avatar
Trydi
OldUnreal Member
Posts: 76
Joined: Mon Apr 20, 2009 7:25 pm

Re: I made an installer for Linux version of Unreal

Post by Trydi »

New version of installer is available :)

*better launching script (thx GreatEmerald)
*better uninstall script
*menu entries (tested on GNOME 2.22.3)


I think this is first RC version. When game are uninstalled, activator is still in menu. We must manual delete this activator . It's not a problem - Wine and some commercial Linux titles (ex. Penumbra series) don't delete entries too, and user must manual delete them - this takes hmm... 10 seconds. It's Linux - user must do something too, and it's nothing new :) I think my work is over (but who knows - maybe i make new version :)) . Installer do what he must to do and it's fully automated. Now future of project is in Smirftsch hands. This installer is only fan-project. Maybe he build new and better installer.

Best Regards
Trydi

Link for installer : http://dl.getdropbox.com/u/1039704/Unreal_Linux_Setup
Unofficial Linux Installer for Unreal (227f): http://www.oldunreal.com/cgi-bin/yabb2/ ... 41027403/0.

Happy Linux User :-)
User avatar
[]KAOS[]Casey
OldUnreal Member
Posts: 4497
Joined: Sun Aug 07, 2011 4:22 am
Location: over there

Re: I made an installer for Linux version of Unreal

Post by []KAOS[]Casey »

New version of installer is available :)

*better launching script (thx GreatEmerald)
*better uninstall script
*menu entries (tested on GNOME 2.22.3)
I have no idea why, but I laughed when I saw that, at least you made one though :p
Last edited by []KAOS[]Casey on Wed May 20, 2009 10:35 pm, edited 1 time in total.
User avatar
Trydi
OldUnreal Member
Posts: 76
Joined: Mon Apr 20, 2009 7:25 pm

Re: I made an installer for Linux version of Unreal

Post by Trydi »

Ok - maybe not better, but more simplify method. If you have more/better ideas etc. - fell free to modify source code. Like i said - it's fun project - not professional, and in my opinion any uninstalling script is not needed - more simply is push Delete key. Linux don't have registry, and in that case - Delete is good solution too.
Last edited by Trydi on Wed May 20, 2009 10:48 pm, edited 1 time in total.
Unofficial Linux Installer for Unreal (227f): http://www.oldunreal.com/cgi-bin/yabb2/ ... 41027403/0.

Happy Linux User :-)
User avatar
[]KAOS[]Casey
OldUnreal Member
Posts: 4497
Joined: Sun Aug 07, 2011 4:22 am
Location: over there

Re: I made an installer for Linux version of Unreal

Post by []KAOS[]Casey »

Nah I mean.. i've never heard of anyone actually uninstalling unreal :p
User avatar
Spike
OldUnreal Member
Posts: 434
Joined: Tue Dec 30, 2008 1:29 am

Re: I made an installer for Linux version of Unreal

Post by Spike »

You can uninstall unreal O.o
Image
The · Killer · §kaarj · Assassins Brotherhood (1999-2020)
User avatar
Shivaxi
OldUnreal Member
Posts: 2232
Joined: Wed Mar 08, 2006 4:43 pm

Re: I made an installer for Linux version of Unreal

Post by Shivaxi »

You can uninstall unreal O.o
dude....i thought that wasn't physically....or even mentally possible :o
Image  Image
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: I made an installer for Linux version of Unreal

Post by [§Ŕ] ŤhěxĐâŕkśîđěŕ »

Why the fuck would I uninstall Unreal? What would I play THEN? :-?
User avatar
sir_brizz
Posts: 3
Joined: Sun Jun 14, 2009 5:34 am

Re: I made an installer for Linux version of Unreal

Post by sir_brizz »

How do I get this installer? the link above doesn't work anymore.
User avatar
Trydi
OldUnreal Member
Posts: 76
Joined: Mon Apr 20, 2009 7:25 pm

Re: I made an installer for Linux version of Unreal

Post by Trydi »

I upload this again - give me some time to build installer again and upload. Link is dead because... i don't know how , but file is not on server.

Download Here : http://files.getdropbox.com/u/1039704/U ... inux_Setup :)
Last edited by Trydi on Thu Jun 25, 2009 3:14 pm, edited 1 time in total.
Unofficial Linux Installer for Unreal (227f): http://www.oldunreal.com/cgi-bin/yabb2/ ... 41027403/0.

Happy Linux User :-)
Post Reply

Return to “Unreal General Forum”