LoginLogin

SmileBASIC 4 Discussion「プチコン4」

Root / General / [.]

📌
MZ952Created:
I have a couple questions. I was watching Calc84Maniacs twitch stream and I saw him enter the key for the 3ds Block Dude code. I missed it, where do I click to do that for my own code? I have one answer, I got the 3000 yen card on play Asia. The eshop purchase must have had tax included, I had zero yen left over when I was done. I did have to give them a cell phone number for a verification code over text message which I wasn't fond of. Wouldn't be surprised if single use or refillable cards were blocked. Another question is where are all the folders? I downloaded a few things but see no folders with their code (I can run them just fine). Does creating a new project create a new folder for my own code? Oh, and is there anything like the shoulder button load and save commands? I found Ctrl+S for saving but nothing for loading. Thanks in advance for any help. Sorry one more thing, do we still have the extra editor pages, I am not noticing them, have I overlooked them or are they gone?
You don't have to do anything to enable downloading 3DS projects. afaik SB4 keys are formatted differently, so there will never be any overlap, too. Folders only show up in the Play Menu if they have a MAIN.PRG in them. You can press Minus on any folder to view its contents. I have no idea where Save and Load have gone to, but I do know that if you switch over to the Ctrl tab on the keyboard, you'll get access to the different program slots. Also, dumb change: Ctrl+S saves, Ctrl+L loads??? I guess... I think you can rebind the keys if you do some digging in the settings menu.

Technically, SB4 keys aren't distinguishable from SB3 keys They all have an extra 4 at the beginning, *but* if an SB4 key is 7(+1) chars long, it can end up looking like an SB3 key, since SB3 keys can start with 4.

I have a couple questions. I was watching Calc84Maniacs twitch stream and I saw him enter the key for the 3ds Block Dude code. I missed it, where do I click to do that for my own code? I have one answer, I got the 3000 yen card on play Asia. The eshop purchase must have had tax included, I had zero yen left over when I was done. I did have to give them a cell phone number for a verification code over text message which I wasn't fond of. Wouldn't be surprised if single use or refillable cards were blocked. Another question is where are all the folders? I downloaded a few things but see no folders with their code (I can run them just fine). Does creating a new project create a new folder for my own code? Oh, and is there anything like the shoulder button load and save commands? I found Ctrl+S for saving but nothing for loading. Thanks in advance for any help. Sorry one more thing, do we still have the extra editor pages, I am not noticing them, have I overlooked them or are they gone?
You don't have to do anything to enable downloading 3DS projects. afaik SB4 keys are formatted differently, so there will never be any overlap, too. Folders only show up in the Play Menu if they have a MAIN.PRG in them. You can press Minus on any folder to view its contents. I have no idea where Save and Load have gone to, but I do know that if you switch over to the Ctrl tab on the keyboard, you'll get access to the different program slots. Also, dumb change: Ctrl+S saves, Ctrl+L loads??? I guess... I think you can rebind the keys if you do some digging in the settings menu.
The save button is on the side of the virtual keyboard; the load button is the same one, but you hold shift/L.

I have a couple questions. I was watching Calc84Maniacs twitch stream and I saw him enter the key for the 3ds Block Dude code. I missed it, where do I click to do that for my own code?
In the list of downloadable projects, press the X Button.
Another question is where are all the folders? I downloaded a few things but see no folders with their code (I can run them just fine). Does creating a new project create a new folder for my own code?
When pressing the A Button on a project in the PLAYMENU, it will automatically run MAIN.PRG in that project. To see the actual files in a project, press the - Button.
Oh, and is there anything like the shoulder button load and save commands? I found Ctrl+S for saving but nothing for loading.
It's Ctrl+L to load. Keyboard shortcuts can be configured, so you can set it to Ctrl+O if you prefer that.
Sorry one more thing, do we still have the extra editor pages, I am not noticing them, have I overlooked them or are they gone?
Yes, slots 0-3 can be accessed with Ctrl+1 through Ctrl+4, or via the virtual keyboard in the Ctrl section.

SmileBoom has released an electronic manual. Of course, it's all in Japanese, so it's probably not gonna be very helpful if you can't understand it, but one thing it does contain is a nice diagram showing the scancodes for each key on the USB keyboard, which may be more convenient than other sources when using KEYBOARD. It's available in SB4 using the public key 4EK33XY, as well as in PDF form here. When using the SB4 version, left and right navigates between chapters, and up and down navigates between pages within those chapters.

