cancel
Showing results for 
Search instead for 
Did you mean: 

Dolphin Emulator DK2 compatibility

lohan
Honored Guest
The title pretty much says it all. I would like to know if anyone here has already tried to run the dolphin emulator with the DK2. Some say it should work. If yes this one should give us hundreds of titles to try out during the "starving period" even if those Wii/Gamecube titles don't use the full potential of the DK2.
1,298 REPLIES 1,298

aminemo
Explorer
I am trying thoses AR codes but which map file refering to?
There is three different versions ..I am confused.
I am curious of what 2eyeguy think about it.

2EyeGuy
Adventurer
I just fixed the OpenGL single-pass stereoscopic 3D, to make it proper VR using the Oculus SDK.
It stumped me for a long time, and I got very discouraged, because logically it should have worked but my changes weren't being recognised. 😞 But today I finally realised that Dolphin CACHES the shaders on disk, so my changes to the geometry shader weren't being used. :x Now it is working. 😄

If you use OpenGL you will need to set the Stereoscopic Mode to Oculus, then the separation and convergence values will no longer have any effect and the Oculus SDK and scale values will be used to render in proper VR like normal (only much faster!). OpenGL should now be the best backend to use.

Thank you for all your hard work on redrawing the FIFO, and supporting other platforms.

Good work on the culling.
But when I tried Wind Waker NTSC using your codes, the bridge on Outset Island was still culled. That was the object I was using to test my own culling codes ages ago, but I could never get it to work. So maybe that bridge is just a bad object to choose but other objects are prevented from being culled? Do you know any locations that I can test it on?

If you want to use IDA Pro to find the culling Action Replay codes, here is an IDA Pro script I wrote that loads Dolphin map files. Save it as ReadDolphinMap.idc. You might also need a plugin for loading .dol files, which you can find on the internet.

/* ReadDolphinMap.idc

Loads .map files generated by dolphin.
Carl Kenner, 2012
*/

#include <idc.idc>

static main(void)
{
auto fh;
auto fname;
auto pusha, popa;
auto start, end;
auto success;
auto count;
auto line;
auto ea; // column 1
auto name; // column 30
auto p;
auto code;

fname = AskFile(0,"*.map","Load a .map file from Dolphin emulator...");

fh = fopen(fname, "r");
if (fh == 0) {
Message("Can't open %s\n", fname);
return;
}

Message("Loading %s dolphin map file:\n", fname);

for (count = 0; 1; count++) {
line = readstr(fh);
if (line == -1)
break;
if (strlen(line)>30 && line[0]!=" ") {
ea = xtol(substr(line,0,8));
name = substr(line,29,strlen(line)-1);
if (substr(name,0,3)!="zz_") {
if (!MakeNameEx(ea,name,SN_NOCHECK | SN_PUBLIC | SN_NON_AUTO |SN_NOWARN)) {
MakeNameEx(ea,name+"_2",SN_NOCHECK | SN_PUBLIC | SN_NON_AUTO );
}
Message("ea='%x', name='%s'\n", ea, name);
} else {
MakeNameEx(ea,name,SN_NOCHECK | SN_PUBLIC | SN_AUTO | SN_WEAK | SN_NOWARN);
}
} else if (strlen(line)>30) {
ea = xtol(substr(line,18,18+8));
p = strstr(line, " \t");
if (p>=30 && ea!=0) {
name = substr(line,30,p);
code = substr(line,p+2,strlen(line));
SetFunctionCmt(ea, code, 0);
if (!MakeNameEx(ea,name,SN_NOCHECK | SN_PUBLIC | SN_NON_AUTO |SN_NOWARN)) {
MakeNameEx(ea,name+"_2",SN_NOCHECK | SN_PUBLIC | SN_NON_AUTO );
}
}
}
}
Message("Dolphin map file done.\n");
}

aminemo
Explorer
"2EyeGuy" wrote:


Good work on the culling.
But when I tried Wind Waker NTSC using your codes, the bridge on Outset Island was still culled. That was the object I was using to test my own culling codes ages ago, but I could never get it to work. So maybe that bridge is just a bad object to choose but other objects are prevented from being culled? Do you know any locations that I can test it on?

If you want to use IDA Pro to find the culling Action Replay codes, here is an IDA Pro script I wrote that loads Dolphin map files. Save it as ReadDolphinMap.idc. You might also need a plugin for loading .dol files, which you can find on the internet.



thanks a lot I will try your script
A lot of reverse engineering is being made on metroid prime at the moment If we could remove that culling we are going to play an exclusivity in a few mouths only because of the early active hacking /modding activity.

I posted my question on the metroid prime hacking forum I got an answer.
https://m2k2.taigaforum.com/post/metroid_prime_hacking_help.html#metroid_prime_hacking_help_2-

Anonymous
Not applicable
Its working!!!!!!!

042A2DD4 38600001
042A2DD8 4E800020

Please ask him to search the function in the original games.
And tell him that he is our hero!!!!!

aminemo
Explorer
"fugazi" wrote:
Its working!!!!!!!

042A2DD4 38600001
042A2DD8 4E800020

Please ask him to search the function in the original games.
And tell him that he is our hero!!!!!

Oh God...


aminemo
Explorer
He just send another answer for the final game

Paraxade >2014-12-13 04:28:11 pm
Try 0x803451D0 in the final game (NTSC 0-00).

Anonymous
Not applicable
"aminemo" wrote:
He just send another answer for the final game

Paraxade >2014-12-13 04:28:11 pm
Try 0x803451D0 in the final game (NTSC 0-00).


It dont works in my metroid version, its revision 2, im going to find the right version, can you try this i f you have another version?
043451D0 38600001
043451D4 4E800020

aminemo
Explorer
Paraxade >2014-12-13 04:49:48 pm
yeah 0-02 is player's choice, that's a different version of the game and probably requires a different code. The address I posted is only for the original 0-00 NTSC gamecube release.

aminemo
Explorer
ParaxadeParaxade >2014-12-13 04:49:48 pm
FWIW I just tried it on 0-00 and it works.




Anonymous
Not applicable
"aminemo" wrote:
ParaxadeParaxade >2014-12-13 04:49:48 pm
FWIW I just tried it on 0-00 and it works.


Yes!!!!!!!
thank you aminemo, please send him our gratitude!!!!!
He is our emu-VR hero!!!!
Now Its absolutely amazing looking around!!!!
Now Im downloading the latest commits from cegli and 2eyeguy!!!! so much fun!!!
Its a great day to be an emu-nerd!!!
thanks to all you guys, I love you!!!