• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 15 16 17 18 19 ... 116 Next »

Question about direct homebrew execution
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Question about direct homebrew execution
10-10-2018, 05:00 AM
#1
HighScoreGirlAnon
Unregistered
 
Hello!


I read in a post a while ago that Dolphin can't boot (dol) files directly on Wii mode, since it defaults to GC, it's true? If yes, there's some commandline switch or option to change this?
Reply
10-10-2018, 07:21 AM
#2
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,874
Threads: 7
Joined: Oct 2014
Dolphin tries to autodetect whether a DOL file is for the GC or Wii, which works in most cases, but fails for certain homebrew such as Not64 (which is Wii but gets treated as GC). There is currently no way to override it.
Find
Reply
10-10-2018, 08:05 AM
#3
HighScoreGirlAnon
Unregistered
 
(10-10-2018, 07:21 AM)JosJuice Wrote: Dolphin tries to autodetect whether a DOL file is for the GC or Wii, which works in most cases, but fails for certain homebrew such as Not64 (which is Wii but gets treated as GC). There is currently no way to override it.

Oh, I see.
I'll try to find the code that does this to make sure my tests run as Wii so! Thank you!
Reply
10-10-2018, 03:55 PM
#4
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,874
Threads: 7
Joined: Oct 2014
Unless you're using some kind of packer that compresses the program code, the detection will probably work correctly.

If you're curious about how Dolphin's detection works, here it is: https://github.com/dolphin-emu/dolphin/blob/master/Source/Core/Core/Boot/DolReader.cpp#L61-L66
Find
Reply
10-10-2018, 10:02 PM
#5
HighScoreGirlAnon
Unregistered
 
(10-10-2018, 03:55 PM)JosJuice Wrote: Unless you're using some kind of packer that compresses the program code, the detection will probably work correctly.

If you're curious about how Dolphin's detection works, here it is: https://github.com/dolphin-emu/dolphin/blob/master/Source/Core/Core/Boot/DolReader.cpp#L61-L66

I already had found, but thank you!

And well, I'm not sure... I'm with some problems related to this, my homebrew simply isn't recognized as Wii. I thought it was some problem with me, but I tried some examples from DevkitPPC and the Wii examples from there isn't recognized properly too.
By now I already done a custom build to force the Wii mode, but well, it's kind of annoying xD.
Reply
10-11-2018, 02:56 AM
#6
HighScoreGirlAnon
Unregistered
 
Tried to simulate the instruction Dolphin's search for, no luck too :/.
Reply
10-11-2018, 05:53 AM
#7
Blacknite08 Offline
Junior Member
**
Posts: 42
Threads: 4
Joined: Oct 2016
You can try using CustomizeMii to inject your dol file into a wad that Dolphin can boot up directly. I've used it to get Not64 to boot directly.
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode