CTR-tools / CTR-ModSDK

ModSDK - a modding toolkit to create mods for Crash Team Racing in C. This repository also houses an effort to fully decompile and reverse-engineer CTR in C.
https://discord.gg/WHkuh2n
306 stars 37 forks source link

Windows Client: read username from file #132

Closed Squiro closed 4 months ago

Squiro commented 4 months ago

These changes add the functionality of reading the username from a file. Solely a change for users lazy (such as myself) enough that don't want to write their name every time they open the client.

If the file can't be open, the standard name prompt is displayed.

Any suggestions are welcome.

DCxDemo commented 4 months ago

some extensible config format like xml, json, ini or yaml would be a preferred solution. can also use command line arguments: client.exe --username your_username

as of now you can use batch script without modifying the source at all: https://github.com/CTR-tools/CTR-ModSDK/wiki/Batch-launcher

Squiro commented 4 months ago

Wasn't aware it could be done with a simple batch script! Thanks a lot! :)

Closing this PR as it isn't needed anymore.