3D Realms Forums

3D Realms Forums (https://forums.3drealms.com/vb/index.php)
-   Duke Nukem 3D Modifications (https://forums.3drealms.com/vb/forumdisplay.php?f=17)
-   -   EDuke32 snapshot thread (https://forums.3drealms.com/vb/showthread.php?t=33763)

TerminX 11-26-2008 01:02 AM

EDuke32 snapshot thread
 
Here's a new snapshot, featuring the awesome new texture caching system I wrote when I was baked last night. The "texcache" dir is no longer required as I've instead opted for a single file approach. This gives a huge boost to both read and write performance as we can take advantage of any I/O buffering going on (and we always have the file open and ready for use) whereas previously, we were forced to flush the I/O buffer when opening and closing each individual cache file.

Since it's a new system there are still a few problems but there appears to be nothing major wrong with it. You might get the occasional texture that ends up in the wrong spot but that's easily fixed by restarting the game. Comments I've got on test builds I've sent out have been along the lines of "those loading speeds are godly" and "It seems like once the texture lands in your humongous cache file, it then loads at near Quake 3 speed", but YMMV.

Test it out now!

Edit: this thread is now for snapshot discussion only, please create new threads with the prefix [EDuke32] for valid bug reports, coherent requests for new features, et cetera. If something is obviously wrong with just the last couple of snapshots, post about it here, but if there's a bug which occurs in several versions, make a new thread.

Sobek 11-26-2008 01:20 AM

Re: EDuke32 thread part 3
 
Deleted my old texcache dirs, dropped in the new EXE's, and after the initial load... Wow. Load times are indeed near-instant now after that initial caching has been completed.

No issues to speak of, but I'll be trying it out more at home later.

Spiker 11-26-2008 07:12 AM

Re: EDuke32 thread part 3
 
Wow, souds great. I wonder how much have you learnt while coding eduke32. I wouldn't mind if you learnt more and added another cool updates:D

TerminX 11-26-2008 07:28 AM

Re: EDuke32 thread part 3
 
Quote:

Originally Posted by Spiker (Post 790704)
I wonder how much have you learnt while coding eduke32.

A lot. :o

The Commander 11-26-2008 07:29 AM

Re: EDuke32 thread part 3
 
Quote:

Originally Posted by Spiker (Post 790704)
Wow, souds great. I wonder how much have you learnt while coding eduke32. I wouldn't mind if you learnt more and added another cool updates:D

I wouldnt consider it a how much he's lernt but more of a how much the engine can take. ;)

TerminX 11-26-2008 07:37 AM

Re: EDuke32 thread part 3
 
I don't think I knew most of what I know now about coding worth a shit when I started. Lots of trial and error/bothering people like JonoF with stupid questions/reading stuff on the Internet.

Qbix 11-26-2008 07:51 AM

Re: EDuke32 thread part 3
 
yeah actually doing coding is a great teacher.

Hendricks266 11-26-2008 11:59 AM

Re: EDuke32 thread part 3
 
I've been hoping for something like this a very long time. Waaay back when I first got the March 2005 HRP.

Quote:

Originally Posted by Qbix (Post 790718)
yeah actually doing coding is a great teacher.

As I know with CON coding. :)

NightFright 11-27-2008 05:41 AM

Re: EDuke32 snapshot thread
 
I appreciate this new precaching system quite much. Deleting that texcache dir always took ages, especially since I was using secure file deletion with three wipes per file. Having a large single file instead of thousands of small ones is just the right step. I can only congratulate TerminX on this decision!

The Commander 11-27-2008 07:05 AM

Re: EDuke32 snapshot thread
 
Quote:

Originally Posted by NightFright (Post 791047)
I appreciate this new precaching system quite much. Deleting that texcache dir always took ages, especially since I was using secure file deletion with three wipes per file. Having a large single file instead of thousands of small ones is just the right step. I can only congratulate TerminX on this decision!

Yes this does come in handy very much espicaly when backing up my Duke stuff and having to delete the old texchache from all my duke folders took ages.

Mateos 11-27-2008 11:14 AM

Re: EDuke32 snapshot thread
 
You're a god, thanks to you for your hard working, and thanks to continue to make Duke better and better ^^

Dr. Kylstien 11-27-2008 11:23 AM

Re: EDuke32 snapshot thread
 
Sometimes glow textures are misaligned/scaled on particular (3D) sprites. I also saw some sprites switch to models before my eyes. Just minor quirks, but I want to make sure they are known.

Puritan 11-27-2008 11:56 AM

Re: EDuke32 snapshot thread
 
There seems to be some error with the shrinker after this snapshot-release?

http://dukerepository.com/forum/inde...pic,8.105.html

NightFright 11-27-2008 01:02 PM

Re: EDuke32 snapshot thread
 
The only thing I'd like to be added still is a larger version of the optional status display (time/kills/secret) above the HUD. I'm playing @ 1280x1024 and it's really tiny.

CraigFatman 11-27-2008 02:18 PM

Re: EDuke32 snapshot thread
 
Shrinker doesn't shoot when I load a saved game. :( How did you test it? I have the latest 11/25 snapshot.

Usurper 11-27-2008 02:57 PM

Re: EDuke32 snapshot thread
 
Today, let us give thanks for superfast loading speeds in EDuke32. Amen.

NightFright 11-27-2008 03:13 PM

Re: EDuke32 snapshot thread
 
Praise to the TerminX! Praise, long life and success! *worship* *adore* *chant* ;)

TerminX 11-27-2008 03:22 PM

Re: EDuke32 snapshot thread
 
Quote:

Originally Posted by NightFright (Post 791155)
The only thing I'd like to be added still is a larger version of the optional status display (time/kills/secret) above the HUD. I'm playing @ 1280x1024 and it's really tiny.

Change the text scaling option in the menu!

eddym4814 11-27-2008 04:17 PM

Re: EDuke32 snapshot thread
 
Thank you very much for this change. I just reinstalled the HRP and what a difference. On my old pc the fps before was 60 at idle and 30 to 40 in game. Now it's 180+ at idle and averages around 100 fps in game. The only problem I had was some strange textures but I removed sd_duke from the autoload folder and now it looks fine. It's been a while since I played with the HRP because of the lag. Thanks again. :)

