? The "SB Download Station Project" (Page 4) ● SmileBASIC Source Forums

Sign In

Register
*Usernames are case-sensitive
Forgot my password

Migrating to a new website for SmileBASIC 4

The "SB Download Station Project"

1 2 3 4
  • #61 ✎ 39 splapoon
    I just added a painting application I created as an example. I'm a bit new to github and joined 2 weeks ago.
    Nice! Maybe I should improve my wording in the readme but I'll update the project list prjlist.txt every Saturday (school eats away any other day) before 8PM CET. You will be able to see the download menu in action in ~3 days when I release the next 3DSX/CIA version. Please try the in-app updater first though, so I can improve it, when needed. EDIT: If my internet provider f's my plan, then I'm sorry!
    I could update it everyday.
    Posted Edited by splapoon
  • #62 ✎ 562 HTV04 Forum Leader Hidden Achievements Third Year My account is over 3 years old Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength
    Nice! Maybe I should improve my wording in the readme but I'll update the project list prjlist.txt every Saturday (school eats away any other day) before 8PM CET. You will be able to see the download menu in action in ~3 days when I release the next 3DSX/CIA version. Please try the in-app updater first though, so I can improve it, when needed. EDIT: If my internet provider f's my plan, then I'm sorry!
    Thanks for making this a reality, CY! Just one question. In case we get to release the final version of SB3 Download Station, is it possible to make the Download Station for SB4? Because im planning to make a download station for SB4 too, but not right now.
    It would probably have to be rewritten, not only because we would have to adjust it to write to SB4's save data, but also because a lot of the code it uses is based off of other, bigger 3DS projects.
    Posted
  • #63 ✎ 39 splapoon
    Nice! Maybe I should improve my wording in the readme but I'll update the project list prjlist.txt every Saturday (school eats away any other day) before 8PM CET. You will be able to see the download menu in action in ~3 days when I release the next 3DSX/CIA version. Please try the in-app updater first though, so I can improve it, when needed. EDIT: If my internet provider f's my plan, then I'm sorry!
    Thanks for making this a reality, CY! Just one question. In case we get to release the final version of SB3 Download Station, is it possible to make the Download Station for SB4? Because im planning to make a download station for SB4 too, but not right now.
    Actually, most code would not. Maybe controls etc. It would probably have to be rewritten, not only because we would have to adjust it to write to SB4's save data, but also because a lot of the code it uses is based off of other, bigger 3DS projects.
    Posted
  • #64 ✎ 372 CyberYoshi64 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Second Year My account is over 2 years old Website Night Person I like the quiet night and sleep late. Express Yourself
    Thanks for making this a reality, CY! Just one question. In case we get to release the final version of SB3 Download Station, is it possible to make the Download Station for SB4? Because im planning to make a download station for SB4 too, but not right now.
    Uh... unfortunately, I don't have a hacked Switch and won't be able to get one any time soon. Theoratically, it might be extremely similar to SB3 though.
    Posted
  • #65 ✎ 39 splapoon @CY64 I want to add this project to the repo, it's basicaly a easter egg from homestar runners called clapping party and mystman made it on sb. But the key got removed and you can't get it anymore. That was until I discovered SBAPI cached it. Posted
  • #66 ✎ 562 HTV04 Forum Leader Hidden Achievements Third Year My account is over 3 years old Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength
    @CY64 I want to add this project to the repo, it's basicaly a easter egg from homestar runners called clapping party and mystman made it on sb. But the key got removed and you can't get it anymore. That was until I discovered SBAPI cached it.
    I'm pretty sure it's still available, but I'd have to double check. SBAPI reports the key "BDDXVKKE" as available, though. Anyway, I think the repo is meant for original projects, iirc
    Posted Edited by HTV04
  • #67 ✎ 464 the_squat1115 First Year My account is over 1 year old Website Forum Contributor Hidden Achievements Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength
    @CY64 I want to add this project to the repo, it's basicaly a easter egg from homestar runners called clapping party and mystman made it on sb. But the key got removed and you can't get it anymore. That was until I discovered SBAPI cached it.
    I'm pretty sure it's still available, but I'd have to double check. SBAPI reports the key "BDDXVKKE" as available, though. Anyway, I think the repo is meant for original projects, iirc
    If its for secret demos, you can definitely do it. We just need a way to hide the game from anyone that wants to download it without entering a secret code... And button combinations.
    Posted Edited by the_squat1115
  • #68 ✎ 39 splapoon
    Please don't abuse this to delete or corrupt projects that you haven't created yourself, unless there's a reason (takedown notice, etc.).
    EDIT: Turns out he reuploaded with a nice notice at the beginning, so it's still there. But a alot of people think it's dead.
    Posted Edited by splapoon
  • #69 ✎ 372 CyberYoshi64 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Second Year My account is over 2 years old Website Night Person I like the quiet night and sleep late. Express Yourself
    If its for secret demos, you can definitely do it. We just need a way to hide the game from anyone that wants to download it without entering a secret code... And button combinations.
    I could add a special flag to the prjlist, so games show up differently or not at all. Maybe even that to include tags, like "Beta", "Cancelled", etc.
    Anyway, I think the repo is meant for original projects, iirc
    Well, yes. I'd only like original projects, such as games, tools, and demos of them. Note: Project MUST NOT be over 20MB big but they can, if resources taking up that much are necessary for the project. (I may compress GRPs and DATs if my local disk space is getting too low, since my repos (including the download repo) are mirrored on my hard disk too.)
    Posted
  • #70 ✎ 464 the_squat1115 First Year My account is over 1 year old Website Forum Contributor Hidden Achievements Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength
    If its for secret demos, you can definitely do it. We just need a way to hide the game from anyone that wants to download it without entering a secret code... And button combinations.
    I could add a special flag to the prjlist, so games show up differently or not at all. Maybe even that to include tags, like "Beta", "Cancelled", etc.
    Yeah. We could do that to preserve demos from cancelled games so people can play it even if the final version was canned.
    Posted
  • #71 ✎ 39 splapoon Which button are we supposed to press? all 3 buttons fail to do anything. It try's to download a cia, but freezes on the latest fw.(11.13) Loads for 1 second, then crashes. Says to reboot your 3DS,Asks you why your still here and then says something in german. Posted Edited by splapoon
  • #72 ✎ 372 CyberYoshi64 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Second Year My account is over 2 years old Website Night Person I like the quiet night and sleep late. Express Yourself Oh, looks like I hit a massive brick during the making of the download menu. Turns out, that C2D_SpriteSheets can only accommodate so many PNGs before crashing everything when releasing them during app exit. I only got to 20 icons before it started to crash. How am I supposed to load project icons now? - Maybe instead of a t3x, replace it with a list of the icons and use libPNG to draw instead (I have no clue, how to do it practically but I'd like this option) - Only allow projects to use specific icons (which may be boring to scroll through) - Limit selection to use 20 icons at once and load different t3xs, depending on page number (No sorting or filtering will be possible) Posted
  • #73 ✎ 372 CyberYoshi64 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Second Year My account is over 2 years old Website Night Person I like the quiet night and sleep late. Express Yourself
    Which button are we supposed to press? all 3 buttons fail to do anything. It try's to download a cia, but freezes on the latest fw.(11.13) Loads for 1 second, then crashes. Says to reboot your 3DS,Asks you why your still here and then says something in german.
    That's weird. The first two buttons work fine on me though. The third button doing that is intended for now since I wanted to test a thread function that draws the wait icon and even pieces of text. EDIT: This works on my New2DS, my O2DS and my sisters' 2DSs.
    Posted Edited by CyberYoshi64
  • #74 ✎ 39 splapoon
    Which button are we supposed to press? all 3 buttons fail to do anything. It try's to download a cia, but freezes on the latest fw.(11.13) Loads for 1 second, then crashes. Says to reboot your 3DS,Asks you why your still here and then says something in german.
    That's weird. The first two buttons work fine on me though. The third button doing that is intended for now since I wanted to test a thread function that draws the wait icon and even pieces of text. EDIT: This works on my New2DS, my O2DS and my sisters' 2DSs.
    It doesn't work for me and I'm using a N3DS XL.
    Posted
  • #75 ✎ 39 splapoon
    Oh, looks like I hit a massive brick during the making of the download menu. Turns out, that C2D_SpriteSheets can only accommodate so many PNGs before crashing everything when releasing them during app exit. I only got to 20 icons before it started to crash. How am I supposed to load project icons now? - Maybe instead of a t3x, replace it with a list of the icons and use libPNG to draw instead (I have no clue, how to do it practically but I'd like this option) - Only allow projects to use specific icons (which may be boring to scroll through) - Limit selection to use 20 icons at once and load different t3xs, depending on page number (No sorting or filtering will be possible)
    I know how! Just use a single Sprite sheet containing all. Use this https://www.codeandweb.com/free-sprite-sheet-packer
    Posted
  • #76 ✎ 372 CyberYoshi64 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Second Year My account is over 2 years old Website Night Person I like the quiet night and sleep late. Express Yourself
    I know how! Just use a single Sprite sheet containing all. Use this https://www.codeandweb.com/free-sprite-sheet-packer
    Citro2D sheets don't really work like PNG sheets. They are encoded as Tex3DS, not PNG. I put all assets in a PNG as spritesheet, but Citro2D doesn't seem to support reading arbitrary positions in the sheet (or the sprite that contains everything). Having every PNG sprite (assets and project icons) in one sheet still crashes when exiting the app. Also, Citro2D will slow down the 3DS if the top-left of the texture is beyond the screenborders or cause the texture to vanish. No, something like GCOPY doesn't exist for Citro2D unless I code one on my own. I cannot read the RGB values of the pixels. I cannot find any function that would do it easily. I have to either code my own sprite and display manager routines (and ditch Citro2D from that) I'd have to use SmileBASIC's or a custom font to draw instead. The graphics have to be rendered per-pixel as well. The issue will then be speed, since I'd use rectangles/lines to draw each pixel. Using threads may help but the app won't run as fast anymore, as it did before. Complexity of my code would also increase extremely.I'd have to use JS to generate the spritesheet and fonts byte-packed and store it in RomFS since I don't want my app to be gigantic in size. Graphics would be kept as RGB565 + A8, fonts only A8. I have thought about using SmileBASIC's font, since... y'know... it's a project downloader for SB3, right? or try libPNG and see, if it won't crash. EDIT: I may have found a fix for an issue I faced: If you managed to open the download menu, you'll see garbled mess in the description of the first project in the list. The garbled text should say "サカキバラUI". This is likely because of the UTF-8 encoding messing with non-ASCII characters. Encode the prjlist.txt in UTF-16 and tell the 3DS to use 2 bytes to form a character instead of one.
    Posted Edited by CyberYoshi64
  • #77 ✎ 39 splapoon
    I know how! Just use a single Sprite sheet containing all. Use this https://www.codeandweb.com/free-sprite-sheet-packer
    Citro2D sheets don't really work like PNG sheets. They are encoded as Tex3DS, not PNG. I put all assets in a PNG as spritesheet, but Citro2D doesn't seem to support reading arbitrary positions in the sheet (or the sprite that contains everything). Having every PNG sprite (assets and project icons) in one sheet still crashes when exiting the app. Also, Citro2D will slow down the 3DS if the top-left of the texture is beyond the screenborders or cause the texture to vanish. No, something like GCOPY doesn't exist for Citro2D unless I code one on my own. I cannot read the RGB values of the pixels. I cannot find any function that would do it easily. I have to either code my own sprite and display manager routines (and ditch Citro2D from that) I'd have to use SmileBASIC's or a custom font to draw instead. The graphics have to be rendered per-pixel as well. The issue will then be speed, since I'd use rectangles/lines to draw each pixel. Using threads may help but the app won't run as fast anymore, as it did before. Complexity of my code would also increase extremely.I'd have to use JS to generate the spritesheet and fonts byte-packed and store it in RomFS since I don't want my app to be gigantic in size. Graphics would be kept as RGB565 + A8, fonts only A8. I have thought about using SmileBASIC's font, since... y'know... it's a project downloader for SB3, right? or try libPNG and see, if it won't crash. EDIT: I may have found a fix for an issue I faced: If you managed to open the download menu, you'll see garbled mess in the description of the first project in the list. The garbled text should say "サカキバラUI". This is likely because of the UTF-8 encoding messing with non-ASCII characters. Encode the prjlist.txt in UTF-16 and tell the 3DS to use 2 bytes to form a character instead of one.
    for libbpng use this https://www.nongnu.org/pngpp/ EDIT: for 2 issue with japan chars, and https://stackoverflow.com/questions/49727145/japan-character-bytes-length
    Posted Edited by splapoon
  • #78 ✎ 372 CyberYoshi64 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Second Year My account is over 2 years old Website Night Person I like the quiet night and sleep late. Express Yourself
    for libbpng use this https://www.nongnu.org/pngpp/ EDIT: for 2 issue with japan chars, and https://stackoverflow.com/questions/49727145/japan-character-bytes-length
    Uuh... I just used UTF-16 encoding and use sprintf with %lc to manage to draw japanese chars. I have yet to figure out, how to load into memory and draw them afterwards. I think I'll experiment with using a byte-packed image list. I'm getting slight nightmares by looking at the header and source code of libPNG.
    Posted
  • #79 ✎ 39 splapoon
    for libbpng use this https://www.nongnu.org/pngpp/ EDIT: for 2 issue with japan chars, and https://stackoverflow.com/questions/49727145/japan-character-bytes-length
    Uuh... I just used UTF-16 encoding and use sprintf with %lc to manage to draw japanese chars. I have yet to figure out, how to load into memory and draw them afterwards. I think I'll experiment with using a byte-packed image list. I'm getting slight nightmares by looking at the header and source code of libPNG.
    The download menu looks cool. I wonder what it looks like with the second tech demo I'm adding.
    Posted Edited by splapoon
1 2 3 4