leecher1337 / ntvdmx64

Run Microsoft Windows NTVDM (DOS) on 64bit Editions
823 stars 81 forks source link

Oh yes this is definitely a 32bit machine lol #276

Open happymimimix opened 2 months ago

happymimimix commented 2 months ago

image

leecher1337 commented 2 months ago

Hm, what's the output of command reg query HKLM\Hardware\Description\System\CentralProcessor\0 on your machine?

happymimimix commented 2 months ago

image

happymimimix commented 2 months ago

The problem occurs at your code for detecting whether the machine is 64bit and how different windows version reports processor information. Vista and above reports it as AMD64 but Windows XP reports it as x86-64. Your script looks for the string "x86" in the queried information and found x86-64 and assumes that it's a 32bit processor. A more accurate way of doing that is to actually run a 64bit executable and watch for the error code. If the program successfully ran, it means it's a 64bit machine. Also I wanna ask why windows XP is supported, windows 7 is supported, but windows vista is not?

happymimimix commented 2 months ago

image Symfetch.exe is 64bit, you can just use that one for testing.

leecher1337 commented 2 months ago

Also I wanna ask why windows XP is supported, windows 7 is supported, but windows vista is not?

Because I always hated that Windows version, it was the worst of XP and 7 mashed up in one release, so imho nobody is seriously using this crappy version of Windows, so why wasting time and resources on it ;-)