ducon2016 Posted May 6, 2018 Posted May 6, 2018 Chaos Legion uses DirectX 8 and had broken texturing on recent hardware. Just put the attached dll in the game folder and it will now work fine. Without Fix: With Fix: d3d8.7z 9
demitri87 Posted May 7, 2018 Posted May 7, 2018 this fix is amazing .... long time no play this game for black textures error ... now i can play 1
ZellSF Posted May 12, 2018 Posted May 12, 2018 Any chance you can write down the technical details of what this patch does? I'm talking to the developer of dgVoodoo2 about Chaos Legion's problems and am wondering if that's something that could be implemented in dgVoodoo2.
ducon2016 Posted May 12, 2018 Author Posted May 12, 2018 (edited) 6 minutes ago, ZellSF said: Any chance you can write down the technical details of what this patch does? I'm talking to the developer of dgVoodoo2 about Chaos Legion's problems and am wondering if that's something that could be implemented in dgVoodoo2. Yes of course, happy to share, and dgVoodoo2 could do that without a problem. I just round the height of the textures to the next power of 2 in the CreateTexture method. For example if the height is 41, I change it to 64 when the texture is created. If already a power of 2, I do not change anything. I will share the source code when I am back, I am traveling for a couple of weeks. Edited May 12, 2018 by ducon2016
ducon2016 Posted May 13, 2018 Author Posted May 13, 2018 Also will think about making a patch into D3D8 to D3D9 for those who want to use Reshade. I will do this when I am back.
ducon2016 Posted May 19, 2018 Author Posted May 19, 2018 (edited) On 5/12/2018 at 2:26 PM, ZellSF said: Any chance you can write down the technical details of what this patch does? I'm talking to the developer of dgVoodoo2 about Chaos Legion's problems and am wondering if that's something that could be implemented in dgVoodoo2. As promised here is the d3d8to9 fixed to work with Chaos Legion, so you can use reshade and any other cool tools to make it look better. The code is included so that you can share with the dgVoodoo2 guy. Really simple, I just modified the CreateTexture function. unsigned long upper_power_of_two(unsigned long v) { v--; v |= v >> 1; v |= v >> 2; v |= v >> 4; v |= v >> 8; v |= v >> 16; return v + 1; } HRESULT STDMETHODCALLTYPE Direct3DDevice8::CreateTexture(UINT Width, UINT Height, UINT Levels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, Direct3DTexture8 **ppTexture) { Height = upper_power_of_two(Height); d3d8to9-ChaosLegion.7z Edited May 19, 2018 by ducon2016 2
N3CRON Posted August 31, 2018 Posted August 31, 2018 Hi guys, I wanted to ask if there are news, because using the file shared by ducon2016 in the first post you have the perfect texture but 'I can not use dgVoodoo2 in resolution 1920x1080, who can help me?
ducon2016 Posted August 31, 2018 Author Posted August 31, 2018 1 hour ago, N3CRON said: Hi guys, I wanted to ask if there are news, because using the file shared by ducon2016 in the first post you have the perfect texture but 'I can not use dgVoodoo2 in resolution 1920x1080, who can help me? Try d3d8to9-ChaosLegion.7z from the post just above yours.
N3CRON Posted August 31, 2018 Posted August 31, 2018 20 ore fa, ducon2016 ha scritto: Try d3d8to9-ChaosLegion.7z from the post just above yours. I downloaded the archive but I do not know how to use it, I'm sorry but it's the first time.What should I do?
N3CRON Posted September 1, 2018 Posted September 1, 2018 (edited) I've already read the first post, if I replace the dll, the textures work correctly, but I can not use dgVoodoo2 and Reshade. Do not work. Please could you help me with the correct installation? Thanks. EDIT: I tried these two methods, but both fail. First Method 1.Install the game and the official patch 1.01. 2.Install dgVoodoo2 (including the following files: D3D8.dll, D3DImm.dll, DDraw.dll contained in the MS folder) 3.Install the contents of "d3d8.7z" or "d3d8to9-ChaosLegion.7z" in the game folder. Result: the game starts with the correct textures but no cutscenes are shown only sound, while dgVoodoo2 does not start. Second Method 1.Install the game and the official patch 1.01. 2.Install the contents of "d3d8.7z" or "d3d8to9-ChaosLegion.7z" in the game folder. 3.Install dgVoodoo2 (including the following files: D3D8.dll, D3DImm.dll, DDraw.dll contained in the MS folder) Result: the game starts with the missing textures, the cutscenes are not shown only sound, while dgVoodoo2 works perfectly. Where am I wrong? please help me. :( Edited September 1, 2018 by N3CRON news adds
barbaro_vittagames Posted September 2, 2018 Posted September 2, 2018 It does not work with the hex edited ChaosLegion.exe I've created to work with 1920x1080 resolution. The game crashs immediatly at start up.
ducon2016 Posted September 4, 2018 Author Posted September 4, 2018 On 9/1/2018 at 12:33 PM, N3CRON said: I've already read the first post, if I replace the dll, the textures work correctly, but I can not use dgVoodoo2 and Reshade. Do not work. Please could you help me with the correct installation? Thanks. EDIT: I tried these two methods, but both fail. First Method 1.Install the game and the official patch 1.01. 2.Install dgVoodoo2 (including the following files: D3D8.dll, D3DImm.dll, DDraw.dll contained in the MS folder) 3.Install the contents of "d3d8.7z" or "d3d8to9-ChaosLegion.7z" in the game folder. Result: the game starts with the correct textures but no cutscenes are shown only sound, while dgVoodoo2 does not start. Second Method 1.Install the game and the official patch 1.01. 2.Install the contents of "d3d8.7z" or "d3d8to9-ChaosLegion.7z" in the game folder. 3.Install dgVoodoo2 (including the following files: D3D8.dll, D3DImm.dll, DDraw.dll contained in the MS folder) Result: the game starts with the missing textures, the cutscenes are not shown only sound, while dgVoodoo2 works perfectly. Where am I wrong? please help me. :( I never used dgVoodoo2, but I looked and it seems like it is only wrapping D3D8.dll so you will not be able to make it work. Sorry about the confusion, I thought it could wrap Direct3D 9, I was wrong. I recommend using another wrapper that supports D3D9, and use that with "d3d8to9-ChaosLegion.7z". Reshade and many others do that. What feature do you need dgVoodoo2? I might be able to find a wrapper that does that or add the feature in my dll.
N3CRON Posted September 4, 2018 Posted September 4, 2018 (edited) Reshade also does not work using your DLL in "d3d8to9-ChaosLegion.7z"The important functions I need are the following:1. vSync2. 16x anisotropic filter3. MSAA 8x antialiasing4. Screen resolution 1920x1080pThese features make the game wonderful to play.P.S. Using the ddl provided by dgVoodoo2, the game works but the textures are missing, which instead are present in your ddl.If it can be useful I can send you the dll, maybe you are able to merge them together. Edited September 4, 2018 by N3CRON Correction
ducon2016 Posted October 2, 2018 Author Posted October 2, 2018 On 9/22/2018 at 4:11 AM, N3CRON said: sorry for reply, there are news? :( Sorry for the delay I was traveling, and have been super busy. Also damaged my knee last week, so had to rest. Anyways here is a dll for you to try 1. Copy this dll in the game folder 2. Rename your dgvoodoo2 d3d8.dll to d3d8-chained.dll, and put d3d8-chained.dll in the game folder Run the game, it will load my dll which fixes the textures sizes, and will load dgvoodoo2 dll instead of the system one, this should create a chain fixing your issue. Please let me know if it does not work, but also let us know if it works. d3d8-loadingDgVodoo2.7z
N3CRON Posted October 2, 2018 Posted October 2, 2018 13 ore fa, ducon2016 ha scritto: Sorry for the delay I was traveling, and have been super busy. Also damaged my knee last week, so had to rest. Anyways here is a dll for you to try 1. Copy this dll in the game folder 2. Rename your dgvoodoo2 d3d8.dll to d3d8-chained.dll, and put d3d8-chained.dll in the game folder Run the game, it will load my dll which fixes the textures sizes, and will load dgvoodoo2 dll instead of the system one, this should create a chain fixing your issue. Please let me know if it does not work, but also let us know if it works. d3d8-loadingDgVodoo2.7z Thank you so much, I tried as you said, unfortunately the game crashes on startup.I have also tried with a clean installation but the problem remains.
ducon2016 Posted October 4, 2018 Author Posted October 4, 2018 On 10/2/2018 at 11:32 AM, N3CRON said: Thank you so much, I tried as you said, unfortunately the game crashes on startup.I have also tried with a clean installation but the problem remains. Sorry, not sure what is happening. It works for me as shown in the screenshot. You can see the textures are fixed and dgVoodoo is running. Try to copy D3DImm.dll and DDraw.dll from dgVoodoo2_55_3\MS to the game folder. Here is what I have all in the same folder as ChaosLegion.exe: d3d8.dll (the one from the post above) D3D8-chained.dll (it was d3d8.dll from dgVoodoo2_55_3\MS that I renamed) D3DImm.dll DDraw.dll If it does not work, can you try by setting all dgVoodoo options to default.
ducon2016 Posted October 4, 2018 Author Posted October 4, 2018 2 hours ago, N3CRON said: Thank you so much, now it works !!! You are welcome :D 1
salmino Posted April 3, 2019 Posted April 3, 2019 (edited) On 10/4/2018 at 5:51 AM, ducon2016 said: Sorry, not sure what is happening. It works for me as shown in the screenshot. You can see the textures are fixed and dgVoodoo is running. Try to copy D3DImm.dll and DDraw.dll from dgVoodoo2_55_3\MS to the game folder. Here is what I have all in the same folder as ChaosLegion.exe: d3d8.dll (the one from the post above) D3D8-chained.dll (it was d3d8.dll from dgVoodoo2_55_3\MS that I renamed) D3DImm.dll DDraw.dll If it does not work, can you try by setting all dgVoodoo options to default. algerian vision Edited May 14, 2019 by salmino 1
zujikibiv Posted July 19, 2019 Posted July 19, 2019 I downloaded the game, applied the fix of this thread, and edited the .exe file for my resolution 2560x1440, but still I get bad graphics: https://imgur.com/a/t2ijbjv I can get much better graphics with the PS2 version using PCSX2... What am I missing? By the way, I can't even install patch v1.0.3, it always says correct game version isn't installed. lol
N3CRON Posted September 26, 2019 Posted September 26, 2019 I have a new question for my dear friend @ducon2016, if I wanted a higher resolution than full HD? For example in 4K 3840x2160?
N3CRON Posted September 26, 2019 Posted September 26, 2019 Il 19/7/2019 Alle 11:52, zujikibiv ha scritto: I downloaded the game, applied the fix of this thread, and edited the .exe file for my resolution 2560x1440, but still I get bad graphics: https://imgur.com/a/t2ijbjv I can get much better graphics with the PS2 version using PCSX2... What am I missing? By the way, I can't even install patch v1.0.3, it always says correct game version isn't installed. lol You can't compare pcsx2 to the pc version, pcsx2 is an emulator that uses internal upscaling if I'm not mistaken up to 8K, so we're talking about a completely different system.
N3CRON Posted November 12, 2019 Posted November 12, 2019 Il 27/9/2019 Alle 00:49, N3CRON ha scritto: I have a new question for my dear friend @ducon2016, if I wanted a higher resolution than full HD? For example in 4K 3840x2160? Sorry for repost, any solution?
ducon2016 Posted November 12, 2019 Author Posted November 12, 2019 4 hours ago, N3CRON said: Sorry for repost, any solution? Dgvoodoo should allow you to try higher resolution. What happens when you try?
N3CRON Posted November 17, 2019 Posted November 17, 2019 Il 12/11/2019 Alle 17:02, ducon2016 ha scritto: Dgvoodoo should allow you to try higher resolution. What happens when you try? Changing the resolution beyond Full HD, the game always crashes.I tried them all.
Okash Posted December 7, 2019 Posted December 7, 2019 Can someone give me edited exe for Chaos Legion with 1920x1080 enabled?
N3CRON Posted December 7, 2019 Posted December 7, 2019 8 ore fa, Okash ha scritto: Can someone give me edited exe for Chaos Legion with 1920x1080 enabled? There is no modified exe to launch the game in 1080p.Just use the basic game, install dgVoodoo and then, in the installation folder, replace the files contained with these: d3d8-loadingDgVodoo2.7z
Okash Posted December 8, 2019 Posted December 8, 2019 9 hours ago, N3CRON said: There is no modified exe to launch the game in 1080p.Just use the basic game, install dgVoodoo and then, in the installation folder, replace the files contained with these: d3d8-loadingDgVodoo2.7z I tried with dgVoodoo but neither resolution is changing nor it is becoming full screen.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now