Hi everyone,
Nice to meet you! I've obtained an old GameCube prototype, and am working on getting it running under Dolphin. The data present is just an ELF and some loose data, meant to be run straight on a GDEV with host file serving.
I'm wondering what the "right" path to do this is. After loading the ELF in Dolphin, I saw the first problem was a NULL access in DVDConvertPathToEntrynum. I should note that I've never done any GameCube or Wii dev before, so I'm stabbing in the dark here. But I'm guessing that there's something normally initialized here in the boot/loader code that happens when booting full disc images, and that the GDEV has some form of special handling here to perform host file serving.
I've had some success here in writing up replacement DVD* HLE patch functions and shunting them in with Dolphin's existing HLE patching system, but I figure there has to be a better way to do this. Unfortunately, through, I don't have access to the GameCube/Revolution SDK, and didn't have much luck finding useful materials in the reasonably-reputable corners of the internet. I'm guessing materials buried in that SDK would probably provide the solution, but I've no way to verify that at the moment.
So the initial questions I have for you folks are:
Apologies in advance if I totally overlooked some forum post or easily-Googled resource that would answer these questions for me!
Thanks,
Rich
Nice to meet you! I've obtained an old GameCube prototype, and am working on getting it running under Dolphin. The data present is just an ELF and some loose data, meant to be run straight on a GDEV with host file serving.
I'm wondering what the "right" path to do this is. After loading the ELF in Dolphin, I saw the first problem was a NULL access in DVDConvertPathToEntrynum. I should note that I've never done any GameCube or Wii dev before, so I'm stabbing in the dark here. But I'm guessing that there's something normally initialized here in the boot/loader code that happens when booting full disc images, and that the GDEV has some form of special handling here to perform host file serving.
I've had some success here in writing up replacement DVD* HLE patch functions and shunting them in with Dolphin's existing HLE patching system, but I figure there has to be a better way to do this. Unfortunately, through, I don't have access to the GameCube/Revolution SDK, and didn't have much luck finding useful materials in the reasonably-reputable corners of the internet. I'm guessing materials buried in that SDK would probably provide the solution, but I've no way to verify that at the moment.
So the initial questions I have for you folks are:
- Is there a free/opensource toolpath that would facilitate producing an image (from the ELF and loose files) that Dolphin can load without needing my HLE patches? If so, please point me in the right direction.
- If there is not an opensource solution that will get me where I need to be, can anyone confirm that the above would be viable using tools from the official SDK? If so, hopefully I can tap some contacts to shake them loose. Keep in mind that I do not have the source code for the compiled ELF. I also don't know which SDK was used to produce the ELF, although some digging through the binary might be able to reveal this.
- Is there some bootloader-type code that's normally generated when creating a DOL from an ELF, or is this part of creating an actual disc image from the DOL and loose files? I'm just asking this to try to better understand what goes where and when. My current guess is the latter. Again, apologies for my ignorance, I just started diving into all of this this morning!
- Is there an existing way to pull this off (loading the ELF with loose files as-is) in Dolphin that I'm missing?
Apologies in advance if I totally overlooked some forum post or easily-Googled resource that would answer these questions for me!
Thanks,
Rich