Homebrew A way to port the PokeMini emulator to 3ds homebrew?

nop90

Well-Known Member
Member
Joined
Jan 11, 2014
Messages
1,556
Trophies
0
Location
Rome
XP
3,136
Country
Italy
Should not be hard to port the sdl version to 3ds except for sound.

I'm doing this kind of work with Handy and when I back home from holidays I could check if the code is reusable.

But don't expect this became a priority project, I have to implement sound on Handy first.
 

nop90

Well-Known Member
Member
Joined
Jan 11, 2014
Messages
1,556
Trophies
0
Location
Rome
XP
3,136
Country
Italy
Preview:

Pokemini1.png
Pokemini2.png


But there is a lot of work to do before a release ...
 

LinkMain111

Well-Known Member
Member
Joined
Jul 21, 2015
Messages
125
Trophies
0
Age
27
XP
219
Country
@nop90 Would you mind if I PM you some questions on how to get started. I have followed the tutorial up to the 'Hello Pixel' which is incomplete.
 

nop90

Well-Known Member
Member
Joined
Jan 11, 2014
Messages
1,556
Trophies
0
Location
Rome
XP
3,136
Country
Italy
Fixed key handlings and I'm fighting with screen resolution, but I'll win. Than I'll fix sound.

But can't understand if that pink color is normal or is a bad mapping from the internal 16 bit RGB screen and the RGBA8 of the 3DS screen. The images should be white because Pokemon Mini is a monocolor LCD, isn't it?
 

Vague Rant

Deceptively cute
Member
Joined
Aug 7, 2008
Messages
2,464
Trophies
2
Location
Melbourne
Website
vaguerant.tumblr.com
XP
3,316
Country
Looks like bad mapping, the menu is wrong too. From memory, all that red text is supposed to be yellow, i.e. it's equal part green. It looks like the green channel is missing entirely, hence the magenta tinge (everything is made of red and blue).
 

AshleyCummings

Gamer Girl
OP
Member
Joined
Dec 14, 2011
Messages
545
Trophies
1
Age
36
Location
My own world
XP
430
Country
United States


this looks the same on pc and android but this was the only good video I could find to help show u the look

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

there are different modes so maybe its stuck in one of them?

Capture.png
 

Vague Rant

Deceptively cute
Member
Joined
Aug 7, 2008
Messages
2,464
Trophies
2
Location
Melbourne
Website
vaguerant.tumblr.com
XP
3,316
Country
Those are settings for how the emulated Pokemon mini screen should look; like how when you play Game Boy games you might have to decide between greenscale and greyscale coloring. They don't make the emulator itself lose one color channel as is occurring for nop90. With some rudimentary color theory you can tell that green is what's missing from nop90's screenshots. Everything that's magenta-tinged is supposed to be grey (equal parts RGB but only getting R_B), the red text is supposed to be yellow (intended RG_, receiving R__), the blue text at top left ("Main Menu" in nop90's, "Options" in your shot) is supposed to be cyan (equal parts _GB, receiving __B). The one thing everything has in common is: it's missing green.
 

nop90

Well-Known Member
Member
Joined
Jan 11, 2014
Messages
1,556
Trophies
0
Location
Rome
XP
3,136
Country
Italy
Almost fixed.

The screen offset was bytes instead of pixels and the alpha channel was missing. I understood this when aligned the offset and nothing was rendered.

I corrected the 4 byte alignement and forced the alpha channel to 0xff (in a tricky and very ugly way for the moment).

The Color channels are inverted but colors are swapped only in the menu because the games are black and white, so it's not a big problem.

Also scaled up the 3x3 screen to fullscreen with sf2dlib, but I'm thinking to render to a 4x4 screen and scale down of 16 pixels to fit the screen, this way I have a better resolution on the menu.

Everything else is working fine, so I can now implement sound.

Pokemini3.png
 
Last edited by nop90,
  • Like
Reactions: AshleyCummings

Vague Rant

Deceptively cute
Member
Joined
Aug 7, 2008
Messages
2,464
Trophies
2
Location
Melbourne
Website
vaguerant.tumblr.com
XP
3,316
Country
The Pokemon mini itself is monochrome, but PokeMini is extremely flexible about how it will make the screen look, with red, blue, pink, etc. palettes. Those will generally be wrong for now--green- and grey-based palettes should be OK, assuming they're using the inverted red and blue in equal volume.

If possible, could the 4* and sf3dlib scaling be optional? Being able to get back to that raw 3* integer scale would sure be nice.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • AncientBoi @ AncientBoi:
    ooowwww a new way for me to beat NFS 510 :D @SylverReZ
    +1
  • SylverReZ @ SylverReZ:
    @AncientBoi, Yeah, believe you can do PSP games as well. But a Pi5 is much powerful in comparison.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Not sure about other models of Pi4 but the Pi 4 B with 8GBs OCed to 2Ghz handles PSP really great except like 1 game I found and it is playable it just looks bad lol Motor Storm Arctic something or other.
  • Psionic Roshambo @ Psionic Roshambo:
    Other games I can have turned up to like 2X and all kinds of enhancements, Motorstorm hmmm nope 1X and no enhancements lol
  • Veho @ Veho:
    Waiting for Anbernic's rg[whatever]SP price announcement, gimme.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I will admit that one does seem more interesting than the usual Ambernic ones, and I already liked those.
  • Veho @ Veho:
    I dread the price point.
    +1
  • Veho @ Veho:
    This looks like one of their premium models, so... $150 :glare:
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    To me that seems reasonable.
  • Psionic Roshambo @ Psionic Roshambo:
    I mean since basically all the games are errmmm free lol
  • Veho @ Veho:
    I mean yeah sure but the specs are the same as a $50 model, it's just those pesky "quality of life" things driving up the price, like an actually working speaker, or buttons that don't melt, and stuff like that.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I think all in my Pi 4 was well north of 200 bucks 150ish for the Pi 4 the case the fancy cooler, then like 70 for the 500GB MicroSD then like 70 for the Xbox controller. But honestly it's a nice set up I really enjoy and to me was worth every penny. (even bought more controllers for 2 or 4 player games.) hmmm have never played any 2 player games yet :(
  • Veho @ Veho:
    Yeah that's what I hate about the RPi, it's supposedly $30 or something but it takes an additional $200 of accessories to actually turn it into a working something.
  • Psionic Roshambo @ Psionic Roshambo:
    yes that's the expensive part lol
  • Veho @ Veho:
    I mean sure it's flexible and stuff but so is uremum but it's fiddly.
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah a lot of it I consider a hobby, using Batocera I am constantly adjusting the collection adding and removing stuff, scraping the artwork. Haven't even started on some music for the theme... Also way down the road I am considering attempting to do a WiiFlow knock off lol
  • Veho @ Veho:
    I want everything served on a plate plz ktnx, "work" is too much work for me.
  • Veho @ Veho:
    Hmm, with that in mind, maybe a complete out-the-box solution with all the games collected, pacthed and optimized for me would be worth $150 :unsure:
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah it's all choice and that's a good thing :)
  • Bunjolio @ Bunjolio:
    animal crossing new leaf 11pm music
  • Bunjolio @ Bunjolio:
    avatars-kKKZnC8XiW7HEUw0-KdJMsw-t1080x1080.jpg
    wokey d pronouns
  • SylverReZ @ SylverReZ:
    What its like to do online shopping in 1998: https://www.youtube.com/watch?v=vwag5XE8oJo
    SylverReZ @ SylverReZ: What its like to do online shopping in 1998: https://www.youtube.com/watch?v=vwag5XE8oJo