Jump to content

[WIP] Windows Vista Extended Kernel


win32

Recommended Posts

UPDATE: I found the problem, it's in the shell32.dll, not comdlg32. The bug is there when using both methods, local and normal install. I will later write what I did to solve it for me.

Link to comment
Share on other sites


On 7/25/2023 at 2:28 AM, Dixel said:

UPDATE: I found the problem, it's in the shell32.dll, not comdlg32.

@win32, as promised, the solution for both methods (local and normal), was to redirect Opera browser to the original non-modified shell32 from SP2 (modified in 2009). I forced the path through my starter app., (the one with the Opera icon, if you remember). Now dialogues open up just fine.

Link to comment
Share on other sites

This time I decided to make a totally clean install again, just to launch Spellforce 3 Reforced, released in 2022. No missing dependencies, all looks good, but I'm awarded with this error. It's not a driver problem, the game starts just fine with the same driver on later OS. This happens with all versions of the Kernel. Ideas?

DX11.png

DX_11.png

Link to comment
Share on other sites

@win32, hi! So I got the game working, mostly because I took an earlier version, that was easier to fight with, I overcame both errors, I now have no fonts in the game. I have a question, is it possible to take everything related to win7 platform update and use locally? So far, I was able to successfully port DWrite from the platform update for win7, it loads just fine, but no fonts shown in the game.

Why platform update? It doesn't work with simple windows 7 files.

Link to comment
Share on other sites

49 minutes ago, Dixel said:

I have a question, is it possible to take everything related to win7 platform update and use locally?

Yes, the DirectWrite in there is good enough to make some fonts load in Supermium, but I don't believe the media foundation or Direct2D parts are compatible.

Link to comment
Share on other sites

On 7/29/2023 at 4:10 PM, win32 said:

Yes, the DirectWrite in there is good enough to make some fonts load in Supermium, but I don't believe the media foundation or Direct2D parts are compatible.

Vista's media foundation and Direct2D are fully compatible with that purely DX11.0 game.

Though, it's not the case with the latest patch, so I lowered down the version, patched a bit, DX11 loaded fine, so no troubles, except for the bloody text. 

I patched DWrite from the Platform Update and placed into the game directory, the error is gone, still no text, I even replaced the game fonts with a working ones from an older game, no result.

WinSqmAddToStreamEx replaced with WinSqmAddToStream.

These are undocumented:

GetFontRealizationInfo

GetFontFileData

GetFontFileInfo

https://github.com/MyTDT-Mysoft/DllCompat/issues/9

So I replaced with GetFontData.

I even hooked it up with the new gdi32, then it just won't start at all, throwing out the generic 142 error.

Before patching the log file was:

[INFO]main()

[INFO]Styles enabled

[INFO]CApplication::CApplication()

[INFO]Create options

[INFO]Starting physics engine

[INFO]Starting 3d engine

[INFO]Selected adapter: NVIDIA GeForce GTX Titan

dx11\DspMainDX11.cpp [190] : error: Assertment failed! Message: Failed to initialize DirectWrite.

 

Now it's without the last line. But no ingame text, strange, as I see the Dwrite module is loaded into the memory just fine.

Yes, I still use that 11 years old videocard.

Link to comment
Share on other sites

Ex functions almost always add another parameter, so dropping the Ex very rarely works. When selecting a replacement, the number of parameters must match (look for the first return instruction after the function entry address). The return value should also indicate an error.

 

Link to comment
Share on other sites

9 hours ago, Brickedandroid said:

Please show me the exception code

예외 코드:    c000001d

 

9 hours ago, Brickedandroid said:

Does it also crash on other websites?

no

Link to comment
Share on other sites

On 8/1/2023 at 2:00 PM, jumper said:

Ex functions almost always add another parameter, so dropping the Ex very rarely works. When selecting a replacement, the number of parameters must match (look for the first return instruction after the function entry address). The return value should also indicate an error.

 

Thanks! Could you link to some docs I could read and compare, most of these I replaced are undocumented. 

Replacing Exes worked for me in the past.

Link to comment
Share on other sites

Just now, WinSuper2005 said:

Those of you are moving to March 9 build of Windows Vista Extended Kernel, the caution is:- Do NOT restore your system files, otherwise your 32 bit shells will be destroyed.

Credit to @win32

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...