Homebrew RELEASE RandPlayNX, a cute little tool to help you random choose your game to play

mathew77

Lovin' life.
OP
Member
Joined
Jan 19, 2019
Messages
1,190
Trophies
0
Age
47
XP
3,697
Country
Kazakhstan
Quite a some time ago (last year, actually) I asked you guys about how to play a random game from the installed Switch game library. Thank you for your support.

So today, please let me present you a small tool to help you choose a random game to play. I am extremely embarrassed, because it is my first program ever. ^^
Don't know how to run titles via homebrew, err, I mean, the process of choosing the game must be more exciting, so we can do it manually. (:

Github link: https://github.com/JrRadiant/RandPlayNX

randnxplay_0.0.7.jpg

How to use the app:
  • First of all, count all your games at your Switch library. You can do it faster by counting lines at the All Games screen first, then multiple it by 6, adding the additional X<6 games if needed.
  • So, you have 128 games installed for example. (No more than 3000 games, please. ^^)
  • Launch the app, press A.
  • Enter the total amount of your games (128).
  • Maroon is the number of horizontal lines to skip at All Games screen,
  • Yellow number is the number of the actual game to play on the next row.
  • Press B and run your game that was chosen by a Random God! ^_^ (Well, forsooth, it's a rand() seeded by your local timestamp.)

Please write your comments out, need them eagerly!..
 

Attachments

  • RandPlayNX-0.0.9.zip
    811.5 KB · Views: 169
Last edited by mathew77,

TotalJustice

Well-Known Member
Member
Joined
Jan 28, 2017
Messages
445
Trophies
0
Age
26
XP
2,620
Country
United Kingdom
Nice one. If you want to list the games instead of giving a random number, you can use ns functions. Use nsListApplicationRecord() to list all the games into an array of records, then you can use nsGetApplicationControlData() to get useful info about each game such as the name, author, icon etc.

Also to launch a game, you can use appletRequestLaunchApplication() and just pass the app-id of the game.

All these functions are in libnx, you can check the header file for more info on each function.
 

tom2199

Well-Known Member
Member
Joined
Apr 23, 2015
Messages
256
Trophies
0
XP
540
Country
Germany
Nice one. If you want to list the games instead of giving a random number, you can use ns functions. Use nsListApplicationRecord() to list all the games into an array of records, then you can use nsGetApplicationControlData() to get useful info about each game such as the name, author, icon etc.

Also to launch a game, you can use appletRequestLaunchApplication() and just pass the app-id of the game.

All these functions are in libnx, you can check the header file for more info on each function.
That would be a great addition, another one that comes to mind is the ability to filter games, for example just multiplayer games etc. For your first homebrew, very nice! @mathew77
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • The Real Jdbye @ The Real Jdbye:
    well, sonic fans are a whole separate thing from furries
  • The Real Jdbye @ The Real Jdbye:
    like bronys
  • The Real Jdbye @ The Real Jdbye:
    sonic porn is too weird even for me
  • Dumpflam @ Dumpflam:
    bruh
  • Dumpflam @ Dumpflam:
    guys how do i delete a post
  • The Real Jdbye @ The Real Jdbye:
    you don't
  • The Real Jdbye @ The Real Jdbye:
    you can report it and request deletion
  • BakerMan @ BakerMan:
    Also, no, that was his first time having a seizure, and hopefully the last
    +1
  • K3Nv2 @ K3Nv2:
    Ea play raised priced to $6 a month lol
  • BigOnYa @ BigOnYa:
    Same with uremum, she's now $2 a month
    +1
  • K3Nv2 @ K3Nv2:
    Also seizures come and and go they don't have an off switch like that it all depends
  • BakerMan @ BakerMan:
    alright guys, who would win, sonic or goku?
  • BigOnYa @ BigOnYa:
    Knuckles
  • BakerMan @ BakerMan:
    knuckles vs broly could also be a good one tbh
    +1
  • BigOnYa @ BigOnYa:
    Bakerman vs. Wario
  • BigOnYa @ BigOnYa:
    Announcer - "Ok folks we have a good fight today, Bakerman takes on Wario. This should be a good fight. Wait...why is bakerman undressing?"
  • BakerMan @ BakerMan:
    Oh sorry, this is Wario? I thought it was your wife
    +1
  • E @ eenterx:
    hello guys how do i type on forums?
  • E @ eenterx:
    i am the new user
    +1
  • BigOnYa @ BigOnYa:
    I am the Eggman... I am the Walrus...
    +1
  • E @ eenterx:
    oh ok
  • RedColoredStars @ RedColoredStars:
    What does it tell you when you try to type?
  • BakerMan @ BakerMan:
    @BigOnYa speaking of eggmen... eggman for smash
  • RedColoredStars @ RedColoredStars:
    You click where it says "Write your reply..." and start typing? lol
    +1
    RedColoredStars @ RedColoredStars: https://suckmybeatles.com/