I am not sure where to post bug reports, but I have one. When modifying codes in Mario Kart Wii's WiiRD database, saving the file causes the codes to disappear. They must be redownloaded and the previous modifications are reverted. This occurs with both versions 4.0 and 4.0.1. I do not remember if that happened with version 3.5.
Reproduction steps:
1. Open Mario Kart Wii's Properties dialog.
2. Navigate to the Gecko Codes tab.
3. Download the codes.
4. Modify a code that has variables (X, Y, and Z) in the configuration file.
5. Save the file.
6. Close the text editor.
Upon returning to the emulator, the Gecko codes are absent and must be redownloaded. Upon doing that, any changes made to variables (X, Y, or Z) are reverted.
Reproduction steps:
1. Open Mario Kart Wii's Properties dialog.
2. Navigate to the Gecko Codes tab.
3. Download the codes.
4. Modify a code that has variables (X, Y, and Z) in the configuration file.
5. Save the file.
6. Close the text editor.
Upon returning to the emulator, the Gecko codes are absent and must be redownloaded. Upon doing that, any changes made to variables (X, Y, or Z) are reverted.