https://bugs.winehq.org/show_bug.cgi?id=46962
Bug ID: 46962
Summary: Macromedia Director Player 4.x based games (16-bit NE)
fail to run: "This program requires at least 4MB free
memory to run." (The Rock)
Product: Wine
Version: 4.5
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: kernel32
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Distribution: ---
Hello folks,
I found a game written with Macromedia Director 4.0.4 using Internet Archive:
https://archive.org/search.php?query=macromedia%20director%205&and[]=mediat…https://archive.org/details/THEROCK_201807
-> https://archive.org/download/THEROCK_201807/THE_ROCK.zip
It's a 16-bit NE Windows binary.
--- snip ---
$ WINEDEBUG=+seh,+relay,+globalmem wine ./THE_ROCK.EXE >>log.txt 2>&1
...
005c:Call KERNEL.169: GETFREESPACE(0000) ret=1247:0b09 ds=1577
005c:Call KERNEL32.GlobalMemoryStatus(0087f810) ret=7e57ee80
005c:trace:globalmem:GlobalMemoryStatusEx <-- LPMEMORYSTATUSEX: dwLength 64,
dwMemoryLoad 16, ullTotalPhys 3e30a3000, ullAvailPhys 3407f6000,
ullTotalPageFile 5d90a2000, ullAvailPageFile 5367f5000, ullTotalVirtual
fffdffff, ullAvailVirtual fffcffff
005c:trace:globalmem:GlobalMemoryStatus Length 32, MemoryLoad 16, TotalPhys
ffffffff, AvailPhys ffffffff, TotalPageFile 7fffffff, AvailPageFile 7fffffff,
TotalVirtual fffdffff, AvailVirtual fffcffff
005c:Ret KERNEL32.GlobalMemoryStatus() retval=000000c7 ret=7e57ee80
005c:Ret KERNEL.169: GETFREESPACE() retval=fffcffff ret=1247:0b09 ds=1577
...
005c:Call user32.MessageBoxA(00000000,003b504e "This program requires at least
4MB free memory to run.",003b514e "Director Player 4.0",00000000) ret=f7b4a765
--- snip ---
Wine source:
--- snip ---
1365 /***********************************************************************
1366 * GlobalMemoryStatus (KERNEL32.@)
1367 * Provides information about the status of the memory, so apps can tell
1368 * roughly how much they are able to allocate
1369 *
1370 * RETURNS
1371 * None
1372 */
1373 VOID WINAPI GlobalMemoryStatus( LPMEMORYSTATUS lpBuffer )
1374 {
1375 MEMORYSTATUSEX memstatus;
1376 OSVERSIONINFOW osver;
1377 IMAGE_NT_HEADERS *nt = RtlImageNtHeader( GetModuleHandleW(0) );
1378
1379 /* Because GlobalMemoryStatus is identical to GlobalMemoryStatusEX
save
1380 for one extra field in the struct, and the lack of a bug, we simply
1381 call GlobalMemoryStatusEx and copy the values across. */
1382 memstatus.dwLength = sizeof(memstatus);
1383 GlobalMemoryStatusEx(&memstatus);
1384
1385 lpBuffer->dwLength = sizeof(*lpBuffer);
1386 lpBuffer->dwMemoryLoad = memstatus.dwMemoryLoad;
...
1430 /* limit page file size for really old binaries */
1431 if (nt->OptionalHeader.MajorSubsystemVersion < 4 ||
1432 nt->OptionalHeader.MajorOperatingSystemVersion < 4)
1433 {
1434 if (lpBuffer->dwTotalPageFile > MAXLONG) lpBuffer->dwTotalPageFile
= MAXLONG;
1435 if (lpBuffer->dwAvailPageFile > MAXLONG) lpBuffer->dwAvailPageFile
= MAXLONG;
1436 }
1437
1438 TRACE_(globalmem)("Length %u, MemoryLoad %u, TotalPhys %lx, AvailPhys
%lx,"
1439 " TotalPageFile %lx, AvailPageFile %lx, TotalVirtual %lx,
AvailVirtual %lx\n",
1440 lpBuffer->dwLength, lpBuffer->dwMemoryLoad,
lpBuffer->dwTotalPhys,
1441 lpBuffer->dwAvailPhys, lpBuffer->dwTotalPageFile,
lpBuffer->dwAvailPageFile,
1442 lpBuffer->dwTotalVirtual, lpBuffer->dwAvailVirtual );
1443 }
--- snip ---
"limit page file size for really old binaries" -> apparently the same has to be
done for reported virtual memory size (cap at 2GB).
Capping allows the game to start and show intro/gameplay sequence (until it
runs out of local heap which is a different issue).
NOTE: This is not the same as bug 44931 ("Macromedia Director Player 5.0/6.0
based games fail to run: "This program requires at least 3MB of free virtual
memory to run" (Nine: The last Resort)") which is about capping
dwAvailPageFile+dwAvailPhys <= 0x7FFFFFFF (2GB).
$ sha1sum THE_ROCK.*
efe3caca127562528d9496a434b1649a7c6ff46d THE_ROCK.EXE
6dc54219cf8b64d98a8a24f1bd2ebd32cefee8e8 THE_ROCK.zip
$Â du -sh THE_ROCK.*
2.1M THE_ROCK.EXE
984K THE_ROCK.zip
$Â wine --version
wine-4.5-185-g17056908ac
Regards
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43422
Bug ID: 43422
Summary: Shadow Warrior 2: Floors are not rendered
Product: Wine
Version: 2.12
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: directx-d3dx11
Assignee: wine-bugs(a)winehq.org
Reporter: philipp.ludwig(a)gmail.com
Distribution: ---
Created attachment 58785
--> https://bugs.winehq.org/attachment.cgi?id=58785
wine terminal output running Shadow Warrior 2
Floors in Shadow Warrior 2 are not rendered; attached is the terminal output,
which mostly consists out of these two lines:
fixme:d3d11:wined3d_map_flags_from_d3d11_map_type Unhandled map_type 0x2.
fixme:d3d:wined3d_occlusion_query_ops_poll 0x2928b50 Wrong thread, returning 1.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=47507
Bug ID: 47507
Summary: Regression: can't return to full-screen Civilization
IV BTS window after Alt+Tab-ing to desktop since wine
4.10
Product: Wine
Version: 4.12.1
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: igorkuo(a)meta.ua
Distribution: ---
Steps to reproduce:
1. Run Civilization IV Beyond the Sword in full-screen mode and load a saved
game.
2. Alt+Tab to another window.
3. Alt+Tab back to the Civilization window or click on the game window button.
4. Expected results (which actually happen with wine 4.9, 4.9-staging, 4.6 and
many earlier versions): after a couple of seconds the game window becomes
visible and works as if no window switching has occurred.
5. Actual results (which happen with wine 4.10, 4.10-staging, 4.11, 4.12,
4.12.1): even after minutes of waiting the game window is still hidden. The
only thing the user can do about this is exit the game by closing its window
from desktop.
System information: Manjaro 64-bit with latest updates. The regression affects
both 32-bit and 64-bit wine prefixes. I'm using the native msxml3 version
installed via winetricks, because without it the game crashes while loading a
saved game. The issue happens both with built-in and native directx9. The
regression affects both Xfce and KDE Plasma 5 desktop environments.
There is no meaningful difference (other than error message ordering,
addresses) between wine 4.9 and 4.10 debug outputs (compared via Meld) while
the bug is being reproduced.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16676
Summary: Running RTG Bills requires alternate winecfg
configurations of winetricks installed dcom98 DLLs for
alternate functions
Product: Wine
Version: 1.1.9
Platform: PC
URL: http://appdb.winehq.org/objectManager.php?sClass=version
&iId=15018
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: mstuff(a)read.org.nz
Everything used seems to work with the following limitation, this is a kinda
script to install which should explain:
### Get and install winetricks:
### http://wiki.winehq.org/winetricks
# Set your preferences
WINEPREFIX=~/.Rtgbills winecfg;\
# Set up wine for RTG Bills using winetricks
WINEPREFIX=~/.Rtgbills winetricks vb6run art2kmin mdac27 wsh56 dcom98;\
# Download RTG Bills from here:
# http://www.rtgsoftware.com/download.htm
# Or (adjust as required):
wget http://cdn.simtel.net/pub/simtelnet/winxp/busacct/bills221.exe;\
WINEPREFIX=~/.Rtgbills wine bills221.exe;\
done
It seems, for RTG Bills and Timer to run normally set dcom98 dlls "ole32",
"oleaut32" & "rpcrt4" to "builtin"; BUT to run any (it seems) of the functions
under the "Reports" menu set those dlls to "native, builtin" - some other
functions (e.g.: Setup > Bill Formats...; File > Change Matter Number...) will
fail with this set up. I guess some clever setup of winecfg could resolve this
tooing and froing.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45046
Bug ID: 45046
Summary: Skyrim SE: Shadow artifacts (missing handling of
'precise' shader modifier)
Product: Wine
Version: 3.6
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: eldrad(a)autistici.org
Distribution: ---
Skyrim SE shows flickering artifacts in shadows or textures, the problem seems
to be nvidia specific and due to missing 'precise' shader modifier handling.
Note I haven't been able to get a log pointing to the issue, but the same issue
was happening on dxvk and other frameworks, so I'm guessing it must be the same
problem and reporting here for awareness.
- https://github.com/doitsujin/dxvk/issues/189 (same issue that was resolved on
dxvk)
- https://www.youtube.com/watch?v=sPPESMCd5X8 (video showing the problem on
wined3d)
- https://www.youtube.com/watch?v=5Erb_3LFUCY (video showing the problem on
dxvk)
This seems tricky because the assembler output that wined3d seems to be parsing
doesn't have this flag since it's only in hlsl (afaics, but I'm not an expert
so I could be wrong). Wined3d is definitely not producing this modifier on it's
glsl shaders.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=21014
Summary: Dark Sector no Sound
Product: Wine
Version: 1.1.34
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: directx-dsound
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: sbagmeijer(a)live.com
CC: sbagmeijer(a)live.com
Created an attachment (id=25211)
--> (http://bugs.winehq.org/attachment.cgi?id=25211)
Dark Sector Console Sound Error
The Game Dark Sector runs perfect with Wine, except it does not have any sound.
(sorry this is my first bug report, so please if I do anything wrong help me
out so I know how to do it next time)
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44038
Bug ID: 44038
Summary: RPCS3 emulator crashes after exit
Product: Wine
Version: 2.21
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: t6zm3v62fkp7fe5(a)yandex.ru
Distribution: ---
Created attachment 59704
--> https://bugs.winehq.org/attachment.cgi?id=59704
Terminal output
RPCS3 emulator crashes after exit with error message.
OS: Lubuntu 16.04.3, Wine 2.21.
File link:
https://ci.appveyor.com/api/buildjobs/xiund8hfaj7j16eh/artifacts/rpcs3-v0.0…
sha256: 198060be471a3dad8c038c3d4cf22810910468a59c7f1c85e3961dd8f1fcb868
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45132
Bug ID: 45132
Summary: CommonObjects tool (.NET app) from Google
sandbox-attacksurface-analysis-tools v1.1.x needs
'ntdll.NtQuerySystemInformation' to support
'SystemExtendedHandleInformation'
Product: Wine
Version: 3.7
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: ntdll
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Distribution: ---
Hello folks,
needed by 'CommonObjects' .NET-based app from
https://github.com/google/sandbox-attacksurface-analysis-tools
--- quote ---
sandbox-attacksurface-analysis-tools
(c) Google Inc. 2015, 2016, 2017, 2018
Developed by James Forshaw
This is a small suite of tools to test various properties of sandboxes on
Windows. Many of the checking
tools take a -p flag which is used to specify the PID of a sandboxed process.
The tool will impersonate
the token of that process and determine what access is allowed from that
location. Also it's recommended
to run these tools as an administrator or local system to ensure the system can
be appropriately enumerated.
CheckExeManifest: Check for specific executable manifest flags.
CheckNetworkAccess: Check access to network stack.
NewProcessFromToken: Create a new process based on existing token.
TokenView: View and manipulate various process token values.
NtApiDotNet: A basic managed library to access NT system calls and objects.
NtObjectManager: A powershell module which uses NtApiDotNet to expose the NT
object manager.
ViewSecurityDescriptor: View the security descriptor from an SDDL string or an
inherited object.
--- quote ---
It's actually a pretty neat "testsuite" for native API, Wine could benefit from
it.
Prerequisite:
* 32-bit WINEPREFIX
* .NET Framework 4.5 -> 'winetricks -q dotnet45'
NOTE: needs at least two running processes (Windows pids -> command line)
--- snip ---
Wine-dbg>info process
pid threads executable (all id:s are in hex)
00000033 1 'notepad.exe'
00000013 4 'explorer.exe'
0000000e 5 'services.exe'
00000028 4 \_ 'winedevice.exe'
00000023 3 \_ 'plugplay.exe'
0000001b 4 \_ 'winedevice.exe'
--- snip ---
--- snip ---
$ WINEDEBUG=+seh,+relay,+ntdll wine ./CommonObjects.exe -a 17 51 >> log.txt
2>&1
...
005f:Call ntdll.NtQuerySystemInformation(00000040,00193f20,00001008,0032f2fc)
ret=0409a210
005f:trace:ntdll:NtQuerySystemInformation
(0x00000040,0x193f20,0x00001008,0x32f2fc)
005f:fixme:ntdll:NtQuerySystemInformation
(0x00000040,0x193f20,0x00001008,0x32f2fc) stub
005f:Ret ntdll.NtQuerySystemInformation() retval=c0000003 ret=0409a210
005f:Call KERNEL32.GetLastError() ret=0064af80
005f:Ret KERNEL32.GetLastError() retval=00000078 ret=0064af80
...
005f:Call KERNEL32.RaiseException(e0434352,00000001,00000005,0032f1d4)
ret=00788fdb
005f:trace:seh:raise_exception code=e0434352 flags=1 addr=0x7b446ec7
ip=7b446ec7 tid=005f
005f:trace:seh:raise_exception info[0]=80131600
005f:trace:seh:raise_exception info[1]=00000000
005f:trace:seh:raise_exception info[2]=00000000
005f:trace:seh:raise_exception info[3]=00000000
005f:trace:seh:raise_exception info[4]=00630000
005f:trace:seh:raise_exception eax=7b435589 ebx=00000005 ecx=00000000
edx=0032f180 esi=0032f180 edi=0032f140
005f:trace:seh:raise_exception ebp=0032f118 esp=0032f0b4 cs=f7bc0023 ds=32002b
es=f7be002b fs=f7be0063 gs=f7be006b flags=00000216
005f:trace:seh:call_vectored_handlers calling handler at 0x7ba398 code=e0434352
flags=1
--- snip ---
Managed backtrace:
--- snip ---
NtApiDotNet.NtException: (0xC0000003) - STATUS_INVALID_INFO_CLASS
at NtApiDotNet.NtObjectUtils.ToNtException(NtStatus status, Boolean
throw_on_error)
at
NtApiDotNet.NtSystemInfo.QuerySystemInfoVariable[T](SystemInformationClass
info_class)
at NtApiDotNet.NtSystemInfo.GetHandles(Int32 pid, Boolean allow_query)
at CommonObjects.Program.Main(String[] args)
--- snip ---
Source:
https://github.com/google/sandbox-attacksurface-analysis-tools/blob/master/…https://github.com/google/sandbox-attacksurface-analysis-tools/blob/master/…
Support for this was added here:
https://github.com/google/sandbox-attacksurface-analysis-tools/commit/02a6f…
("Added extended handle information to allow for PIDs larger than 64k.").
Shouldn't be very hard to add. Wine already has the non-ex
'SystemHandleInformation' and 'SYSTEM_HANDLE_ENTRY'.
https://www.geoffchappell.com/studies/windows/km/ntoskrnl/api/ex/sysinfo/qu…
SYSTEM_HANDLE_INFORMATION_EX:
http://www.geoffchappell.com/studies/windows/km/ntoskrnl/api/ex/sysinfo/han…
SYSTEM_HANDLE_TABLE_ENTRY_INFO_EX
http://www.geoffchappell.com/studies/windows/km/ntoskrnl/api/ex/sysinfo/han…
$ sha1sum Release-v1.1.14.7z
8cd7991e675a995a3d67ef0aca2a8bf0e1512f6a Release-v1.1.14.7z
$ du -sh Release-v1.1.14.7z
384K Release-v1.1.14.7z
$ wine --version
wine-3.7-65-ge637a6f0bf
Regards
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44629
Bug ID: 44629
Summary: Process Hacker can't enumerate handles
Product: Wine
Version: 3.2
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: ntdll
Assignee: wine-bugs(a)winehq.org
Reporter: z.figura12(a)gmail.com
Distribution: ---
Easily reproducible: go to any process, right-click and select "Properties",
open the "Handles" tab. Running under Wine yields "Unable to query handle
information: Unknown error."
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=48618
Bug ID: 48618
Summary: Wargaming.net Game Center shows black screen on launch
since Wine 5.0
Product: Wine
Version: 5.0
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: chris(a)cjwatts.com
Distribution: ---
Created attachment 66463
--> https://bugs.winehq.org/attachment.cgi?id=66463
Wine stdout log
Confirmed on two different Ubuntu 19.10 machines.
Able to launch World of Tanks directly without much issue, but the Game Center
is just a black screen.
Tried wine-stable 5.0 and wine-staging 5.1 with the same results.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.