ETXreaL is a graphics mod for Wolfenstein: Enemy Territory using the enhanced XreaL id Tech 3 GPL engine.

Forum Thread
by member
  Posts  
Odd issue in ETXreal when trying to start in 64bit linux (Mods : ETXreaL : Forum : ETXreaL Discussion : Odd issue in ETXreal when trying to start in 64bit linux) Locked
Thread Options
Apr 7 2012, 5:15pm Anchor

Posted this in irc but no one was around:

18:53 < sam_s> i'm having some issues running etxreal, when I run etxreal in 64
               bit mode it deletes the file ui.mp.x86_64.so then errors out
               because its not there

I was then quickly told that this was wrong because etxreal doesn't delete files:

20:30 <@megatog615> wtf?
20:30 <@megatog615> etxreal doesnt delete files

so I used strace to find more info:

21:38 < sam_s> from strace: access("/home/sam/.etxreal/etmain/ui.mp.x86_64.so",
               R_OK) = 0
21:38 < sam_s> unlink("/home/sam/.etxreal/etmain/ui.mp.x86_64.so") = 0
21:38 < sam_s> access("/home/sam/.etxreal/etmain/ui.mp.x86_64.so", R_OK) = -1
               ENOENT (No such file or directory)
21:39 < sam_s> megatog615: that is *RIGHT* after the "sound memory manager" is
               started
21:49 < sam_s> more of the strace before and after:

write(2, "----- Sound Info -----\n", 23) = 23
write(2, "sound system is muted\n", 22) = 22
write(2, "    1 stereo\n", 13)          = 13
write(2, " 8192 samples\n", 14)         = 14
write(2, "   16 samplebits\n", 17)      = 17
write(2, "    1 submission_chunk\n", 23) = 23
write(2, "22050 speed\n", 12)           = 12
write(2, "0x0xa4f1aa0 dma buffer\n", 23) = 23
write(2, "No background file.\n", 20)   = 20
write(2, "----------------------\n", 23) = 23
mmap(NULL, 25366528, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb97c38b000
write(2, "Sound memory manager started\n", 29) = 29
getcwd("/home/sam/.etxreal", 255)       = 19
access("/home/sam/.etxreal/etmain/ui.mp.x86_64.so", R_OK) = 0
unlink("/home/sam/.etxreal/etmain/ui.mp.x86_64.so") = 0
access("/home/sam/.etxreal/etmain/ui.mp.x86_64.so", R_OK) = -1 ENOENT (No such file or directory)
write(2, "----- CL_Shutdown -----\n", 24) = 24
open("/home/sam/.etxreal/etkey", O_RDONLY) = 23
fstat(23, {st_mode=S_IFREG|0664, st_size=2048, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb9a30a3000
lseek(23, 0, SEEK_CUR)                  = 0
fstat(23, {st_mode=S_IFREG|0664, st_size=2048, ...}) = 0
lseek(23, 0, SEEK_SET)                  = 0
read(23, "9\263*\2135t\27\5\256\226\214\230\200\25\364\311o1:`363z<\25\241\304+\376\215@\32"..., 2048) = 2048
lseek(23, 2048, SEEK_SET)               = 2048
lseek(23, 0, SEEK_SET)                  = 0
close(23)                               = 0
munmap(0x7fb9a30a3000, 4096)            = 0
open("/home/sam/.etxreal/etmain/etkey", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "Closing SDL audio device...\n", 28) = 28

Then after figuring out developer mode execution, I find the error deleting the file:

22:19  * sam_s finds this after dinking around with gdb and digging through the
          source code and then running 'etxreal +set developer 1': 'clearing
          non matching version of ui .so:
          /home/sam/.etxreal/etmain/ui.mp.x86_64.so'

It's important to note that just to be sure I did not have non-matching version of the file I redownloaded the 7z again from this website, and it still deleted ui.mp.x86_64.so when executed.

Edited by: Swizzler

Reply to Thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.