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

SmileBASIC 4 Discussion「プチコン4」

Root / General / [.]

📌
MZ952Created:
LOLLYPOP
what Should we update the site to support SB4 programs (such as adding a new category, new minimum compatible device, etc.)?
Don't quote me on this (haha) but I think Random is working on a new site at the moment so I don't think he'll be adding categories for SB4
He's been working on it for like more than a year and he's not even sure if it'll ever be finished himself.

LOLLYPOP
what Should we update the site to support SB4 programs (such as adding a new category, new minimum compatible device, etc.)?
Don't quote me on this (haha) but I think Random is working on a new site at the moment so I don't think he'll be adding categories for SB4
He's been working on it for like more than a year and he's not even sure if it'll ever be finished himself.
From what I heard he's trying to get an MVP with chat ready for SB4 but it'll be another week or so

Another program: https://gist.githubusercontent.com/12Me21/1ef203dafbafcdbfe83c8c962cfb7895/raw/0223ba0873c3cb6d5932c85ca03aa4cc661e2ef8/sb4%2520whatever.txt Apparently you can use underscores in number literals:
CONST #UIST_SKEY    =&B000_00000_00_00_0_001 'SOFTKEY
CONST #UIST_HELP    =&B000_00000_00_00_0_010 'HELP
CONST #UIST_CMPL    =&B000_00000_00_00_0_100 'CMPL
EDIT: apparently just binary/hex (thanks perska)

Just a quick tip, the Google Translate app has a feature that allows you to take pictures and then select text in the image and translate it. I've been using this to help figure out what some of the buttons do. The translations can be pretty rough, but usually are good enough to figure out what the button does.

Another program: https://gist.githubusercontent.com/12Me21/1ef203dafbafcdbfe83c8c962cfb7895/raw/0223ba0873c3cb6d5932c85ca03aa4cc661e2ef8/sb4%2520whatever.txt Apparently you can use underscores in number literals:
CONST #UIST_SKEY    =&B000_00000_00_00_0_001 'SOFTKEY
CONST #UIST_HELP    =&B000_00000_00_00_0_010 'HELP
CONST #UIST_CMPL    =&B000_00000_00_00_0_100 'CMPL
EDIT: apparently just binary/hex (thanks perska)
#CK_FOCUS_MAIN, #CK_FOCUS_SUB
These two enums seems to suggest there IS a way to control where focus goes directly, but I can't find where they're used in the code. They might not be.

Just a quick tip, the Google Translate app has a feature that allows you to take pictures and then select text in the image and translate it. I've been using this to help figure out what some of the buttons do. The translations can be pretty rough, but usually are good enough to figure out what the button does.
I’m going to hold off buying the game until the English version releases.

Just a quick tip, the Google Translate app has a feature that allows you to take pictures and then select text in the image and translate it. I've been using this to help figure out what some of the buttons do. The translations can be pretty rough, but usually are good enough to figure out what the button does.
I’m going to hold off buying the game until the English version releases.
See you in 3 years, then

Just a quick tip, the Google Translate app has a feature that allows you to take pictures and then select text in the image and translate it. I've been using this to help figure out what some of the buttons do. The translations can be pretty rough, but usually are good enough to figure out what the button does.
I’m going to hold off buying the game until the English version releases.
See you in 3 years, then
K rip Wait for real or is this a joke

"3 years" is a joke, since we don't know how long it'll take, but work on the English translation hasn't even started yet, so it'll be a while. If it's anything like last time it'll take about a year. It actually did take three years to come over to PAL regions, but that was because of difficulty getting NoE to approve it IIRC. I doubt that'll happen again now that they've already gotten SB3 through.

"3 years" is a joke, since we don't know how long it'll take, but work on the English translation hasn't even started yet, so it'll be a while. If it's anything like last time it'll take about a year. It actually did take three years to come over to PAL regions, but that was because of difficulty getting NoE to approve it IIRC. I doubt that'll happen again now that they've already gotten SB3 through.
Thank god lol

Any way to transfer graphics pages from SB3 to 4? So far my attempts to load graphics from my earlier projects have been fruitless.

Any way to transfer graphics pages from SB3 to 4? So far my attempts to load graphics from my earlier projects have been fruitless.
Did you try uploading a project with the GRPs to the SmileBASIC server and then downloading them onto the Switch?

Any way to transfer graphics pages from SB3 to 4? So far my attempts to load graphics from my earlier projects have been fruitless.
Did you try uploading a project with the GRPs to the SmileBASIC server and then downloading them onto the Switch?
Yup, that's what I tried. Unfortunately it seems like SB4 uses a completely different format, and only sees the SB3 graphic files as data files. The built in graphics tool won't open them, and I can't seem to load them (At least using the same loading commands as in SB3). If it's not possible natively, I'm hoping someone will make a program for converting SB3 graphic files to SB4 graphic files. Should be possible if someone knows how to properly load the data.

How about GSAVEing the whole graphics screen and then using whatever GLOAD equivalent there is in SB4? If not, then just write your own GLOAD function.
FOR I=0 TO 512*512-1
 X=I MOD 512
 Y=I DIV 512
 GPSET X,Y,A[I]
NEXT I
Something like that, where A is the GSAVEd array containing the unconverted color data. (Wait, SB4 has 32 bit color, so... not unconverted?? I'll let someone else figure this out lol)

Convert GRPs with:
LOADG "DAT:SB3GRP",0
SAVEG "GRP:SB4GRP",0

Convert GRPs with:
LOADG "DAT:SB3GRP",0
SAVEG "GRP:SB4GRP",0
Yeah it really is that simple. This is how I converted the classic fonts to the new format.

Convert GRPs with:
LOADG "DAT:SB3GRP",0
SAVEG "GRP:SB4GRP",0
Thanks, that's exactly what I needed!

I bought this but I've never programmed in basic or made games before. Does anyone know if there are any Japanese sites I should look at in terms of a community/tutorials? I speak/read Japanese but figured I'd ask here before I just start randomly checking out sites.


I've checked out the Japanese news of SmileBASIC 4 from Nintendo on the Switch. I can't wait to check it out! I do have SmileBASIC on my 3DS, however. I have a Japanese Nintendo account on the Switch. Anyways, is SmileBASIC 4 released in Japan yet or is it delayed?