== DETAILS
The broadcast address is a standard part of TCP/IP that is used to
send messages to everyone on the subnet. This patch updates the
logging code to do the following:
1. Derive the broadcast address from the Wii U's own IP address
and subnet mask. These can all be obtained at runtime, which
means we can...
2. Remove the PC_DEVELOPMENT_IP_ADDRESS define from Wii U's
Makefile, because compiling in an IP is no longer needed.
3. Rewrite the net_listen script to listen for broadcast packets
and print them out with timestamps.
Since it's using the broadcast address, the only requirement is
that the PC be on the same network subnet as the Wii U.
Because of the low overhead of UDP, I've made logging on by
default. This will make it a ton easier to get useful bug
reports from users.
The 'source' builtin is not POSIX and not all of the build environments have it.
For example the wiiu build log report:
./wiiu-cores.sh: 8: ./wiiu-cores.sh: source: not found
== DETAILS
Some updates for the WiiU port:
1. Implement a way to set logging IP/port that doesn't risk getting committed.
To do this, I've created `wiiu-devel.properties.template` and added the file
`wiiu-devel.properties` to .gitignore. Developers can then:
* Copy the template file to `wiiu-devel.properties`
* Enter the relevant details (documented in the template file)
2. Convert `version.all` to unix line endings so modern versions of bash don't
complain when it is included.
2. Rewrote the `wiiu-cores.sh` script into `wiiu-new-cores.sh`
- Automatically detects when building retroarch inside the `libretro-super`
hierarchy to collect the *.info files and *.a files
- Automatically detects the *.png (fetched by running `fetch-submodules.sh`
script)
3. Create a `wiiu-rpx-upload.sh` script to upload the output of `wiiu-cores.sh`
- uses `wiiu-devel.properties` to get WiiU IP address
- after upload, re-downloads and compares hashes to detect bad uploads