Skip to content

Instantly share code, notes, and snippets.

@Ran-Mewo
Last active August 5, 2025 14:17
Show Gist options
  • Save Ran-Mewo/42fdacc2ec03c69d2c6f5973451bdb90 to your computer and use it in GitHub Desktop.
Save Ran-Mewo/42fdacc2ec03c69d2c6f5973451bdb90 to your computer and use it in GitHub Desktop.
Guide on getting certain anime game launchers to work with mods on Linux

Guide on getting certain anime game launchers to work with mods on Linux!

Firefly Pat

Prerequisites

Ensure you have the following:

  1. Launcher: The launcher for your certain anime game.
  2. 3DMigoto: The correct version of 3DMigoto for your game, extracted to a location of your choice.
  3. 3DMigoto Linux Patch (if required): Some games may require a patched version of 3DMigoto.
    • For example, for ZZZMI:
      • Replace d3dcompiler_46.dll with WWMI's d3dcompiler_47.dll.
      • Ensure you delete the original d3dcompiler_46.dll file.
    • The same applies to GIMI:
      • Replace d3dcompiler_46.dll with WWMI's d3dcompiler_47.dll.
      • Ensure you delete the original d3dcompiler_46.dll file.

Installation Steps

  1. Download The Script

    • Download this launch.bat script. (Ctrl+S to download it)
    • Store it in an accessible location (Not recommended to store it directly in the game directory).
  2. Edit The Script

    • Open the launch.bat script with a text editor.
    • Edit the following lines:
      :: Specify the path to the 3DMigoto's Executable (including the executable name)
      set "migotoFullPath=<insert full path to your 3DMigoto's executable>"
      :: Specify the path to the game directory (NOT including the executable name)
      set "gameDirectory=<insert the path to the game directory>"
      • migotoFullPath: Full path to the 3DMigoto executable.
        Example: /home/Nya/Anime Mods/ZZZMI/ZZZ3dmLoader.exe
      • gameDirectory: Path to the game directory. This can be found via the three-dots at the top of the launcher and clicking on the game folder button.
        Example: /home/Nya/Anime Games/Zenless Zone Zero
  3. Save The Script

    • Save the launch.bat script.
    • Copy the path to the launch.bat. Example: /home/Nya/Anime Games/ZZZ/launch.bat.

Setup

  1. Open The Launcher Settings

    • Click on the settings icon.
    • Navigate to Enhancements > Environment.
  2. Configure The Launch Command

    • In the %command% field, input the following:
      %bash_command% "<path to launch.bat>" %command%
      • Replace <path to launch.bat> with the full path to your saved launch.bat. Example:
      %bash_command% "/home/Nya/Anime Games/ZZZ/launch.bat" %command%
  3. Launch The Anime Game

    • Launch your certain anime game via the launcher.
      Pray Keqing
Has been tested and confirmed working for Zenless Zone Zero & Genshin Impact
@Pricklevatena
Copy link

this doesnt work for me sadly

@Ran-Mewo
Copy link
Author

think it broke a long time ago
I no longer use Linux unfortunately, so I'm sorry that I can't fix it

@skrimix
Copy link

skrimix commented Jul 7, 2025

Chain loading through XXMI (portable version) with command set like this works for me:

%bash_command% '/path/to/XXMI/Resources/Bin/XXMI Launcher.exe'

After configuring XXMI you can add this to skip it's GUI (replace zzmi with your variant):

 --xxmi zzmi --nogui

This doesn't pass launch arguments, so it will interfere with Borderless Window (-screen-fullscreen 0 -popupwindow) and FSR (-window-mode exclusive) options.

@Pricklevatena
Copy link

Chain loading through XXMI (portable version) with command set like this works for me:

%bash_command% '/path/to/XXMI/Resources/Bin/XXMI Launcher.exe'

After configuring XXMI you can add this to skip it's GUI (replace zzmi with your variant):

 --xxmi zzmi --nogui

This doesn't pass launch arguments, so it will interfere with Borderless Window (-screen-fullscreen 0 -popupwindow) and FSR (-window-mode exclusive) options.

followed it and got a new problem. after i click start on the launcher and then click start on srmi i got an error that said

SRMI Loading Failed: Library Z:\path\SRMI\d3d11.dll is missing expected entry point

@cybik
Copy link

cybik commented Aug 5, 2025

And they're rolling out platform blocking on Global.

Pack it up.

This won't work anymore.

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