
EDuke32 2.0 and Polymer! "talk about the wonders of EDuke32 and the new renderer"
#1381 Posted 26 April 2010 - 03:00 AM
r1624: %esi gets modified by swapchar2 but isn't listed as an output operand for the GCC extended assembly version. This causes the compiler to fail to restore it after swapchar2 executes, causing crashes if used in a loop. This change fixes the security camera crash when using GCC 4.4.x or 4.5.0.
#1382 Posted 26 April 2010 - 12:20 PM
#1383 Posted 26 April 2010 - 12:49 PM
#1384 Posted 26 April 2010 - 12:50 PM
#1385 Posted 26 April 2010 - 01:49 PM
Ok a long time ago for the polymer trailer we seen the Pig Recon Patrol Vehicle casting spotlight lighting, i was thinking if this feature can still be done in polymer. If so how?

#1386 Posted 26 April 2010 - 02:12 PM
supergoofy, on Apr 26 2010, 10:49 PM, said:
No. Please note that there are new versions (libogg-1.2.0, libvorbis-1.3.1). Seems to me that there are less crashes for me since I use them. (Although there haven't been many before that anyway.)
Plagman, on Apr 26 2010, 10:50 PM, said:
There were some strange assembler related error messages IIRC. But I have deleted that stuff some weeks ago after deciding to wait for the TDM version. Maybe I will give it another try in the not so far future now that i know that others have succeded in using it.
#1387 Posted 28 April 2010 - 01:34 AM
its quite odd ... it only ever happens on the 3rd or 4th time you load a level , say you die 2-3 times and load the same level on any episode on any level..
its causes the frame rate to drop below 5 fps and becomes incredibly unstable

#1388 Posted 28 April 2010 - 01:44 AM

#1389 Posted 28 April 2010 - 06:05 AM

#1390 Posted 28 April 2010 - 09:43 AM
#1391 Posted 28 April 2010 - 12:40 PM
#1392 Posted 28 April 2010 - 04:02 PM
In my case, it turned out that it was a side-affect of running the game with some specific high-poly models at too-high a resolution and with too much AA applied. Not sure why it caused everything to stuff up, but just reducing the amount of AA I had applied, or dropping the resolution a bit would always take care of it.
Though to be honest I've never seen anything of mine just start showing normal maps. But the low performance + buggered textures would indicate that it's possibly a similar problem. I haven't yet pushed the resolution / AA high enough again to try and replicate this, but I have since also changed videocards (this happened on my 2900xt, which I changed to a 3870 and now a 3870x2).
#1393 Posted 28 April 2010 - 11:53 PM
#1394 Posted 29 April 2010 - 12:18 AM

turning off "Pre load map textures" fixed the problem... how odd
#1396 Posted 01 May 2010 - 10:01 AM
#1397 Posted 02 May 2010 - 04:32 PM
EDuke32 D polymer/eduke32/makemsc.bat D polymer/eduke32/makew.bat U polymer/eduke32/Makefile U polymer/eduke32/Makefile.msvc A polymer/eduke32/eduke32.vcxproj U polymer/eduke32/eduke32.sln D polymer/eduke32/build/makemsc.bat D polymer/eduke32/build/makew.bat D polymer/eduke32/build/makegnu.bat U polymer/eduke32/build/include/build.h A polymer/eduke32/build/include/mutex.h U polymer/eduke32/build/include/dxdidf.h U polymer/eduke32/build/include/baselayer.h A polymer/eduke32/build/include/rawinput.h U polymer/eduke32/build/include/polymost.h U polymer/eduke32/build/include/cache1d.h U polymer/eduke32/build/include/malloc.c.h U polymer/eduke32/build/include/winlayer.h A polymer/eduke32/build/include/scancodes.h U polymer/eduke32/build/include/osd.h U polymer/eduke32/build/include/m32script.h U polymer/eduke32/build/Makefile.msvc U polymer/eduke32/build/Makefile.deps U polymer/eduke32/build/src/build.c A polymer/eduke32/build/src/mutex.c U polymer/eduke32/build/src/sdlayer.c U polymer/eduke32/build/src/engine.c U polymer/eduke32/build/src/baselayer.c A polymer/eduke32/build/src/rawinput.c U polymer/eduke32/build/src/polymost.c U polymer/eduke32/build/src/cache1d.c U polymer/eduke32/build/src/winlayer.c U polymer/eduke32/build/src/a.masm U polymer/eduke32/build/src/nedmalloc.c U polymer/eduke32/build/src/compat.c U polymer/eduke32/build/src/osd.c U polymer/eduke32/build/src/mdsprite.c U polymer/eduke32/build/Makefile U polymer/eduke32/MakeDistributions U polymer/eduke32/source/config.c U polymer/eduke32/source/jmact/keyboard.h U polymer/eduke32/source/jmact/control.c U polymer/eduke32/source/gamestructures.c U polymer/eduke32/source/m32def.c U polymer/eduke32/source/global.c U polymer/eduke32/source/m32exec.c U polymer/eduke32/source/enet/include/enet/enet.h U polymer/eduke32/source/enet/include/enet/callbacks.h U polymer/eduke32/source/sounds.c U polymer/eduke32/source/funct.h U polymer/eduke32/source/gamedef.c U polymer/eduke32/source/macros.h U polymer/eduke32/source/m32vars.c U polymer/eduke32/source/gamedef.h U polymer/eduke32/source/sector.c U polymer/eduke32/source/sounds_mapster32.c U polymer/eduke32/source/gameexec.c U polymer/eduke32/source/namesdyn.c U polymer/eduke32/source/sounds_mapster32.h U polymer/eduke32/source/duke3d.h U polymer/eduke32/source/premap.c U polymer/eduke32/source/player.c U polymer/eduke32/source/m32structures.c U polymer/eduke32/source/gamevars.c U polymer/eduke32/source/game.c U polymer/eduke32/source/astub.c U polymer/eduke32/source/menus.c U polymer/eduke32/source/savegame.c U polymer/eduke32/source/actors.c U polymer/eduke32/source/osdcmds.c A polymer/eduke32/eduke32.vcxproj.filters A polymer/eduke32/eduke32.vcxproj.user Updated to revision 1625. Build started using "gcc -fomit-frame-pointer -funswitch-loops -O2 -W -Wall -Wim plicit -Werror-implicit-function-declaration -funsigned-char -fno-strict-aliasin g -DNO_GCC_BUILTINS -Isource -Ibuild/include -Isource/jmact -Isource/jaudiolib/i nclude -Isource/enet/include -D_FORTIFY_SOURCE=2 -fjump-tables -fno-stack-protec tor -fno-pic -DUNDERSCORES -I../sdk/dx/include -DHAVE_INTTYPES -DRENDERTYPEWIN= 1 -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DPOLYMER" Built object obj_win/game.o Built object obj_win/actors.o Built object obj_win/anim.o Built object obj_win/config.o Built object obj_win/gamedef.o Built object obj_win/gameexec.o Built object obj_win/gamevars.o Built object obj_win/global.o Built object obj_win/menus.o Built object obj_win/namesdyn.o Built object obj_win/player.o Built object obj_win/premap.o Built object obj_win/savegame.o Built object obj_win/sector.o Built object obj_win/rts.o Built object obj_win/osdfuncs.o Built object obj_win/osdcmds.o Built object obj_win/grpscan.o Built object obj_win/sounds.o Built object obj_win/util_lib.o Built object obj_win/file_lib.o Built object obj_win/control.o Built object obj_win/keyboard.o Built object obj_win/mouse.o Built object obj_win/mathutil.o Built object obj_win/scriplib.o Built object obj_win/animlib.o Built object obj_win/gameres.o Built object obj_win/winbits.o Built object obj_win/startwin.game.o Built object obj_win/music.o Built object obj_win/midi.o Built object obj_win/mpu401.o Changing dir to /c/source/eduke32/polymer/eduke32/build Built object ../eobj_win/a.o Built object ../eobj_win/a-c.o Built object ../eobj_win/baselayer.o Built object ../eobj_win/cache1d.o Built object ../eobj_win/compat.o Built object ../eobj_win/crc32.o Built object ../eobj_win/defs.o Built object ../eobj_win/engine.o Built object ../eobj_win/polymost.o Built object ../eobj_win/hightile.o Built object ../eobj_win/textfont.o Built object ../eobj_win/smalltextfont.o Built object ../eobj_win/kplib.o Built object ../eobj_win/quicklz.o Built object ../eobj_win/md4.o Built object ../eobj_win/osd.o Built object ../eobj_win/pragmas.o Built object ../eobj_win/scriptfile.o src/nedmalloc.c: In function 'nedblksize': src/nedmalloc.c:522: warning: unused variable 'mspace' src/nedmalloc.c: In function 'RemoveCacheEntries': src/nedmalloc.c:684: warning: unused parameter 'p' src/nedmalloc.c: In function 'threadcache_malloc': src/nedmalloc.c:786: warning: unused parameter 'p' src/nedmalloc.c: In function 'ReleaseFreeInCache': src/nedmalloc.c:873: warning: unused parameter 'mymspace' src/nedmalloc.c: In function 'threadcache_free': src/nedmalloc.c:909: warning: suggest parentheses around + or - inside shift src/nedmalloc.c: In function 'nedpmallinfo': src/nedmalloc.c:1452: warning: missing initializer src/nedmalloc.c:1452: warning: (near initialization for 'ret.ordblks') src/nedmalloc.c: In function 'nedpmallopt': src/nedmalloc.c:1469: warning: unused parameter 'p' Built object ../eobj_win/nedmalloc.o Built object ../eobj_win/mutex.o Built object ../eobj_win/mdsprite.o Built object ../eobj_win/glbuild.o Built object ../eobj_win/polymer.o In file included from src/winlayer.c:41:. include/rawinput.h:14:1: warning: "VK_LBUTTON" redefined In file included from c:\mingw\bin\../lib/gcc/mingw32/4.3.3/../.. /../../include/ windows.h:55, from src/winlayer.c:17: c:\mingw\bin\../lib/gcc/mingw32/4.3.3/../.. /../../include/winuser.h:1850:1: warn ing: this is the location of the previous definition In file included from src/winlayer.c:41: include/rawinput.h:15:1: warning: "VK_RBUTTON" redefined In file included from c:\mingw\bin\../lib/gcc/mingw32/4.3.3/../.. /../../include/ windows.h:55, from src/winlayer.c:17: c:\mingw\bin\../lib/gcc/mingw32/4.3.3/../.. /../../include/winuser.h:1851:1: warn ing: this is the location of the previous definition In file included from src/winlayer.c:41: include/rawinput.h:16:1: warning: "VK_CANCEL" redefined In file included from c:\mingw\bin\../lib/gcc/mingw32/4.3.3/../.. /../../include/ windows.h:55, from src/winlayer.c:17: c:\mingw\bin\../lib/gcc/mingw32/4.3.3/../.. /../../include/winuser.h:1852:1: warn ing: this is the location of the previous definition In file included from src/winlayer.c:41: include/rawinput.h:17:1: warning: "VK_MBUTTON" redefined In file included from c:\mingw\bin\../lib/gcc/mingw32/4.3.3/../.. /../../include/ windows.h:55, from src/winlayer.c:17: c:\mingw\bin\../lib/gcc/mingw32/4.3.3/../.. /../../include/winuser.h:1853:1: warn ing: this is the location of the previous definition src/winlayer.c: In function 'idle_waitevent': src/winlayer.c:827: error: 'WM_INPUT' undeclared (first use in this function) src/winlayer.c:827: error: (Each undeclared identifier is reported only once src/winlayer.c:827: error: for each function it appears in.) src/winlayer.c:827: error: 'PM_QS_INPUT' undeclared (first use in this function) Failed building ../eobj_win/winlayer.o from src/winlayer.c! make[1]: *** [../eobj_win/winlayer.o] Error 1 make: *** [enginelib] Error 2
#1398 Posted 02 May 2010 - 07:57 PM
Quote
Well, thats definitely wrong.

#1399 Posted 03 May 2010 - 12:18 AM
supergoofy needs to make another compiler pack

#1400 Posted 03 May 2010 - 01:57 AM


This post has been edited by supergoofy: 03 May 2010 - 01:58 AM
#1401 Posted 03 May 2010 - 02:09 AM
#1402 Posted 03 May 2010 - 02:12 AM
#1403 Posted 03 May 2010 - 02:22 AM

But I guess I'll have to do it sometime.

This post has been edited by supergoofy: 03 May 2010 - 02:22 AM
#1404 Posted 03 May 2010 - 04:49 AM
TX, on May 3 2010, 03:12 AM, said:
mapster 2d zoom is broken, and going into 3d wont work
#1405 Posted 03 May 2010 - 07:26 AM
TX, on May 3 2010, 10:12 PM, said:
I can't even compile the newer versions any more, and I can't be assed to try and find all the tools etc I need to download for MSYS/MinGW to make it work.

Make more synthesis builds.

#1406 Posted 03 May 2010 - 07:37 AM
gcc-4.4.1-tdm-2
and
gcc-4.5.0-1
I'll have to test them first before I upload anything.
[Edit]
My first compiling environment based on gcc-4.4.1-tdm-2 compiles ok eduke32 r1629
The second compiling environment based on gcc-4.5.0-1 gives error. It needs Link Time Optimization (LTO):
http://gcc.gnu.org/w...imeOptimization
I'm not going to bother doing all the stuff described in the page, just to enable LTO.
This post has been edited by supergoofy: 03 May 2010 - 07:59 AM
#1408 Posted 03 May 2010 - 08:02 AM
As I said my first compiling environment based on gcc-4.4.1-tdm-2 compiles ok eduke32 r1629
But the second based on gcc-4.5.0-1 needs to enable LTO. And I was bothered enough gathering all the needed stuff, I'm not going to bother anymore with gcc-4.5.0-1. If anyone wants just read the wiki: http://gcc.gnu.org/w...imeOptimization
Here is the compiled binary with my new gcc-4.4.1-tdm-2 compiling environment:
eduke32_win32_20100503-1629.zip
http://www.mediafire...php?mtdezygmi2z
And I forgot to report that the build tools (kgroup, kextract etc. etc.) cannot be compiled.
This post has been edited by supergoofy: 03 May 2010 - 08:12 AM
#1409 Posted 03 May 2010 - 08:15 AM
I still get a few warnings and shit. Are they normal?
http://pastebin.com/PsLBGXy8
#1410 Posted 03 May 2010 - 08:25 AM
Anyway here is my compiling environment:
MinGW_gcc-4.4.1-tdm-2.rar
http://www.mediafire...php?zm2mbzdqwkm
MSYS-1.0.11.exe
http://www.mediafire...php?qydxuzkytii
msysCORE-1.0.14-1-update.rar
http://www.mediafire...php?l3m2xqj522y
I will work later to fix gcc-4.5.0-1
[edit]
With gcc-4.5.0-1 I get this error message:
cc1.exe: error: LTO support has not been enabled for this configuration
From what I I understand, I have to install libelf v0.8.12 and then download from the svn the LTO and then recompile?
If that's the case, I will not bother with it anymore.
[edit2]
or do I have to download gcc source and compile it with LTO enabled ?
[edit3]
check my next post. TX told me a little tip. Actually I forgot about looking in Makefile

This post has been edited by supergoofy: 03 May 2010 - 10:17 AM