Skip to content

Instantly share code, notes, and snippets.

@ObserverOfTime
Last active February 11, 2024 07:05
Show Gist options
  • Save ObserverOfTime/2594e37dad16373637ddd5befada6aac to your computer and use it in GitHub Desktop.
Save ObserverOfTime/2594e37dad16373637ddd5befada6aac to your computer and use it in GitHub Desktop.
Install and patch White Album 2 on Linux

For Ubuntu and other Debian-based distros

This gist is deprecated. You can find the latest instructions here.

1: Enable Japanese Locale

Check whether it's already enabled:

$ locale -a | grep ja

If you see something like this, you can proceed to the next step.

ja_JP
ja_JP.eucjp
ja_JP.shiftjis
ja_JP.ujis
ja_JP.utf8
japanese
japanese.euc

If not, create the locale file:

$ sudo touch /var/lib/locales/supported.d/ja

And write these lines into it:

ja_JP.UTF-8 UTF-8
ja_JP.EUC-JP EUC-JP
ja_JP SJIS

Next, run this command:

$ sudo dpkg-reconfigure locales

You can ignore the SJIS error.

2: Install some Japanese fonts

$ sudo apt install -y fonts-takao fonts-vlgothic fonts-horai-umefont fonts-mona fonts-monapo

3: Install wine and winetricks

Install wine following the official instructions.

Get the latest version of winetricks:

$ curl -O https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
$ chmod +x winetricks
$ sudo mv winetricks /usr/local/bin

You might also need to install cabextract:

$ sudo apt install -y cabextract

4: Create a wineprefix for the game

$ export WINEARCH=win32
$ export WINEPREFIX="$HOME/.local/share/wineprefixes/wa2"
$ mkdir -p "$WINEPREFIX" && wineboot -u

Install wine-mono and wine-gecko if prompted.

5: Install the game

If you've already installed the game elsewhere:

Copy the files to the wineprefix:

(assuming you have them in your home folder)

$ cd "$WINEPREFIX"
$ cp -r "$HOME/WHITE ALBUM2" "drive_c/Program Files"

Apply a registry edit to act like the game has been installed:

$ curl -o wa2.reg https://ghostbin.com/paste/r627o/download
$ wine regedit wa2.reg

You can now proceed to the next step.

If you haven't installed the game before:

Mount the WA2 disks in /tmp:

(assuming you have them in your home folder)

$ mkdir -p /tmp/disk{1..2}
$ sudo mount "$HOME/WHITE_ALBUM2_1.mdf" /tmp/disk1
$ sudo mount "$HOME/WHITE_ALBUM2_2.mdf" /tmp/disk2 

Now, mount them in the wineprefix:

$ cd dosdevices
$ ln -s /tmp/disk1 x:
$ ln -s /tmp/disk2 y:
$ ln -s "$HOME/WHITE_ALBUM2_1.mdf" x::
$ ln -s "$HOME/WHITE_ALBUM2_2.mdf" y::

Run the setup:

$ cd x:
$ LANGUAGE=ja_JP LANG=ja_JP.eucjp wine setup.exe

Note: You can set an alias to run programs with Japanese locale by adding the following line to your .bashrc file:

alias winejp='LANGUAGE=ja_JP LANG=ja_JP.eucjp wine'

6: Configure wine

Enable opengl:

$ winetricks settings ddr=opengl

Install requirements:

$ winetricks lucida
$ winetricks devenum
$ winetricks d3dx9
$ winetricks quartz
$ winetricks wmp10

The installation of wmp10 may hang after it's finished. You can terminate it with Ctrl + C.

7: Install the patch

Install wget:

$ sudo apt install -y wget

Download the latest stable release of the installer:

$ wget -O WA2_patch.exe `curl -s \
  https://api.github.com/repos/ObserverOfTime/WA2EnglishPatch/releases/latest \
  | grep browser_download_url | cut -d '"' -f 4`

Or, the latest release including nightly builds:

$ wget -O WA2_patch.exe `curl -s \
  https://api.github.com/repos/ObserverOfTime/WA2EnglishPatch/releases \
  | grep browser_download_url | cut -d '"' -f 4 | head -1`

Run the installer:

$ wine WA2_patch.exe

You should now be able to launch the game with this:

$ LIBGL_ALWAYS_SOFTWARE=1 wine WA2_en.exe

LIBGL_ALWAYS_SOFTWARE=1 is necessary to be able to run the game. You can set an alias for it by writing alias winegl='LIBGL_ALWAYS_SOFTWARE=1 wine' in your .bashrc file and then run the game with winegl WA2_en.exe.

That's it!

Links

Other platforms

Credits

@kuanyui
Copy link

kuanyui commented Nov 19, 2023

I need some help... T_T

Today I tried to install White Album 2 on openSUSE Tumbleweed, but encountered some problem when following the instruction at https://todokanaitl.github.io/wa2-wine/

[SOLVED] 1. When Installing, Wine is Unable to Detect The Label of Mounted DVD

Problem

First, after lots of mount and ln, when running wine stepup.exe, it always shows a dialog "please insert Disk 1":
Screenshot_20231119_190936

At this time, terminal output is

 ~/.wineprefixes/wa2/dosdevices/x:  wine: Read access denied for device L"\\??\\X:\\", FS volume label and serial are not available.                               (11-19 21:18)
wine: Read access denied for device L"\\??\\Y:\\", FS volume label and serial are not available.
wine: Read access denied for device L"\\??\\X:\\", FS volume label and serial are not available.
wine: Read access denied for device L"\\??\\Y:\\", FS volume label and serial are not available.

I wildly guess it's because the WA2 installer cannot find a disk labeled WA2_EE_1, therefore it ask me to insert Disk 1. However, wine just cannot detect the label of mounted ISO, even if a symbolic link to a device file (x::) is also specified ( https://ubuntuforums.org/showthread.php?t=846551&s=b55cda6f7d607dab29506dce90c37fa1&p=5823321#post5823321 ), really donno why...

(Type: "Auto` Detect", Label: "" (empty) )
aaa

Solution

At last I just used USB external DVD reader to install and it just work...

[UNSOLVED] 2. Crashes When Executing Main Program (WA2.exe)

Problem

After installation finished, at last, it always crashes when executing the main execution....

👉Click to expand the full error log when crash
 ~/.wineprefixes/wa2  LIBGL_ALWAYS_SOFTWARE=1 wine '/home/ono/.wineprefixes/wa2/drive_c/Leaf/WHITE ALBUM2/WA2.exe'                                                 (11-20 01:52)
0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
00b8:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {485e7de8-0a80-11d8-ad15-505054503030}
00b8:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {485e7de9-0a80-11d8-ad15-505054503030}
00b8:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {485e7dea-0a80-11d8-ad15-505054503030}
00b8:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {485e7deb-0a80-11d8-ad15-505054503030}
00b8:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {485e7dec-0a80-11d8-ad15-505054503030}
00b8:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {485e7ded-0a80-11d8-ad15-505054503030}
0024:err:winediag:wined3d_dll_init Using the OpenGL renderer.
0024:fixme:win:WINNLSEnableIME hwnd 00000000 enable 0: stub!
0024:fixme:d3d:wined3d_guess_card No card selector available for card vendor 0000 (using GL_RENDERER "llvmpipe (LLVM 17.0.4, 256 bits)").
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
info:  Game: WA2.exe
info:  DXVK: v2.3
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x7fdb37e0
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:  Enabled instance extensions:
info:    VK_EXT_surface_maintenance1
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  D3D9: VK_FORMAT_D16_UNORM_S8_UINT -> VK_FORMAT_D24_UNORM_S8_UINT
info:  Intel(R) UHD Graphics 615 (AML-KBL):
info:    Driver : Intel open-source Mesa driver 23.2.1
info:    Memory Heap[0]: 
info:      Size: 5901 MiB
info:      Flags: 0x1
info:      Memory Type[0]: Property Flags = 0x1
info:      Memory Type[1]: Property Flags = 0x7
info:      Memory Type[2]: Property Flags = 0xf
info:  Process set as DPI aware
info:  Device properties:
info:    Device : Intel(R) UHD Graphics 615 (AML-KBL)
info:    Driver : Intel open-source Mesa driver 23.2.1
info:  Enabled device extensions:
info:    VK_EXT_conservative_rasterization
info:    VK_EXT_custom_border_color
info:    VK_EXT_depth_bias_control
info:    VK_EXT_depth_clip_enable
info:    VK_EXT_extended_dynamic_state3
info:    VK_EXT_fragment_shader_interlock
info:    VK_EXT_graphics_pipeline_library
info:    VK_EXT_non_seamless_cube_map
info:    VK_EXT_robustness2
info:    VK_EXT_shader_module_identifier
info:    VK_EXT_shader_stencil_export
info:    VK_EXT_transform_feedback
info:    VK_EXT_vertex_attribute_divisor
info:    VK_KHR_pipeline_library
info:    VK_KHR_present_id
info:    VK_KHR_present_wait
info:    VK_KHR_swapchain
info:  Device features:
info:    robustBufferAccess                     : 1
info:    fullDrawIndexUint32                    : 1
info:    imageCubeArray                         : 1
info:    independentBlend                       : 1
info:    geometryShader                         : 1
info:    tessellationShader                     : 0
info:    sampleRateShading                      : 1
info:    dualSrcBlend                           : 0
info:    logicOp                                : 0
info:    multiDrawIndirect                      : 0
info:    drawIndirectFirstInstance              : 0
info:    depthClamp                             : 1
info:    depthBiasClamp                         : 1
info:    fillModeNonSolid                       : 1
info:    depthBounds                            : 0
info:    wideLines                              : 0
info:    multiViewport                          : 1
info:    samplerAnisotropy                      : 1
info:    textureCompressionBC                   : 1
info:    occlusionQueryPrecise                  : 1
info:    pipelineStatisticsQuery                : 1
info:    vertexPipelineStoresAndAtomics         : 1
info:    fragmentStoresAndAtomics               : 0
info:    shaderImageGatherExtended              : 0
info:    shaderClipDistance                     : 1
info:    shaderCullDistance                     : 1
info:    shaderFloat64                          : 0
info:    shaderInt64                            : 0
info:    variableMultisampleRate                : 1
info:    shaderResourceResidency                : 0
info:    shaderResourceMinLod                   : 0
info:    sparseBinding                          : 0
info:    sparseResidencyBuffer                  : 0
info:    sparseResidencyImage2D                 : 0
info:    sparseResidencyImage3D                 : 0
info:    sparseResidency2Samples                : 0
info:    sparseResidency4Samples                : 0
info:    sparseResidency8Samples                : 0
info:    sparseResidency16Samples               : 0
info:    sparseResidencyAliased                 : 0
info:  Vulkan 1.1
info:    shaderDrawParameters                   : 0
info:  Vulkan 1.2
info:    samplerMirrorClampToEdge               : 1
info:    drawIndirectCount                      : 1
info:    samplerFilterMinmax                    : 0
info:    hostQueryReset                         : 1
info:    timelineSemaphore                      : 1
info:    bufferDeviceAddress                    : 0
info:    shaderOutputViewportIndex              : 1
info:    shaderOutputLayer                      : 1
info:    vulkanMemoryModel                      : 1
info:  Vulkan 1.3
info:    robustImageAccess                      : 0
info:    pipelineCreationCacheControl           : 1
info:    shaderDemoteToHelperInvocation         : 1
info:    shaderZeroInitializeWorkgroupMemory    : 0
info:    synchronization2                       : 1
info:    dynamicRendering                       : 1
info:  VK_AMD_shader_fragment_mask
info:    extension supported                    : 0
info:  VK_EXT_attachment_feedback_loop_layout
info:    attachmentFeedbackLoopLayout           : 0
info:  VK_EXT_conservative_rasterization
info:    extension supported                    : 1
info:  VK_EXT_custom_border_color
info:    customBorderColors                     : 1
info:    customBorderColorWithoutFormat         : 1
info:  VK_EXT_depth_clip_enable
info:    depthClipEnable                        : 1
info:  VK_EXT_depth_bias_control
info:    depthBiasControl                       : 1
info:    leastRepresentableValueForceUnormRepresentation : 0
info:    floatRepresentation                    : 1
info:    depthBiasExact                         : 1
info:  VK_EXT_extended_dynamic_state3
info:    extDynamicState3AlphaToCoverageEnable  : 0
info:    extDynamicState3DepthClipEnable        : 1
info:    extDynamicState3RasterizationSamples   : 0
info:    extDynamicState3SampleMask             : 1
info:    extDynamicState3LineRasterizationMode  : 1
info:  VK_EXT_fragment_shader_interlock
info:    fragmentShaderSampleInterlock          : 0
info:    fragmentShaderPixelInterlock           : 0
info:  VK_EXT_full_screen_exclusive
info:    extension supported                    : 0
info:  VK_EXT_graphics_pipeline_library
info:    graphicsPipelineLibrary                : 1
info:  VK_EXT_line_rasterization
info:    rectangularLines                       : 0
info:    smoothLines                            : 0
info:  VK_EXT_memory_budget
info:    extension supported                    : 1
info:  VK_EXT_memory_priority
info:    memoryPriority                         : 0
info:  VK_EXT_non_seamless_cube_map
info:    nonSeamlessCubeMap                     : 1
info:  VK_EXT_robustness2
info:    robustBufferAccess2                    : 1
info:    robustImageAccess2                     : 1
info:    nullDescriptor                         : 1
info:  VK_EXT_shader_module_identifier
info:    shaderModuleIdentifier                 : 1
info:  VK_EXT_shader_stencil_export
info:    extension supported                    : 1
info:  VK_EXT_swapchain_colorspace
info:    extension supported                    : 0
info:  VK_EXT_swapchain_maintenance1
info:    swapchainMaintenance1                  : 0
info:  VK_EXT_hdr_metadata
info:    extension supported                    : 0
info:  VK_EXT_transform_feedback
info:    transformFeedback                      : 0
info:    geometryStreams                        : 0
info:  VK_EXT_vertex_attribute_divisor
info:    vertexAttributeInstanceRateDivisor     : 1
info:    vertexAttributeInstanceRateZeroDivisor : 1
info:  VK_KHR_external_memory_win32
info:    extension supported                    : 0
info:  VK_KHR_external_semaphore_win32
info:    extension supported                    : 0
info:  VK_KHR_maintenance5
info:    maintenance5                           : 0
info:  VK_KHR_present_id
info:    presentId                              : 1
info:  VK_KHR_present_wait
info:    presentWait                            : 1
info:  VK_NVX_binary_import
info:    extension supported                    : 0
info:  VK_NVX_image_view_handle
info:    extension supported                    : 0
info:  VK_KHR_win32_keyed_mutex
info:    extension supported                    : 0
info:  Queue families:
info:    Graphics : 0
info:    Transfer : 0
info:    Sparse   : n/a
warn:  DXVK: No state cache file found
info:  DXVK: Graphics pipeline libraries supported
info:  D3D9DeviceEx::ResetSwapChain:
info:    Requested Presentation Parameters
info:      - Width:              1920
info:      - Height:             1280
info:      - Format:             D3D9Format::X8R8G8B8
info:      - Auto Depth Stencil: false
info:                  ^ Format: D3D9Format::Unknown
info:      - Windowed:           true
info:      - Swap effect:        3
info:  Presenter: Actual swap chain properties:
info:    Format:       VK_FORMAT_B8G8R8A8_UNORM
info:    Color space:  VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
info:    Present mode: VK_PRESENT_MODE_IMMEDIATE_KHR (dynamic: no)
info:    Buffer size:  1280x720
info:    Image count:  4
info:    Exclusive FS: 0
info:  Presenter: Actual swap chain properties:
info:    Format:       VK_FORMAT_B8G8R8A8_UNORM
info:    Color space:  VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
info:    Present mode: VK_PRESENT_MODE_IMMEDIATE_KHR (dynamic: no)
info:    Buffer size:  1280x720
info:    Image count:  4
info:    Exclusive FS: 0
wine: Unhandled exception 0xc0000417 in thread 24 at address 004761A0 (thread 0024), starting debugger...
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
0160:fixme:dbghelp:elf_search_auxv can't find symbol in module
Couldn't get first exception for process 0020 C:\Leaf\WHITE ALBUM2\WA2.exe.
No backtrace available
Modules:
Module  Address                 Debug info      Name (142 modules)
PE      00400000-00c22000       Deferred        wa2
ELF     63e00000-64cc3000       Deferred        libvulkan_intel.so
ELF     64e00000-65b9b000       Deferred        libvulkan_intel_hasvk.so
ELF     6b400000-6d6cd000       Deferred        swrast_dri.so
ELF     6ea00000-76d1b000       Deferred        libllvm.so.17
ELF     77d04000-77d65000       Deferred        libopus.so.0
ELF     77d65000-77dd6000       Deferred        libflac.so.12
ELF     77dd6000-77e63000       Deferred        libvorbisenc.so.2
ELF     77e63000-77eff000       Deferred        libsndfile.so.1
ELF     7882b000-788bf000       Deferred        libpulsecommon-16.1.so
ELF     78c00000-795c3000       Deferred        libvulkan_radeon.so
PE      79610000-79626000       Deferred        compstui
PE      79630000-79660000       Deferred        winspool
PE      79660000-797a4000       Deferred        comctl32
PE      797b0000-798ab000       Deferred        comdlg32
PE      798b0000-798f3000       Deferred        dsound
PE      79900000-79a0e000       Deferred        opengl32
PE      79a10000-79c85000       Deferred        wined3d
PE      79c90000-79cf5000       Deferred        ddraw
PE      79d00000-7a0b0000       Deferred        d3d9
PE      7a0b0000-7a4ca000       Deferred        d3dx9_41
PE      7a4d0000-7a590000       Deferred        winmm
PE      7a590000-7a5b1000       Deferred        msacm32
ELF     7a5d2000-7a600000       Deferred        libvorbis.so.0
ELF     7a703000-7a760000       Deferred        libpulse.so.0
PE      7a7e0000-7a815000       Deferred        uxtheme
PE      7a840000-7a859000       Deferred        winex11
ELF     7a87d000-7a898000       Deferred        libspeex.so.1
PE      7a8c0000-7a8db000       Deferred        imm32
ELF     7ac05000-7ac10000       Deferred        libogg.so.0
PE      7ac10000-7ac26000       Deferred        shcore
ELF     7ac2b000-7ac40000       Deferred        winepulse.so
PE      7ac40000-7ac87000       Deferred        shlwapi
PE      7ac90000-7acf6000       Deferred        setupapi
PE      7ad00000-7b60e000       Deferred        shell32
PE      7b610000-7b690000       Deferred        rpcrt4
PE      7b690000-7b6c0000       Deferred        win32u
PE      7b6c0000-7b869000       Deferred        user32
PE      7b870000-7b8f0000       Deferred        gdi32
PE      7b8f0000-7b938000       Deferred        combase
PE      7b940000-7ba41000       Deferred        ole32
ELF     7ba57000-7ba80000       Deferred        libdrm_intel.so.1
PE      7ba80000-7bb49000       Deferred        ucrtbase
PE      7bb50000-7bb76000       Deferred        sechost
PE      7bb80000-7bc1e000       Deferred        msvcrt
PE      7bc20000-7bc5e000       Deferred        advapi32
PE      7bc60000-7bee7000       Deferred        kernelbase
PE      7bef0000-7bf50000       Deferred        kernel32
PE      7bf50000-7bff3000       Deferred        ntdll
ELF     7c475000-7c4ff000       Deferred        libglx_mesa.so.0
ELF     7c5b3000-7c640000       Deferred        winevulkan.so
ELF     7ccef000-7ccfc000       Deferred        libpciaccess.so.0
ELF     7ccfc000-7cd07000       Deferred        libdrm_nouveau.so.2
ELF     7cd07000-7cd25000       Deferred        libxcb-glx.so.0
ELF     7cd25000-7cd4b000       Deferred        libglapi.so.0
ELF     7cd4b000-7cdc6000       Deferred        libgldispatch.so.0
ELF     7cdc6000-7ce00000       Deferred        libglx.so.0
ELF     7ce00000-7d205000       Deferred        libcrypto.so.3
ELF     7d209000-7d218000       Deferred        libdrm_radeon.so.1
ELF     7d218000-7d21f000       Deferred        libxcb-dri2.so.0
ELF     7d21f000-7d290000       Deferred        libgl.so.1
ELF     7d390000-7d3c6000       Deferred        libtinfo.so.6
ELF     7d3c6000-7d400000       Deferred        libedit.so.0
ELF     7d407000-7d410000       Deferred        libvklayer_mesa_device_select.so
ELF     7d410000-7d42e000       Deferred        libelf.so.1
ELF     7d42e000-7d43c000       Deferred        libdrm_amdgpu.so.1
ELF     7d43c000-7d461000       Deferred        libgcc_s.so.1
ELF     7d461000-7d466000       Deferred        libxshmfence.so.1
ELF     7d466000-7d46b000       Deferred        libxcb-shm.so.0
ELF     7d46b000-7d47e000       Deferred        libxcb-randr.so.0
ELF     7d47e000-7d487000       Deferred        libxcb-sync.so.1
ELF     7d487000-7d492000       Deferred        libxcb-xfixes.so.0
ELF     7d492000-7d497000       Deferred        libxcb-present.so.0
ELF     7d497000-7d51a000       Deferred        libvulkan.so.1
ELF     7d6ad000-7d6bb000       Deferred        libwayland-client.so.0
ELF     7d6bb000-7d6c2000       Deferred        libxcb-dri3.so.0
ELF     7d6c2000-7d6db000       Deferred        libdrm.so.2
ELF     7d731000-7d758000       Deferred        libgpg-error.so.0
ELF     7d758000-7d80b000       Deferred        libzstd.so.1
ELF     7d80b000-7d84a000       Deferred        liblzma.so.5
ELF     7d84a000-7d86f000       Deferred        liblz4.so.1
ELF     7d86f000-7d96b000       Deferred        libgcrypt.so.20
ELF     7d96b000-7d978000       Deferred        libcap.so.2
ELF     7d978000-7da23000       Deferred        libpcre2-8.so.0
ELF     7da23000-7da2d000       Deferred        libffi.so.8
ELF     7da2d000-7db17000       Deferred        libsystemd.so.0
ELF     7db17000-7db4a000       Deferred        libselinux.so.1
ELF     7db4a000-7db5c000       Deferred        libresolv.so.2
ELF     7db5c000-7db63000       Deferred        libkeyutils.so.1
ELF     7db63000-7dbf9000       Deferred        libgmp.so.10
ELF     7dbf9000-7dc44000       Deferred        libhogweed.so.6
ELF     7dc44000-7dc98000       Deferred        libnettle.so.8
ELF     7dc98000-7de49000       Deferred        libunistring.so.5
ELF     7de49000-7de6a000       Deferred        libidn2.so.0
ELF     7de6a000-7e000000       Deferred        libp11-kit.so.0
ELF     7e000000-7e231000       Deferred        libgnutls.so.30
ELF     7e231000-7e236000       Deferred        libx11-xcb.so.1
ELF     7e236000-7e24e000       Deferred        libtasn1.so.6
ELF     7e24e000-7e258000       Deferred        libjitterentropy.so.3
ELF     7e258000-7e2b5000       Deferred        libdbus-1.so.3
ELF     7e2b5000-7e2c5000       Deferred        libkrb5support.so.0
ELF     7e2c5000-7e2dc000       Deferred        libk5crypto.so.3
ELF     7e2dc000-7e3a9000       Deferred        libkrb5.so.3
ELF     7e3a9000-7e3bf000       Deferred        libavahi-client.so.3
ELF     7e3bf000-7e418000       Deferred        libgssapi_krb5.so.2
ELF     7e418000-7e4da000       Deferred        libcups.so.2
ELF     7e517000-7e520000       Deferred        libxfixes.so.3
ELF     7e520000-7e52d000       Deferred        libxcursor.so.1
ELF     7e565000-7e579000       Deferred        libxi.so.6
ELF     7e579000-7e5a7000       Deferred        libxcb.so.1
ELF     7e5a7000-7e6fe000       Deferred        libx11.so.6
ELF     7e6fe000-7e78c000       Deferred        winex11.so
ELF     7e78c000-7e82d000       Deferred        opengl32.so
ELF     7ea05000-7ea0a000       Deferred        libcom_err.so.2
ELF     7ea0a000-7ea0f000       Deferred        libxcomposite.so.1
ELF     7ea0f000-7ea1e000       Deferred        libxrandr.so.2
ELF     7ea1e000-7ea2b000       Deferred        libxrender.so.1
ELF     7ea2b000-7ea41000       Deferred        libxext.so.6
ELF     7ea44000-7ea54000       Deferred        libavahi-common.so.3
ELF     7ea54000-7ea5a000       Deferred        winspool.so
ELF     7ea67000-7ea6e000       Deferred        libxxf86vm.so.1
ELF     7ea6e000-7ea9b000       Deferred        libexpat.so.1
ELF     7ea9b000-7eaef000       Deferred        libfontconfig.so.1
ELF     7eaef000-7eb12000       Deferred        libbrotlicommon.so.1
ELF     7eb12000-7eb20000       Deferred        libbrotlidec.so.1
ELF     7eb20000-7eb64000       Deferred        libpng16.so.16
ELF     7eb64000-7eb78000       Deferred        libbz2.so.1
ELF     7eb78000-7eb91000       Deferred        libz.so.1
ELF     7eb91000-7ec51000       Deferred        libfreetype.so.6
ELF     7ec51000-7ed5a000       Deferred        libm.so.6
ELF     7ed5e000-7ed63000       Deferred        libxinerama.so.1
ELF     7ed6e000-7ed73000       Deferred        libxau.so.6
ELF     7ed73000-7eefa000       Deferred        win32u.so
PE      7fc60000-7fc6c000       Deferred        winepulse
PE      7fc70000-7fc7d000       Deferred        version
PE      7fc80000-7fd7c000       Deferred        oleaut32
PE      7fd80000-7fda7000       Deferred        mmdevapi
PE      7fdb0000-7fddc000       Deferred        winevulkan
ELF     f7c00000-f7e35000       Deferred        libc.so.6
ELF     f7e64000-f7f1c000       Dwarf           ntdll.so
ELF     f7f1e000-f7f53000       Deferred        ld-linux.so.2
ELF     f7f53000-f7f58000       Deferred        
Threads:
process  tid      prio    name (all IDs are in hex)
00000020 (D) C:\Leaf\WHITE ALBUM2\WA2.exe
        00000024    0
