Homebrew WIP melonDS for Switch

FragRot

Member
Newcomer
Joined
Nov 28, 2017
Messages
14
Trophies
0
XP
211
Country
Singapore
Pokemon Black, Black 2, White and White 2 crashes melonds. The other pokemon games runs fine. I need to restart my switch to use again. Using SXOS. Tried different roms but same result.
 
Last edited by FragRot,

Razmaniacal

Member
Newcomer
Joined
Jul 4, 2019
Messages
7
Trophies
0
Age
35
XP
126
Country
United States
@catlover007 , you can get editing privileges from @Hydr8gon for the first post of the thread if they'd be willing. That way you can add the current build to the OP and we don't lose the archive of info here. Also, it would be better if you could link to a GitHub or other repository ideally so you don't have to update the link consistently, but if you have your reasons for doing it the current way, I understand.
 

Goku1992A

Well-Known Member
Member
Joined
Nov 20, 2019
Messages
1,823
Trophies
1
Age
33
XP
2,610
Country
United States
Maybe you guys have an answer my pokemon games crash on Melon. All other games work tho is it because my SD is in Exfat or is it something else
 

catlover007

Developer
Developer
Joined
Oct 23, 2015
Messages
715
Trophies
1
XP
3,862
Country
Germany
Maybe you guys have an answer my pokemon games crash on Melon. All other games work tho is it because my SD is in Exfat or is it something else
While you should probably switch over to fat, this sounds like you're using the album to launch the hbmenu.
Large ROMs need more RAM, i.e. they can only be launched with atmosphere title replacement (and not with album override).
 
  • Like
Reactions: Goku1992A

Goku1992A

Well-Known Member
Member
Joined
Nov 20, 2019
Messages
1,823
Trophies
1
Age
33
XP
2,610
Country
United States
While you should probably switch over to fat, this sounds like you're using the album to launch the hbmenu.
Large ROMs need more RAM, i.e. they can only be launched with atmosphere title replacement (and not with album override).

Thanks I just googled in how to do that and it worked I guess the next question since I'm at work I cant really test it through does all the games run at full speed? I actually had good speed without doing the title replacement trick I guess my issue was with NSMB the game would freeze I hope the title replacement trick kills that.

A bonus question in the near future would there be 3DS support or it's super difficult. I'm loving the DS emulator I just have to google when I have the chance to enable DS cheats I had bought Drastic on android so what I do is enable the cheat on there and just transfer the save file. I only do this on pokemon
 

catlover007

Developer
Developer
Joined
Oct 23, 2015
Messages
715
Trophies
1
XP
3,862
Country
Germany
Thanks I just googled in how to do that and it worked I guess the next question since I'm at work I cant really test it through does all the games run at full speed? I actually had good speed without doing the title replacement trick I guess my issue was with NSMB the game would freeze I hope the title replacement trick kills that.
It depends. Most 2d games run fullspeed without any overclocking, while 3d games usually still require it.

A bonus question in the near future would there be 3DS support or it's super difficult
the 3DS is completely a completely different console. The only reason a 3DS can run DS games is because it has more or less a DSi integrated.

I'm loving the DS emulator I just have to google when I have the chance to enable DS cheats I had bought Drastic on android so what I do is enable the cheat on there and just transfer the save file. I only do this on pokemon
melonDS currently does not support cheats, though it's being worked on(http://melonds.kuribo64.net/comments.php?id=111)
 
  • Like
Reactions: mikifantastik98

Goku1992A

Well-Known Member
Member
Joined
Nov 20, 2019
Messages
1,823
Trophies
1
Age
33
XP
2,610
Country
United States
It depends. Most 2d games run fullspeed without any overclocking, while 3d games usually still require it.


the 3DS is completely a completely different console. The only reason a 3DS can run DS games is because it has more or less a DSi integrated.


melonDS currently does not support cheats, though it's being worked on(http://melonds.kuribo64.net/comments.php?id=111)

Ahh ok thanks for the insight
 

Goku1992A

Well-Known Member
Member
Joined
Nov 20, 2019
Messages
1,823
Trophies
1
Age
33
XP
2,610
Country
United States
It depends. Most 2d games run fullspeed without any overclocking, while 3d games usually still require it.


the 3DS is completely a completely different console. The only reason a 3DS can run DS games is because it has more or less a DSi integrated.


melonDS currently does not support cheats, though it's being worked on(http://melonds.kuribo64.net/comments.php?id=111)

Hey quick question where do saves go? I thought it went with the location where the roms was but I dont see my saves
 

