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,228
Trophies
1
Age
47
XP
3,787
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: 175
Last edited by mathew77,

TotalJustice

Well-Known Member
Member
Joined
Jan 28, 2017
Messages
445
Trophies
0
Age
26
XP
2,664
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
550
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
    Psionic Roshambo @ Psionic Roshambo: https://images.app.goo.gl/wgUkDBd2rbpscJAF9 +1