dwc_network_server_emulator icon indicating copy to clipboard operation
dwc_network_server_emulator copied to clipboard

Dockerize

Open florensie opened this issue 3 years ago • 10 comments

florensie avatar Jun 25 '22 16:06 florensie

AFAICT, your last commit for custom domains won't work for users not using Docker. Could you please provide an alternative or an equivalent approach not to break their config?

sepalani avatar Jun 25 '22 16:06 sepalani

It uses an enviro variable, non-docker users should be able to set it too without any major changes to their config.

HOST=nintendowifi.net python master_server.py

I'd use a more unique name in case of conflicts, i.e. DWC_HOST

pakoito avatar Jun 29 '22 00:06 pakoito

It uses an enviro variable, non-docker users should be able to set it too without any major changes to their config.

HOST=nintendowifi.net python master_server.py

I'd use a more unique name in case of conflicts, i.e. DWC_HOST

This approach is not trivial for Windows users as they most likely use GUI tools rather than CLI. Especially, for Apache. Moreover Apache provides a Define directive to set variables. Finally, Docker isn't that straight forward on Windows that it is on Linux.

sepalani avatar Jun 29 '22 01:06 sepalani

Please be aware that this will likely only work on linux anyways, as it requires the host network mode. Otherwise I'd have to figure out which UDP ports need to be bound.

florensie avatar Jul 24 '22 16:07 florensie

This PR probably isn't getting merged anytime soon. Fork possible?

MisterSheeple avatar Aug 07 '22 08:08 MisterSheeple

This is already a fork, that's how most PRs work. https://github.com/florensie/dwc_network_server_emulator

florensie avatar Aug 07 '22 10:08 florensie

I know, I just meant a full fork for including this and some of the other PRs/issues that aren't being fixed, so that there's a chance someone could actively work on the project again

MisterSheeple avatar Aug 07 '22 19:08 MisterSheeple

If someone wants to work on the project, they will. I don't see how that has anything to do with this PR.

florensie avatar Aug 07 '22 22:08 florensie

@florensie could you please explain if this part is needed if I only intend to have this server only visible in LAN/VPN?

ENV DWC_HOST=nintendowifi.net

loopedice avatar Mar 07 '24 03:03 loopedice

IIRC, DWC_HOST needs to be set for this to work at all. Either you use the default and set up a local DNS/hosts file to re-route traffic to that domain. Or you need to set your own domain name, and patch your ROM (or use a cheat in Dolphin?) to use that domain instead of Nintendo's.

florensie avatar Mar 08 '24 15:03 florensie