Page 1 of 2

DB 2.1 not working under linux

Posted: 30-08-2004 17:02
by teidon
UT2004-bin segfaults if I try to run it with -mod=deathball parameter like this:

Code: Select all

Signal: SIGSEGV [segmentation fault]
Aborting.

Crash information will be saved to your logfile.
Deathball.log is like this:

Code: Select all

Log: Log file open, Mon Aug 30 18:26:56 2004
Init: Name subsystem initialized
Init: Version: 3270 (127.29)
Init: Compiled: Jul 30 2004 06:54:16
Init: Command line: -mod=deathball
Init: (This is Linux patch version 3270.0)
Init: Character set: Unicode
Init: Base directory: /home/sami/pelit/ut2004/System/
Init: Ini:../deathball/System/deathball.ini   UserIni:../deathball/System/deathballUser.ini
Init: Build label: UT2004 Build UT2004_Patch_[2004-07-27_14.28]
Init: Object subsystem initialized
Warning: Missing Class Class Editor.TransBuffer
Log: Initializing OpenGLDrv...
Log: binding libGL.so.1
Log: Game class is 'GameInfo'
Log: Bringing Level Entry.myLevel up for play (0) appSeconds: 3.190644...
ScriptLog: GameInfo::InitGame : bEnableStatLogging False
Warning: Missing MaterialSequence MaterialSequence 2K4Menus.Controls.background_anim
Warning: Missing Texture Texture 2K4Menus.AVPlayer.StopPressed
Log: Browse: ..\Maps\NoIntro.ut2?Name=n00b?Class=Engine.Pawn?Character=dbplayer?team=255?Sex=M?PassAimCone=30.00
Log: 
Developer Backtrace:
Log: [ 1]  ./ut2004-bin [0x85a7ac1]
Log: [ 2]  [0xffffe420]
Log: [ 3] ./ut2004-bin(_ZN7UObject16GetPackageLinkerEPS_PKwjP11UPackageMapP5FGuidi+0x669) [0x85852e9]
Log: [ 4]  ./ut2004-bin(_ZN7UObject16StaticLoadObjectEP6UClassPS_PKwS4_jP11UPackageMap+0x200) [0x8586220]
Log: [ 5]  ./ut2004-bin(_ZN11UGameEngine7LoadMapERK4FURLP13UPendingLevelPK4TMapI7FStringS6_ERS6_+0x2ef) [0x823003f]
Log: [ 6]  ./ut2004-bin(_ZN11UGameEngine6BrowseE4FURLPK4TMapI7FStringS2_ERS2_+0xaee) [0x822a51e]
Log: [ 7]  ./ut2004-bin(_ZN11UGameEngine4InitEv+0x5cd) [0x822403d]
Log: [ 8]  ./ut2004-bin [0x81521c6]
Log: [ 9]  ./ut2004-bin(main+0x2f7f) [0x814de8f]
Log: [10]  /lib/libc.so.6(__libc_start_main+0xfa) [0x401ba83a]
Log: [11]  ./ut2004-bin(getlogin+0xad) [0x814ace1]
Log: Unreal Call Stack: UObject::StaticAllocateObject <- UObject::CreatePackage
<- UObject::GetPackageLinker <- UObject::StaticLoadObject <- VerifyPackages
<- UGameEngine::LoadMap <- LocalMapURL <- UGameEngine::Browse <- UGameEngine::Init <- InitEngine
Exit: Exiting.
Log: FileManager: Reading 0 GByte 45 MByte 172 KByte 519 Bytes from HD took 0.284505 seconds (0.086706 reading, 0.197799 seeking).
Log: FileManager: 0.000000 seconds spent with misc. duties
Uninitialized: Name subsystem shut down
Uninitialized: Allocation checking disabled
Uninitialized: Log file closed, Mon Aug 30 18:27:00 2004
I deleted the deathball directory under ut2004 as well as ~/.ut2004/deathball directory and then extracted the deathball21.zip in to ut2004 directory so that there is deathball directory. My UT2k4 was first patched to 3236 version (latest official) but as DB 2.1 didn't work in it I installed the 3270 patch (which is still beta patch for linux). Error messages are same with both patches.

Any ideas how to get DB 2.1 to run under linux?

Posted: 30-08-2004 21:44
by Imaginos
Put a working client's deathball.ini into your ../deathball/system folder and give that a try.

Posted: 30-08-2004 22:25
by FireCell
hey, i thought this was just me having problems with games and linux again. But im having the same problem. If you find a fix please post it here.

Posted: 31-08-2004 05:16
by stat
I have the same problem. My Deathball.log file looks the same. I really want to be able to play this mod too. It reminds me of Gridiron mod for quake3.

Posted: 31-08-2004 09:56
by teidon
I reinstalled DB 2.0, launched it once, picked up the deathball.ini and then tried to launch DB 2.1c with that ini file. Here is deathball.log (interesting part is in bold):

Code: Select all

