View Issue Details

IDProjectCategoryView StatusLast Update
0006617The Dark ModGUIpublic14.10.2025 16:04
ReporterBikerdude Assigned To 
PrioritynormalSeveritynormalReproducibilityalways
Status newResolutionopen 
PlatformPCOSWindowsOS Version10 (23H2)
Product VersionTDM 2.13 
Summary0006617: The live 3D menu in Blackheart Manor is broken as of 2.14 (dev17343-11008)
DescriptionDram implemented a live 3D background for the main menu in Blackheart manor. This works as expected in 2.12, but in 2.14 the 3D in-game/live component is missing.

After speaking to Amadeus, he confirmed that 'RenderDef' is used for both the 2D and 3D parts of this menu.
Additional InformationI have attached a stripped down version of BHM, that only inludes the required files.
TagsNo tags attached.
Attached Files
bm_menu.zip (1,689,712 bytes)

Relationships

related to 0006644 new Compass broken/dosent show: 2.14 (dev17343-11008) 

Activities

stgatilov

stgatilov

27.04.2025 08:49

administrator   ~0017012

This is not a released mission, right?

I see it overrides GUI files of the main menu which should not be overridden:
  mainmenu_main.gui mainmenu_main.gui
  mainmenu_background.gui
So it was only a matter of time until it got broken.

I looked at it in 2.12.
Can't say it works perfectly there.
I don't see anything "3D" here, even though I see usage of renderDef in the source.

I think it should be remade using custom backgrounds that are officially supported today.
Bikerdude

Bikerdude

03.05.2025 09:01

reporter   ~0017020

Last edited: 14.10.2025 15:50

Morning

I always thought it looked ok in 2.12 and below.

I thought that might be the case, so will look at making a looping video version of the 3D part.
nbohr1more

nbohr1more

05.05.2025 05:50

developer   ~0017025

This was broken in 2.13 Beta02

The fix for the HOM bug in AT1: Lucy's Quest main-menu

https://github.com/stgatilov/darkmod_src/commit/2bc32cb69879fe2d488976d5a8082e8080be0427

As a workaround, we could add a CVAR to this line in Session.cpp:

} else if ( guiActive && !guiActive->State().GetBool( "gameDraw" )) {

Example ( new cvar r_renderDefGUI )

} else if ( guiActive && !guiActive->State().GetBool( "gameDraw" && !r_renderDefGUI.GetBool() )) {
stgatilov

stgatilov

05.05.2025 08:33

administrator   ~0017026

Yeah, but the question is: is it worth maintaining.
Right now the only GUI renderDef is compass, and other items might have similar situation.
Having them in main menu is completely another case, and it may break again in the future.

If these "3D" objects are non-interactive part of background, it's much more reliable to redo the whole thing as video.
There are many missions with custom backgrounds already, we can't break it anyway.
Amadeus

Amadeus

23.05.2025 13:43

developer   ~0017031

Last edited: 23.05.2025 13:45

IMO, it would be nice if this was maintained. I am working on an FM that uses a decent amount of renderdefs, and making looping main menu videos do have some limitations (such as quality, and if a video goes on too long, there can be some lag when trying to navigate the main menu)
nbohr1more

nbohr1more

23.05.2025 18:35

developer   ~0017032

I can add the workaround. I've been stalling since the better fix is to make the 3D gui into a subview but that will take much more work.
Bikerdude

Bikerdude

23.05.2025 19:03

reporter   ~0017033

Thanks for looking into this :-)
nbohr1more

nbohr1more

25.05.2025 03:24

developer   ~0017034

First attempt didn't work:

} else if ( guiActive && !guiActive->State().GetBool( "gameDraw" ) || r_renderDefGUI.GetBool() ) {
Bikerdude

Bikerdude

24.09.2025 20:05

reporter   ~0017069

Last edited: 24.09.2025 20:10

As of 2.14 - dev17343-11008, dev17332-10999 & dev17330-10984 the main menu will now not show at all, I am getting a black screen. But the menu is in place as I can hear the mouse move over the options from the menu.
Bikerdude

Bikerdude

14.10.2025 15:48

reporter   ~0017071

Last edited: 14.10.2025 15:51

After speaking to Amadeus, he confirmed that 'RenderDef' is used for both the 2D and 3D parts of this menu.

RenderDef is also used for the compass, with is now also broken in the latest SVN version
image.png (4,543 bytes)   
image.png (4,543 bytes)   

Issue History

Date Modified Username Field Change
19.04.2025 10:07 Bikerdude New Issue
19.04.2025 10:07 Bikerdude File Added: bm_menu.zip
27.04.2025 08:49 stgatilov Note Added: 0017012
03.05.2025 09:01 Bikerdude Note Added: 0017020
05.05.2025 05:50 nbohr1more Note Added: 0017025
05.05.2025 08:33 stgatilov Note Added: 0017026
23.05.2025 13:43 Amadeus Note Added: 0017031
23.05.2025 13:45 Amadeus Note Edited: 0017031
23.05.2025 18:35 nbohr1more Note Added: 0017032
23.05.2025 19:03 Bikerdude Note Added: 0017033
25.05.2025 03:24 nbohr1more Note Added: 0017034
24.09.2025 20:05 Bikerdude Note Added: 0017069
24.09.2025 20:10 Bikerdude Note Edited: 0017069
14.10.2025 15:47 Bikerdude Product Version => TDM 2.13
14.10.2025 15:47 Bikerdude Description Updated
14.10.2025 15:48 Bikerdude Note Added: 0017071
14.10.2025 15:48 Bikerdude File Added: image.png
14.10.2025 15:50 Bikerdude Note Edited: 0017020
14.10.2025 15:51 Bikerdude Note Edited: 0017071
14.10.2025 15:52 Bikerdude Summary The live 3D menu in Blackheart Manor is broken as of 2.13 => The live 3D menu in Blackheart Manor is broken as of 2.14/Svn
14.10.2025 16:02 Bikerdude Relationship added related to 0006644
14.10.2025 16:04 Bikerdude Summary The live 3D menu in Blackheart Manor is broken as of 2.14/Svn => The live 3D menu in Blackheart Manor is broken as of 2.14 (dev17343-11008)