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

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,

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
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
 

nop90

Well-Known Member
OP
Member
Joined
Jan 11, 2014
Messages
1,556
Trophies
0
Location
Rome
XP
3,136
Country
Italy
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
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

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

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

Already changed it in the OP.
 
Last edited by nop90,
  • Like
Reactions: ELY_M and Cyan

nop90

Well-Known Member
OP
Member
Joined
Jan 11, 2014
Messages
1,556
Trophies
0
Location
Rome
XP
3,136
Country
Italy
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 real one is not as popular as Solitaire!
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.
 

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