VxKex icon indicating copy to clipboard operation
VxKex copied to clipboard

How to use?

Open sydia1103 opened this issue 2 years ago • 23 comments

There are currently no instructions of how to compile this. I would like to use this to run some modern programs on Windows 7. Maybe you could release a compiled version or make instructions? Help would be appreciated.

sydia1103 avatar Mar 30 '22 15:03 sydia1103

There are currently no instructions of how to compile this. I would like to use this to run some modern programs on Windows 7. Maybe you could release a compiled version or make instructions? Help would be appreciated.

As the readme says this is a prerelease version. It doesn't even work for most programs yet. But you can download and run the installer from the releases page if you want to try it.

Compilation should be as simple as loading the .SLN file into Visual Studio (I use 2010 ultimate), doing a batch build and then everything will be built.

If you want a solution that just works without any hassle you should wait until the 1.0.0.0 release.

vxiiduu avatar Mar 30 '22 23:03 vxiiduu

I have some software which might use Win 8 or 10 functions. I say might because I don't know. I decided to try the prelease installer for this project to see if it would change anything, but I don't understand how VxKex works. The installer puts everything in program files and those *33.dlls are much smaller than their counterparts in system32. How does VxKex make itself work and how can I verify that it is actually doing something?

TiberiumFusion avatar Mar 31 '22 09:03 TiberiumFusion

I have some software which might use Win 8 or 10 functions. I say might because I don't know. I decided to try the prelease installer for this project to see if it would change anything, but I don't understand how VxKex works. The installer puts everything in program files and those *33.dlls are much smaller than their counterparts in system32. How does VxKex make itself work

VxKex is enabled on a per-EXE basis, not for the whole system. This is a design choice to increase system stability and reduce the impact of bugs. I.e. if you do not specifically enable VxKex for a program, nothing in your system will be modified, and it won't do anything.

You can right click the EXE of a program, go to the properties tab for VxKex, enable the options you want and then click OK. (This may require administrator permissions depending on the options you set.) Using this method will enable VxKex every time you run that program in the future.

Alternatively, you can hold Shift while right clicking an EXE file, and this will display an additional menu option to run once with VxKex enabled (which does not require administrator permissions). The third option is to go into the folder where you installed VxKex and double-click on VxKexLdr.exe, which will open a dialog where you can select an application to run.

The *33.dll files do not replace the system32 equivalents, they just contain extra APIs that don't exist on Windows 7.

When the 1.0.0.0 release arrives all this will be explained in the documentation, there will be screenshots and examples etc.

and how can I verify that it is actually doing something?

An easy way to see that something happens is to set both the "enable VxKex" and "fake a different windows version" options in the property sheet for a program like CPU-Z or HWiNFO64, and that program will think you're running a different Windows version.

vxiiduu avatar Mar 31 '22 11:03 vxiiduu

Thanks much for the explanation. The explorer integration is great and is so much better than fussing around with hard links to system files. This is a really good project you're making here.

I actually ended up breaking the program I was testing by setting the version override to Win 8/10. The program is aware of and supports Windows 7, but it loads a bunch of plugin dlls that expect Win 8/10. So now the host program wanted GetPointerFramePenInfo and probably the rest of the pen input functions. I don't know if those are on your roadmap, but I'm definitely looking forward to the eventual documentation and future releases.

TiberiumFusion avatar Mar 31 '22 12:03 TiberiumFusion

I actually ended up breaking the program I was testing by setting the version override to Win 8/10. The program is aware of and supports Windows 7, but it loads a bunch of plugin dlls that expect Win 8/10

Yes, this happens with some programs. For example, google chrome. For practical usage, it's better not to enable this option unless the app checks for Windows 8/8.1/10 and pops up a stupid error message saying "requires windows 10" or whatever. And thanks for letting me know about GetPointerFramePenInfo, I intend to add it. Some of the other pen/touch functions are already added.

vxiiduu avatar Apr 01 '22 07:04 vxiiduu

@vxiiduu Well, I have already had some success with your program. iTunes with a few modifications, runs on Windows 7, but the only problem is that some of the text is broken. Python 3.10.4 sadly does not run and crashes without an error message when your program is run. VirtualBox_Windows 7 Professional SP1_03_04_2022_16_28_23

sydia1103 avatar Apr 03 '22 21:04 sydia1103

