Game Crashing bugs in Pacman Worlds

this is a really obscure game & i downloaded it from here Download Pacman Worlds (Windows) - My Abandonware
version 1.5
lutris flatpak ver 0.5.22
distro - arch linux
runner - wine-ge-8-26-x86_64
i used gamescope with 60fps frame limit
other runners don’t work well with it but this one gives best performance and experience
one problem is the video called 520x320.avi doesn’t play and shows a weird screen i attached


also the game freezes after maybe 1 or 2 min of gameplay
Full log is here Shared Text 8owv7cu7 - ShareText (cannot upload file as i am new user on this forum)
I can provide other details if needed

I have seen such corrupted video before… it was usually a driver/compat issue.
Is this a dos game? Wine has “dosbox support” but basically what it does is use your system’s dosbox (which likely came with wine). Try using dosbox as a launcher directly. Also try a few wine versions maybe.
There is a non-zero chance that the game relies on something obscure that doesn’t work.
Finally see if you can launch the video directly from the game’s files with a video editor… I’m curious if the video is just corrupted.

no this is a windows xp game not a dos one
the video works perfectly with my video player - kde’s haruna
also the game works perfectly with other launchers like proton and wine staging but there are some fullscreen issues with gamescope… only wine GE gave me best experience with fullscreen
issues in fullscreen were like - a white line at bottom of screen OR just a small 640x480 screen at center and black everywhere else

Mmmk I checked the logs and two things stood out to me.
There were a few logs failing to load 64-bit libraries. I assume these are normal and that this game is running in a 32-bit prefix, but I should note to doublecheck that the prefix is explicitly set to 32-bit rather than auto as auto will sometimes incorrectly detect a 32-bit prefix as 64-bit, and wine does not do well running 32-bit games in 64-bit mode (if it works at all).
The second thing is that it exited with return code 0, as if nothing had gone wrong at all… I assume these are logs from a time that it exited by itself? That sure is odd.

is it possible to try it with 32 bit wine prefix?
also the game had freezed so i had to exit it using my keyboard shortcut hence return code 0… was done by me

Yes, go to configure→game options, then you’ll see a button “Prefix architecture”, set that to 32-bit

now i get this error after changing to 32bit using wine-ge-8-26-x86_64

