Skip to content

Allow Memoria.Patcher to be build natively for Linux#1363

Merged
Tirlititi merged 6 commits intoAlbeoris:mainfrom
julianxhokaxhiu:feat/linux
Feb 28, 2026
Merged

Allow Memoria.Patcher to be build natively for Linux#1363
Tirlititi merged 6 commits intoAlbeoris:mainfrom
julianxhokaxhiu:feat/linux

Conversation

@julianxhokaxhiu
Copy link
Copy Markdown
Contributor

@julianxhokaxhiu julianxhokaxhiu commented Feb 21, 2026

This PR will allow publishing a Memoria.Patcher that works natively under Linux as a self-container ELF binary, no dependencies required.

The final artifact ( for both Windows and Linux ) has been tested by myself and @dotaxis, will weight around 80MB ( per platform ) but it doesn't need anything to be run ( not even dotnet ) on either OS.

Here's the proof:
immagine

In order to obtain this new type of exe per plarform, you can either use the Publish option via Visual Studio or use the CLI command as in the CI job, either way works.

Attached you can also find the adapted CI jobs which will now use the publish jobs, as Memoria.Patcher is a net8.0 project now and needs a different way to be published as a single self-contained exe.

Any question, feel free to ask :)

This will allow publishing a Memoria.Patcher that works natively under Linux as a self-container ELF binary, no dependencies required
@dotaxis
Copy link
Copy Markdown

dotaxis commented Feb 21, 2026

Excellent work here!

Can confirm this works when running from outside the game directory as well.

 ╭─dot@dot-arch in ~/Downloads via  v21.0.10 via 🌙 v5.4.8 via  v22.22.0 
 ╰─λ ./Memoria.Patcher ~/.steam/steam/steamapps/common/FINAL\ FANTASY\ IX
V Path found: /home/dot/.steam/steam/steamapps/common/FINAL FANTASY IX/FF9_Launcher.exe
V File Validated Successfully
V Installation was successful.
V The console will close automatically

 ╭─dot@dot-arch in ~/Downloads via  v21.0.10 via 🌙 v5.4.8 via  v22.22.0 took 5s
 ╰─λ 

In order to avoid false "update available" prompts on first launch, an up-to-date Memoria.Patcher.exe will need to be placed in the game directory as part of the Linux patching process.

Auto-updates function perfectly fine using the current method, because the Memoria.Patcher.exe gets run by Memoria (inside the game's prefix).

This will free us from using hacky bash scripts to enable easy installation on Linux, and solves the problem of supporting GOG installations across many launchers.

Every commit and PR will now have an action attached with resulting artifacts embedded
@barkermn01
Copy link
Copy Markdown
Contributor

@Tirlititi, julianxhokaxhiu = TrueOdin the Creator of FFNX modding system for 7 and 8. can stand by his work, not sure when we're planning the next release window?

@julianxhokaxhiu
Copy link
Copy Markdown
Contributor Author

@Albeoris I did try to approach you in DM but I got no reply. Are you still around and can you please help unblock this PR?

@julianxhokaxhiu
Copy link
Copy Markdown
Contributor Author

julianxhokaxhiu commented Feb 28, 2026

I managed to get the pipeline working and fully tested.

Here's the build job: https://github.com/julianxhokaxhiu/Memoria/actions/runs/22519288611
Here's the release job: https://github.com/julianxhokaxhiu/Memoria/actions/runs/22519376111/job/65241839665

Here are the release artifacts: https://github.com/julianxhokaxhiu/Memoria/releases/tag/v2026.02.28


If you're interested I can add to this PR also my new Dependencies.7z file and share the password ( privately ) with you so you can update it in your repo as well and get the CI fixed forever.

Let me know, thanks!

@Tirlititi Tirlititi merged commit 2955a35 into Albeoris:main Feb 28, 2026
@julianxhokaxhiu julianxhokaxhiu deleted the feat/linux branch February 28, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants