Homebrew RELEASE melonDS for Switch — continuation

dusk1911818

Member
Newcomer
Joined
Mar 31, 2020
Messages
8
Trophies
0
Age
27
XP
44
Country
Ireland
Hi! I've been using this for months now and I love it so much! I only have one real problem - the time can't be changed? eg: when I open up pokemon platinum it's permanently stuck in winter? Changing the ds clock (by not booting directly and going into settings) or the switch clock doesn't seem to work but time passes as I'm playing the game. There are time-sensitive events that I can't access right now, is there a way to change the time that I'm missing? If not, are you planning on making it a feature eventually?
 

catlover007

Developer
OP
Developer
Joined
Oct 23, 2015
Messages
711
Trophies
1
XP
3,547
Country
Germany
Hi! I've been using this for months now and I love it so much! I only have one real problem - the time can't be changed? eg: when I open up pokemon platinum it's permanently stuck in winter? Changing the ds clock (by not booting directly and going into settings) or the switch clock doesn't seem to work but time passes as I'm playing the game. There are time-sensitive events that I can't access right now, is there a way to change the time that I'm missing? If not, are you planning on making it a feature eventually?
that's due to the MAC address being randomised every time melonDS is opened. This was done for local wireless (because each instances needs it's own MAC address), but it has the problem that games think you're switching the DS all the time so they disable timed events as an anti cheat measure. In the latest version (not yet for Switch) we added a switch to disable MAC randomisation.
 

Nerdtendo

Your friendly neighborhood idiot
Member
Joined
Sep 29, 2016
Messages
1,735
Trophies
1
XP
4,214
Country
United States
that's due to the MAC address being randomised every time melonDS is opened. This was done for local wireless (because each instances needs it's own MAC address), but it has the problem that games think you're switching the DS all the time so they disable timed events as an anti cheat measure. In the latest version (not yet for Switch) we added a switch to disable MAC randomisation.
Ooh I didn't even realize this was still being worked on. What other features can we look forward to?
 

catlover007

Developer
OP
Developer
Joined
Oct 23, 2015
Messages
711
Trophies
1
XP
3,547
Country
Germany
Ooh I didn't even realize this was still being worked on. What other features can we look forward to?
at the moment I'm working on a new GUI. Also a lot has happened upstream, like the merge of DSi support and the improved direct mode (which makes online multiplayer possible on Switch as well). Also GBA games as a slot-2 peripheral already existed during the last release but this wasn't exposed via the GUI. So my current aim is to get up to date with upstream with the next release (including exposing all features in the GUI) with maybe some more optimisations to GPU2D I've come up with. For the following release I want to finally tackle optimising the rasteriser and geometry submission to get fullspeed in 3d games as well.
 

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,543
Trophies
2
XP
6,975
Country
United Kingdom
Awesome, love this Emulator. Having a blast chipping away at the Castlevania games :)
I may have already asked this but did he Deko3d thing work out? I think I remember seeing you say something about adding Deko3d?
 

catlover007

Developer
OP
Developer
Joined
Oct 23, 2015
Messages
711
Trophies
1
XP
3,547
Country
Germany
Awesome, love this Emulator. Having a blast chipping away at the Castlevania games :)
I may have already asked this but did he Deko3d thing work out? I think I remember seeing you say something about adding Deko3d?
the GUI in the last version was already rendered with deko3d instead of OpenGL/mesa. deko3d has less cpu overhead (though that's pretty minor if you're only rendering two single quad), but it also takes away far less space in the binary (mesa is huge, notice how melonDS binaries shrunk by quite a few megabytes).

I talked a little bit about a potential port of the GL renderer to deko3d, though as I said before at this stage I rather focus on optimising things so as many games as possible run at fullspeed, than focusing on enhancements.
 
  • Like
Reactions: ploggy

Ace88

Well-Known Member
Newcomer
Joined
Oct 20, 2019
Messages
68
Trophies
0
Age
53
XP
204
Country
Germany
@catlover007

i fixed my issue. I put the bios into the wrong folder. I'm using the retroarch version with OC max.