Also, how did you send the sprites to PC?
Encode sprite graphic into black/white color (just AARRGGBBAARRGGBB color data. I didn't use any compression thingy). Screen capture taken with Nintendo Switch. I used about 140 screen shots for DEFGRP. Copy JPGs to PC (turn off switch first then take out memory card...) Read JPGs(140+ of them) and decode on PC(using some other BASIC language on PC. LOL) Save result to PNG!


Also, how did you send the sprites to PC?
Encode sprite graphic into black/white color (just AARRGGBBAARRGGBB color data. I didn't use any compression thingy). Screen capture taken with Nintendo Switch. I used about 140 screen shots for DEFGRP. Copy JPGs to PC (turn off switch first then take out memory card...) Read JPGs(140+ of them) and decode on PC(using some other BASIC language on PC. LOL) Save result to PNG!
Brilliant, is the black and white only image to guard against jpeg compression artifacts? How compressed are the images? Is each image about 29kb of text? I had a complicated setup involving a raspberry pi with camera module and an IR led in mind. The switch would generate a qr code, the camera module would read it and the ir led would signal when ready for the next code. This sounds far more pleasant. Thanks for all the answers to my questions. Not sure why I didn't try Ctrl+L. The X and + I totally missed. Thanks!

Is each image about 29kb of text?
29 Kilobits is 29 Kilobits, regardless of what that 29 Kilobits contains.

Brilliant, is the black and white only image to guard against jpeg compression artifacts?
Yeah, I'd bet so. I feel like you should be able to do better than 1 bit per pixel though, but it'd probably take some trial and error to find out.
How compressed are the images? Is each image about 29kb of text?
Well, as they mentioned, they didn't compress the original data at all. A GRP file is 2048*2048*32 bits of data (16 MB), and using only black and white pixels, a single screenshot can hold 1280*720*1 bits of data (112.5 KB). If you divide the first number by the second, and round up, it takes 146 screenshots of data to transfer a GRP. That's without any sort of compression, though.

RomFS of SB4 is very interesting. 1. File format is practically the same as SB3, however the magic number changed (0001 -> 0002 in little endian), and the length of usernames increased to 32 characters (still 16 bytes of padding at the end though) 2. DATs and TXTs still have the B and T prefix respectively, however GRPs start with a G and can either be a PNG or a Zlib-compressed int (32 bit) DAT file that stores colors in ARGB8888. 3. DAT files have a different magic (PCBN0004). In save data, you can go into the "f" directory and you'll find project folders. Each project folder has a "META" file, but I have absolutely no idea what's stored in the file since the only files I got had no files downloaded. Thanks to @User1_ for getting me as much info as he was able to get.

META is probably for the project list description/icon/etc.

folks have also reported success with apartment-507 on ebay
I just tried this, it doesn’t work. I have a Visa Gift Card, so I don’t know if that affects anything. I really want to get SmileBASIC 4 though. I even contacted Play-Asia for further assistance. Are there any other options?

folks have also reported success with apartment-507 on ebay
I just tried this, it doesn’t work. I have a Visa Gift Card, so I don’t know if that affects anything. I really want to get SmileBASIC 4 though. I even contacted Play-Asia for further assistance. Are there any other options?
apartment-507 sends a text to the phone number you have in your eBay account within 24 hours. You gotta open that and confirm your account. Then you'll see the code in your email account.

folks have also reported success with apartment-507 on ebay
I just tried this, it doesn’t work. I have a Visa Gift Card, so I don’t know if that affects anything. I really want to get SmileBASIC 4 though. I even contacted Play-Asia for further assistance. Are there any other options?
apartment-507 sends a text to the phone number you have in your eBay account within 24 hours. You gotta open that and confirm your account. Then you'll see the code in your email account.
I tried to purchase to code from them on eBay, but eBay refused the card, possibly because it was an overseas purchase. Visa is known for their fraud protection against overseas purchases.

folks have also reported success with apartment-507 on ebay
I just tried this, it doesn’t work. I have a Visa Gift Card, so I don’t know if that affects anything. I really want to get SmileBASIC 4 though. I even contacted Play-Asia for further assistance. Are there any other options?
apartment-507 sends a text to the phone number you have in your eBay account within 24 hours. You gotta open that and confirm your account. Then you'll see the code in your email account.
I tried to purchase to code from them on eBay, but eBay refused the card, possibly because it was an overseas purchase. Visa is known for their fraud protection against overseas purchases.
You don't have to use eBay Japan to order it, I ordered it from somewhere in the USA and it worked fine for me

folks have also reported success with apartment-507 on ebay
I just tried this, it doesn’t work. I have a Visa Gift Card, so I don’t know if that affects anything. I really want to get SmileBASIC 4 though. I even contacted Play-Asia for further assistance. Are there any other options?
apartment-507 sends a text to the phone number you have in your eBay account within 24 hours. You gotta open that and confirm your account. Then you'll see the code in your email account.
I tried to purchase to code from them on eBay, but eBay refused the card, possibly because it was an overseas purchase. Visa is known for their fraud protection against overseas purchases.
You don't have to use eBay Japan to order it, I ordered it from somewhere in the USA and it worked fine for me
I didn’t use eBay Japan, I used the link you provided. It still didn’t work for me though.

B o w l i n g c u b e

B o w l i n g c u b e
xD

folks have also reported success with apartment-507 on ebay
I just tried this, it doesn’t work. I have a Visa Gift Card, so I don’t know if that affects anything. I really want to get SmileBASIC 4 though. I even contacted Play-Asia for further assistance. Are there any other options?
apartment-507 sends a text to the phone number you have in your eBay account within 24 hours. You gotta open that and confirm your account. Then you'll see the code in your email account.
I tried to purchase to code from them on eBay, but eBay refused the card, possibly because it was an overseas purchase. Visa is known for their fraud protection against overseas purchases.
You don't have to use eBay Japan to order it, I ordered it from somewhere in the USA and it worked fine for me
I didn’t use eBay Japan, I used the link you provided. It still didn’t work for me though.
Okay, so I got it! I had to buy a gift card with my gift card (lol) but it worked using PayPal! I can’t believe it! I’m so excited!