KongsNutz

[Team Oceanic]
Member
Joined
Jul 19, 2008
Messages
1,680
Trophies
1
XP
1,579
Country
United States
What do Literal Optimisations and the other one do, turning them off seems to have no effects besides maybe speed gains in Pokémon?
 

FragRot

Member
Newcomer
Joined
Nov 28, 2017
Messages
14
Trophies
0
XP
211
Country
Singapore
SX OS is not supported ,use Atmosphere

I Installed Atmosphere and I open melonds and when I launch either Pokemon Black, Black 2, White and White 2 it crashed too. I need to reboot my switch to use it. Tried both SX OS and Atmosphere and still crash. I received error 2168-0002. I'm using 9.0.1 firmware. Other pokemon games loads and plays fine.
 
Last edited by FragRot,

angelhp

Well-Known Member
Member
Joined
Nov 30, 2014
Messages
509
Trophies
0
XP
2,352
Country
United States
I Installed Atmosphere and I open melonds and when I launch either Pokemon Black, Black 2, White and White 2 it crashed too. I need to reboot my switch to use it. Tried both SX OS and Atmosphere and still crash. I received error 2168-0002. I'm using 9.0.1 firmware. Other pokemon games loads and plays fine.

Hold R while launching any Switch game ,to start the homebrew menu with more RAM....and with that pokemon b / w games should run
 
Last edited by angelhp,

catlover007

Developer
Developer
Joined
Oct 23, 2015
Messages
715
Trophies
1
XP
3,862
Country
Germany
What do Literal Optimisations and the other one do, turning them off seems to have no effects besides maybe speed gains in Pokémon?
Literal and branch optimisations are from their nature not 100% safe, though I try to make them as compatible as possible. In case you experience a bug or freeze you can try disabling them as a workaround and if it works you can tell me so I immediately have a clue where to search for. That's exactly what happened right in the following quote:
"Blue dragon Plus"doesnt work ....
unchecking Branch and literal optimisations....
allow the game to reach the title screen but when you press new game the game turns black
Again thanks for testing. I already did some investigations, this one is a bit more tricky and I have to give up on a hack (which worked surprisingly well), but if everything works out everything will be more accurate and maybe even a bit faster.
 
  • Like
Reactions: angelhp

Goku1992A

Well-Known Member
Member
Joined
Nov 20, 2019
Messages
1,823
Trophies
1
Age
33
XP
2,610
Country
United States
@catlover007

What about the save formatting? It's not recognizing my saves what I normally so is just rename them back to .SAV from my .DSV from drastic but it isnt recognizing them
 

catlover007

Developer
Developer
Joined
Oct 23, 2015
Messages
715
Trophies
1
XP
3,862
Country
Germany
What about the save formatting? It's not recognizing my saves what I normally so is just rename them back to .SAV from my .DSV from drastic but it isnt recognizing them
the save files have to go into /roms/ds and be named the same way only with .sav added(e.g. Legend of Zelda, The - Phantom Hourglass (Europe) (En,Fr,De,Es,It).nds -> Legend of Zelda, The - Phantom Hourglass (Europe) (En,Fr,De,Es,It).nds.sav). Afaik melonDS uses like drastic raw saves, so unlike desmume you don't need to convert them (desmume saves usually have the file extension .dsv).
 

Goku1992A

Well-Known Member
Member
Joined
Nov 20, 2019
Messages
1,823
Trophies
1
Age
33
XP
2,610
Country
United States
the save files have to go into /roms/ds and be named the same way only with .sav added(e.g. Legend of Zelda, The - Phantom Hourglass (Europe) (En,Fr,De,Es,It).nds -> Legend of Zelda, The - Phantom Hourglass (Europe) (En,Fr,De,Es,It).nds.sav). Afaik melonDS uses like drastic raw saves, so unlike desmume you don't need to convert them (desmume saves usually have the file extension .dsv).

It didnt work I did a test and saved it without importing and it worked but it had a 512Kb my save haves a 513KB but it isnt reading
 
  • Like
Reactions: Kirby567fan

catlover007

Developer
Developer
Joined
Oct 23, 2015
Messages
715
Trophies
1
XP
3,862
Country
Germany
It didnt work I did a test and saved it without importing and it worked but it had a 512Kb my save haves a 513KB but it isnt reading
I did some research, I was wrong. Drastic uses the desmume save format. You need to convert them by opening the ROM the rom with the save in desmume and use the export backup memory function to convert the save file to the format melonDS uses
 
  • Like
Reactions: Zukov

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Yeah forgot to turn that off