First of all I'd like to thank you for your effort and the great work you've done!

I'd like to ask you some questions and share my experiences on some games I've tried :)

1) Could someone elaborate what the JIT block size / JIT Branch Optimisation / JIT Literal Optimisation does and when does it makes sense, to enable these settings?

2) Is there any general setting recomendation in terms of performance/fps ?

3) Is there an option to play 60fps games in 30 fps, to avoid slow downs?

Here my experiences regarding the performance so far:

  • New Super Mario Bros:
    • Overworld/Cutszenes: 40fps
    • Ingame/lvl: constant 60fps (i hade one issue where i had 72fps and the game was speed up lol)
  • Mario Kart:
    • Menu: constant 60fps
    • Ingame/race: 38-40 fps (not playable)
  • Zelda Phantom hourglasses:
    • Menu/Start Screen/Cutscenes: 38- 60fps
    • gameplay: 45fps
  • Zelda Spirit tracks:
    • Menu/Start Screen/Cutscenes: 38-40 fps
    • gameplay: 30- 40fps
by the way, I will never understand why Nintendo implemented such shity controlls into the zelda games. It's almost impossible to play these games with a controller does anybody know if there's some controlls patch for both Zelda games?
 
Last edited by Ace88,

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,543
Trophies
2
XP
6,975
Country
United Kingdom
the GUI in the last version was already rendered with deko3d instead of OpenGL/mesa. deko3d has less cpu overhead (though that's pretty minor if you're only rendering two single quad), but it also takes away far less space in the binary (mesa is huge, notice how melonDS binaries shrunk by quite a few megabytes).

I talked a little bit about a potential port of the GL renderer to deko3d, though as I said before at this stage I rather focus on optimising things so as many games as possible run at fullspeed, than focusing on enhancements.

No probs, looking forward to the new ui, The Castlevania games so far play almost perfect, just some very minor speed dips every now and then.

--------------------- MERGED ---------------------------

@catlover007

i fixed my issue. I put the bios into the wrong folder. I'm using the retroarch version with OC max.

First of all I'd like to thank you for your effort and the great work you've done!

I'd like to ask you some questions and share my experiences on some games I've tried :)

1) Could someone elaborate what the JIT block size / JIT Branch Optimisation / JIT Literal Optimisation does and when does it makes sense, to enable these settings?

2) Is there any general setting recomendation in terms of performance/fps ?

3) Is there an option to play 60fps games in 30 fps, to avoid slow downs?

Here my experiences regarding the performance so far:

  • New Super Mario Bros:
    • Overworld/Cutszenes: 40fps
    • Ingame/lvl: constant 60fps (i hade one issue where i had 72fps and the game was speed up lol)
  • Mario Kart:
    • Menu: constant 60fps
    • Ingame/race: 38-40 fps (not playable)
  • Zelda Phantom hourglasses:
    • Menu/Start Screen/Cutscenes: 38- 60fps
    • gameplay: 45fps
  • Zelda Spirit tracks:
    • Menu/Start Screen/Cutscenes: 38-40 fps
    • gameplay: 30- 40fps
by the way, I will never understand why Nintendo implemented such shity controlls into the zelda games. It's almost impossible to play these games with a controller does anybody know if there's some controlls patch for both Zelda games?
@catlover007

i fixed my issue. I put the bios into the wrong folder. I'm using the retroarch version with OC max.

First of all I'd like to thank you for your effort and the great work you've done!

I'd like to ask you some questions and share my experiences on some games I've tried :)

1) Could someone elaborate what the JIT block size / JIT Branch Optimisation / JIT Literal Optimisation does and when does it makes sense, to enable these settings?

2) Is there any general setting recomendation in terms of performance/fps ?

3) Is there an option to play 60fps games in 30 fps, to avoid slow downs?

Here my experiences regarding the performance so far:

  • New Super Mario Bros:
    • Overworld/Cutszenes: 40fps
    • Ingame/lvl: constant 60fps (i hade one issue where i had 72fps and the game was speed up lol)
  • Mario Kart:
    • Menu: constant 60fps
    • Ingame/race: 38-40 fps (not playable)
  • Zelda Phantom hourglasses:
    • Menu/Start Screen/Cutscenes: 38- 60fps
    • gameplay: 45fps
  • Zelda Spirit tracks:
    • Menu/Start Screen/Cutscenes: 38-40 fps
    • gameplay: 30- 40fps
