[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4787: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4790: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
InsideQC Forums • View topic - Doom 3 engine release and game code

Doom 3 engine release and game code

Discuss programming topics for any language, any source base. If it is programming related but doesn't fit in one of the below categories, it goes here.

Moderator: InsideQC Admins

Re: Doom 3 engine release and game code

Postby revelator » Fri Aug 16, 2013 12:02 pm

Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: Doom 3 engine release and game code

Postby revelator » Fri Aug 16, 2013 12:02 pm

Major success report :)

I made some thread Lock changes and implemented a port of gnu's atomic intrinsic code to handle various stuff like incrementing pointers.

Doom3 is now so fast it scares even me :shock:

And it runs totally fluid with sikkmods heavies enabled woa :mrgreen:

Atm im using the atomic intrinsics for heap managment and it really helps.

edit: wtf double post :shock:
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: Doom 3 engine release and game code

Postby anonreclaimer » Sun Aug 18, 2013 3:31 am

anonreclaimer
 
Posts: 21
Joined: Tue Aug 28, 2012 4:36 am

Re: Doom 3 engine release and game code

Postby revelator » Sun Aug 18, 2013 8:45 am

try removing Doomconfig.cfg i had the same at times due to changed cvars in the code.

Stray NULL pointer somewhere in the Vanilla cvar code seems to be the cause.
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: Doom 3 engine release and game code

Postby revelator » Sun Aug 18, 2013 8:57 am



source for my version.
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: Doom 3 engine release and game code

Postby qbism » Sun Aug 18, 2013 7:13 pm

ATI Mobility was crashing out on menus until checked "Disable Catalyst AI".
Some Sikkmod effects were weird until disabling downsize options in config. Although a big fps hit, soft shadows look awesome.
Image
User avatar
qbism
 
Posts: 1236
Joined: Thu Nov 04, 2004 5:51 am

Re: Doom 3 engine release and game code

Postby revelator » Sun Aug 18, 2013 9:08 pm

Anyone noticed something strange in ressurection of evil ?

Muzzleflashes on my rocketlauncher bfg and the hellorb are White Blocks on my rig :S strangely enough even the original exe does it, same with the original game dll.

Funny enough every other mod Works fine.
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: Doom 3 engine release and game code

Postby revelator » Thu Aug 22, 2013 10:23 pm

Ok the decal weirdness was a corrupt save it seems :S .

Not much to report else, but i updated all the 3'rd party libraries like curl openal ogg vorbis and jpeg to the latest versions and added my ports of the TGA2 code to it.
Took a bit of the speed unfortunatly but Theres a Price to pay for the detail its now capable off :) not much though it dropped about 5-10 fps in the timedemo ingame its still at max 60.

i also removed the c sources from it (ogg vorbis curl) and defult to linking to there compiled libraries to avoid the extern C crap.

Jpeg is now version 9.
ogg is version 1.3.1.
vorbis is 1.3.3.
curl is version 7.32.
OpenAL is latest from openalsoft.

id's roq renderer Works fine so why they decided to ditch it in favor of a propriarity codec in BFG is beyond me :?: maybe better compression hmm, but then why not use xvid or theora ??? or even matroska which can provide a rather heavy compression using the opensource version of the x264 codec without quality loss.

Actually stumbled upon a bug also which manifested itself after fixing another bug :lol: the code for getting weapon decl's goes bonkers when you enter the hell level because the game removes all your weapons
it returns an empty string crashing the client. id had a check somewhere else in the code that compared two different enums for the same decl which returned an invalid value fixing that one brought it up so i removed the Error in the check and simply returned a 0 if the decl was empty. To be sure i checked the BFG code and they had done the exact same thing so i guess my fix was correct :)

But im off for some days im getting operated Again :S seems the stupid bastards WHO removed my gallbladder forgot some stones in there after all :evil: been in pain hell the last 3 days and my mood is not the greatest.
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: Doom 3 engine release and game code

Postby frag.machine » Thu Aug 22, 2013 10:46 pm

Ouch man, sorry to hear about that. :(
Here hoping everything goes well this time and you recover fast :)
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
User avatar
frag.machine
 
Posts: 2120
Joined: Sat Nov 25, 2006 1:49 pm

Re: Doom 3 engine release and game code

Postby revelator » Thu Aug 22, 2013 11:12 pm

Heavy morphine ingestations else i would not have been able to even sit here and post (damn im a goddamn narcotic now i get enough to knock out an elephant 120 mg contalgin :shock: ) but yeah i hope this takes care of it, atleast this time they should be able to crack the bastards with ultrasound and not open me up with four drillpoints in the stomach :evil:
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: Doom 3 engine release and game code

Postby anonreclaimer » Sat Aug 24, 2013 8:14 pm

anonreclaimer
 
Posts: 21
Joined: Tue Aug 28, 2012 4:36 am

Re: Doom 3 engine release and game code

Postby revelator » Sat Aug 24, 2013 10:48 pm

Dont know libopus but ill have a look :).

The jpeg code was posted earlier in this thread together with the TGA2 loader.

Not much difference tbh the TGA code in BFG is the exact same as Vanilla and has the same bugs with some textures (some models go Black. not refering to the ASE model bug ;) ).
The TGA2 upgrade can handle pretty much any tga format and it does not need the hack for flipping the images the old code used :)

The jpeg code was from iodoom3 ported to C++ at the time it used jpeg 8.0b i have updated the jpeg library to 9.0 latest.

I hear a rumour that BFG does not use the TGA code at all though and that it uses a newer format but looking at the source i Wonder where cause for the death of me i cant see this code.
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: Doom 3 engine release and game code

Postby anonreclaimer » Sat Aug 24, 2013 11:56 pm

anonreclaimer
 
Posts: 21
Joined: Tue Aug 28, 2012 4:36 am

Re: Doom 3 engine release and game code

Postby revelator » Sun Aug 25, 2013 12:01 am

Only because Doom3's cinematic code needs jpeg for the huff encoding :)
and a few Things changed in the newer jpeg library so the old macros didnt Work the same as before. Example old one had GLOBAL void new one uses GLOBAL(void) etc.

Just like to improve on it no other reason besides sharpening my sklls in C++ :) before Doom3 i only coded in C.
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: Doom 3 engine release and game code

Postby revelator » Sun Aug 25, 2013 12:04 am

Not sure about turning the images into binary resources allthough i noticed that a few Things where but so far i havent seen any code that suggest it might.
BFG does not use megatextures which are in binary.
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

PreviousNext

Return to General Programming

Who is online

Users browsing this forum: No registered users and 1 guest