Homebrew [Release] PicoDrive for 3DS

bubble2k16

Well-Known Member
OP
Member
Joined
Jul 25, 2016
Messages
467
Trophies
0
XP
2,118
Country
Senegal
Tapping left right on D-Pad and circle pad changes menus want it to not do that

Hmm... does it make it more difficult to use the file selector?

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

I think he wants you to have L/R change menus and map what you have X + Up and X + Down to Left and Right on the Dpad and Circlepad, since that is how many Emulator GUIs handle directory navigation.

To add to that, it'd also be wise to not have the bottom loop to the top, and vice versa.
In addition, the B button to bo up a level is a good addition as well.

Oh I see... So L/R should be used for paging? That shouldn't be a problem.
 

brunocar

Well-Known Member
Member
Joined
Aug 14, 2017
Messages
826
Trophies
0
Age
40
XP
2,150
Country
Argentina
Yea... I am really sad that audio can't run at 44.1khz. Even messed around with some codes yesterday hoping that I could optimize it on the 2nd core, but no luck. Some parts of the certain game turn on all channels or turns on LFO (low frequency oscillator) - causing the usage on the 2nd core to spike real high. The fact that the 2nd core can only run at a max of 30% of its full speed sets an low boundary on what we can do.

But is your copy of Contra HC (the patched one) running as 50 or 60 fps? I'm just wondering it could be a timing issue.



I will have to see what the suggestion is. :) What do you have?
pretty sure it was 60, i checked it on every game to see if it wasnt just sonic 2 and sonic 3 complete that suffered from that bug, but nope, if you need me to i can PM you the rom
 

CheatFreak47

Catgirl Expert
Member
Joined
Oct 11, 2011
Messages
1,570
Trophies
2
Age
28
Location
Michigan, USA
XP
2,760
Country
United States
Hmm... does it make it more difficult to use the file selector?

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

Oh I see... So L/R should be used for paging? That shouldn't be a problem.

No no, what I mean is that Left/Right should be used for paging up and down through the directory.
As is you have X + Up and X + Down to this.

The L/R buttons should be used for moving between emulator menus on the top. (which is already what they do)

Related: It seems that your paging doesn't actually "page" properly, instead just jumping ahead to where the next item on the page would be, but without also scrolling the view of what roms are on the screen, resulting in the cursor being at the bottom of the list always when you page down, and at the top of the list always when you page up, which is just a bit different from how it usually works.

An example of a GUI that does this mostly right are the GX emulators on Wii, their directory listings pretty much work as I'm describing.

Edit: And yeah, this is a really nitpicky thing I think. :P
 
Last edited by CheatFreak47,

senkunmusashi

@!#?@!?
Member
Joined
Nov 29, 2017
Messages
108
Trophies
0
XP
108
Country
Netherlands Antilles
i can live with out it as long as the hit restoration patch, but that enhancement patch is really nice, besides, its a really odd bug that may affect other games or romhacks.

I repatched my original clean copy of Contra HC (U) with the Enhancement patch, direct from MiJet's site, and using the ips patcher provided.

It works perfectly without any problems, as does my copy with the Restoration patch, both running at 60fps.

I have not tried applying both the Restoration and Enhancement patches together, which I suspect is where the problem lies. I believe there's nothing wrong with @bubble2k16 's port.
 

brunocar

Well-Known Member
Member
Joined
Aug 14, 2017
Messages
826
Trophies
0
Age
40
XP
2,150
Country
Argentina
I repatched my original clean copy of Contra HC (U) with the Enhancement patch, direct from MiJet's site, and using the ips patcher provided.

It works perfectly without any problems, as does my copy with the Restoration patch, both running at 60fps.

I have not tried applying both the Restoration and Enhancement patches together, which I suspect is where the problem lies. I believe there's nothing wrong with @bubble2k16 's port.
that doesnt make sense, because then why does the exact same rom work on picodrive PSP, picodrive on retroarch 3DS, kega fusion on PC and another one in my phone that i dont rememeber.
pretty sure the problem here is the port
 
D

Deleted User

Guest
that doesnt make sense, because then why does the exact same rom work on picodrive PSP, picodrive on retroarch 3DS, kega fusion on PC and another one in my phone that i dont rememeber.
pretty sure the problem here is the port
Guess you need to be patient then.
 
  • Like
Reactions: senkunmusashi

senkunmusashi