by the way, I will never understand why Nintendo implemented such shity controlls into the zelda games. It's almost impossible to play these games with a controller does anybody know if there's some controlls patch for both Zelda games?

There are indeed Patches for both Zelda games to use the dpad instead of touch controls ;)
https://gbatemp.net/threads/legend-of-zelda-spirit-track-d-pad-patch.374773/
https://gbatemp.net/threads/legend-of-zelda-phantom-hourglass-d-pad-patch.375388/
 

catlover007

Developer
OP
Developer
Joined
Oct 23, 2015
Messages
711
Trophies
1
XP
3,547
Country
Germany
i fixed my issue. I put the bios into the wrong folder. I'm using the retroarch version with OC max.

First of all I'd like to thank you for your effort and the great work you've done!
the libretro core is currently one version behind and not maintained by me

1) Could someone elaborate what the JIT block size / JIT Branch Optimisation / JIT Literal Optimisation does and when does it makes sense, to enable these settings?
2) Is there any general setting recomendation in terms of performance/fps ?
What do the Block Size, Branch Optimisations, Literal Optimisations and Fast Memory settings do?

Ideally they can stay enabled/at maximum all the time because they enable optimisations beneficial for the performance. But if there's an issue with the JIT recompiler it can be tracked down faster. Only touch them if something unexpected happens and mention which (if any) setting makes a difference in bug reports.

3) Is there an option to play 60fps games in 30 fps, to avoid slow downs?
no

by the way, I will never understand why Nintendo implemented such shity controlls into the zelda games. It's almost impossible to play these games with a controller does anybody know if there's some controlls patch for both Zelda games?
standalone has the option to use a joycon as a pointer for the touchscreen
 
  • Like
Reactions: Ace88
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Skelletonike @ Skelletonike:
    3h left until work finishes, bah
  • Skelletonike @ Skelletonike:
    link doesn't work
    +2
  • Skelletonike @ Skelletonike:
    1H left, such a slow week.
  • Sonic Angel Knight @ Sonic Angel Knight:
    Okay, I had spaghetti :P
  • SylverReZ @ SylverReZ:
    Hope they made lots of spaget
  • K3N1 @ K3N1:
    Chill dog
  • SylverReZ @ SylverReZ:
    Chilli dog
  • Skelletonike @ Skelletonike:
    Damn, I'm loving the new zelda.
  • xtremegamer @ xtremegamer:
    loving the new zelda, i started a game, it was so fucking good, so i
    am waiting on my friend to get home so we can start a new one together
  • Skelletonike @ Skelletonike:
    I just dislike that they don't let me choose the voices before the game starts. Happened with botw as well, had to change to japanese and restart.
  • K3N1 @ K3N1:
    But the important question is can you choose gender
  • Skelletonike @ Skelletonike:
    Same way you can choose Gerald's gender.
  • Skelletonike @ Skelletonike:
    *Geralt, damn autocorrect.
  • Psionic Roshambo @ Psionic Roshambo:
    But can he be trans? Lol
  • K3N1 @ K3N1:
    Zelda transforms into link
  • Psionic Roshambo @ Psionic Roshambo:
    Link I'm not the princess your looking for.... *Pulls a crying game*
  • K3N1 @ K3N1:
    *skirt up* it's exactly what I always wanted
  • Skelletonike @ Skelletonike:
    Just scanned all my zelda amiibos, took a while but didn't get anything that cool, did get the lon lon ranch hylian fabrics though.
  • Skelletonike @ Skelletonike:
    It was pretty funny when I scanned wolf link and got a shit load of meat.
  • K3N1 @ K3N1:
    @Skelletonike, btw I ran that custom for mgs4 on the deck I'm amazed it got that far in game
  • K3N1 @ K3N1:
    Plug in*
    K3N1 @ K3N1: Plug in*