Awoo-Installer
Awoo-Installer copied to clipboard
Checking if ready for network installs throws URL too large
Basically, I'm trying to write an automated server suite on Linux for AwooInstaller.
I have a file server, that I keep all of my XCI/NSP files on. It's a bit much to copy the data from the server, to a PC, then plug the switch in and do a USB transfer, or go back and forth between the switch to start Awoo, then start NS-USBLoader and then click send, then come back to the switch and select games to transfer. Ideally, I'd open up AwooInstaller and the games would be listed automatically.
I read through the code and I see that the payload is currently just a list of urls delimited by a newline (\n). It's being written to port 2000. I currently do the following:
- Ping the switch, if its not pinging the script goes idle and checks again after a delay.
- If the switch is pinging, I check if port 2000 is open with a null read on Port 2000. (nc -z <Switch IP> 2000)
Immediately on the null read the Awoo reports a URL too large error. At first I thought it was because my payload was malformed, so I stopped sending the payload. Regardless of the payload being sent or not the error happens. Would it be possible to add a routine for polling whether or not Awoo is ready to receivea list? Perhaps sending a raw string to port 2000 and returning a response?