Duke4.net Forums: EDuke32 2.0 and Polymer! - Duke4.net Forums

Jump to content

  • 213 Pages +
  • « First
  • 45
  • 46
  • 47
  • 48
  • 49
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

EDuke32 2.0 and Polymer!  "talk about the wonders of EDuke32 and the new renderer"

User is offline   supergoofy 

#1381

GCC 4.4.x - 4.5.0 fix by Plagman

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.
0

User is offline   LeoD 

  • Duke4.net topic/3513

#1382

Hail to the Plagman. (Could not get the MinGW version of gcc 4.5 to compile it, though.)
0

User is offline   supergoofy 

#1383

maybe you forgot to compile and install in mingw the libogg and libvorbis libraries
0

User is offline   Plagman 

  • Former VP of Media Operations

#1384

MinGW 4.5.0 is what I was working against when I fixed that, so I know it works; what errors are you running into?
0

User is offline   NF64 

  • Touched by the Banhammer

#1385

Quick question:
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? :P
0

User is offline   LeoD 

  • Duke4.net topic/3513

#1386

 supergoofy, on Apr 26 2010, 10:49 PM, said:

maybe you forgot to compile and install in mingw the libogg and libvorbis libraries

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:

MinGW 4.5.0 is what I was working against when I fixed that, so I know it works; what errors are you running into?

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.
0

User is offline   Night Wolf 

#1387

Has anyone run into this problem ....

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

Posted Image
0

User is offline   Night Wolf 

#1388

I would try deleting the texture cache but for some reason its disappeared and nowhere to be found in the eduke folder
:P ??
0

User is offline   The Commander 

  • I used to be a Brown Fuzzy Fruit, but I've changed bro...

#1389

Changing the texture quality in the options will reset the cache if you can't find it. :P
0

User is offline   Night Wolf 

#1390

that did work to reset the textures... however the problem still happens on the 3rd - 4th time... the textures go screwy just shows maps and games runs very slow... possible windows 7 eduke issue??
0

User is offline   TerminX 

  • el fundador

  #1391

I suspect if there were Windows 7 issues I would have noticed them during the 16 months I've been running Windows 7.
0

User is offline   Sobek 

  • There's coffee in that nebula!

#1392

I've had something kind of similar happen in the past. However instead of just textures going a bit iffy, models tended to have pieces missing (possibly with some goofed up textures like above), along with the same unplayably slow framerate.

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).
0

User is offline   Night Wolf 

#1393

Interesting .... its possible its something I've done , maybe I've added a texture that's too big as I tend to experiment with my hrp' hmmm ... i might explain why its only happened in the last few weeks ... just couldn't be bothered saying anything till now, or it could be something else altogether
0

User is offline   Night Wolf 

#1394

I fixed it! :P

turning off "Pre load map textures" fixed the problem... how odd
0

User is offline   SwissCm 

#1395

i liiiike to make waaafflesss
0

User is offline   The Commander 

  • I used to be a Brown Fuzzy Fruit, but I've changed bro...

#1396

 SwissCm, on May 2 2010, 01:09 AM, said:

i liiiike to make waaafflesss

Posted Image
0

User is offline   Hendricks266 

  • Weaponized Autism

  #1397

The latest revision (1625) fails compiling with MinGW, gcc 4.3.3.

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

0

User is offline   The Commander 

  • I used to be a Brown Fuzzy Fruit, but I've changed bro...

#1398

Yeah, I couldn't get the latest revision to compile. But in saying that I have probably screwed up my MING since I got my new system not to long ago.

Quote

eduke32_r1626.7z 02-May-2010 20:41 24K

Well, thats definitely wrong. :P
0

User is offline   Stabs 

#1399

1526 wont compile for me, although my mingw is the older version

supergoofy needs to make another compiler pack :P
0

User is offline   supergoofy 

#1400

I new that time would come :D

:P

This post has been edited by supergoofy: 03 May 2010 - 01:58 AM

0

User is offline   TerminX 

  • el fundador

  #1401

I wish there was an installer that would pull down all the MinGW gcc 4.5.0 stuff (and related updated packages). I see it's been released a few weeks ago but I'm fucking lazy.
0

User is offline   TerminX 

  • el fundador

  #1402

Btw, expect issues to occur with the latest revisions. Please report them.
0

User is offline   supergoofy 

#1403

I'm really bored to create a new compiling environment based on gcc 4.5.0. :D

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

This post has been edited by supergoofy: 03 May 2010 - 02:22 AM

0

User is offline   Stabs 

#1404

View PostTX, on May 3 2010, 03:12 AM, said:

Btw, expect issues to occur with the latest revisions. Please report them.



mapster 2d zoom is broken, and going into 3d wont work
0

User is offline   The Commander 

  • I used to be a Brown Fuzzy Fruit, but I've changed bro...

#1405

View PostTX, on May 3 2010, 10:12 PM, said:

Btw, expect issues to occur with the latest revisions. Please report them.

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. :D
Make more synthesis builds. :P
0

User is offline   supergoofy 

#1406

Don't worry I already created 2 compiling environments based on:
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

0

User is offline   The Commander 

  • I used to be a Brown Fuzzy Fruit, but I've changed bro...

#1407

4.4.1-tdm-2 is what it appears I am using.
0

User is offline   supergoofy 

#1408

Oops. I edited my posted without refreshing the page and thus I missed your message.

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

0

User is offline   The Commander 

  • I used to be a Brown Fuzzy Fruit, but I've changed bro...

#1409

Yeah, I had some troubles at first with trying to get it to compile, but it may have been due to crap left over from a "copy & paste" after getting my new PC.

I still get a few warnings and shit. Are they normal?

http://pastebin.com/PsLBGXy8
0

User is offline   supergoofy 

#1410

Yep, the warnings are normal


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 :P

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

0

Share this topic:


  • 213 Pages +
  • « First
  • 45
  • 46
  • 47
  • 48
  • 49
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options