The Hero Posted September 11, 2015 Share Posted September 11, 2015 (edited) rwd3d9 is a library you can link your III and VC asi-mods against to get access to d3d9 features, namely vertex- and pixel-shaders. You still need a d3d8 to 9 wrapper that supports QueryInterface to get the d3d9 device (d3d8to9 recommended), so why should you use it? Simple, RW keeps a cache of pixel- and vertex-shaders that has to be kept up to date. When more than one mod wants to mess with the cache it will very likely become inconsistent and bad things will happen. So the idea is to have only one mod (this one) handle the cache and have all others dynamically link against it. Just include rwd3d9.h, link against rwd3d9.lib and put rwd3d9.dll into your game's main directory. When the dll is loaded it will hook all necessary places by itself. You can use it with asis that are loaded early (e.g. by the ultimate asi loader) or late (e.g. by the built-in mss32 loader). The library is very small currently because I just implemented what I needed for SkyGfx and sharptrails. If you make changes, please make a pull request or something so we won't have many incompatible versions. Currently supported GTA versions: 1.0, 1.1, steam III, 1.0, 1.1, steam VC Credits: steam III, 1.0 and steam VC support by Sergeanur repo: http://tohjo.eu/aap/rwd3d9 binaries: http://aap.papnet.eu/gta_/rwd3d9.zip Edited November 30, 2015 by The Hero RyanDri3957V, Igor Bogdanoff, Shagg_E and 25 others 28 Link to comment Share on other sites More sharing options...
ThirteenAG Posted September 11, 2015 Share Posted September 11, 2015 (edited) Note that ASI Loader contains d3d8to9, in order to use it you need to download latest version here, rename the dll to d3d8.dll and in scripts\global.ini change UseD3D8to9=0 to UseD3D8to9=1. Edited September 11, 2015 by ThirteenAG wwwwandrarijaz, RyanDri3957V, Shagg_E and 3 others 6 Link to comment Share on other sites More sharing options...
Alpha Ice Posted September 12, 2015 Share Posted September 12, 2015 I am sorry but I don't really get what this dll does... Is it capable of linking two dll's with the same name so that the game can read them both ? Link to comment Share on other sites More sharing options...
The Hero Posted September 12, 2015 Author Share Posted September 12, 2015 No, it's an extension of the RenderWare engine of III and VC so that you can use d3d9 pixel and vertex shaders. If you have any mods that use it you need rwd3d9.dll, if you write your own asi you have to link against rwd3d9.lib. Blackbird88 and Alpha Ice 2 Link to comment Share on other sites More sharing options...
Marsi4eg Posted September 12, 2015 Share Posted September 12, 2015 I have posted about some bad side-effects when using this wrapper (http://gtaforums.com/topic/819550-sharptrails/?p=1067966845) Will it be fixed in future or left 'as is'? Link to comment Share on other sites More sharing options...
The Hero Posted September 12, 2015 Author Share Posted September 12, 2015 I don't know. I don't maintain d3d8to9, that would be crosire: https://github.com/crosire/d3d8to9 Link to comment Share on other sites More sharing options...
ThirteenAG Posted September 12, 2015 Share Posted September 12, 2015 I have posted about some bad side-effects when using this wrapper (http://gtaforums.com/topic/819550-sharptrails/?p=1067966845) Will it be fixed in future or left 'as is'? Gamepad works fine for me with wrapper, so maybe the problem is in something else. Link to comment Share on other sites More sharing options...
Marsi4eg Posted September 12, 2015 Share Posted September 12, 2015 (edited) Gamepad works fine for me with wrapper, so maybe the problem is in something else. I use Silent's Ginput and xbox360 controller (if this is useful info) and when I move thumbstick to run - actor just twitches (don't know if it's the right word ...eh). Looks like something blocks input.(in original: "актор лишь дергается пытаясь идти, будто чтото блокирует ввод" sorry but I know TAG will understand) But what about minimizing? ____ I have to add that input problem exists only in VC, all ok in III but both games cannot minimize _____ edited again, you can laugh at me because it was outdated ginput in my vc. shame shame shame. with current version of ginput all controls are ok Edited September 15, 2015 by Marsi4eg Link to comment Share on other sites More sharing options...
The Hero Posted September 19, 2015 Author Share Posted September 19, 2015 New version got steam III, 1.1 and steam VC support by Sergeanur. Igor Bogdanoff, Blackbird88, Snoops27 and 1 other 4 Link to comment Share on other sites More sharing options...
The Hero Posted February 7, 2016 Author Share Posted February 7, 2016 New version: - added function RwD3D9SetIm2DPixelShader to override the Im2D pixel shader It makes sense to put it here as sharptrails needs it, i have plans for SkyGFX as well (the code is actually already there, but the ini setting is undocumented ), and ThirteenAG will use it for his widescreen fix too. Shagg_E, Jago, Igor Bogdanoff and 3 others 6 Link to comment Share on other sites More sharing options...
ThirteenAG Posted February 7, 2016 Share Posted February 7, 2016 Yeah, check this out: Shader Model 6, DirectX 12, power of clouds, everything is possible with that thing. Claude_Lib, BS_BlackScout, uncaged and 14 others 17 Link to comment Share on other sites More sharing options...
_CP_ Posted February 7, 2016 Share Posted February 7, 2016 VC on DX12? Wut?! Link to comment Share on other sites More sharing options...
ThirteenAG Posted February 7, 2016 Share Posted February 7, 2016 VC on DX12? Wut?! I meant DX13, sorry about the confusion. Igor Bogdanoff, RyanDri3957V, Reyks and 2 others 5 Link to comment Share on other sites More sharing options...
Igor Bogdanoff Posted February 7, 2016 Share Posted February 7, 2016 No opengl tho Link to comment Share on other sites More sharing options...
Silent Posted February 7, 2016 Share Posted February 7, 2016 VC on DX12? Wut?! I meant DX13, sorry about the confusion. lol, it'd be so much better on OpenMantulkanX. BS_BlackScout 1 Link to comment Share on other sites More sharing options...
Marsi4eg Posted February 8, 2016 Share Posted February 8, 2016 (edited) seems like link to binary zip is broken and also in sharptrails topic Edited February 8, 2016 by Marsi4eg Link to comment Share on other sites More sharing options...
The Hero Posted February 8, 2016 Author Share Posted February 8, 2016 Yep, sorry. My internet connection is f*cked up since this morning, it's hardly working and I hope it'll get better soon. Link to comment Share on other sites More sharing options...
ThirteenAG Posted February 12, 2016 Share Posted February 12, 2016 (edited) Transparent menu with blur: https://bitbucket.org/ThirteenAG/iii.vc.sa.transparentmenu/downloads Uses a lot of stuff from skygfx, shader from DK's V Hud. Soon I'll remove the option from widescreen fix, for now just disable it and use this instead. Works only with 1.0 exe, as always. Edited February 12, 2016 by ThirteenAG Reyks, Blackbird88, Silent and 9 others 12 Link to comment Share on other sites More sharing options...
Igor Bogdanoff Posted February 12, 2016 Share Posted February 12, 2016 Could you please center map and legend in your WS Fix? This pic is perfect example Link to comment Share on other sites More sharing options...
ThirteenAG Posted February 12, 2016 Share Posted February 12, 2016 Could you please center map and legend in your WS Fix? This pic is perfect example Fine, but that's gonna cost ya some extra. lopezloo, Blackbird88, Jago and 7 others 10 Link to comment Share on other sites More sharing options...
Igor Bogdanoff Posted February 12, 2016 Share Posted February 12, 2016 Agem 1 Link to comment Share on other sites More sharing options...
inadequate Posted February 12, 2016 Share Posted February 12, 2016 Looks gorgeous! Link to comment Share on other sites More sharing options...
FMMZ Posted February 13, 2016 Share Posted February 13, 2016 Oye pero eso si esta beautiful, i love it, it's perfect <3 Link to comment Share on other sites More sharing options...
ThirteenAG Posted February 21, 2016 Share Posted February 21, 2016 (edited) Reuploaded transparent menu, trails on/off crash in vc should be fixed as well as rendering issue that happened sometimes. UPD. And another crash fix, redownload. Edited February 22, 2016 by ThirteenAG Blackbird88 and Shagg_E 2 Link to comment Share on other sites More sharing options...
Marsi4eg Posted February 27, 2016 Share Posted February 27, 2016 (edited) Reuploaded transparent menu, trails on/off crash in vc should be fixed as well as rendering issue that happened sometimes. UPD. And another crash fix, redownload. I'm already afraid of reporting something.. but it still crashes if I disable trails, unpause, then pause and enable trails. It doesn't crash if I disable-enable trails without unpausing. I also use next plugins: sharptrails, silentpatch, widescreen fix, skygfx, ginput, moneymessages, airtrains(for wrecking them) and project 2dfx Edited February 27, 2016 by Marsi4eg Link to comment Share on other sites More sharing options...
ThirteenAG Posted February 27, 2016 Share Posted February 27, 2016 I'm already afraid of reporting something.. but it still crashes if I disable trails, unpause, then pause and enable trails. It doesn't crash if I disable-enable trails without unpausing. I also use next plugins: sharptrails, silentpatch, widescreen fix, skygfx, ginput, moneymessages, airtrains(for wrecking them) and project 2dfx I thought I fixed that Guess not. I'll take a look again. Link to comment Share on other sites More sharing options...
inadequate Posted February 27, 2016 Share Posted February 27, 2016 (edited) I have a similiar issue with transparent menu, I get an unhandled exception on both games (III and VC). On SA not even work. Maybe I'm doing something wrong or I need something special?. I have Ultimate ASI Loader, rwd3d9.dll and d3d8.dll (both by The_Hero). EDIT: I uninstalled d3d8.dll by The_Hero, I downloaded latest Ultimate ASI Loader, set used3d8to9=1 on global.ini and still crashing on Vice City: Edited February 27, 2016 by Inadequate Link to comment Share on other sites More sharing options...
ThirteenAG Posted February 28, 2016 Share Posted February 28, 2016 Try this version for trails on/off crash: https://www.sendspace.com/file/k8j0he @Inadequate this address I can reproduce by deleting rwd3d9.dll. Does all your mods that require it placed in the same folder? Upload a crashdump, let's see what it says. Link to comment Share on other sites More sharing options...
Marsi4eg Posted February 28, 2016 Share Posted February 28, 2016 Try this version for trails on/off crash: https://www.sendspace.com/file/k8j0he Fixed. Thank you! Link to comment Share on other sites More sharing options...
ThirteenAG Posted February 28, 2016 Share Posted February 28, 2016 Good, reuploading it now. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now