Skip to content

Add Native Linux Support - #112

Draft
Inertia-Squared wants to merge 3 commits into
Lizardman175:mainfrom
Inertia-Squared:linux-support-info
Draft

Add Native Linux Support#112
Inertia-Squared wants to merge 3 commits into
Lizardman175:mainfrom
Inertia-Squared:linux-support-info

Conversation

@Inertia-Squared

@Inertia-Squared Inertia-Squared commented Aug 23, 2026

Copy link
Copy Markdown

Most of the required fixes ended up happening in upstream PRs (here and here), but I also touched up the project file and build script.

Currently the methods described in this PR will NOT WORK until the upstream fixes are pulled into Archipelago.Core (or you pull my fork and build against it), but going off of Discord we should see it get merged within the next day or two. I would recommend waiting to merge this PR until then.

Added info to get DC1AP running natively on Linux
@Inertia-Squared

Copy link
Copy Markdown
Author

There is one more thing that needs to be documented once PCSX2 merges my PR:

The DC1AP.linux needs to have sudo setcap cap_sys_ptrace=eip DC1AP.linux applied to the binary.

I'm not 100% sure how you'd want to do this, I think the easiest way would be to just include it as what will eventually be the sole instruction for getting the Linux build to work, but for packaged distributions a postinstall script or a launcher script could work.

I'm not a huge fan of either of those solutions though, I think the best method would be to have the program itself request to setcap itself (and just ask the user for their sudo password once in the interface, then restart to apply the change), but I'm honestly not 100% sure how to do that, I'm not very knowledgeable on using dotnet for Linux sysadmin, so I'd need some time to figure it out.

@Inertia-Squared

Copy link
Copy Markdown
Author

The DC1AP.linux needs to have sudo setcap cap_sys_ptrace=eip DC1AP.linux applied to the binary.

Nevermind, I was able to apply a fix in the upstream PR so no extra work is required, it all just works :)

@Inertia-Squared

Copy link
Copy Markdown
Author

There have already been a few developments which make the info from this PR outdated, so I'll convert it to a draft and update the info when things are ready to go!

@Inertia-Squared
Inertia-Squared marked this pull request as draft August 25, 2026 06:27
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.

1 participant