Source code
2011-12-30, 10:24 AM
#1
Source code
Please, pack the source into .tar.gz archive instead .zip. ZIP doesn't save information about file permissions and I can't execute some files (configure and other shell scripts) as executable on Linux.

I have to recompile each release because your Linux binary doesn't work for me.
Post Reply Quote this message in a reply
2011-12-30, 10:30 AM (This post was last modified: 2011-12-30, 10:31 AM by Victor.)
#2
RE: Source code
The source is on windows anyways. I don't think it supports storing the execute permission.

Just chmod them (chmod u+x <dirname>* -R)

As of 2.3.3, there is both 32-bit and 64-bit linux releases. Make sure you are using the right one.

Best regards,
Victor
//victorz.ca
Code:
Your antithesis compares favorably with any high magnitude of pwnage. (-you > |p|, you < -|p|)
My antithesis compares favorably with _that of_ any high magnitude of pwnage. (|-me| > |-p|, |me| > |p|)
Post Reply Quote this message in a reply
2011-12-30, 10:40 AM (This post was last modified: 2011-12-30, 10:44 AM by RPG.)
#3
RE: Source code
I got some crash:

Code:
Demo "Fri Dec 30 12:41:25 2011: team deathmatch, ac_desert3, 4.98MB" recorded
map not found - start another map or send the map to the server
could not read map packages/maps/!!!!!LSS_Brasil.cgz
time remaining: 15 minutes
illegal network message (clientnum 64)
writing to file: packetlog.txt
wrote a network error report to packetlog.txt, please post this file to the bugtracker now!
disconnected
read map packages/maps/official/ac_desert3.cgz (37 milliseconds)
Desert3 by Nieb
Waypoints for map ac_desert3 loaded
game mode is "zombies"
Last Swiss Standing: Knife and obliterate the enemy!
time remaining: 15 minutes
new round starting... fight!
stacktrace:
./bin_linux/native_client() [0x8126506]
[0x2e0400]
./bin_linux/native_client() [0x805d17e]
./bin_linux/native_client() [0x8060b84]
./bin_linux/native_client() [0x804f5d7]
./bin_linux/native_client() [0x8052f25]
./bin_linux/native_client() [0x807fb09]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x2f7e37]
./bin_linux/native_client() [0x804cff1]
ACR error (11) (Couldn't find matching GLX visual)
OpenAL Error (A004): invalid operation, line 953
*** glibc detected *** ./bin_linux/native_client: corrupted double-linked list: 0x0caaf0a8 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x6b961)[0x34c961]
/lib/i386-linux-gnu/libc.so.6(+0x6bdb4)[0x34cdb4]
/lib/i386-linux-gnu/libc.so.6(+0x6d21a)[0x34e21a]
/lib/i386-linux-gnu/libc.so.6(cfree+0x6d)[0x35141d]
/usr/lib/nvidia-current/libnvidia-glcore.so.270.41.06(+0xed58be)[0x1ec68be]
======= Memory map: ========
00110000-001ef000 r-xp 00000000 08:01 14802      /usr/lib/i386-linux-gnu/libstdc++.so.6.0.14
001ef000-001f3000 r--p 000de000 08:01 14802      /usr/lib/i386-linux-gnu/libstdc++.so.6.0.14
001f3000-001f4000 rw-p 000e2000 08:01 14802      /usr/lib/i386-linux-gnu/libstdc++.so.6.0.14
001f4000-001fb000 rw-p 00000000 00:00 0
001fb000-00253000 r-xp 00000000 08:01 159202     /usr/lib/i386-linux-gnu/libtiff.so.4.3.3
00253000-00255000 r--p 00057000 08:01 159202     /usr/lib/i386-linux-gnu/libtiff.so.4.3.3
00255000-00256000 rw-p 00059000 08:01 159202     /usr/lib/i386-linux-gnu/libtiff.so.4.3.3
00256000-00257000 r-xp 00000000 08:01 136032     /usr/lib/nvidia-current/tls/libnvidia-tls.so.270.41.06
00257000-00258000 rw-p 00000000 08:01 136032     /usr/lib/nvidia-current/tls/libnvidia-tls.so.270.41.06
00258000-0027d000 r-xp 00000000 08:01 12826      /usr/lib/libvorbis.so.0.4.5
0027d000-0027e000 r--p 00025000 08:01 12826      /usr/lib/libvorbis.so.0.4.5
0027e000-0027f000 rw-p 00026000 08:01 12826      /usr/lib/libvorbis.so.0.4.5
0027f000-00296000 r-xp 00000000 08:01 14819      /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
00296000-00297000 r--p 00016000 08:01 14819      /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
00297000-00298000 rw-p 00017000 08:01 14819      /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
00298000-002a0000 r-xp 00000000 08:01 14679      /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2
002a0000-002a1000 r--p 00007000 08:01 14679      /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2
002a1000-002a2000 rw-p 00008000 08:01 14679      /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2
002a4000-002aa000 r-xp 00000000 08:01 14669      /usr/lib/i386-linux-gnu/libSM.so.6.0.1
002aa000-002ab000 r--p 00005000 08:01 14669      /usr/lib/i386-linux-gnu/libSM.so.6.0.1
002ab000-002ac000 rw-p 00006000 08:01 14669      /usr/lib/i386-linux-gnu/libSM.so.6.0.1
002ac000-002af000 r-xp 00000000 08:01 12857      /usr/lib/libxcb-atom.so.1.0.0
002af000-002b0000 r--p 00002000 08:01 12857      /usr/lib/libxcb-atom.so.1.0.0
002b0000-002b1000 rw-p 00003000 08:01 12857      /usr/lib/libxcb-atom.so.1.0.0
002b1000-002b9000 r-xp 00000000 08:01 14697      /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
002b9000-002ba000 r--p 00007000 08:01 14697      /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
002ba000-002bb000 rw-p 00008000 08:01 14697      /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
002bb000-002de000 r-xp 00000000 08:01 145227     /lib/i386-linux-gnu/libpng12.so.0.44.0
002de000-002df000 r--p 00022000 08:01 145227     /lib/i386-linux-gnu/libpng12.so.0.44.0
002df000-002e0000 rw-p 00023000 08:01 145227     /lib/i386-linux-gnu/libpng12.so.0.44.0
002e0000-002e1000 r-xp 00000000 00:00 0          [vdso]
002e1000-0043b000 r-xp 00000000 08:01 3525       /lib/i386-linux-gnu/libc-2.13.so
0043b000-0043c000 ---p 0015a000 08:01 3525       /lib/i386-linux-gnu/libc-2.13.so
0043c000-0043e000 r--p 0015a000 08:01 3525       /lib/i386-linux-gnu/libc-2.13.so
0043e000-0043f000 rw-p 0015c000 08:01 3525       /lib/i386-linux-gnu/libc-2.13.so
0043f000-00442000 rw-p 00000000 00:00 0
00442000-00446000 r-xp 00000000 08:01 12103      /usr/lib/libXtst.so.6.1.0
00446000-00447000 r--p 00003000 08:01 12103      /usr/lib/libXtst.so.6.1.0
00447000-00448000 rw-p 00004000 08:01 12103      /usr/lib/libXtst.so.6.1.0
00448000-0044f000 r-xp 00000000 08:01 2796       /lib/libwrap.so.0.7.6
0044f000-00450000 r--p 00006000 08:01 2796       /lib/libwrap.so.0.7.6
00450000-00451000 rw-p 00007000 08:01 2796       /lib/libwrap.so.0.7.6
00451000-00453000 r-xp 00000000 08:01 2760       /lib/libnss_mdns4_minimal.so.2
00453000-00454000 r--p 00001000 08:01 2760       /lib/libnss_mdns4_minimal.so.2
00454000-00455000 rw-p 00002000 08:01 2760       /lib/libnss_mdns4_minimal.so.2
00458000-00465000 r-xp 00000000 08:01 14685      /usr/lib/i386-linux-gnu/libXext.so.6.4.0
00465000-00466000 r--p 0000c000 08:01 14685      /usr/lib/i386-linux-gnu/libXext.so.6.4.0
00466000-00467000 rw-p 0000d000 08:01 14685      /usr/lib/i386-linux-gnu/libXext.so.6.4.0
00467000-004a6000 r-xp 00000000 08:01 100160     /usr/lib/libpulse.so.0.12.3
004a6000-004a7000 r--p 0003e000 08:01 100160     /usr/lib/libpulse.so.0.12.3
004a7000-004a8000 rw-p 0003f000 08:01 100160     /usr/lib/libpulse.so.0.12.3
004a8000-004ae000 r-xp 00000000 08:01 3567       /lib/i386-linux-gnu/libnss_compat-2.13.so
004ae000-004af000 r--p 00005000 08:01 3567       /lib/i386-linux-gnu/libnss_compat-2.13.so
004af000-004b0000 rw-p 00006000 08:01 3567       /lib/i386-linux-gnu/libnss_compat-2.13.so
004b0000-004b4000 r-xp 00000000 08:01 3569       /lib/i386-linux-gnu/libnss_dns-2.13.so
004b4000-004b5000 r--p 00004000 08:01 3569       /lib/i386-linux-gnu/libnss_dns-2.13.so
004b5000-004b6000 rw-p 00005000 08:01 3569       /lib/i386-linux-gnu/libnss_dns-2.13.so
004bb000-0055c000 r-xp 00000000 08:01 136531     /usr/lib/nvidia-current/libGL.so.270.41.06
0055c000-0057a000 rwxp 000a1000 08:01 136531     /usr/lib/nvidia-current/libGL.so.270.41.06
0057a000-00589000 rwxp 00000000 00:00 0
00589000-0059d000 r-xp 00000000 08:01 14667      /usr/lib/i386-linux-gnu/libICE.so.6.3.0
0059d000-0059e000 r--p 00013000 08:01 14667      /usr/lib/i386-linux-gnu/libICE.so.6.3.0
0059e000-0059f000 rw-p 00014000 08:01 14667      /usr/lib/i386-linux-gnu/libICE.so.6.3.0
0059f000-005a1000 rw-p 00000000 00:00 0
005a1000-005e8000 r-xp 00000000 08:01 100162     /usr/lib/libpulsecommon-0.9.22.so
005e8000-005e9000 r--p 00046000 08:01 100162     /usr/lib/libpulsecommon-0.9.22.so
005e9000-005ea000 rw-p 00047000 08:01 100162     /usr/lib/libpulsecommon-0.9.22.so
005ea000-005fd000 r-xp 00000000 08:01 3565       /lib/i386-linux-gnu/libnsl-2.13.so
005fd000-005fe000 r--p 00012000 08:01 3565       /lib/i386-linux-gnu/libnsl-2.13.so
005fe000-005ff000 rw-p 00013000 08:01 3565       /lib/i386-linux-gnu/libnsl-2.13.so
005ff000-00601000 rw-p 00000000 00:00 0
00601000-0060b000 r-xp 00000000 08:01 3571       /lib/i386-linux-gnu/libnss_files-2.13.sostacktrace:
./bin_linux/native_client() [0x8126506]
[0x2e0400]
[0x2e0416]
/lib/i386-linux-gnu/libc.so.6(gsignal+0x51) [0x30be71]
/lib/i386-linux-gnu/libc.so.6(abort+0x17e) [0x30f34e]
/lib/i386-linux-gnu/libc.so.6(+0x61577) [0x342577]
/lib/i386-linux-gnu/libc.so.6(+0x6b961) [0x34c961]
/lib/i386-linux-gnu/libc.so.6(+0x6bdb4) [0x34cdb4]
/lib/i386-linux-gnu/libc.so.6(+0x6d21a) [0x34e21a]
/lib/i386-linux-gnu/libc.so.6(cfree+0x6d) [0x35141d]
/usr/lib/nvidia-current/libnvidia-glcore.so.270.41.06(+0xed58be) [0x1ec68be]
ACR error (6)