@vxiiduu Well, I have already had some success with your program. iTunes with a few modifications, runs on Windows 7, but the only problem is that some of the text is broken. Python 3.10.4 sadly does not run and crashes without an error message when your program is run. VirtualBox_Windows 7 Professional SP1_03_04_2022_16_28_23

Great. I'm in the process of adding the functions required for python (and therefore Blender and other apps that require python) support, I'm about half done.

vxiiduu avatar Apr 03 '22 21:04 vxiiduu

I'm in the process of adding the functions required for python (and therefore Blender and other apps that require python) support

This would satisfy Python 3.9, right? For Blender specifically, I know there are some existing projects to get recent Blender versions working on Windows 7.

TiberiumFusion avatar Apr 03 '22 22:04 TiberiumFusion

Yeah, Python 3.9+ including 3.10 and probably future versions as well for some time to come.

vxiiduu avatar Apr 04 '22 06:04 vxiiduu

Python 3.10 already works if you add this dll to System32 and SysWOW64. https://github.com/nalexandru/api-ms-win-core-path-HACK/

ExtremeXT avatar Apr 05 '22 13:04 ExtremeXT

Can I install Bugcrash 10 DCH driver software with this program in the future (only the driver, not the UWP app with the driver) ? Also, Chrome will end the support of Windows 7 and 8.x, can I still use the latest Chrome with this project?

YuZhouRen86 avatar May 19 '22 04:05 YuZhouRen86

I have already used Win 7 on my i7-10510U laptop for 1 year, but there are some problem of the mod driver. I don't want to downgrade to Bugcrash 10 again, because of the bad UI and the built-in advertisement. So I want this project can allow us to install the latest WHQL DCH Bug 10 official driver.

YuZhouRen86 avatar May 19 '22 04:05 YuZhouRen86

@YuZhouRen86 I can't speak for vxiiduu or for VxKex, but I can say that getting a DCH driver to work on Windows 7 or 8 is not easy. Even if the driver binaries can be made to run using something like VxKex, there is still the problem of installing and configuring those binaries. I once tried to get nvidia's DCH driver to work on 7/8 with almost zero success. The .inf files in the Bugcrash DCH driver package are very different from the Windows .inf files. You can try to manually install the driver, but Windows doesn't understand the Bugcrash .inf files. You will probably need to completely rewrite the .infs and/or manually place the driver files and modify the registry. This could be a nightmare for large & complex drivers.

install the latest WHQL DCH Bug 10 official driver

Are you trying to make the recent nvidia/amd/intel graphics drivers work on Win 7/8? I also hope this is possible, but it could be very difficult. If the driver relies on WDDM 2.x or other Bugcrash features, it probably won't work on Windows.

TiberiumFusion avatar May 19 '22 05:05 TiberiumFusion

@YuZhouRen86 I can't speak for vxiiduu or for VxKex, but I can say that getting a DCH driver to work on Windows 7 or 8 is not easy. Even if the driver binaries can be made to run using something like VxKex, there is still the problem of installing and configuring those binaries. I once tried to get nvidia's DCH driver to work on 7/8 with almost zero success. The .inf files in the Bugcrash DCH driver package are very different from the Windows .inf files. You can try to manually install the driver, but Windows doesn't understand the Bugcrash .inf files. You will probably need to completely rewrite the .infs and/or manually place the driver files and modify the registry. This could be a nightmare for large & complex drivers.

install the latest WHQL DCH Bug 10 official driver

Are you trying to make the recent nvidia/amd/intel graphics drivers work on Win 7/8? I also hope this is possible, but it could be very difficult. If the driver relies on WDDM 2.x or other Bugcrash features, it probably won't work on Windows.

I have already modded the "ELAN Touchpad For WDF" driver into Windows 7 by modding the .inf file from Bugcrash 10 version 1909 and it runs very well (could use two fingers to scroll), but Win 7 doesn't have an extra API, so the MiniPort driver is not working. Just replace all "NTamd64.10.0..16299" string with "NTamd64.6.1..7600". And in DCH driver, delete all string about "SoftwareComponent", or you will get a Code 39 ERROR, because SoftwareComponent is for the UWP apps. I am trying to moddify the Intel UHD Graphics DCH version 26.20.100.xxxx to Windows 7 (if I moddify it successfully, install Win 7 on skylake, kabylake, kabylakerefresh, apollolake, coffeelake, whiskeylake, cometlake and icelake will be OK).

