Yes, I know all about Wiipy. The way my script's written, it becomes less convenient to run on the Wii (especially without a text editor). As for selecting the file to use, you simply use the
f command, added so people can copy and paste large codes, or even an entire forum post as the script ignores lines that aren't codes, and convert them quickly:
python gct.py f filewithcodes.txt
It's somewhat beyond the scope of this simple script to create a full on GCT manager, but I have considered rewriting CodeMgr using Python and Tkinter to essentially create a cross-platform version of CodeMgr, as Tkinter comes with Python. But Tk has plenty of limitations and isn't my GUI toolkit of choice, I prefer wxPython. The problem with that is it would require the user to install something else and that lowers simplicity.
My options become limited to simply parsing code files differently and creating a little text-based menu, which wouldn't be hard, I just haven't gotten around to it. At the moment, my tool is written to be simple and quick, especially for people like me who usually just want one or two codes (usually inf. life and inf. money
), like the infinite life code for Mario Galaxy:
python gct.py c 042B1C30 60000000
This source is essentially public domain, so I invite anyone to build upon it to create something more akin to CodeMgr if they like. But since the scope of this tool is to be simple and fast, I'm probably not going to do it myself.
Another note is that you don't have to convert the ELF to a DOL to run it from the HBC. The Wii's executable format is ELF, but also supports DOL -- the Gamecube executable format -- because of its backwards compatibility. I'm sure it's more complicated than that, but that's the simple version.
I do appreciate the feedback, though! I like being able to discuss my work, it helps to show I'm not a random noob posting random source code.