Linux build doesn't work. I don't know why.
Another bug report:

make variable dynlight VARP instead of VAR (this is AC bug).
Post Reply Quote this message in a reply
2011-12-30, 10:45 AM
#4
RE: Source code
I got a crash too, but at least I know where it is (clients2c.cpp:335). At least my Windows client tells me where.

Best regards,
Victor
//victorz.ca
Code:
Your antithesis compares favorably with any high magnitude of pwnage. (-you > |p|, you < -|p|)
My antithesis compares favorably with _that of_ any high magnitude of pwnage. (|-me| > |-p|, |me| > |p|)
Post Reply Quote this message in a reply
2011-12-30, 11:18 AM (This post was last modified: 2011-12-30, 11:28 AM by RPG.)
#5
RE: Source code
And another bug: the game doesn't save screen resolution/fullscreen mode on Linux.

I had to add it into autoexec, but the game asks me every time "Do you want to save settings?"

Old versions didn't had such bug.
graphics bug: blood.png is not Power Of Two texture. This may cause problems with old hardware. Just re-size it to 512x512.
Another graphics - damage.png - veeery big Non-Power-Of-Two texture.
It eats much memory. I think it should be 256x256. it is blurry and there is no reason to keep such high resolution.
Post Reply Quote this message in a reply
2011-12-30, 02:27 PM
#6
RE: Source code
@RPG:
blood.png is not power of two, but neither is damage.png or obit/assault.png and lots of other ones.