YuZhouRen86 avatar May 19 '22 06:05 YuZhouRen86

@YuZhouRen86 I can't speak for vxiiduu or for VxKex, but I can say that getting a DCH driver to work on Windows 7 or 8 is not easy. Even if the driver binaries can be made to run using something like VxKex, there is still the problem of installing and configuring those binaries. I once tried to get nvidia's DCH driver to work on 7/8 with almost zero success. The .inf files in the Bugcrash DCH driver package are very different from the Windows .inf files. You can try to manually install the driver, but Windows doesn't understand the Bugcrash .inf files. You will probably need to completely rewrite the .infs and/or manually place the driver files and modify the registry. This could be a nightmare for large & complex drivers.

install the latest WHQL DCH Bug 10 official driver

Are you trying to make the recent nvidia/amd/intel graphics drivers work on Win 7/8? I also hope this is possible, but it could be very difficult. If the driver relies on WDDM 2.x or other Bugcrash features, it probably won't work on Windows.

For WDDM 2.x, you can use AeroEnabler to enable AERO force.

YuZhouRen86 avatar May 19 '22 06:05 YuZhouRen86

[](url tpe14w7scr_gaitubao_ ) Here is the screenshot (for easy-understand, I change the language to English)

YuZhouRen86 avatar May 19 '22 06:05 YuZhouRen86

@YuZhouRen86

I am trying to moddify the Intel UHD Graphics DCH version 26.20.100.xxxx to Windows 7 (if I moddify it successfully, install Win 7 on skylake, kabylake, kabylakerefresh, apollolake, coffeelake, whiskeylake, cometlake and icelake will be OK).

This would be a great achievement if it is successful. Do you have a thread somewhere else for this project where people can collaborate, maybe on MSFN or MDL?

TiberiumFusion avatar May 19 '22 21:05 TiberiumFusion

@YuZhouRen86

I am trying to moddify the Intel UHD Graphics DCH version 26.20.100.xxxx to Windows 7 (if I moddify it successfully, install Win 7 on skylake, kabylake, kabylakerefresh, apollolake, coffeelake, whiskeylake, cometlake and icelake will be OK).

This would be a great achievement if it is successful. Do you have a thread somewhere else for this project where people can collaborate, maybe on MSFN or MDL?

OK. I posted an thread on WIN-RAID because MSFN is too slow in my IP and MDL doesn't allow me to create an account with the current IP, it thinks I am a robot.

YuZhouRen86 avatar May 22 '22 18:05 YuZhouRen86

@YuZhouRen86

I am trying to moddify the Intel UHD Graphics DCH version 26.20.100.xxxx to Windows 7 (if I moddify it successfully, install Win 7 on skylake, kabylake, kabylakerefresh, apollolake, coffeelake, whiskeylake, cometlake and icelake will be OK).

This would be a great achievement if it is successful. Do you have a thread somewhere else for this project where people can collaborate, maybe on MSFN or MDL?

Oh, MDL doesn't support both of my 126 and 163 email, and visiting Gmail here is illegal, so I have to sign up to win-raid (although I know there is a lot of Win 7 good mods in MDL).

YuZhouRen86 avatar May 22 '22 18:05 YuZhouRen86

A quick build guide would be very helpful as many people using Windows 7 are developers and would be able to contribute patches. Without an example of how to build it, people need to do a bit of trial and error which takes up time before they can be useful. If specific libraries and versions are needed, it helps to know up front.

For my part, I'd love to get involved, but don't want to spend a day just trialing different versions of Visual Studio and their feature sets. Assuming no third party libraries are being pulled in.

rastilin avatar Sep 16 '22 06:09 rastilin

@rastilin Visual Studio 2010 with Service Pack 1. SP1 is necessary for building. Without SP1 you get an error. No third party library are used. All required libraries are inside the github repo. @YuZhouRen86 You can use my MDL account since I don't need it anymore. I attached the login details:

Username: q2kt_ax Password: ACSD*(&^VBA2vtr4908y

vxiiduu avatar Sep 16 '22 07:09 vxiiduu

@vxiiduu Any idea where the KexSetup for the latest interim release is? I just compiled it, and I cannot find a setup file anywhere.

sydia1103 avatar Jan 15 '23 20:01 sydia1103

I think that can be closed now, no?

GitMensch avatar May 10 '24 15:05 GitMensch