Jump to content

[WIP] Windows Vista Extended Kernel


win32

Recommended Posts

4 hours ago, D.Draker said:

Sorry , not Dixel , but the question is about this very game . Could you please give an advice ? I want to try this game on the original kernel , I read it uses plain DX11.0 . As far as I can see by the dependency walker,  it only misses two functions.

The first is  GetLogicalProcessorInformationEx

And the second is in mono dll   TryAcquireSRWLockExclusive

Whould you suggest me with what it could be replaced ? thanks.

GetLogicalProcessorInformationEx -> GetLogicalProcessorInformation

TryAcquireSRWLockExclusive -> AcquireSRWLockExclusive

1 hour ago, D.Draker said:

I also wanted to ask with what I can replace K32EnumProcessModulesEx ?

psapi.EnumProcessModulesEx. It's basically the same function but this kind of substitution is usually unsuccessful for some reason. 

Link to comment
Share on other sites


3 hours ago, win32 said:

psapi.EnumProcessModulesEx. It's basically the same function but this kind of substitution is usually unsuccessful for some reason. 

Thanks, but psapi.EnumProcessModulesEx is longer and do not fit. EnumProcessModulesEx is absent in my kernel. The game doesn't start.

TryAcquireSRWLockExclusive -> AcquireSRWLockExclusive - replaced successfuly.

Link to comment
Share on other sites

On 1/4/2021 at 11:52 AM, win32 said:

GetLogicalProcessorInformationEx -> GetLogicalProcessorInformation

I'm still trying to get this to work , a new barrier with screen resoulution auto config arose.

Would you please suggest a good replacement for 

DisplayConfigGetDeviceInfo

GetDisplayConfigBufferSizes

QueryDisplayConfig

And maybe something different for K32EnumProcessModulesEx , should not exceed the length.

 

I'm sorry if I'm such a bother , thanks !

 

 

And these ones also , please.

CoGetApartmentType

RaiseFailFastException

 

These ones also need to be replaced

K32GetProcessMemoryInfo

ResolveLocaleName

SetThreadErrorMode

Link to comment
Share on other sites

well cemu now opens without a modded executable but still crashes after loading a game. i looked at the cemu log.txt. and first few lines are

[11:47:13] ------- Init Cemu 1.22.2 -------
[11:47:13] Init Wii U memory space (base: 0x140560000)
[11:47:13] mlc01 path: E:\CEMU\mlc01\
[11:47:13] Cemuhook version: 0.5.7.3
[11:47:13] CPU:        Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
[11:47:13] RAM: 32712MB
[11:47:13] Used CPU extensions: SSSE3, SSE4.1, AES-NI
[11:47:13] Vulkan loader not available. Outdated graphics driver or Vulkan runtime not installed?
[11:48:04] Loading U-King.rpx
[11:48:05] Creating OpenGL canvas
[11:48:05] Unable to create dxgi wrapper: can't create dxgi adapter (VRAM overlay stat won't be available)
[11:48:06] Loaded RPL module u-king (checksum 0x6267BFD0)
[11:48:06] ------- Loaded title -------
[11:48:06] TitleId: 00050000-101c9400
[11:48:06] TitleVersion: v208
[11:48:06] Update path: <mlc01>\usr\title\0005000e\101c9400\
[11:48:06] AOC path:    <mlc01>\usr\title\0005000c\101c9400\
[11:48:06] Save path:   <mlc01>\usr\save\00050000\101C9400\user\
[11:48:06] Shader cache file: shaderCache\transferable\00050000101c9400.bin
[11:48:06] gameprofile path: gameProfiles\default\00050000101c9400.ini
[11:48:06] RPX hash (updated): fb7911ad
[11:48:06] RPX hash (base): dcac9927
[11:48:06] Loaded module 'u-king' with checksum 0x6267bfd0
[11:48:06] RPL link time: 141ms
[11:48:06] HLE scan time: 109ms
[11:48:06] ------- Active settings -------
[11:48:06] CPU-Mode: Multi-core recompiler
[11:48:06] Load shared libraries: true
[11:48:06] Use precompiled shaders: auto (gameprofile)
[11:48:06] Full sync at GX2DrawDone: false
[11:48:06] Console language: English
[11:48:06] ------- Init OpenGL graphics backend -------
[11:48:06] GL_VENDOR: NVIDIA Corporation
[11:48:06] GL_RENDERER: GeForce GTX 1060 6GB/PCIe/SSE2
[11:48:06] GL_VERSION: 4.5.0 NVIDIA 372.70
[11:48:06] OpenGL extensions:
[11:48:06] ARB_clip_control: available
[11:48:06] ARB_get_program_binary: available
[11:48:06] ARB_clear_texture: available
[11:48:06] ARB_copy_image: available
[11:48:06] NV_depth_buffer_float: available

 

the crashlog part has

Crashlog for Cemu 1.22.2
Date: 05-01-2021 17:51:17

-----------------------------------------
   Stack trace
-----------------------------------------
Exception 0xc000001d at 0x1af567b1
cemu.exe at 0x13f1c0000

RAX=000000000e2806b8 RBX=0000000000000000 RCX=000000001af56108 RDX=0000000000000000
RSP=00000003c93b1f00 RBP=000000000e280728 RDI=000000001af56108 RSI=0000000000000000
R8 =000000000308001f R9 =0000000000000800 R10=0000000000000000 R11=0000000000001000
R12=0000000000000000 R13=0000000140560000 R14=0000000000000000 R15=00000003edbd0000

 

idk why but i want to get it fully working

i Reinstalled (and changed editions) Windows Vista. and readded the extended kernel files(along with the needed updates).

im updating cemu to see if it makes any difference.(edit:unsurprisingly it didnt)

Edited by ScrapMechanicFan2016
updating cemu.
Link to comment
Share on other sites

@win32 hope you dont mind me asking , but has there been any progress towards getting newer gpus like pascal and above working properly and also will a uefi version of osloader be made available as it was left incomplete previously. Thank you.

Link to comment
Share on other sites

2 minutes ago, burd said:

@win32 hope you dont mind me asking , but has there been any progress towards getting newer gpus like pascal and above working properly and also will a uefi version of osloader be made available as it was left incomplete previously. Thank you.

I started working on winload.efi again but I continue to struggle with digital signature verification. The same things that were successful to bypass protections on winload.exe are not successful on winload.efi. :thumbdown

Link to comment
Share on other sites

6 hours ago, ScrapMechanicFan2016 said:

well cemu now opens without a modded executable but still crashes after loading a game. i looked at the cemu log.txt. and first few lines are

[11:48:06] GL_VENDOR: NVIDIA Corporation
[11:48:06] GL_RENDERER: GeForce GTX 1060 6GB/PCIe/SSE2
[11:48:06] GL_VERSION: 4.5.0 NVIDIA 372.70
the crashlog part has

Crashlog for Cemu 1.22.2
 

gtx 1060 is the culprit, replace it with original titan or gtx 780/980.

Link to comment
Share on other sites

On 1/5/2021 at 6:26 PM, asdf2345 said:

It's OpenGL, so the 1060 shouldn't be an issue here.

Maybe, maybe not . He can test with these cards to see what happens. Real life scenario is a good test . I had some games that crashed with GTX980 and GTX780 (chip revision A2), strangely chip revison A1 worked alright. 

 

On 1/5/2021 at 6:11 PM, win32 said:

I started working on winload.efi again but I continue to struggle with digital signature verification. The same things that were successful to bypass protections on winload.exe are not successful on winload.efi. :thumbdown

Have you considered modding the driver itself ? 382 seems to be a wise choice since it supports 1030.

Link to comment
Share on other sites

1 minute ago, D.Draker said:

Have you considered modding the driver itself ? 382 seems to be a wise choice since it supports 1030.

I also came to the conclusion that 382.33 would be good to modify, but 382.33 has NVTelemetry, so anyone modding it would have to remove it

Link to comment
Share on other sites

13 hours ago, asdf2345 said:

I also came to the conclusion that 382.33 would be good to modify, but 382.33 has NVTelemetry, so anyone modding it would have to remove it

Removing telemetry is just a couple of seconds . Modding the driver is not easy , I guess . We are better off with 7/9 series , btw I noticed modded 372 files in the folder, what are they for ? Win32 began experimenting ?

Link to comment
Share on other sites

2 minutes ago, D.Draker said:

 btw I noticed modded 372 files in the folder, what are they for ? Win32 began experimenting ?

He tried modding them, but they didnt work out.

Link to comment
Share on other sites

On 1/5/2021 at 6:26 PM, asdf2345 said:

It's OpenGL, so the 1060 shouldn't be an issue here.

it is working fully on Vista. Im playing Minecraft as i am typing this (MC is a OpenGL game)

 

yes i am using the modded 372.70 Driver

btw. the latest version of OBS runs.

Edited by ScrapMechanicFan2016
Link to comment
Share on other sites

8 hours ago, ScrapMechanicFan2016 said:

it is working fully on Vista. Im playing Minecraft as i am typing this (MC is a OpenGL game)

fps drops to like 20, it could be better on opengl 4.6 probably, 372.70 has 4.5

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...