http://bugs.winehq.org/show_bug.cgi?id=21536
Summary: Windows Virtual Memory must be enabled to play some games Product: Wine Version: 1.1.37 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: xvachon@gmail.com
In current git (1.1.37), when I attempt to load Star Wars : The Force Unleashed, I get a message telling me that "Windows Virtual Memory must be enabled to play this game". My console output looks like this :
xavier@xavier-pc /wine/swtfu/drive_c/jeu $ wine "SWTFU.exe" err:ole:CoGetClassObject class {9a5ea990-3034-4d6f-9128-01f3c61022bc} not registered err:ole:CoGetClassObject no class object {9a5ea990-3034-4d6f-9128-01f3c61022bc} could be created for context 0x1 fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS) fixme:system:SystemParametersInfoW Unimplemented action: 53 (SPI_SETTOGGLEKEYS) fixme:system:SystemParametersInfoW Unimplemented action: 51 (SPI_SETFILTERKEYS)
The current workaround is to add the contents of this file : http://www.tghost.co.uk/tmp/virtualmemory.reg to the registry.
According to the test report, Guitar Hero 3 has this bug too.
http://bugs.winehq.org/show_bug.cgi?id=21536
--- Comment #1 from Austin English austinenglish@gmail.com 2010-01-29 16:10:32 --- Is there a game that has a demo/download with this problem?
http://bugs.winehq.org/show_bug.cgi?id=21536
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=21536
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Windows Virtual Memory must |Star Wars: The Force |be enabled to play some |Unleashed exits with error: |games |Windows Virtual Memory must | |be enabled
--- Comment #2 from Vitaliy Margolen vitaliy@kievinfo.com 2010-01-29 21:13:58 --- What windows version is selected in winecfg? How much memory and how much swap do you have?
http://bugs.winehq.org/show_bug.cgi?id=21536
--- Comment #3 from Xavier Vachon xvachon@gmail.com 2010-01-30 18:27:58 --- (In reply to comment #1)
Is there a game that has a demo/download with this problem?
Guitar Hero 3 : http://www.gamespot.com/pc/puzzle/guitarheroiii/download_ini.html?sid=618066...
(In reply to comment #2)
What windows version is selected in winecfg? How much memory and how much swap do you have?
Windows XP 4 GB RAM No swap
http://bugs.winehq.org/show_bug.cgi?id=21536
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #4 from Vitaliy Margolen vitaliy@kievinfo.com 2010-01-30 23:55:48 --- (In reply to comment #3)
No swap
That's what "Windows Virtual Memory" is. Enable swap. Reopen if problem persists.
Wine reports memory size and swap size as-is. If you think it's not application's business to check for swap - tell that to application's developers.
http://bugs.winehq.org/show_bug.cgi?id=21536
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Vitaliy Margolen vitaliy@kievinfo.com 2010-01-30 23:56:02 --- Closing - not a bug.
http://bugs.winehq.org/show_bug.cgi?id=21536
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED CC| |dank@kegel.com Resolution|INVALID |
--- Comment #6 from Dan Kegel dank@kegel.com 2010-02-24 02:09:15 --- Hey, I've got swap enabled, and it fails for me anyway. +relay shows
0032:Call advapi32.RegOpenKeyExW(80000002,052c75f8 L"SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management",00000000,00020019,04b1e914) ret=002387b9 0032:Ret advapi32.RegOpenKeyExW() retval=00000000 ret=002387b9 0032:Call advapi32.RegQueryValueExW(000006cc,052c85e0 L"PagingFiles",00000000,04b1e91c,04b1e920,04b1e918) ret=002387fa 0032:Ret advapi32.RegQueryValueExW() retval=00000002 ret=002387fa ... 0032:Call KERNEL32.WideCharToMultiByte(00000000,00000000,052c72d0 L"ErrorVirtualMemory",00000012,00000000,00000000,00000000,00000000) ret=00237390 ... 0032:Call user32.MessageBoxW(00000000,052c9e40 L"Windows Virtual Memory must be enabled to play this game.\nPlease look up "Virtual Memory" in Windows Help & Support for instructions on how to change this system setting.",052caa70 L"Star Wars: The Force Unleashed",00000000) ret=002395df
Offhand, it looks like Wine needs to support that registry key.
http://bugs.winehq.org/show_bug.cgi?id=21536
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #7 from Vitaliy Margolen vitaliy@kievinfo.com 2010-02-24 08:41:06 --- Confirming per comment 6.
http://bugs.winehq.org/show_bug.cgi?id=21536
--- Comment #8 from Xavier Vachon xvachon@gmail.com 2010-10-25 10:23:02 CDT --- Still a bug in git (1.3.5)
http://bugs.winehq.org/show_bug.cgi?id=21536
pvpmidrange pvpmidrange@yandex.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pvpmidrange@yandex.ru
--- Comment #9 from pvpmidrange pvpmidrange@yandex.ru 2011-01-31 07:50:52 CST --- у меня такая же проблема: (In reply to comment #0)
In current git (1.1.37), when I attempt to load Star Wars : The Force Unleashed, I get a message telling me that "Windows Virtual Memory must be enabled to play this game". My console output looks like this :
xavier@xavier-pc /wine/swtfu/drive_c/jeu $ wine "SWTFU.exe" err:ole:CoGetClassObject class {9a5ea990-3034-4d6f-9128-01f3c61022bc} not registered err:ole:CoGetClassObject no class object {9a5ea990-3034-4d6f-9128-01f3c61022bc} could be created for context 0x1 fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS) fixme:system:SystemParametersInfoW Unimplemented action: 53 (SPI_SETTOGGLEKEYS) fixme:system:SystemParametersInfoW Unimplemented action: 51 (SPI_SETFILTERKEYS)
The current workaround is to add the contents of this file : http://www.tghost.co.uk/tmp/virtualmemory.reg to the registry.
According to the test report, Guitar Hero 3 has this bug too.
эмуляция windows 7 оперативной памяти 2 Гб файл подкачки (в системном мониторе) 5.7 Гб что мне делать?
http://bugs.winehq.org/show_bug.cgi?id=21536
--- Comment #10 from Dan Kegel dank@kegel.com 2011-01-31 09:48:17 CST --- Created an attachment (id=33072) --> (http://bugs.winehq.org/attachment.cgi?id=33072) registry entries simulating virtual memory status
Please use english (via Google Translate if needed). That says:
"emulation windows 7 Memory 2 GB swap file (in System Monitor) 5.7 GB What should I do?"
Try downloading the attached file virtualmemory.reg and doing wine regedit virtualmemory.reg Does that help? (Found at http://ubuntuforums.org/archive/index.php/t-1192733.html since the original links are dead; I left out the RNG section as it seemed unrelated.)
http://bugs.winehq.org/show_bug.cgi?id=21536
--- Comment #11 from pvpmidrange pvpmidrange@yandex.ru 2011-01-31 10:14:51 CST --- I did everything as the site "http://translate.googleusercontent.com/translate_c?hl=ru&langpair=en%7Cr..." problem persists
http://bugs.winehq.org/show_bug.cgi?id=21536
--- Comment #12 from Dan Kegel dank@kegel.com 2011-01-31 10:26:52 CST --- Ignore that site, the registry files there had spaces in them that broke it; does the registry file I attached help? Please reply in a comment on http://appdb.winehq.org/objectManager.php?sClass=application&iId=10740 and not here since bugzilla is not really for user support.
http://bugs.winehq.org/show_bug.cgi?id=21536
--- Comment #13 from Xavier Vachon xvachon@gmail.com 2013-06-05 00:17:43 CDT --- Still a bug in git (1.5.31)
http://bugs.winehq.org/show_bug.cgi?id=21536
legluondunet@free.fr legluondunet@free.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |legluondunet@free.fr
--- Comment #14 from legluondunet@free.fr legluondunet@free.fr --- Bug still present in 1.7.9
http://bugs.winehq.org/show_bug.cgi?id=21536
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Summary|Star Wars: The Force |Multiple games need |Unleashed exits with error: |'HKLM\SYSTEM\CurrentControl |Windows Virtual Memory must |Set\Control\Session |be enabled |Manager\Memory' | |'PagingFiles' registry key | |(Star Wars: The Force | |Unleashed, Guitar Hero III)
--- Comment #15 from Anastasius Focht focht@gmx.net --- Hello folks,
refining summary as multiple games are affected. It seems there is only one key needed.
--- snip --- [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management] "PagingFiles"=hex(7):43,00,3a,00,5c,00,70,00,61,00,67,00,65,00,66,00,69,00,6c,00,65,00,2e,00,73,00,79,00,73,00,20,00,31,00,30,00,30,00,20,00,31,00,35,00,30,00,30,00,00,00,00,00 --- snip ---
Relevant part of trace log:
--- snip --- $ WINEDEBUG=+tid,+seh,+relay wine ./SWTFU.exe >>log.txt 2>&1 ... 0026:Call PE DLL (proc=0x3fbbd53,module=0x3f90000 L"AWL_Release.dll",reason=PROCESS_ATTACH,res=0x1) ... 0026:Call advapi32.RegOpenKeyExW(80000002,00262c60 L"SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management",00000000,00020019,03f8ef5c) ret=03f987b9 0026:Ret advapi32.RegOpenKeyExW() retval=00000000 ret=03f987b9 0026:Call advapi32.RegQueryValueExW(00000090,00266af8 L"PagingFiles",00000000,03f8ef64,03f8ef68,03f8ef60) ret=03f987fa 0026:Ret advapi32.RegQueryValueExW() retval=00000000 ret=03f987fa ... 0026:Call advapi32.RegCloseKey(00000090) ret=03f98862 0026:Ret advapi32.RegCloseKey() retval=00000000 ret=03f98862 --- snip ---
Technet/MSDN: http://technet.microsoft.com/en-us/library/cc963232.aspx
--- quote --- HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
"PagingFiles"
Data type: REG_BINARY Range: Name Minimum(MB) Maximum(MB) Default value: C:\Pagefile.sys 27 77
Description
Specifies the name of the paging file and the minimum and maximum size range (in megabytes) for the paging file. --- quote ---
Regards
http://bugs.winehq.org/show_bug.cgi?id=21536
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Multiple games need |Multiple games need |'HKLM\SYSTEM\CurrentControl |'HKLM\SYSTEM\CurrentControl |Set\Control\Session |Set\Control\Session |Manager\Memory' |Manager\Memory Management' |'PagingFiles' registry key |'PagingFiles' registry key |(Star Wars: The Force |(Star Wars: The Force |Unleashed, Guitar Hero III) |Unleashed, Guitar Hero III)
http://bugs.winehq.org/show_bug.cgi?id=21536
--- Comment #16 from Austin English austinenglish@gmail.com --- Windows 7 has it has a REG_MULTI_SZ entry, not REG_BINARY.
http://bugs.winehq.org/show_bug.cgi?id=21536
--- Comment #17 from Austin English austinenglish@gmail.com --- Created attachment 47189 --> http://bugs.winehq.org/attachment.cgi?id=47189 patch
Here's a patch with it as a REG_SZ entry (I couldn't figure out how to get a multi_sz in a .inf file, any hints?).
http://bugs.winehq.org/show_bug.cgi?id=21536
Jarkko K jarkko_korpi@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jarkko_korpi@hotmail.com
--- Comment #18 from Jarkko K jarkko_korpi@hotmail.com --- Your patch looks very simple. :D
Has anyone tried if it fixes this issue? AND if it does, any idea if it goes into wine anytime soon -that would be great.
I am currently installing the game from steam backup and trying to get it run.
https://bugs.winehq.org/show_bug.cgi?id=21536
--- Comment #19 from Austin English austinenglish@gmail.com --- (In reply to Jarkko K from comment #18)
Your patch looks very simple. :D
Has anyone tried if it fixes this issue? AND if it does, any idea if it goes into wine anytime soon -that would be great.
I am currently installing the game from steam backup and trying to get it run.
I don't have any of the games listed here to test. I'll send it to wine-patches if someone verifies that it helps.
http://bugs.winehq.org/show_bug.cgi?id=21536
--- Comment #20 from Jarkko K jarkko_korpi@hotmail.com --- Created attachment 48012 --> http://bugs.winehq.org/attachment.cgi?id=48012 register
I just recently installed Star Wars the force unleashed 2, it has the same issue as earlier unleash.
So I exported the fix I had in 1 and imported into 2.
Here is pic of it.
It's really simple.
So basically someone could write patch according to it.
I don't know what that writewatch is...
I just recently installed this star wars game so there isn't patch in wine yet.
http://bugs.winehq.org/show_bug.cgi?id=21536
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adys.wh@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=21536
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |registry
https://bugs.winehq.org/show_bug.cgi?id=21536
--- Comment #21 from Austin English austinenglish@gmail.com --- (In reply to Austin English from comment #17)
Created attachment 47189 [details] patch
Here's a patch with it as a REG_SZ entry (I couldn't figure out how to get a multi_sz in a .inf file, any hints?).
Since no one tested this, I borrowed a copy of Star Wars: The Force Unleashed from a friend. I can reproduce the bug, and the patch does fix it.
Sent: https://source.winehq.org/patches/data/103801
https://bugs.winehq.org/show_bug.cgi?id=21536
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |946b80a56739a2530698c237c4c | |0adc77de1361d Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #22 from Austin English austinenglish@gmail.com --- Committed: https://source.winehq.org/git/wine.git/commitdiff/946b80a56739a2530698c237c4...
https://bugs.winehq.org/show_bug.cgi?id=21536
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #23 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.17.