Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux Support #462

Open
chaogamer opened this issue Jan 27, 2024 · 3 comments
Open

Linux Support #462

chaogamer opened this issue Jan 27, 2024 · 3 comments

Comments

@chaogamer
Copy link

Is your feature request related to a problem? Please describe.
Yes, there's no linux port

Describe the solution you'd like
i want to be able to run the software on linux

Additional context
i want to uninstall haxchii from my snes classic, and remove all the games there. but im not able to, please do make a linux port

@DanTheMan827
Copy link
Member

Not a fix, but it should run through mono

make sure you have libusb installed

@NightSprinter
Copy link

Ok, so, thanks to some friends on both Telegram and Discord, I've learned how to get it to work on top of installing libusb (and potentially a few other packages listed in another thread for the issue tracker).

To start, you'll need to edit the "Wired Connection" entry for the console to both have automatic link negotiation, and manually-assign an IP of something like 169.254.1.1 to it.

From there, you'll need to open your firewall settings (easiest if you install the "gufw" package) and enter your user/root password (dependent on how you set that up on OS install).

Next up, we need to add rules in gufw. You'll want two for TCP port 22 (going from 169.254.1.1 to 169.254.13.17 and the other way around). Then we need four UDP ports in a similar manner (enter the port ranges as 3700:3800 and 5300:5400 in that exact manner, or rule creation will fail), with one pair for to/from for each of the two port ranges.

Once the firewall rules are made, run "mono hakchi.exe", and turn your console on. Terminal output should show the connection establishing after the console's network connection goes up. You can then just turn the console off, back on, and it'll connect again just like it would in Windows! If this works, chaogamer, you should be good to close this issue thread. In fact, DanTheMan827, I think this could get added to the documentation for Linux users.

@NightSprinter
Copy link

NightSprinter commented Feb 11, 2025

Lastly, there is a udev rule from a really old fork of the original hakchi2 that is required to be in /usr/lib/udev/rules.d/ to be able to even get the process started with modding.

Oh! I want to mention this also FULLY-fixes the "Your console is taking a long time to reboot" issue as well!

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

No branches or pull requests

3 participants