Network link mode settings for IPCONFIG.DAT
The IPCONFIG.DAT file has been around with network-enabled homebrew software for a long time, although the format and location of its storage has changed slightly over time.
The problem with it is that it doesn't have a setting for the link mode (link speed and duplex setting). Existing software will have the setting hardcoded, meaning that the program has to be recompiled for every user who wishes to adjust that setting.
Even with my clone of the Sony SMAP driver, it has showned itself to still occasionally get Auto Negotiation wrong (it's a hardware issue)... leaving the PS2 connected in a transfer mode which is slower than what it should be able to do. D:
I'm tempted to just add a line into the IPCONFIG.DAT file, but I'm a bit worried about how older programs will react to that. :/
Coming out with a new format is doable too, but do we want that?
I don't feel like coming out with my own UI for configuring the network settings, hence why. My HDLGameInstaller's system is already so complicated that it had to be split into about 4 major parts and took two years of debugging (blindly, without a debugger) and rewritting to become what it is today.
Software like uLaunchELF can also benefit from this change too, although I'm not sure whether any of its developers will update it.
EDIT: I just added one line beneath the line that records the IP address, subnet mask and gateway values. One of the following can be used:
- 100MFDX (100Mbit Full-DupleX)
- 100MHDX (100Mbit Half-DupleX)
- 10MFDX (10Mbit Full-DupleX)
- 10MHDX (10Mbit Half-DupleX)
- AUTO (Auto-negotiation, which is the default. You don't need to specify this, but it's there as an option)
I'll do this until something agreeable is done... if I'm still around by then.