INCOMPLETE: How to create your own Local WiiLink Server (Debian Linux)
#6
(04-30-2025, 05:52 PM)Vega Wrote: Thank you for your post. I'll try out the pem file update to see if this fixes the 2091X on my server whenever I get a chance.

Regarding the 20100, I've personally only received this code whenever I forgot to have the cheat code equipped when trying to connect via Wii Console & ISO, I think it could happen if there is a firewall issue. Meaning that the required ports (via your Local Network config and/or the Server) are were simply not opened.

(05-01-2025, 12:08 AM)Kron05 Wrote: I got it working a few hours after sending, ran a successful test race over LAN. My issue with 20100 was the patcher, I hadn't changed the domains. I haven't actually tried running the patcher with the correct domain yet, I just pointed all of the patched domains to my local IP in my hosts file, but that worked for me.

Thanks for your guide!  Big Grin

(05-13-2025, 03:18 PM)Epirei Wrote: i managed to run it, two instances of dolphin can play together, did not tried lan connection yet, i managed to run it even in windows, if i remember correctly i had the error code 2091X it was caused by a bad generation of gecko codes and payloads. one of the things i tried is using the retro rewind fork of the server, but i wasn´t able to make it work

I tried to dockerize the whole thing, because i wanted a quick to setup version for lan parties and improvised splitscreen with multiple dolphin instances (i tried dwc and cowfc before, but they were very unsatisfying). The server is now running inside a container on docker desktop (windows), using the host machines' IP address.

I tried connecting dolphin with just a noSSL gecko and pointing  nintendowifi.net in my hosts file to 127.0.0.1, which resulted in error 61010 on dolphin and the server stated:
Quote:N[GPCM:172.18.0.1:40300]: Connection closed

I then tried the whole wfc-patcher thing with Ubuntu WSL (windows subsystem for linux). I edited wwfcLoaderTool.s and wwfcPatch.s and changed wiilink24.com and nwfc.wiinoma.com to 127.0.0.1.
My edits:

Code:
#  ifdef PROD
#    define WWFC_DOMAIN "127.0.0.1" // here i replaced wiilink24.com
#  else
#    define WWFC_DOMAIN "127.0.0.1" // Points to localhost // here i replaced nwfc.wiinoma.com
#  endif

Code:
GCT_STRING(ADDRESS_AVAILABLE_URL + 0xD, AvailableURLOverride)
    .ascii  "gs.127.0.0.1\0"           // here i replaced wiilink24.com
GCT_STRING_END(AvailableURLOverride)



Then i generated the payload and gecko code inside WSL, transferred it to my windows host and mounted my local "payload" folder into the docker container.
I also applied the gecko code for the PAL region (RMCPD00.txt) found in the "build" folder.

Dolphin then displayed error 20100, with the server staying silent. Did i miss something?


Couple questions:

It appears that the dolphin instance fails to connect to the server (gecko not working?).
Am i wrong in changing wiilink24.com and nwfc.wiinoma.com to 127.0.0.1? Is this step required, since the guide never mentions this in chapter 7-10 for simple localhost use, only with chapter 13 changes to both files are mentioned. How does dolphin connect to the server in chapter 10?

The guide states:
Quote:
  • 2 thru 65535 udp
Are all those udp ports really required? Docker tends to not like opening that many udp ports.

Thanks for reading all that
Reply


Messages In This Thread
RE: INCOMPLETE: How to create your own Local WiiLink Server (Debian Linux) - by Luporion - 05-15-2025, 02:53 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)