00000038 services.exe
        0000003c    0
        00000040    0     wine_rpcrt4_server
        0000004c    0     wine_rpcrt4_io
        00000070    0     wine_rpcrt4_io
        0000007c    0     wine_rpcrt4_io
        000000a4    0     wine_rpcrt4_io
        000000c8    0     wine_rpcrt4_io
        000000f8    0     wine_rpcrt4_io
        0000010c    0
        00000118    0     wine_rpcrt4_io
00000044 winedevice.exe
        00000048    0
        00000054    0
        00000058    0     wine_sechost_service
        0000005c    0
        00000060    0
        00000064    0
        00000104    0
        00000108    0
00000068 winedevice.exe
        0000006c    0
        00000074    0
        00000078    0     wine_sechost_service
        00000080    0
        0000008c    0
        00000090    0
        00000094    0
        000000a0    0
00000084 explorer.exe
        00000088    0
        000000bc    0
        000000c0    0     wine_rpcrt4_server
00000098 plugplay.exe
        0000009c    0
        000000a8    0
        000000ac    0     wine_sechost_service
        000000b0    0     wine_rpcrt4_server
        000000f0    0     wine_rpcrt4_io
        000000f4    0     wine_threadpool_worker
000000b4 wdfmgr.exe
        000000b8    0
        000000d0    0
        000000d8    0     wine_rpcrt4_server
        000000e4    0     wine_sechost_device_notify
        000000e8    0     wine_threadpool_timer_queue
        000000ec    0
000000dc svchost.exe
        000000e0    0
        000000fc    0
        00000100    0     wine_sechost_service
00000110 rpcss.exe
        00000114    0
        0000011c    0
        00000120    0     wine_sechost_service
        00000124    0     wine_rpcrt4_server
        00000128    0     wine_rpcrt4_server
        0000012c    0     wine_rpcrt4_io
00000134 conhost.exe
        00000138    0
System information:
    Wine build: wine-8.20
    Platform: i386
    Version: Windows 10
    Host system: Linux
    Host version: 6.6.1-1-default

Screenshot_20231120_010633

Solution....not found yet.

I've followed todokanaitl's instruction to install gstreamer-plugins-{good,ugly,libav}-32bit with codecs, and winetricks. However it just crashed.

After more google, I found this gist, and install more winetricks written in this gist, but still crashed...

Any ideas? Too thanks.

@eshrh
Copy link

eshrh commented Feb 11, 2024

For some reason, linking to x: and y: did not work for me, I'd get errors like Read access denied for device L"\\??\\<letter>:\\", FS volume label and serial are not available. In my case, it looked like it was checking for drives d: and e:, so I linked there instead of x and y. It worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment