tiboyce icon indicating copy to clipboard operation
tiboyce copied to clipboard

Ability to launch externally

Open mateoconlechuga opened this issue 6 years ago • 8 comments

It would be great if we could pass an appvar name into the program when it starts, so that way we can run it externally without opening the game selection screen

mateoconlechuga avatar Jul 04 '18 20:07 mateoconlechuga

Any suggestions on how to go about this? Maybe a separate launcher program? Off the top of my head I can't really think of a better way to make sure an argument can't be accidentally passed in during normal usage.

calc84maniac avatar Jul 05 '18 02:07 calc84maniac

Just read the Ans variable as a string is how I would do it :) And then just check if the variable exists and is the proper format

mateoconlechuga avatar Jul 05 '18 06:07 mateoconlechuga

This would be great for shells. Shells could read and display the appvars as a TIBOYCE game,(and check if TIBOY is installed), then launch it via this external access port...

LAX18 avatar Jul 09 '18 02:07 LAX18

I meant to reply to Mateo earlier, but my main problem with this is that when running the launcher normally on the home screen, there's no guarantee that Ans will not be in a state that will launch a game. It's unlikely, sure, but I don't like that possibility.

That was why I had the idea of a special launcher program that takes Ans as an argument, or potentially if the intention is for shell support, allow an interface for launching a game based on the name. Or both, where the launcher in question would make use of that interface.

calc84maniac avatar Jul 09 '18 05:07 calc84maniac

Which is why I said to check if the proper appvar exists... You wouldn't just expect Ans to be valid.

mateoconlechuga avatar Jul 09 '18 05:07 mateoconlechuga

That's not really my point, my point is that there is a possibility that a valid string could be passed in without the user intending to do so. Like I said, it's not very likely, but it's a flaw I don't want to introduce.

calc84maniac avatar Jul 09 '18 05:07 calc84maniac

If each game can be converted into a executable appvar, it's be great because Cesium can run those now.

josheewa avatar Jul 22 '18 21:07 josheewa

I still like the laucher. I would suggest, as Mateo is requesting, a way to open them individually, but not make them their own game.

LAX18 avatar Jul 27 '18 13:07 LAX18