Regarding the damage.png, there IS reason to keep it high resolution. It fills the ENTIRE screen when you are not at full health.

Best regards,
Victor
//victorz.ca
Code:
Your antithesis compares favorably with any high magnitude of pwnage. (-you > |p|, you < -|p|)
My antithesis compares favorably with _that of_ any high magnitude of pwnage. (|-me| > |-p|, |me| > |p|)
Post Reply Quote this message in a reply
2011-12-30, 03:08 PM
#7
RE: Source code
non-POT textures will be "whitesreeen" on old PC.

>It fills the ENTIRE screen when you are not at full health.

yeah, but it is very blurry, so there is no reason to keep such resolution. Just resize it to 512 and enlarge again to 1280. I hope you will not notice the deference.


Post Reply Quote this message in a reply
2011-12-30, 04:07 PM (This post was last modified: 2011-12-30, 04:07 PM by Victor.)
#8
RE: Source code
I'm sure the difference will be easily noticeable, especially for people with higher resolutions.

Best regards,
Victor
//victorz.ca
Code:
Your antithesis compares favorably with any high magnitude of pwnage. (-you > |p|, you < -|p|)
My antithesis compares favorably with _that of_ any high magnitude of pwnage. (|-me| > |-p|, |me| > |p|)
Post Reply Quote this message in a reply
2011-12-30, 04:42 PM
#9
RE: Source code
Just compare:
http://ompldr.org/vYnpuYw
Post Reply Quote this message in a reply
2011-12-30, 05:37 PM
#10
RE: Source code
No problem when it's at 1280x720 resolution. But what about users with larger screen resolutions?

Best regards,
Victor
//victorz.ca
Code:
Your antithesis compares favorably with any high magnitude of pwnage. (-you > |p|, you < -|p|)
My antithesis compares favorably with _that of_ any high magnitude of pwnage. (|-me| > |-p|, |me| > |p|)
Post Reply Quote this message in a reply


Forum Jump: