Forum Archive

Go Back   3D Realms Forums > 3D Realms Topics > Duke Nukem > Duke Nukem 3D Modifications
Blogs FAQ Community Calendar

Notices

 
 
Thread Tools
Old 11-26-2008, 01:02 AM   #1
TerminX

TerminX's Avatar
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.
Last edited by TerminX; 11-26-2008 at 06:56 PM.
TerminX is offline  
Old 11-26-2008, 01:20 AM   #2
Sobek

Sobek's Avatar
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.
Sobek is offline  
Old 11-26-2008, 07:12 AM   #3
Spiker

Spiker's Avatar
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
Spiker is offline  
Old 11-26-2008, 07:28 AM   #4
TerminX

TerminX's Avatar
Re: EDuke32 thread part 3
Quote:
Originally Posted by Spiker View Post
I wonder how much have you learnt while coding eduke32.
A lot.
TerminX is offline  
Old 11-26-2008, 07:29 AM   #5
The Commander

The Commander's Avatar
Re: EDuke32 thread part 3
Quote:
Originally Posted by Spiker View Post
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
I wouldnt consider it a how much he's lernt but more of a how much the engine can take.
__________________
I Know Everything There Is To Know About Anything.

Duke Nukem Red Alert SVN

Ask Me Anything!
The Commander is offline  
Old 11-26-2008, 07:37 AM   #6
TerminX

TerminX's Avatar
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.
Last edited by TerminX; 11-26-2008 at 07:53 AM.
TerminX is offline  
Old 11-26-2008, 07:51 AM   #7
Qbix
DOSBox Advisor

Qbix's Avatar
Re: EDuke32 thread part 3
yeah actually doing coding is a great teacher.
Qbix is offline  
Old 11-26-2008, 11:59 AM   #8
Hendricks266
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 View Post
yeah actually doing coding is a great teacher.
As I know with CON coding.
Hendricks266 is offline  
Old 11-27-2008, 05:41 AM   #9
NightFright

NightFright's Avatar
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!
NightFright is offline  
Old 11-27-2008, 07:05 AM   #10
The Commander

The Commander's Avatar
Re: EDuke32 snapshot thread
Quote:
Originally Posted by NightFright View Post
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.
__________________
I Know Everything There Is To Know About Anything.

Duke Nukem Red Alert SVN

Ask Me Anything!
The Commander is offline  
Old 11-27-2008, 11:14 AM   #11
Mateos

Mateos's Avatar
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 ^^
__________________
Chicken's Work Fan.
Mateos is offline  
Old 11-27-2008, 11:23 AM   #12
Dr. Kylstien
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.
Dr. Kylstien is offline  
Old 11-27-2008, 11:56 AM   #13
Puritan

Puritan's Avatar
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
__________________
Hail to the king, baby !:

http://dukerepository.com/
Puritan is offline  
Old 11-27-2008, 01:02 PM   #14
NightFright

NightFright's Avatar
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.
NightFright is offline  
Old 11-27-2008, 02:18 PM   #15
CraigFatman

CraigFatman's Avatar
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.
__________________
LEBuild 1.0.3
Revolution of Duke mapping is coming on...
CraigFatman is offline  
Old 11-27-2008, 02:57 PM   #16
Usurper

Usurper's Avatar
Re: EDuke32 snapshot thread
Today, let us give thanks for superfast loading speeds in EDuke32. Amen.
__________________
Meadhall of the Comitatus | RTCM
Usurper is offline  
Old 11-27-2008, 03:13 PM   #17
NightFright

NightFright's Avatar
Re: EDuke32 snapshot thread
Praise to the TerminX! Praise, long life and success! *worship* *adore* *chant*
NightFright is offline  
Old 11-27-2008, 03:22 PM   #18
TerminX

TerminX's Avatar
Re: EDuke32 snapshot thread
Quote:
Originally Posted by NightFright View Post
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!
TerminX is offline  
Old 11-27-2008, 04:17 PM   #19
eddym4814

eddym4814's Avatar
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.
eddym4814 is offline  
Old 11-27-2008, 05:30 PM   #20
Sobek

Sobek's Avatar
Re: EDuke32 snapshot thread
Quote:
Originally Posted by eddym4814 View Post
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).
Sobek is offline  
Old 11-27-2008, 11:39 PM   #21
eddym4814

eddym4814's Avatar
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.
eddym4814 is offline  
Old 11-28-2008, 05:38 AM   #22
PimpUigi

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

I'll start putting it on my old computers that the kids use.
PimpUigi is offline  
Old 11-28-2008, 06:07 AM   #23
The Commander

The Commander's Avatar
Re: EDuke32 snapshot thread
Quote:
Originally Posted by PimpUigi View Post
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.
__________________
I Know Everything There Is To Know About Anything.

Duke Nukem Red Alert SVN

Ask Me Anything!
The Commander is offline  
Old 11-28-2008, 09:37 AM   #24
KillerBudgie

KillerBudgie's Avatar
Re: EDuke32 snapshot thread
Hey TX. I like the new snapshot. Loading times are at least 4X faster than previous snaps. Good work!
__________________
The Duke will kill you, the Budgies will eat you!!
KillerBudgie is offline  
Old 11-28-2008, 09:39 AM   #25
The Commander

The Commander's Avatar
Re: EDuke32 snapshot thread
Quote:
Originally Posted by KillerBudgie View Post
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
__________________
I Know Everything There Is To Know About Anything.

Duke Nukem Red Alert SVN

Ask Me Anything!
The Commander is offline  
Old 11-28-2008, 10:54 AM   #26
NightFright

NightFright's Avatar
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.
NightFright is offline  
Old 11-28-2008, 04:23 PM   #27
TerminX

TerminX's Avatar
Re: EDuke32 snapshot thread
Quote:
Originally Posted by The Commander View Post
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.
TerminX is offline  
Old 11-28-2008, 06:40 PM   #28
KillerBudgie

KillerBudgie's Avatar
Re: EDuke32 snapshot thread
You should be a comedian, not a programmer!
__________________
The Duke will kill you, the Budgies will eat you!!
KillerBudgie is offline  
Old 11-29-2008, 04:18 AM   #29
XTHX2

XTHX2's Avatar
Re: EDuke32 snapshot thread
He can be both
XTHX2 is offline  
Old 11-29-2008, 06:56 AM   #30
KillerBudgie

KillerBudgie's Avatar
Re: EDuke32 snapshot thread
Quote:
Originally Posted by XTHX2 View Post
He can be both
Perhaps... If his humor is as strong as his programming skills, we're in trouble!
__________________
The Duke will kill you, the Budgies will eat you!!
KillerBudgie is offline  
Old 11-29-2008, 12:17 PM   #31
XTHX2

XTHX2's Avatar
Re: EDuke32 snapshot thread
Not we, but our stomaches are in trouble...
XTHX2 is offline  
Old 11-29-2008, 05:10 PM   #32
Mr.Fibbles

Mr.Fibbles's Avatar
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.
__________________
http://thaunandshad.com
Mr.Fibbles is offline  
Old 11-30-2008, 07:26 AM   #33
PimpUigi

PimpUigi's Avatar
Re: EDuke32 snapshot thread
Limp Lip here we come?
PimpUigi is offline  
Old 11-30-2008, 11:04 AM   #34
Skulldog

Skulldog's Avatar
Re: EDuke32 snapshot thread
Wow, It loads really fast now. THANKS!
Skulldog is offline  
Old 12-01-2008, 10:44 AM   #35
Mateos

Mateos's Avatar
Re: EDuke32 snapshot thread
Fast loading but lag
__________________
Chicken's Work Fan.
Mateos is offline  
Old 12-02-2008, 09:02 PM   #36
MusicallyInspired

MusicallyInspired's Avatar
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.
__________________
Roland SC-55 Music Packs Website
- MediaFire mirror for Duke3D expansions
More SC-55 music packs coming soon...
Last edited by MusicallyInspired; 12-02-2008 at 09:27 PM.
MusicallyInspired is offline  
Old 12-03-2008, 05:09 AM   #37
Qbix
DOSBox Advisor

Qbix's Avatar
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 )
Qbix is offline  
Old 12-03-2008, 06:38 AM   #38
TerminX

TerminX's Avatar
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.
TerminX is offline  
Old 12-03-2008, 08:29 AM   #39
Qbix
DOSBox Advisor

Qbix's Avatar
Re: EDuke32 snapshot thread
Thank you for your answer. Now I wont feel bad when removing that part.
Qbix is offline  
Old 12-03-2008, 06:41 PM   #40
ilovefoxes
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? =)

Last edited by ilovefoxes; 12-03-2008 at 06:47 PM.
ilovefoxes is offline  
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 05:56 AM.

Page generated in 0.18471599 seconds (100.00% PHP - 0% MySQL) with 17 queries

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.