Log: Log file open, Tue Aug 31 11:38:51 2004
Init: Name subsystem initialized
Init: Version: 3270 (127.29)
Init: Compiled: Jul 30 2004 06:54:16
Init: Command line: -mod=Deathball
Init: (This is Linux patch version 3270.0)
Init: Character set: Unicode
Init: Base directory: /home/sami/pelit/ut2004/System/
Init: Ini:../Deathball/System/Deathball.ini   UserIni:../Deathball/System/DeathballUser.ini
Init: Build label: UT2004 Build UT2004_Patch_[2004-07-27_14.28]
Init: Object subsystem initialized
Warning: Missing Class Class Editor.TransBuffer
[B]Warning: Failed to load 'Class Deathball.DB_GameEngine': Failed to find object 'Class Deathball.DB_GameEngine'
Warning: Failed to find object 'Class Deathball.DB_GameEngine'
Critical: Failed to find object 'Class Deathball.DB_GameEngine'[/B]
Exit: Executing UObject::StaticShutdownAfterError
Exit: Exiting.
Log: FileManager: Reading 0 GByte 2 MByte 882 KByte 264 Bytes from HD took 0.007553 seconds (0.006578 reading, 0.000975 seeking).
Log: FileManager: 0.000000 seconds spent with misc. duties
Uninitialized: Name subsystem shut down
Uninitialized: Log file closed, Tue Aug 31 11:38:52 2004
I believe that those warnings happens because of some internal changes from DB 2.0 to 2.1 and the settings in the ini file are wrong due to those changes.

Just a thought but, should it display DB's own splash screen when starting DB or the UT2k4's default splash screen? For me it displays the UT2k4's splash screen till it crashes/quits.

Posted: 31-08-2004 13:00
by FireCell
From the old fix for a the 2.0 problem in linux i found this.

Originally posted by ivionojon
Open deathball.ini and find the GameEngine=Deathball.DB_GameEngine line. Change it to GameEngine=Engine.GameEngine and it will work.


Maybe that will help?

Posted: 31-08-2004 17:55
by FireCell
mmm i can play 2.1c doing what i said above..
But i dont have anything custom to DB e.g cant change the players apperance, or have the options in controls for Curve left right.. just next weapon and so on.

It may be my deathball.ini

On that note.. can TV stick to using Deathball or deathball for files it does make a big difference.

Posted: 01-09-2004 05:20
by stat
FireCell,
That fix 'GameEngine=Engine.GameEngine' does not seem to be necessary with 2.1 because my Deathball.ini already has that set by default. I still can not launch the game without a seg fault. I have not tried any other Deathball.ini file besides the default.

Posted: 01-09-2004 09:26
by freestylah
try starting with ut2004 Entry.ut2 -mod=deathball and press ESC

then press forfeit to get the db menu

It's working!!!

Posted: 01-09-2004 11:23
by teidon
First of all. Team Vortex, could you please keep the file names exactly the same in each version/update/whatever? I could have solved this yesterday if a certain file would have been named the sameway in DB 2.1c as it was in DB 2.1...

Anyways, here's how to get DB 2.1c to work under linux. Extract deathball21.zip and deathball21cudpate.zip to your ut2004 folder. Go to ut2004/deathball/System and delete Deathball.u (notice big D) and rename deathball.u to Deathball.u (thanks to this I kept having "package mismatch error"). Then edit ~/.ut2004/deathball/system/Deathball.ini like this:

At the begining of the file change these lines:

Code: Select all

LocalMap=..\Maps\NoIntro.ut2
NetBrowseMap=..\Maps\NoIntro.ut2
to this:

Code: Select all

LocalMap=NoIntro.ut2
NetBrowseMap=NoIntro.ut2
Then under [Core.System] add somewhere this line...

Code: Select all

Paths=../Maps/*.ut2
...and enjoy DB 2.1 on your linux box \o/

[EDIT] Forgot "." from ~/.ut2004/...

Posted: 01-09-2004 11:29
by freestylah
ah nice and linux is case sensitive windows aint :o

Posted: 01-09-2004 12:33
by FireCell
mm thats weird cause i have it playable my way but not fully. Ill try this your way as well.

Tried it your way and seems the same, i cant edit my player at all. Also the controls in the configure screen are not Deathball specific (e.g ball curve left/right).

Posted: 01-09-2004 14:14
by teidon
FireCell, you might have borked your deathball.ini or your Deathball installation somehow. Delete your ~/.ut2004/deathball/system/deathball.ini and then (try) to start Deathball (it will recreate deathball.ini) and then do those changes. If it still doesn't work, try to reinstall Deathball. For me it works 100% well with those changes.

[EDIT] If it still doesn't work after reinstalling, then you obviously need to have your ut2k4 pached to 3270 (it's still beta patch though). Direct link to ut2004 linux patch 3270 beta: http://0day.icculus.org/ut2004/ut2004-l ... TA.tar.bz2

[EDIT2] I just noticed that a 3270 (non-beta) patch has been released for linux yesterday. I just tried it briefly and you still need to edit deathball.ini like I told in my previous post. No idea how well it works, but I haven't had problems with 3270beta so I'd guess it should work fine. Get it from http://0day.icculus.org/ut2004/ut2004-l ... -1.tar.bz2

Posted: 01-09-2004 15:14
by FireCell
Cheers all working now :D

Posted: 01-09-2004 15:35
by teidon
FireCell, was it your deathball.ini or did you have to install 3270 patch? Just asking so that other linux users (as well as me) would know if it requires 3270 patch or not. :)