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

Discussion in '3DS - Homebrew Development and Emulators' started by AshleyCummings, Aug 17, 2015.

  1. AshleyCummings
    OP

    AshleyCummings Gamer Girl

    Member
    483
    100
    Dec 14, 2011
    United States
    Simmers Nation


  2. sweis12

    sweis12 GBAtemp Maniac

    Member
    1,240
    512
    Oct 20, 2013
    Saint Kitts and Nevis
    Most DS homebrew has been successfully ported to 3ds. I see no issues with porting this but, you are going to need to find someone who does not mind doing it.
     
  3. AshleyCummings
    OP

    AshleyCummings Gamer Girl

    Member
    483
    100
    Dec 14, 2011
    United States
    Simmers Nation
    I am a newb .... I have no clue how to go about this but really would love to see someone port this I love this and used it on my EX ds way back ..
     
  4. Tigran

    Tigran GBAtemp Advanced Fan

    Member
    946
    447
    Nov 6, 2002
    United States
    Rather have a port of some of the old Digivice games.
     
    Garro and MajinCubyan like this.
  5. nop90

    nop90 GBAtemp Maniac

    Member
    1,351
    2,035
    Jan 11, 2014
    Italy
    Rome
    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.
     
    AshleyCummings and MannCo like this.
  6. AshleyCummings
    OP

    AshleyCummings Gamer Girl

    Member
    483
    100
    Dec 14, 2011
    United States
    Simmers Nation
    OMG that would be a amazing thing !!!! I Thank you ! and I understand it not being a priority I wait happily ^0^
     
  7. Jwiz33

    Jwiz33

    Banned
    2,654
    1,523
    Jun 5, 2014
    United States
    in the illuminati headquar—I have said too much!
    this would be great!
     
  8. nop90

    nop90 GBAtemp Maniac

    Member
    1,351
    2,035
    Jan 11, 2014
    Italy
    Rome
    Preview:

    Pokemini1.png Pokemini2.png

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

    LinkMain111 GBAtemp Regular

    Member
    125
    54
    Jul 21, 2015
    @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.
     
  10. nop90

    nop90 GBAtemp Maniac

    Member
    1,351
    2,035
    Jan 11, 2014
    Italy
    Rome
    Write me and I'll help you if I can.
     
  11. Vague Rant

    Vague Rant Deceptively cute

    Member
    2,050
    414
    Aug 7, 2008
    Melbourne
    Very impressed it's as advanced as this already, but then PokeMini is the perfect candidate for a port; good performance and portability.
     
  12. MannCo

    MannCo GBAtemp Regular

    Member
    139
    78
    Nov 23, 2014
    United States
  13. AshleyCummings
    OP

    AshleyCummings Gamer Girl

    Member
    483
    100
    Dec 14, 2011
    United States
    Simmers Nation
  14. nop90

    nop90 GBAtemp Maniac

    Member
    1,351
    2,035
    Jan 11, 2014
    Italy
    Rome
    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?
     
  15. Vague Rant

    Vague Rant Deceptively cute

    Member
    2,050
    414
    Aug 7, 2008
    Melbourne
    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).
     
  16. AshleyCummings
    OP

    AshleyCummings Gamer Girl

    Member
    483
    100
    Dec 14, 2011
    United States
    Simmers Nation


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

    — Posts automatically merged - Please don't double post! —

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

    [​IMG]
     
  17. Vague Rant

    Vague Rant Deceptively cute

    Member
    2,050
    414
    Aug 7, 2008
    Melbourne
    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.
     
  18. nop90

    nop90 GBAtemp Maniac

    Member
    1,351
    2,035
    Jan 11, 2014
    Italy
    Rome
    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, Aug 28, 2015
    AshleyCummings likes this.
  19. Vague Rant

    Vague Rant Deceptively cute

    Member
    2,050
    414
    Aug 7, 2008
    Melbourne
    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.
     
  20. xXDungeon_CrawlerXx

    xXDungeon_CrawlerXx GBAtemp Maniac

    Member
    1,164
    508
    Jul 29, 2015
    Liverpool
    could you share a precompiled version of it?
    I really want to test it :D