EDuke32 2.0 and Polymer! "talk about the wonders of EDuke32 and the new renderer"
#1730 Posted 05 September 2010 - 11:50 PM
#1731 Posted 06 September 2010 - 07:11 AM
#1732 Posted 06 September 2010 - 01:35 PM
#1733 Posted 06 September 2010 - 02:27 PM
Software:
Win7 x64
Directx v11, OpenGL 3
eduke32 win32 20100831-1705
polymer hrp 132
laptop's hardware:
Nvidia GTX 260M - Driver version: 258.96
Mobile Intel Core 2 Quad Q9000 @ 2ghz
6G Ram
Eduke while it's running with polymer never tops out any core at above 50%, so I'm assuming it's something to do with the nvidia driver. Turning off polymer and just loading the hrp lets me run at well over 60fps, with polymer on it's probably averaging 10fps overall, if that. Definitely not playable by anyone's standards, impossible to aim/etc.
Here's the eduke32.log file:
EDuke32 2.0.0devel 20100727 Using C:/Games/Duke Nukem 3D/ for game data Windows 7 (build 6.1.7600) w/ nedmalloc.dll Initializing DirectDraw... Searching for game data... Using 'duke3d.grp' as main game data file. Using file 'autoload/polymer_hrp132.zip' as game data. Compiling: GAME.CON (151190 bytes) Including: DEFS.CON (35992 bytes) Including: USER.CON (45482 bytes) GAME.CON: In actor `ORGANTIC': GAME.CON:3968: warning: found `else' with no `if'. GAME.CON: In state `pigshootenemystate': GAME.CON:5891: warning: found `else' with no `if'. Found 2 warning(s), 0 error(s). Resizing code buffer to 16187*4 bytes Script compiled in 20ms, 16179*4b, version 1.4+ 1918/11264 labels, 321/2048 variables 125 quotes, 207 actors Initialized 24.0M cache Loading 'duke3d.def' warning: defined hightile replacement for empty tile 9000. Maybe some tiles???.art are not loaded? warning: defined hightile replacement for empty tile 9001. Definitions file 'duke3d.def' loaded. RTS file DUKE.RTS was not found Initializing OSD... Initializing DirectInput... - Enumerating attached game controllers - No game controllers found Uninitializing DirectInput... Executing "settings.cfg" Disabling desktop composition... Setting video mode 1600x900 (32-bit fullscreen) OpenGL Information: Version: 3.3.0 Vendor: NVIDIA Corporation Renderer: GeForce GTX 260M/PCI/SSE2 Unable to open cache index: No such file or directory Initializing Polymer subsystem... PR : Initialization complete. Initializing music... Initializing sound... PR : Board loaded. Loaded map hack file '/E1L1.mhk' Cache time: 52926ms E1L1: HOLLYWOOD HOLOCAUST LARGE MEDKIT: +30 Wrote eduke32.cfg Wrote settings.cfg Uninitializing DirectDraw...
#1734 Posted 06 September 2010 - 02:36 PM
#1735 Posted 06 September 2010 - 02:43 PM
Micky C, on Sep 6 2010, 02:35 PM, said:
Yes that's right, it's with the Mac version. It doesn't have the same set of bugs I notice people with ATI cards have on Windows but it has a couple of bugs... that one and another one that seems to be a memory leak where after a while sectors outside the one you are in stop drawing.
Getting back to the illumination thing I think it's also unrealistic for Duke to for no reason have his own illumination in general. No other game with similar rendering does that as far as I know.
This post has been edited by Tetsuo: 06 September 2010 - 02:45 PM
#1736 Posted 06 September 2010 - 02:49 PM
Mr.Flibble, on Sep 6 2010, 05:36 PM, said:
Nothing major, no. CPU history graph on the cores dont show any usage higher than 50% on any core while it's running, which leads me to think it's some kind of driver incompatibility or something with the gpu. The gpu does heat up pretty well though, goes from ~70c idle to 80-85c while chuggin in duke. I dont have any other way to guage the load on the gpu, but I'm guessing it's at 100% or so
-------------
Ok.. Very odd. Works like a champ now. I rebooted, tossed the roland sc55 pack into autoload, and turned the fps counter on. Now I'm getting 40-90fps with no problems. Got no idea, I'm sure the reboot fixed it, but I didn't change anything with my gpu settings or the game settings. I dunno, I'm happy that works great now, but if there's anything I can do to try to get to the bottom of it, let me know
This post has been edited by path0s: 06 September 2010 - 06:45 PM
#1737 Posted 07 September 2010 - 04:25 PM
Almost 900 views and no responses. I will post it in a more proper area of the forums and hope for better luck.
This post has been edited by Marked: 11 September 2010 - 05:53 PM
#1738 Posted 12 September 2010 - 09:41 AM
#1739 Posted 20 September 2010 - 07:26 AM
[img width=150 height=94]http://img832.imageshack.us/img832/6851/problemjl.th.jpg[/img]
#1740 Posted 20 September 2010 - 08:19 AM
#1741 Posted 20 September 2010 - 08:54 AM
do for i allwalls sub wall[i].y 16384, for i allsprites sub sprite[i].y 16384
a few times in the console should do fine. Note that you shouldn't usually change wall x/y values in this direct way.
#1742 Posted 21 September 2010 - 09:13 AM
#1744 Posted 27 September 2010 - 04:49 PM
Hi Newb with major issues here,
This is most likely a know bug, but eduke32 has major memory use issues. (I have the latest eduke32 aquired from eduke32.com)
These issues appear with the High Resolution Pack enabled. I also have dukeplus, but that most likely is not the issue...
To reproduce,
1. Make sure that you have like ~1.3GB free memory. (2GB minus allocated video memory minus Windows 7 overhead)
2. Run eduke32 with the HRP. (1080p)
3. New Game L.A. Meltdown
4. New Game The Birth
5. Low Memory Crash
6. Restart eduke32
7. New Game The Birth
8. No Crash.
9. Restart eduke32
10. Set textures to low (they on medium by default. logic: low textures = less memory = less crashes)
11. New Game The Birth
12. Holy Mother of God Low Memory Crash
So low textures make things worse.
And some memory is not de-malloc-ed that was malloc-ed.
A few things I noticed,
1. Windows complaints of low memory when eduke32 loads. (This makes no sense, playing intro video and loading the menu shouldn't use lots of memory or take a long time to load.)
2. The high resolution atomic logo flickers when loading.
3. Text is blurry when loading, it like one character is blurry other is not.
4. There are visual hints that eduke32 will crash. The loading screen becomes corrupted, the loading bar becomes some other texture, and so on.
5. By low memory crash, I mean just that. eduke32 eats up all memory, crashes. Windows brings up warning.
6. By Holy Mother of God Low Memory Crash, I mean the closes you can come to a BSOD before the BSOD. The Nvidia driver crashed, Task Manager did not have enough memory to load itself - had only two tabs - showed 0% RAM and 0% CPU (I think it couldn't load those due to low memory). There was some other error as well from eduke32... Killing eduke32 which showed a black screen set everything baleaks.ck to normal. I had this happen with FF4 when FF4 D2D had massive memory leaks.
Help would be appriciated.
Also other things not so related,
1. Loading HRP content doesn't actually load all the HRP content necessary. There is minor pause before the first kick, before the first dead enemy, so on. So some things get loaded on the fly?
2. eduke32 runs ~200FPS, a monitor can display anywhere form 60 to 120 frames per second. Any reason for the FPS cap-less-ness ?
3. HRP performance seems to suffer just as is, sure FPS is always above 60, but still lower than I would expect considering I am not using the new lighting code...
Specs and other Information,
Intel Atom N270 @ 1.6Ghz
2GB DDR3
Nvidia ION
Windows 7 x86_32
I assure you, it is up to date.
This post has been edited by Hera: 27 September 2010 - 04:53 PM
#1746 Posted 02 October 2010 - 05:13 AM
#1747 Posted 04 October 2010 - 05:41 AM
The worst thing is, when I launch eduke again all my setting are then set to default, which is frustrating.
Haven't had this problem with any other levels.
#1748 Posted 04 October 2010 - 09:27 PM
High res textures + bump maps and other cool effects, simply don't go well on those low quality limited maps.
If somebody would be talented enough to remake the Duke 3D maps in a way so they feel exactly the same like the originals but look more detailed, so that higher res textures with bumpmaps don't look so strange in the game.
Polymer + high res textures + old maps are like taking quake 1 character models and adding bump maps and high res textures to them thinking that you can make them look realistic even though their heads and other body parts are perfectly cubical.
This post has been edited by Mr.Deviance: 04 October 2010 - 09:30 PM
#1749 Posted 04 October 2010 - 09:41 PM
Mr.Deviance, on Oct 4 2010, 10:27 PM, said:
There's actually plenty of people in the community who have the skills to do that, but so far those people have been more interested in their own new projects. The closest thing to what you want is Duke Nukem Eternity with maps by DanM, his levels are supposed to be inspired by the original ones (e.g. the first level has a movie theater like E1L1) and they use Polymer with models etc. But the original levels are only loose inspiration and DNE feels very different, not much like the original levels at all.
As I have said in a different thread, this would be a good idea and it would get people excited about the HRP again. It might be kind of boring and limiting for the level designers, though, I'm not sure.
#1750 Posted 04 October 2010 - 11:35 PM
DeeperThought, on Oct 4 2010, 10:41 PM, said:
As I have said in a different thread, this would be a good idea and it would get people excited about the HRP again. It might be kind of boring and limiting for the level designers, though, I'm not sure.
I think most people are waiting for DNF to come out (particles, proper animations, mature renderer) before they start something like that. A quick poll of some pro-level modellers came back with a general feeling that they would be wasting thier time producing stuff for EDuke due to the amount of sector based props which would clash with the next-gen feel of any new props and models. Previously, I've advocated that we move away from sector based props and there was a general feeling from others here that this would 'ruin the feeling of Duke'.
That is another problem with this forum in general. A lot of the people here sneer at any kind of change. They very vocally deride the HRP and the people who work on it. There are stilll mods being issued that use 8-bit art. That in itself isn't a bad thing, but whenever you try to move the look of the HRP forward, you have to fight all these people to get any change done. I've been advised by a number of people outside the project that I'm wasting my time here and I'm beginning to agree with them.
#1751 Posted 05 October 2010 - 12:27 AM
Tea Monster, on Oct 5 2010, 12:35 AM, said:
That is another problem with this forum in general. A lot of the people here sneer at any kind of change. They very vocally deride the HRP and the people who work on it. There are stilll mods being issued that use 8-bit art. That in itself isn't a bad thing, but whenever you try to move the look of the HRP forward, you have to fight all these people to get any change done. I've been advised by a number of people outside the project that I'm wasting my time here and I'm beginning to agree with them.
People object to editing the original levels to replace sector based props with models, and for good reasons. Models in Eduke32 currently cannot be made to block/clip accurately, since no matter what they look like they are all essentially just squares with a blocking sphere as far as the game is concerned. Also, they can't have buttons/switches/doors etc. on them because they do not have walls. Those are my objections, and I stated them at the time it was brought up. But these objections only apply to editing the old levels. If one were remaking the levels from scratch, then of course one could use modeled props all over the place with no loss, because the levels would be designed a bit differently. If you want to make a modern looking game, then obviously you can't rely on sector based props. Sectors are good for floors, ceilings, walls, doors, and many other things that are rooted to the ground, but not for detailed objects with the potential for independent movement.
Working on EDuke32 might very well be a waste of time for you and other modelers, depending on your long term goals. But if that's true, it's certainly not because there are some people around who "sneer at change". No one is stopping anyone from remaking the old levels for Polymer and trying to make it more like a modern game. If some people don't like it or aren't interested, then that's within their rights, and it's within your rights to ignore them. If the project is good it will attract people from outside the community and it won't matter what the naysayers think. So really what it comes down to is whether the imminent release of DNF makes such a project irrelevant and unworthy of the effort required to complete it. I have to admit, I'm not sure. In any event, I would like to see DanM release a completed version of Duke Nukem Eternity before DNF is released, and I'll try to help him with code as much as I can.
#1752 Posted 05 October 2010 - 10:24 AM
DeeperThought, on Oct 5 2010, 01:41 AM, said:
As I have said in a different thread, this would be a good idea and it would get people excited about the HRP again. It might be kind of boring and limiting for the level designers, though, I'm not sure.
Maybe just maybe – why not un-dust the best maps from the community, and make them into 2010 look-a-likes? Who is gonna play those Duke Nukem 3D maps? Honest. I am very impressed with what you guys did, but playing Duke Burger again? Or re-doing 3DRealms tiles? Unless there is a gravity environment, or something to remind one, that one is on the moon, eleven of those Duke maps are not worth it.
Also. The Duke Aliens – even Harry Potter books said(wrote) Aliens are boring’. I agree. There are a horde of enemies, of older TCs worth doing. Platoon, Zero Hours etc. How about Killer Bees, snipers ( hated to death ), poltergeists and what not? Since we got the source and a shitload of hidden treasures why not combine that instead of promoting Duke?
@ the post after the quote: As for people worried about they wasting their time – well, if you plan to make commercial games, yes you are. The latest available engines overshadow even the older ( a year ago ) engines let alone the upgraded Build engine. So what, where is your heart? If you know how to make models, do them in 3D Max or True Space and port them to whatever engine it needs to go into. The models are always yours! You can charge cash for them if someone wants them! If no-one wants them, well, maybe your model sucked!
As always, all my posts should be taken with a grain of salt.
#1753 Posted 05 October 2010 - 10:34 AM
That thing's always been slow, space-consuming, and has bugs with compressed NTFS, which I have on all my drives except the OS drive. It has always been sluggish, even when all texture levels are loaded it never loads the HUD weapon graphics or their palette swaps which happen under certain lighting, gibs, frozen enemies, and a few other circumstances. This results in unexpected lag during some parts of the game as it still needs to load some textures in gameplay. Also it's got some serious compatibility issues with DukePlus, and some of those levels load corrupt textures which end up lagging the graphics TONS, by tons I mean one frame per 10 seconds! They also outright crash loading some levels unless preload level textures is off.
But the point here isn't what bugs the ODC has. The point is on-disk texture caching is an old and outdated concept, and the engine would be much better off without it. Currently its in-memory texture loading is slow and has oversights on loading some textures at load time just like ODC. I really think this mode should be optimized and the ODC thrown out the window. I've had the chance to play with the Doomsday Doom engine lately and I've seen how quickly it loads stuff without the need of an ODC. And Doomsday has hires texture and model packs just like EDuke32, I don't see why it couldn't be done.
The EDuke32 engine has come a long way and some of the things I see being implemented in latest builds push the graphics to literally contemporary standards! Most of the game's textures are... "cartoony", that is to say their colors and shading are poppy and not too realistic. But when I used the most recent HRP and EDuke32 binary to go into the bank vault in E3M2 I saw exactly what this thing is capable of! It was surreal, and beyond anything I've seen in other parts of the game! With graphics this good being loaded and cached in such an old way, something really feels wrong.
You're probably all busy working hard on light upgrade for the original DN3D levels or bugfixing the engine, but give the ODC a look please. It would REALLY be worth it!
This post has been edited by Searinox Navras: 05 October 2010 - 10:36 AM
#1754 Posted 05 October 2010 - 03:24 PM
#1755 Posted 05 October 2010 - 03:40 PM
This post has been edited by Searinox Navras: 05 October 2010 - 03:43 PM
#1756 Posted 06 October 2010 - 01:17 AM
Thats fine if you want to make models for Crises, or Unreal Tournament, but for Duke, you are screwed. There are signs that Gearbox will be a lot more lenient towards mods using other engines, but that doesn't change the perceived attitude here.
With Polymer in place, there is little to stop the HRP looking damn-near like what you find in a modern game. As an artist and a modeller, I can picture in my head what it could look like and how kick-ass it would be. When nobody else gives a f*ck when you try to convince them, it's very disheartening.
This post has been edited by Tea Monster: 06 October 2010 - 01:20 AM
#1757 Posted 06 October 2010 - 07:00 AM
Searinox: the point of a primed texture cache is to _reduce_ loading times, and it does just that as far as I can tell. Playing without precaching of any kind results in the game running choppily all the way through the level as it finds new textures to load. Playing with precaching but no on-disk texture cache results in precaching taking _very long_ because all textures have to be compressed on the fly. Playing with precaching and the on-disk cache enabled and primed is the optimal case, as it only takes a few seconds to load a level and the only choppiness you get is whatever the caching logic is missing, currently I think alternate texture maps for HUD models and maybe some other cornercases. Of course there are bugs (albeit long-standing) but detailed reports are welcome. :-)
#1758 Posted 06 October 2010 - 10:41 AM
ALL of this stuff is omitted from precaching and should be part of the loading. Additionally, it seems that ALL textures need to be re-cached when subjected to hue-changing lighting. For example in the stripper bar all weapons, wall textures, monsters, explosions, everything needs to be recached under the new lighting. As far as lighting logic goes, I would REALLY really recommend that some game engine logic be changed, and the textures be CAST LIGHTING of that color onto them instead of modifying the texture's data and thus requiring a separate caching for color-changed textures. This would not only prevent all of that infernal re-caching but also add more realism, I still go WTF when I see blue or green explosion plumes in certain areas just because there's a slight blue/green tint in the lighting. Believe me removing the alternate coloring from textures would remove a LOT of nasty in-level precaching instances and much of that unexpected sudden choppiness and would visibly result in a GREAT improvement in performance.
I know ODC is supposed to make things faster, but I was trying to stress that it's a dated concept, and most engines nowadays can do it fast and put all of it in the memory.
EDIT:
@Hera "4. There are visual hints that eduke32 will crash. The loading screen becomes corrupted, the loading bar becomes some other texture, and so on."
Got that problem too, especially when loading some DukePlus levels. Again this is in the precaching stage and is what I meant in the earlier post where I said ODC is buggy.
This post has been edited by Searinox Navras: 08 October 2010 - 08:21 AM
#1759 Posted 09 October 2010 - 04:20 PM
Mods like Attrition or DP could use it, but other than that you're SOL since there's no way of knowing everything that might end up being shown in a level/mod.

Help
Duke4.net
DNF #1
Duke 3D #1


