Skip to content

Instantly share code, notes, and snippets.

@Ran-Mewo
Last active July 7, 2025 14:26
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
@cybik
Copy link

cybik commented Oct 27, 2024

Delete this. Telling people how to run this bullshit on Linux will only lead to one thing: Hoyoverse banning Linux players forevermore.

Unless you WANT Hoyoverse to stop Linux gamers from being able to run their games. In which case, when the inevitable happens, I'll tell everyone you f%cked it up for the rest of us.

@cybik
Copy link

cybik commented Oct 27, 2024

@boooooooaq please, sir/ma'am/mx, do enlighten me: where in my Gist about installing Genshin Impact do I ever talk about modding?

@ItsGlucose
Copy link

@cybik Aren't we already manipulating game memory with FPS Unlocker? Aren't we running the exact same thing Windows users run to mod GI? FPS Unlocker and GIMI both are third party software which are technically against ToS. If they really cared that much they would have fixed this 3DMigoto situation in the first place.

@cybik
Copy link

cybik commented Feb 24, 2025

Yes, and AAGL literally warns that the FPS unlocker can be detected. Plus, on our discord, we shut down any mention of GIMI & co.

The more anyone and everyone points out how to ignore the developers' wishes, the more we risk getting shut out.

It's Operational Security 101: Don't poke the bloody bear.

@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.

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