Sobek 11-27-2008 05:30 PM

Re: EDuke32 snapshot thread
 
Quote:

Originally Posted by eddym4814 (Post 791192)
Thank you very much for this change. I just reinstalled the HRP and what a difference. On my old pc the fps before was 60 at idle and 30 to 40 in game. Now it's 180+ at idle and averages around 100 fps in game. The only problem I had was some strange textures but I removed sd_duke from the autoload folder and now it looks fine. It's been a while since I played with the HRP because of the lag. Thanks again. :)

Your old PC? You reinstalled the HRP on a new one? (That might explain such a large improvement in framerate!). sd_duke will cause some serious performance drops in most situations... No doubt it's the removal of sd_duke that's spiked your FPS so nicely, and not this new release of eDuke32 (obviously no offence intended TX, and assuming you aren't on a newer / better PC now).

eddym4814 11-27-2008 11:39 PM

Re: EDuke32 snapshot thread
 
Quote:

Sobek
Re: EDuke32 snapshot thread
Quote:
Sobek:
Your old PC? You reinstalled the HRP on a new one? (That might explain such a large improvement in framerate!). sd_duke will cause some serious performance drops in most situations... No doubt it's the removal of sd_duke that's spiked your FPS so nicely, and not this new release of eDuke32 (obviously no offence intended TX, and assuming you aren't on a newer / better PC now).
Sorry I wasn't clear. It's the same pc. After I just read your post I put sd_duke back in the autoload folder to check the framerate. It was all over the place but still much better than before. At idle it ranged from 100-140 fps. At random, and every time I killed an alien though a big green wall appeared, like the one's in the mothership and the fps would drop right down to 50-60.
Next I totally uninstalled the HRP and reinstalled it using the copy of eduke32 that came with it. Without sd_duke the framerate at idle was 60 and in game 40-50. So there was an improvement in the in game fps by removing sd_duke but not a lot. To tell you the truth at this point I'm just happy I can finally play Duke using the HRP. If there are other people using older computers out there who had a problem with the HRP they should definitely try this version of eduke32 out.

PimpUigi 11-28-2008 05:38 AM

Re: EDuke32 snapshot thread
 
Hmm, that's note worthy.

I'll start putting it on my old computers that the kids use.

The Commander 11-28-2008 06:07 AM

Re: EDuke32 snapshot thread
 
Quote:

Originally Posted by PimpUigi (Post 791379)
Hmm, that's note worthy.

I'll start putting it on my old computers that the kids use.

Just a heads up.
The computers still have to be able to display 32bit polymost. :)

KillerBudgie 11-28-2008 09:37 AM

Re: EDuke32 snapshot thread
 
Hey TX. I like the new snapshot. Loading times are at least 4X faster than previous snaps. Good work! :)