@!#?@!?
Member
Joined
Nov 29, 2017
Messages
108
Trophies
0
XP
108
Country
Netherlands Antilles
Guess you need to be patient then.

That's what I had been subtly trying to hint, that the Dev (and one of the few who not only does stylish brilliant ports, but still supports the O2/3ds) puts precious time refining not only one but four of the best standalone emus available running full speed on the O2/3s, has far better things to do than chase a "bug" caused by double patching one game out of the thousands that work without issue.
 

brunocar

Well-Known Member
Member
Joined
Aug 14, 2017
Messages
826
Trophies
0
Age
40
XP
2,150
Country
Argentina
That's what I had been subtly trying to hint, that the Dev (and one of the few who not only does stylish brilliant ports, but still supports the O2/3ds) puts precious time refining not only one but four of the best standalone emus available running full speed on the O2/3s, has far better things to do than chase a "bug" caused by double patching one game out of the thousands that work without issue.
you do realise that the bug might not be exclusive to this one rom right? it might apply to tons of other rom hacks or even games themselves, i never said i wanted it now, i just said im willing to help in whatever way i can such as by reporting my findings
 

bubble2k16

Well-Known Member
OP
Member
Joined
Jul 25, 2016
Messages
467
Trophies
0
XP
2,118
Country
Senegal
that doesnt make sense, because then why does the exact same rom work on picodrive PSP, picodrive on retroarch 3DS, kega fusion on PC and another one in my phone that i dont rememeber.
pretty sure the problem here is the port

I just tried the Contra HC ROM with the double patch. It also doesn't work on PicoDrive RetroArch's 3DS port too (v1.6.7 build). It freezes immediately after the intro and RetroArch keeps displaying "m68k crash detected" running in an infinite loop. Can you tell me which build of PicoDrive RetroArch's 3DS port works for you?

Let me explain the PicoDrive source codes a little. There are a number of CPU emulator cores built into the source code: Cyclone (written in ARM assembly), FAME, and Musashi. The developer can choose to activate either one of these cores for his PicoDrive port.

In the RetroArch (3DS) version, we use the Cyclone emulator core because it is tailored specifically to the 3DS's ARM processor. But the Cyclone core itself may have some bugs that the original author may not have fixed - that's why this ROM also fails in the RetroArch's version; or maybe it was designed this way to trade-off accuracy versus speed. If this ROM works in an earlier version of RetroArch, then it means the PicoDrive's author may have broken something along the way. We'll probably have to look at past codes to trace the offending codes.

In the PicoDrive PSP version, it's configured to activate the FAME CPU emulator core, which is written in C. Presumably, this is more accurate, but also slower. And presumably, it also plays the Contra HC ROM perfectly. I don't have a PSP so I wouldn't know.
 
Last edited by bubble2k16,

brunocar

Well-Known Member
Member
Joined
Aug 14, 2017
Messages
826
Trophies
0
Age
40
XP
2,150
Country
Argentina
I just tried the Contra HC ROM with the double patch. It also doesn't work on PicoDrive RetroArch's 3DS port too (v1.6.7 build). It freezes immediately after the intro and RetroArch keeps displaying "m68k crash detected" running in an infinite loop. Can you tell me which build of PicoDrive RetroArch's 3DS port works for you?

Let me explain the PicoDrive source codes a little. There are a number of CPU emulator cores built into the source code: Cyclone (written in ARM assembly), FAME, and Musashi. The developer can choose to activate either one of these cores for his PicoDrive port.

In the RetroArch (3DS) version, we use the Cyclone emulator core because it is tailored specifically to the 3DS's ARM processor. But the Cyclone core itself may have some bugs that the original author may not have fixed - that's why this ROM also fails in the RetroArch's version; or maybe it was designed this way to trade-off accuracy versus speed. If this ROM works in an earlier version of RetroArch, then it means the PicoDrive's author may have broken something along the way. We'll probably have to look at past codes to trace the offending codes.

In the PicoDrive PSP version, it's configured to activate the FAME CPU emulator core, which is written in C. Presumably, this is more accurate, but also slower. And presumably, it also plays the Contra HC ROM perfectly. I don't have a PSP so I wouldn't know.
i injected my rom into the retroarch core using asolo's NSUI, i think it was version 24, but 26 is the current public release

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

