[DIY] Support PSXSoftware mode in GZDoom

Moderator: GZDoom Developers

Support PSXSoftware mode in GZDoom

Postby Valken » Mon Jan 25, 2021 10:36 pm

Holiday here, WFH, so was revisiting Console / PSX Doom and I noticed the lighting in GEC's PSX Doom viewtopic.php?f=19&t=62839 is different than current GZDoom SOFTWARE lighting mode.

Can PSXSOFTWARE mode be considered for addition to the next build of GZDoom because I want to play it under Vulkan renderer as well as to stay feature updated.

I toggled it back and forth between default SOFTWARE and PSXSOFTWARE and it seems the differences are:

an additional light source around the player
colors or brightness intensified around the player
light draw distance from the player is cutoff earlier / shorter.

It looks amazing without being complete blacked out. Would be a great fit for Alien's mod for example.

I am unsure if there needs to be further integration of the GEC's custom build. Source code listed above.

It would allow support to the "original" console "wads" in the way it was meant to be enjoyed plus I actually prefer software render modes unless a mod specifies a preferred mode.
Valken
 
Joined: 08 Jun 2015

Re: Support PSXSoftware mode in GZDoom

Postby Graf Zahl » Tue Jan 26, 2021 1:07 am

Since this is a mod for GZDoom, the obvious answer is DIY.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Support PSXSoftware mode in GZDoom

Postby Nash » Tue Jan 26, 2021 2:16 am

I think the OP is talking about a modified lightmode, which can't exactly be DIY'ed (you can't edit/add a user lightmode shader).
User avatar
Nash
Twitter/Facebook/Youtube: nashmuhandes
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Twitch ID: nashmuhandes
Github ID: nashmuhandes

Re: Support PSXSoftware mode in GZDoom

Postby drfrag » Tue Jan 26, 2021 7:35 am

GZDoom GEC is a fork of an old GZDoom version (1.9.1?), i believe he never uploaded the source to GitHub but it's available in ZIP format. That PSX light mode surprisingly even worked on GL2.
User avatar
drfrag
Os voy a romper a pedazos!
Vintage GZDoom Developer
 
Joined: 23 Apr 2004
Location: Spain
Discord: drfrag#3555
Github ID: drfrag666

Re: Support PSXSoftware mode in GZDoom

Postby Redneckerz » Tue Jan 26, 2021 2:45 pm

Valken wrote:Holiday here, WFH, so was revisiting Console / PSX Doom and I noticed the lighting in GEC's PSX Doom viewtopic.php?f=19&t=62839 is different than current GZDoom SOFTWARE lighting mode.

Can PSXSOFTWARE mode be considered for addition to the next build of GZDoom because I want to play it under Vulkan renderer as well as to stay feature updated.

No, because its outside the scope of what GZDoom seeks to achieve (which isn't render compatibility with PSX Doom)

Valken wrote:It would allow support to the "original" console "wads" in the way it was meant to be enjoyed plus I actually prefer software render modes unless a mod specifies a preferred mode.

There is an itany of subprojects that do exactly just that - DZDoom, TC's, or PsyDoom. The latter achieves pretty much perfection since its a backport of the actual PSX engine to PC. Which means yes, you get all those fancy enhancements that are close, but not completely perfect as done with PSXDoom TC, DZDoom and so on.

drfrag wrote:GZDoom GEC is a fork of an old GZDoom version (1.9.1?), i believe he never uploaded the source to GitHub but it's available in ZIP format. That PSX light mode surprisingly even worked on GL2.

Its DZDoom now, but they haven't renamed it yet, nor have yet provided a solid executable (Like DZDoom.exe). The current source zip frankly leaves me highly confused - Not something i'd call clean. I would prefer a GZDoom styled zip with an exe and just what about is needed (sans illegal resources ofcourse!) to get the PSX visuals running.

Nevertheless DZDoom is an impressive show piece. Its the lack of clarity however in terms of packaging and perhaps wiki documenting that works against it imo.
User avatar
Redneckerz
To it's ports i may have seen
Spotlight Team
 
Joined: 25 Nov 2019
Discord: Redneckerz#8399
Operating System: Windows Vista/7/2008 64-bit
Graphics Processor: nVidia (Legacy GZDoom)

Re: Support PSXSoftware mode in GZDoom

Postby Valken » Tue Jan 26, 2021 11:39 pm

Thanks for the insight. And yes, I was mainly asking for the PSX lightmode as I could not figure out how to get the current GZDoom to make it look like it.

Not a coder so forgive my lack of code understanding.

I didn't know "DZDoom" existed or virtually exists... lets see if the GEC team will update and release it.
Valken
 
Joined: 08 Jun 2015

Re: Support PSXSoftware mode in GZDoom

Postby Nash » Tue Jan 26, 2021 11:57 pm

A "Build engine" lightmode was recently added, so a "PSX Software" would be do-able (on the engine side, that is)... but I'm unsure if it's a good idea, given the current state of the main.fp shader (let's just say it's starting to get a little crowded in there). :D
User avatar
Nash
Twitter/Facebook/Youtube: nashmuhandes
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Twitch ID: nashmuhandes
Github ID: nashmuhandes

Re: Support PSXSoftware mode in GZDoom

Postby Rachael » Wed Jan 27, 2021 6:03 am

I think it should be done. "PSX Software" like it or not is officially part of the Doom ethos, even if it came from a "second-party" as it were. It's the light mode of a console port of Doom. I see way more justification for it than a Build light mode (which, don't get me wrong, it does have a good reason for being there, as well).
User avatar
Rachael
Admin
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Support PSXSoftware mode in GZDoom

Postby Gez » Wed Jan 27, 2021 6:16 am

I'd love if the work that went into the whole GEC Masters thing could allow GZDoom to have native support for PSX Doom and Doom 64, but between using an outdated base (to keep support for old hardware), not using GitHub, and packaging their source release is a confusing way, it's unlikely to happen.
Gez
 
 
 
Joined: 06 Jul 2007

Re: Support PSXSoftware mode in GZDoom

Postby drfrag » Wed Jan 27, 2021 6:50 am

Now DZDoom will be a fork of LZDoom on GitHub but he (Erick194) still has to merge his code and it's also an old codebase, they care about of hardware. In south america a lot of people are still on GL2 and even on 32 bit.
User avatar
drfrag
Os voy a romper a pedazos!
Vintage GZDoom Developer
 
Joined: 23 Apr 2004
Location: Spain
Discord: drfrag#3555
Github ID: drfrag666

Re: Support PSXSoftware mode in GZDoom

Postby Rachael » Wed Jan 27, 2021 7:09 am

If someone does a pull request to add the lightmode it shouldn't be too hard to put it in. It shouldn't be that difficult to update GL2 code to GL3.
User avatar
Rachael
Admin
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Support PSXSoftware mode in GZDoom

Postby drfrag » Wed Jan 27, 2021 7:58 am

May be he wants do do it, i don't know.
User avatar
drfrag
Os voy a romper a pedazos!
Vintage GZDoom Developer
 
Joined: 23 Apr 2004
Location: Spain
Discord: drfrag#3555
Github ID: drfrag666

Re: Support PSXSoftware mode in GZDoom

Postby Erick194 » Wed Jan 27, 2021 2:10 pm

Poor my wink disappeared, well as always sometimes we cause anger to other people. Cheers guys.
User avatar
Erick194
 
Joined: 10 Nov 2018
Location: Costa Rica

Re: Support PSXSoftware mode in GZDoom

Postby Erick194 » Wed Jan 27, 2021 2:29 pm

But I will try to do something about it.
User avatar
Erick194
 
Joined: 10 Nov 2018
Location: Costa Rica

Re: Support PSXSoftware mode in GZDoom

Postby Redneckerz » Wed Jan 27, 2021 2:57 pm

Valken wrote:Thanks for the insight. And yes, I was mainly asking for the PSX lightmode as I could not figure out how to get the current GZDoom to make it look like it.

Not a coder so forgive my lack of code understanding.

I didn't know "DZDoom" existed or virtually exists... lets see if the GEC team will update and release it.

Yeah that's practically impossible for GZ to replicate, hence the need for a fork.

It is updated, its just that, as Gez says, how DZDoom is distributed now is kind of a hodgespodge. Moving to a LZDoom base might improve things, but i'd rather see DZDoom released as is and then a second LZDoom successor thereafter.

Rachael wrote:If someone does a pull request to add the lightmode it shouldn't be too hard to put it in. It shouldn't be that difficult to update GL2 code to GL3.

Afraid its not as easy as a pull request. The lighting mode required a heavy rework on the rendering back end and its not even perfect either, but perfect for 99% of use cases kind of perfect and a vast improvement over PSXDoom TC.

I do recall that there were some quarrels on these very forums with these authors, so i digress on that regard.
User avatar
Redneckerz
To it's ports i may have seen
Spotlight Team
 
Joined: 25 Nov 2019
Discord: Redneckerz#8399
Operating System: Windows Vista/7/2008 64-bit
Graphics Processor: nVidia (Legacy GZDoom)

Next

Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 3 guests