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
36
XP
136
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,619
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
722
Trophies
1
XP
3,943
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,619
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
722
Trophies
1
XP
3,943
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,619
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,619
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,587
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
512
Trophies
0
XP
2,367
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
722
Trophies
1
XP
3,943
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,619
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
722
Trophies
1
XP
3,943
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,619
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
722
Trophies
1
XP
3,943
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
  • BakerMan @ BakerMan:
    i said i was sleeping...
  • BakerMan @ BakerMan:
    sleeping with uremum
  • K3Nv2 @ K3Nv2:
    Even my mum slept on that uremum
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    DinohScene @ DinohScene: when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying