COMPLETED [RELEASE] SDLLopan for Switch - a simple Mahjong Solitaire game

Discussion in 'Switch - Exploits, Custom Firmwares & Soft Mods' started by nop90, Mar 3, 2018.

  1. nop90
    OP

    nop90 GBAtemp Advanced Maniac

    Member
    11
    Jan 11, 2014
    Italy
    Rome
    banner.png

    A classic remake of Linux Lopan (a Mahjong solitaire clone) by Dave Ashley

    Like other Mahjongg games, you try to remove all the pieces. To remove pieces you must select a pair of pieces with the same drawing.

    I made this port to test the touch screen support and the full screen zoom in my libSDL. It's nothing special, but since it's finished I release it.

    The source code of my port is on github (https://github.com/Nop90-Switch/SDLLopan-SWITCH).
    The compiled game is released on github (https://github.com/Nop90-Switch/SDLLopan-SWITCH/releases).

    Changelog

    Ver. 1.0 (03 March 2018)
    - First reelase

    Installation

    Extract the content of the zip in the root of the SD card.

    You can run the game on RyujiNX too: extract the content of the zip in the %%appdata%%\RyuFs\sdmc folder and drag the nro file on Ryujinx.exe.

    Note: on windows the %%appdata%% folder is \Users\[username]\AppData\Roaming


    Commands


    - Touch: select / unselect tiles
    - Left: undo moves
    - Right: redo moves
    - L: change tileset (two available)
    - R: change background
    - X: exit
    - A: reshuffle tiles and start a new game


    Screenshots
    SDLLopan.png
     
    Last edited by nop90, Mar 3, 2018
    ELY_M, Galaxysm, Don Jon and 15 others like this.
  2. Heran Bago

    Heran Bago Where do puyo come from?

    Member
    5
    Nov 6, 2005
    United States
    Foggy California
    Cool! Always good to see more homebrew.

    Small correction on the game's name. This is Taipei, or Mahjong Solitaire.

    [​IMG]


    This is Mahjong:

    [​IMG]


    Traditional Chinese Mahjong and Japanese Riichi are very fun games similar to poker.
     
  3. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    20
    Oct 27, 2002
    France
    Engine room, learning
    thank you for making this game, the switch scene is going nice :)
    too bad I don't have a homebrew capable switch to try.

    Though, I join Heran Bago here, I know the name is largely misuse, but I hoped it would be a "real" mahjong game. these are very rare :(
    they often exist only in japanese, and it would be nice to see one in english one day.

    Not criticizing your work on homebrew, I just hoped someone made a real mahjong :P
     
    Jacklack3, Masterwin and peteruk like this.
  4. nop90
    OP

    nop90 GBAtemp Advanced Maniac

    Member
    11
    Jan 11, 2014
    Italy
    Rome
    If you find a real mahjong game open sourced (eventi noto SDL or c based) i can try a port.

    About not having a real switch, RyujiNX works fine forma homebrew.

    I'm using it too.

    Note: Current ryujinx built has a touch screen bug but there is alrrady a fix under test, so soon will be solved

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

    @Cyan if you can, please change the post title in Mahjong solitaire.

    Already changed it in the OP.
     
    Last edited by nop90, Mar 3, 2018
    ELY_M and Cyan like this.
  5. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    20
    Oct 27, 2002
    France
    Engine room, learning
    I changed the title.

    I tried to find mahjong sources, but didn't find anything in C.
    I found in C#, python/Js (2 players only), in Vala, and in Java, and java (android).
    the 4 players version is not as popular as Solitaire!
     
    Last edited by Cyan, Mar 3, 2018
  6. nop90
    OP

    nop90 GBAtemp Advanced Maniac

    Member
    11
    Jan 11, 2014
    Italy
    Rome
    I'll try to port one of this with net play. It would be great to port on both switch and 3ds. But this seems to be a long tearm goal. Let's she what I can do.
     
  7. Heran Bago

    Heran Bago Where do puyo come from?

    Member
    5
    Nov 6, 2005
    United States
    Foggy California
    A google search for "open source riichi mahjong" brings up a lot, but none of the immediate results are in C. I can't vouch for any of them either.
     
  8. pwsincd

    pwsincd Garage Flower

    Member
    10
    GBAtemp Patron
    pwsincd is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Dec 4, 2011
    Manchester UK
    Masterwin likes this.
  9. Kojote

    Kojote Member

    Newcomer
    1
    Sep 27, 2015
    Australia
    Salzburg
    Thanks for this port :yayswitch:
     
  10. ShadowOne333

    ShadowOne333 GBAtemp Guru

    Member
    16
    Jan 17, 2013
    Mexico
    Oh boy!
    Another good homebrew using SDL!
    Awesome!!!

    Now that SDL on Switch is gaining attention, I would love it for someone to port Wolf4SDL to the Switch.
    :D
     
    lordelan and Masterwin like this.
  11. Masterwin

    Masterwin GBAtemp Fan

    Member
    4
    Jan 7, 2016
    Spain
    Is there any indication when there are no more possible movements?
     
  12. iZenCoderJ9

    iZenCoderJ9 Newbie

    Newcomer
    1
    May 27, 2018
    Spain
    Andalucia,Jaen
    Can you make it compatible to 5.0.2? Thanks!
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice