LoginLogin
Nintendo shutting down 3DS + Wii U online services, see our post

Using external websites for programs

Root / General / [.]

DevinF06Created:
When you think about it, it's not really a bad idea. You could use some external site (Most likely Google Sites) to hold some info that will probably be updated (Program keys, update pakages, homepages, ect.) in Base64 to be used in SB.

What do you mean? Could you explain in more detail?

Random examples:
  • Storing the latest program key for the program itself
  • The Homepage of something
  • Some code that will do stuff
  • Anything else
And SB will tell you to go the website and wait for input
LINK$ = "https://sites.google.com/view/arandomsite/subpage/"

PRINT "Visit " + LINK$ + "page15"
PRINT ""
INPUT "Data from website:";OUT$

Random examples:
  • Storing the latest program key for the program itself
  • The Homepage of something
  • Some code that will do stuff
  • Anything else
And SB will tell you to go the website and wait for input
LINK$ = "https://sites.google.com/view/arandomsite/subpage/"

PRINT "Visit " + LINK$ + "page15"
PRINT ""
INPUT "Data from website:";OUT$
This can be done in the Pi version of SmileBASIC (albeit with different syntax, I think), but itโ€™s not available, nor will be added for other versions of SmileBASIC due to security concerns. Hereโ€™s a link from the reference manual about it: https://app.smileboom.com/pistarter/wiki/doku.php?id=reference:ใƒใƒƒใƒˆใƒฏใƒผใ‚ฏ

I don't think they mean having SmileBASIC itself access a website. (I think the url tags were put there by accident.) I think they're saying you should have an URL in your program which users would visit on their computer, and that website would have Base64 data that you'd then hand-type into the program, which would then be used to patch itself. That's probably going to be way too much data to type in manually though. Just having a URL in your program to tell people where the latest key is would be a lot more practical.

You could try to use a url shortener or something like that