Wii: SCUMMVM crashes when called with command line arguments
|Reported by:||SF/sionisaac||Owned by:||csnover|
I have tried many builds of scummvm wii and I cannot get any of them to accept command line arguments (if it is even possible). I have tried using wiiload to send the boot.elf from my pc to wii homebrew channel with various command line switches such as:
-v -p <path to one of my games> --help
Also I have created a small wii program that will call other ELF/DOL progs with command line parameters and that won't work either. Every method I try results in a code dump or and error in memory cpp file. The only thing that was a little different was when I tried:-
wiiload <scummvm.ELF> -p
and left the path blank. I got a message that the path could not be found. So I am assuming that some command line arguments are working or at least they have been in the past.
I am trying to make channels that will automatically load a particular game and the last save position for that game. I know this is possible on the PC versoion of Scummvm but what about the wii?
I took a look at the code and tried to compile the wii version with no alteration and got lots of errors about my compile environment, which is strange because I can compile the pc version fine and I have followed both compile guides to the letter. Would it be possible for someone to compile me a version to accept command line arguments or at least give me some tips or instructions to do it myself.
I had a thought that if command line arguments are screwing with wii version because of memory problems on the wii's low spec. Would it be possible to make a build with less features i.e The GUI to free up memory.
Ticket imported from: #3608075. Ticket imported from: bugs/6262.