Started initial process 2252 from gamescope -r 60 -f -- gamemoderun /home/nkf/.var/app/net.lutris.Lutris/data/lutris/runners/wine/wine-ge-8-26-x86_64/bin/wine /home/nkf/Games/pacaman worlds/PACZ (Fullscreen).exe
Start monitoring process.
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mconsole:e[0m gamescope-brokey version 3.16.21+ (gcc 15.2.0)
No CAP_SYS_NICE, falling back to regular-priority compute and threads.
Performance will be affected.
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mscriptmgr:e[0m Loading scripts from: '/usr/lib/extensions/vulkan/gamescope/share/gamescope/scripts'
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mscriptmgr:e[0m Loading scripts from: '/usr/lib/extensions/vulkan/gamescope/share/gamescope/scripts/00-gamescope'
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mscriptmgr:e[0m Loading scripts from: '/usr/lib/extensions/vulkan/gamescope/share/gamescope/scripts/00-gamescope/common'
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mscriptmgr:e[0m Running script file '/usr/lib/extensions/vulkan/gamescope/share/gamescope/scripts/00-gamescope/common/inspect.lua' (id: 0)
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mscriptmgr:e[0m Running script file '/usr/lib/extensions/vulkan/gamescope/share/gamescope/scripts/00-gamescope/common/modegen.lua' (id: 1)
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mscriptmgr:e[0m Running script file '/usr/lib/extensions/vulkan/gamescope/share/gamescope/scripts/00-gamescope/common/util.lua' (id: 2)
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mscriptmgr:e[0m Loading scripts from: '/usr/lib/extensions/vulkan/gamescope/share/gamescope/scripts/00-gamescope/displays'
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mscriptmgr:e[0m Running script file '/usr/lib/extensions/vulkan/gamescope/share/gamescope/scripts/00-gamescope/displays/asus.rogally.lcd.lua' (id: 3)
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mscriptmgr:e[0m Running script file '/usr/lib/extensions/vulkan/gamescope/share/gamescope/scripts/00-gamescope/displays/deckhd.steamdeck.deckhd-lcd.lua' (id: 4)
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mscriptmgr:e[0m Running script file '/usr/lib/extensions/vulkan/gamescope/share/gamescope/scripts/00-gamescope/displays/gpd.win4.lcd.lua' (id: 5)
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mscriptmgr:e[0m Running script file '/usr/lib/extensions/vulkan/gamescope/share/gamescope/scripts/00-gamescope/displays/lenovo.legiongo.lcd.lua' (id: 6)
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mscriptmgr:e[0m Running script file '/usr/lib/extensions/vulkan/gamescope/share/gamescope/scripts/00-gamescope/displays/lenovo.legiongos.lcd.lua' (id: 7)
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mscriptmgr:e[0m Running script file '/usr/lib/extensions/vulkan/gamescope/share/gamescope/scripts/00-gamescope/displays/onexplayer.f1.oled.lua' (id: 8)
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mscriptmgr:e[0m Running script file '/usr/lib/extensions/vulkan/gamescope/share/gamescope/scripts/00-gamescope/displays/valve.steamdeck.lcd.lua' (id: 9)
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mscriptmgr:e[0m Running script file '/usr/lib/extensions/vulkan/gamescope/share/gamescope/scripts/00-gamescope/displays/valve.steamdeck.oled.lua' (id: 10)
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mscriptmgr:e[0m Running script file '/usr/lib/extensions/vulkan/gamescope/share/gamescope/scripts/00-gamescope/displays/zotac.zone.oled.lua' (id: 11)
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mscriptmgr:e[0m Loading scripts from: '/etc/gamescope/scripts'
[gamescope-brokey] [e[0;33mWarne[0m]  e[0;37mscriptmgr:e[0m Directory '/etc/gamescope/scripts' does not exist
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mscriptmgr:e[0m Loading scripts from: '/home/nkf/.var/app/net.lutris.Lutris/config/gamescope/scripts'
[gamescope-brokey] [e[0;33mWarne[0m]  e[0;37mscriptmgr:e[0m Directory '/home/nkf/.var/app/net.lutris.Lutris/config/gamescope/scripts' does not exist
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mvulkan:e[0m selecting physical device 'AMD Radeon Graphics (RADV RENOIR)': queue family 1 (general queue family 0)
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mvulkan:e[0m physical device supports DRM format modifiers
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mwlserver:e[0m [backend/headless/backend.c:67] Creating headless backend
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mxdg_backend:e[0m Seat name: seat0
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mxdg_backend:e[0m Initted Wayland backend
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mvulkan:e[0m supported DRM formats for sampling usage:
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mvulkan:e[0m   AR24 (0x34325241)
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mvulkan:e[0m   XR24 (0x34325258)
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mvulkan:e[0m   AB24 (0x34324241)
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mvulkan:e[0m   XB24 (0x34324258)
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mvulkan:e[0m   RG16 (0x36314752)
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mvulkan:e[0m   NV12 (0x3231564E)
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mvulkan:e[0m   AB4H (0x48344241)
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mvulkan:e[0m   XB4H (0x48344258)
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mvulkan:e[0m   AB48 (0x38344241)
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mvulkan:e[0m   XB48 (0x38344258)
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mvulkan:e[0m   AB30 (0x30334241)
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mvulkan:e[0m   XB30 (0x30334258)
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mvulkan:e[0m   AR30 (0x30335241)
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mvulkan:e[0m   XR30 (0x30335258)
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mwlserver:e[0m Using explicit sync when available
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mwlserver:e[0m Running compositor on wayland display 'gamescope-0'
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mwlserver:e[0m [backend/headless/backend.c:17] Starting headless backend
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mwlserver:e[0m Successfully initialized libei for input emulation!
[gamescope-brokey] [e[0;31mErrore[0m] e[0;37mwlserver:e[0m [xwayland/sockets.c:64] Failed to bind socket @/tmp/.X11-unix/X0: Address already in use
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mwlserver:e[0m [xwayland/server.c:107] Starting Xwayland on :1
[gamescope-brokey] [e[0;31mErrore[0m] e[0;37mpipewire:e[0m pw_context_connect failed
Warning: failed to setup PipeWire, screen capture won't be available
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mxdg_backend:e[0m uMaxContentLightLevel: 80
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mxdg_backend:e[0m HDR INFO
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mxdg_backend:e[0m   cv_hdr_enabled: false
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mxdg_backend:e[0m   uMaxLum: 80, uRefLum: 80
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mxdg_backend:e[0m   bExposeHDRSupport: false
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mxdg_backend:e[0m uMaxContentLightLevel: 457
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mxdg_backend:e[0m HDR INFO
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mxdg_backend:e[0m   cv_hdr_enabled: false
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mxdg_backend:e[0m   uMaxLum: 457, uRefLum: 152
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mxdg_backend:e[0m   bExposeHDRSupport: false
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37medid:e[0m Patching res 800x1280 -> 1280x720
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mvblank:e[0m Using timerfd.
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mxdg_backend:e[0m Post-Initted Wayland backend
gamemodeauto: 
wineserver: using server-side synchronization.
wine: Using setpriority to control niceness in the [-10,10] range
wine: WINEARCH set to win32 but '/home/nkf/.wine' is a 64-bit installation.
gamemodeauto: 
[gamescope-brokey] [e[0;34mInfoe[0m]  e[0;37mlaunch:e[0m Primary child shut down!
(EE) failed to read Wayland events: Broken pipe
Monitored process exited.
Initial process has exited (return code: 0)
All processes have quit
Exit with return code 0

So the installation you did was 64-bit. Unfortunately, there’s not really a way to change that other than to reinstall it.

so i changed the runner to wine staging and it works almost perfectly!!
in gamescope - i set the game resolution to 640x350 and left output resolution blank
also set framerate limiter to 60
i get two issues
(i) unable to run in full screen (it covers 80% of the screen only)
(ii) colors of the game are a bit dull compared to its original resolution

1 Like

hey how can i make an install script for this game

See here https://github.com/lutris/lutris/blob/master/docs/installers.rst

1 Like