"Members may NOT ASK and MAY NOT PROVIDE INFORMATION or LINKS for and to places that provide ROM, WAD, ISO and CIA files in absolutely any way on our forum including PM (private message)."
ok ok, i was just trying to help.
 

AlternativeZero

Well-Known Member
Member
Joined
Apr 7, 2017
Messages
250
Trophies
0
XP
817
Country
Ran into this when trying to save and loading a save in Phantasy Star 1 re-translated by SMS Power on the MS, not sure what happened here but if you can look into it then it would be great.
 

Attachments

  • 2018-01-13_00-11-41.003_top.png
    2018-01-13_00-11-41.003_top.png
    1.8 KB · Views: 262
  • 2018-01-13_00-12-29.640_top.png
    2018-01-13_00-12-29.640_top.png
    6.1 KB · Views: 262

CheatFreak47

Catgirl Expert
Member
Joined
Oct 11, 2011
Messages
1,570
Trophies
2
Age
28
Location
Michigan, USA
XP
2,760
Country
United States
Ran into this when trying to save and loading a save in Phantasy Star 1 re-translated by SMS Power on the MS, not sure what happened here but if you can look into it then it would be great.
Picodrive's SMS emulation has a lot of problems to be honest, I'd say if you wanted 3DS SMS emulation, something more accurate like Genesis Plus GX would be more reasonable, which also does Game Gear.

I'm curious what the next emulator @bubble2k16 will adapt for 3DS, hopefully this isn't the last one, I'd love to see him adapt something like Gambatte or GameYob to his fancy Emulator GUI and optimize it in whatever ways he can. :P
 
  • Like
Reactions: brunocar

brunocar

Well-Known Member
Member
Joined
Aug 14, 2017
Messages
826
Trophies
0
Age
40
XP
2,150
Country
Argentina
Picodrive's SMS emulation has a lot of problems to be honest, I'd say if you wanted 3DS SMS emulation, something more accurate like Genesis Plus GX would be more reasonable, which also does Game Gear.

I'm curious what the next emulator @bubble2k16 will adapt for 3DS, hopefully this isn't the last one, I'd love to see him adapt something like Gambatte or GameYob to his fancy Emulator GUI and optimize it in whatever ways he can. :P
yeah, gameyob 3DS is a bit of a mess, with the terrible flickering UI, the bad sound emulation and lack of features present in the DSI build that runs just fine on 3DS
 

bubble2k16

Well-Known Member
OP
Member
Joined
Jul 25, 2016
Messages
467
Trophies
0
XP
2,118
Country
Senegal
No no, what I mean is that Left/Right should be used for paging up and down through the directory.
As is you have X + Up and X + Down to this.

The L/R buttons should be used for moving between emulator menus on the top. (which is already what they do)

Related: It seems that your paging doesn't actually "page" properly, instead just jumping ahead to where the next item on the page would be, but without also scrolling the view of what roms are on the screen, resulting in the cursor being at the bottom of the list always when you page down, and at the top of the list always when you page up, which is just a bit different from how it usually works.

An example of a GUI that does this mostly right are the GX emulators on Wii, their directory listings pretty much work as I'm describing.

Edit: And yeah, this is a really nitpicky thing I think. :P

Just to answer your question here again... I'll probably come back to the UI stuff later, if at all. :D Will try to enable the CD stuff first and do a quick release by end of this week.
 

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
12,136
Trophies
2
XP
32,664
Country
Mexico
Just to answer your question here again... I'll probably come back to the UI stuff later, if at all. :D Will try to enable the CD stuff first and do a quick release by end of this week.
Gave it a quick install yesterday.
I was wondering where does it store its saves and configuration files?
I played Crusader of Centy yesterday a bit but I couldn't find the save file for it.
 
Last edited by ShadowOne333,

zhuwz

Member
Newcomer
Joined
Jan 12, 2018
Messages
23
Trophies
0
Age
33
XP
67
Country
China
please, also add 6 buttons support for temperpce for 3ds. You can add an option to choose the gamepad mode freely, thanks.
 

brunocar

Well-Known Member
Member
Joined
Aug 14, 2017
Messages
826
Trophies
0
Age
40
XP
2,150
Country
Argentina
Noticed a bug. Pressing HOME to go to the HOME Menu, the sound freezes instead of being paused, and top screen goes black, then when exiting the HOME Menu, top screen reappears, but is stuck at the same frame.
that happens with all of bubble's emulators, every single one.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Did you pee in the water