D3d9 Menu

0 views
Skip to first unread message

Nu Alessio

unread,
Aug 3, 2024, 4:30:21 PM8/3/24
to leimonshelpmug

As none of you already know, I am quite fed up with DirectX at the moment. I have tried and tried, and no matter what I do, I cannot seem to get any hooks to work. I have scoured the web and studied hooks; I have combined bits of code together to scrap together my own hook; I have flat out plagiarized hooks to find out how they worked; I have even written a few from scratch. However, I cannot seem to get one to work. I'm trying to make a simple D3D mod-menu for CrossFire. What I have tried:

I already have the hack menu programmed, the variables set, the features programmed, the DllMain, the dependencies, you name it. All I need is to get a proper hook working - the only one I got to work had a weird bug where text drawing in EndScene & wall-hack in DrawIndexedPrimitive didn't work.

While support for D3D9 is included in Remix out of the box, games that use other graphics APIs can also be made to work by utilizing translation layers that target D3D9. You will have to acquire these separately. For example, D3D8 games can be supported through D3D8to9 (link).

If this is the first time RTX Remix is added for a given game, you may need to do some setup in order to get game menus and the game itself to display properly. You will need to open the RTX Remix developer menu to do this (more detailed documentation on this menu below).

I am using mod organizer with fallout new vegas and whenever I launch the game it hangs just before the main menu pops up and then crashes. This happens even when all mods are disabled, but no when launching new vegas from the steam library. Validating files has not worked, in fact it did not effect my mod organizer new vegas at all. My new vegas and mod organizer are both on an external hard drive, while steam is on the c drive, however this has not adversely effected any other games, except possibly fallout 4 but that is on nexus mod manager, so I do not think the issues are related (though they are similar). Any advice for getting new vegas to launch properly is appreciated.

I had a crash on Vanilla FNV on Windows 10 (64 bit) and solved it with the d3d9.dll fix. Alternate download from BethSoft's forums (confirmed to work on Win 8.1 64 bit). It might identify newer GPU's incorrectly, but this file should become obsolete once you install all utilities listed in the FLNV or will be replaced in case you install an ENB/ENBosst.

I run windows 7. I have launched the game without mods and it still crashes if I launch through mod organizer. It does not crash if I launch from the steam library, but in either case no mods are active.

Thank you for your suggestions, but most of them either I already adhere to or did not work. The main difference between right now and past times I have run new vegas modded without incident are that I am running the game from an external hard drive now.

Inspired by the much more advanced and complex Hi Notch! by @MStankiewiczOfficial I have created a much more simple and single-use Floating Menu behind the Notch specifically for launching and controlling Spotify.

I personally didn't require all the amazing bells and whistles of Hi Notch! but I was really impressed by it, especially the ability to control media from the notch. I personally only use Spotify, so I therefore used Hi Notch! to teach myself how floating menus work and make this.

This is my first attempt at floating menus, and I found the whole process all a bit confusing and complicated, to be quite honest. So there may well be lots of improvements to be made to this preset. There appears to be an intermittent bug with the currently playing floating menu item, which has been reported and is still being debugged by @Andreas_Hegenberg

There is a play/pause button, skip forward and back buttons, and a launch button for the DJ playlist (As far as my research has found, I believe the Spotify playlist_id for the DJ playlist is universal, so this should work for everyone who has the Spotify DJ Playlist enabled).

I have also changed the behaviour and logic of the Spotify button to make it a launch / show / play / pause button (feel free to correct me on the logic flow of this trigger if you can see room for improvements).

ive installed the patch but when i launch TS in origin and click skirmish it doesnt do anything, it just freezes and then windows asks me to close the program, am i supposed to move the file after i download it?

Just wanted to say: Thanks for keeping these patches going for all these years, but i've run into an issue today - Tiberian Sun GDI Mission 2. upon mission completion the screen turns white (except the sidebar) then the video plays and the score screen appears, roughly halfway through the score screen the game crashes to desktop.

I was a massive C&C fan and I never got to play this game, and always wanted to come back to it, played all the others, just not this one so would really appreciate if you could have me complete my childhood dream! :)

I was a massive C&C fan and I never got to play this game, and always wanted to come back to it, played all the others, just not this one so would really appreciate if you could have me complete my childhood dream!

I have freshly downloaded the game from origin, and installed this "fix" but nothing happens. The launcher pops up, and when I select to play offline, it just closes and nothing happens. Nothing is running in the task manager and origin pops back up asking me if I want to play....this is getting annoying....Currently running Windows 10 Pro.

I've come across the graphics patcher....but when I try to run the patch, it tells me the game.exe or variant named one, isn't present and there cannot patch it. I must be doing something wrong, can you clarify?

Game appears to run fine but I am seeing screen tearing now and again in gameplay (scrolling the map) and videos. I know we don't have any v-sync or things like that with the game being that old but can anyone think of a way to fix/improve?

I've been trying to get this to work for a while, but for some reason, my game isn't full screen whenever I downloaded this patch. Before I had the patch, the fullscreen worked fine but it would freeze on the main menu. Now, no matter what resolution or render I put it at, it stays small. I'm not sure what to do about this.

i have tried it running the 4k res as well as setting the desktop and game to 1920x1080 as that is what mine runs on using the GDI render in window mode. sadly this didnt work on his.
testing using skirmish mode to see if i can load into a map but sadly always crashes out as if the renderer needs changing.

is there any other setting we can try? any hidden renderers i can add to the game like openGL (if thats still a thing, i come from a Unreal Tournament background) or maybe some setting i do not know about in a .ini file?

Applied the patch and restarted computer. Computer started with motherboard bios screen, timed out, then launched into windows. Started game in Ea app, selected Tiberian Sun. Game started. Began play. One minute later the screen froze, sound continued. Tried again, same thing, including the bios screen bypass on startup.

Tested this with the new Steam ultimate collection release of C&C2 which contain modified exe's that block Windows 7. Am pleased to say your lovely patch auto detected the steam install location, installed with no errors and because your installer replaces the exe's with ones that keep the no-cd and have no Win7 block I'm now able to to play my steam copy of C&C2! Many thanks guys!

About STALKER: just put the d3d9.dll (in the bin folder + bat for launch the engine from the root - work - dir) as always.
It starts with no problem but only with static lighting available no matter what you choose in the menu.

Ok, as it turned out, the game initializes D3D9 from both DllMain and later from regular code.
DllMain fails with dgVoodoo and that's what causes losing dynamic lighting (I guess the game queries some caps, texture formats and such from the DllMain instance).
Experimentally I forced DllMain to fail with native D3D9 and got the same wrong result.

The Steam version of S.T.A.L.K.E.R. got a patch a year ago which addressed Dynamic Lighting not working on Intel Graphics (they run D3D9On12 internally). This patch also makes Dynamic Lighting functional on dgVoodoo2.

The d3d9.dll error if recurring usually indicates that either DirectX 9 needs to be reinstalled or there is a broken alias (shortcut) to it in the game files that needs to be resolved. I wouldn't know if this is a Steam install specific issue although others on various versions of Windows get this too.
Source:

@VincentVanVegan I believe what the "someone" on the Steam forums is saying is that after installing (or reinstalling) DirectX 9, there may be a leftover alias in TS3's program files pointing to the old version, or to nowhere.

Does it look the same for you, both in terms of the files present and their sizes? My best guess would be that running DXSETUP should repair the issue. Other than that, I have to admit I'm not quite wrapping my head around this issue; maybe it's the late hour. Perhaps @roberta591 will be able to give you better guidance, or I can ask around in a few hours.

c80f0f1006
Reply all
Reply to author
Forward
0 new messages