The Commander 11-28-2008 09:39 AM

Re: EDuke32 snapshot thread
 
Quote:

Originally Posted by KillerBudgie (Post 791430)
Hey TX. I like the new snapshot. Loading times are at least 4X faster than previous snaps. Good work! :)

Im still waiting for it to make my sandwich though. ;)

Quote:

* It makes sandwiches

NightFright 11-28-2008 10:54 AM

Re: EDuke32 snapshot thread
 
THX for the hint with the status/chat text sizes. That helped! Amazing how this whole thing keeps getting better still. :)

TerminX 11-28-2008 04:23 PM

Re: EDuke32 snapshot thread
 
Quote:

Originally Posted by The Commander (Post 791431)
Im still waiting for it to make my sandwich though. ;)

You get your sandwich in the post 6-8 weeks after downloading. Unfortunately, it rarely survives.

KillerBudgie 11-28-2008 06:40 PM

Re: EDuke32 snapshot thread
 
You should be a comedian, not a programmer! ;)

XTHX2 11-29-2008 04:18 AM

Re: EDuke32 snapshot thread
 
He can be both ;)

KillerBudgie 11-29-2008 06:56 AM

Re: EDuke32 snapshot thread
 
Quote:

Originally Posted by XTHX2 (Post 791807)
He can be both ;)

Perhaps... If his humor is as strong as his programming skills, we're in trouble! ;)

XTHX2 11-29-2008 12:17 PM

Re: EDuke32 snapshot thread
 
Not we, but our stomaches are in trouble...

Mr.Fibbles 11-29-2008 05:10 PM

Re: EDuke32 snapshot thread
 
Humor in programming. . .coders sometimes have too much fun with things like variable names and methods. There are also the joys of sneaking in a easter egg or two in a loading screen.

I will have to download this new snapshot when I get home from my parents house next week. I am looking forward to trying it out.

PimpUigi 11-30-2008 07:26 AM

Re: EDuke32 snapshot thread
 
Limp Lip here we come?

Skulldog 11-30-2008 11:04 AM

Re: EDuke32 snapshot thread
 
Wow, It loads really fast now. THANKS!

Mateos 12-01-2008 10:44 AM

Re: EDuke32 snapshot thread
 
Fast loading but lag :(

MusicallyInspired 12-02-2008 09:02 PM

Re: EDuke32 snapshot thread
 
Where can I find the linux port? Been looking but there doesn't seem to be a download link for it on the website.

EDIT: Never mind. Just delete this post.

Qbix 12-03-2008 05:09 AM

Re: EDuke32 snapshot thread
 
fixed a few errors on 64 linux.
I noticed I can't move my mouse up and down currently.
Why is -lprofile on the LIBS line in the Makefile for linux ? It's not needed for compilation and I don't have it hence I noticed ;) )

TerminX 12-03-2008 06:38 AM

Re: EDuke32 snapshot thread
 
Oh, I was playing with the Google CPU profiler and I accidentally committed it a while back and forgot to revert it.

Qbix 12-03-2008 08:29 AM

Re: EDuke32 snapshot thread
 
Thank you for your answer. Now I wont feel bad when removing that part.

ilovefoxes 12-03-2008 06:41 PM

Re: EDuke32 snapshot thread
 
The 32-bit and etc modes have a engine to display sprites through paralaxed skys. This cause some blocking during mapping, so I think this could be modified? =)

http://img511.imageshack.us/img511/6...0000ga9.th.gif


All times are GMT -6. The time now is 12:54 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

Website is ©1987-2014 Apogee Software, Ltd.
Ideas and messages posted here become property of Apogee Software Ltd.