? SmileNet 2.0 Is maybe happening soon (Don't burn me if it doesn't) (Page 2) ● SmileBASIC Source Forums

Sign In

Register
*Usernames are case-sensitive
Forgot my password

SmileNet 2.0 Is maybe happening soon (Don't burn me if it doesn't)

1 2 3
  • #21 ✎ 203 JustGreat First Month Joined in the very first month of SmileBASIC Source Website Avatar Taboo I didn't change my avatar for 180 days Website Night Person I like the quiet night and sleep late. Express Yourself Sounds amazing! People better get on developing for this once it's done. Posted
  • #22 ✎ 171 CoinzReturns
    Sounds amazing! People better get on developing for this once it's done.
    I'm nearing the end of the early stages and getting to the more technical aspect. Right now I am worrying about New Nintendo 3ds compatibility and trying to work towards making it work on all 3ds models.
    Posted
  • #23 ✎ 54 dfrost2 Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Minecraft Is Awesome! I love Minecraft! Express Yourself You should make an HTML language Posted
  • #24 ✎ 171 CoinzReturns
    You should make an HTML language
    We've discussed how hard it would be to port full html language support into SmileBasic. It's not going to happen. With SmileNet 2.0 though, it will be documented fully on how it works and why. That will allow us to fully blow SmileBasic open networking wise, and if someone ELSE wants to figure out how to utilize what SmileNet provides for an html viewer/parser then they can feel free to go right ahead, there is technically nothing stopping a pc-side application from sending the html data from a page request into SmileBasic as array data, and nothing stopping a user from making SmileBasic parse that data. I would reccomend importing a full html web page into a file in SmileBasic first, and trying to parse it that way it's already working. Then it's just a matter of feeding the data into the parser from a DIFFERENT source, than say, the projects/files that SB can access. For info on how to get files into SB , look at petitmodem or SBFileManager. You certainly won't be typing advanced html by hand into SmileBasic.
    Posted
  • #25 ✎ 142 MZ952 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Drawing I like to draw! Hobbies Reading I like to read books! Hobbies Will there be Net Neutrality? Posted
  • #26 ✎ 171 CoinzReturns
    Will there be Net Neutrality?
    Depends if it influences your ability to run p2p like applications or not. and connect directly to servers using programs (not web browsers) I'm going to go out on a limb and say no effect for now but don't quote me and also, it depends on your ISP and country / region.
    Posted Edited by CoinzReturns
  • #27 ✎ 171 CoinzReturns I've opened up a discord server for discussing SmileNet Development. Please join if you feel like it. Not much happening yet but instead of continuing to flood the forum here I've created a #news channel. Anything important will be posted there. If you don't have discord, then you'll have to wait to hear more news. https://discord.gg/WGuMWw Posted
  • #28 ✎ 13 Yacker Night Person I like the quiet night and sleep late. Express Yourself
    I've opened up a discord server for discussing SmileNet Development. Please join if you feel like it. Not much happening yet but instead of continuing to flood the forum here I've created a #news channel. Anything important will be posted there. If you don't have discord, then you'll have to wait to hear more news. https://discord.gg/WGuMWw
    Invite's broken
    Posted
  • #29 ✎ 171 CoinzReturns
    I've opened up a discord server for discussing SmileNet Development. Please join if you feel like it. Not much happening yet but instead of continuing to flood the forum here I've created a #news channel. Anything important will be posted there. If you don't have discord, then you'll have to wait to hear more news. https://discord.gg/WGuMWw
    Invite's broken
    Permanent invite link here: https://discord.gg/PcuJC5T
    Posted
  • #30 ✎ 221 Shelly So, I have a request. Could you please release ALL the code you have created so far? Even the 3ds side? It would help a lot, and would let us analyze it to see if improvements can be made. Posted
  • #31 ✎ 171 CoinzReturns
    So, I have a request. Could you please release ALL the code you have created so far? Even the 3ds side? It would help a lot, and would let us analyze it to see if improvements can be made.
    Sure I can do that no problem let me update the SmileNet 2.0 thing on github.. yeahh.
    Posted
  • #32 ✎ 171 CoinzReturns
    So, I have a request. Could you please release ALL the code you have created so far? Even the 3ds side? It would help a lot, and would let us analyze it to see if improvements can be made.
    Sure I can do that no problem let me update the SmileNet 2.0 thing on github.. yeahh.
    SmileNet 2.0 C# project for visual studio 2015 PC TO 3ds CLIENT TCP/IP test code. (yes it connects it works etc but some things don't work yet): https://github.com/ToshieCosed/SmileNet-2.0-Pc-Test Luma3DS modification to Rosalina main repo here: https://github.com/ToshieCosed/Luma3DS_RosalinaSmileHook The actual .c file which you'll want to look at which handles SmileNet IN Rosalina: https://github.com/ToshieCosed/Luma3DS_RosalinaSmileHook/blob/master/sysmodules/rosalina/source/petithookthread.c The 3ds-Side SmileBasic code: OPTION DEFINT 'THE BELOW LINES MUST EXECUTE FIRST FOR SMILENET 2.0 TO EVEN WORK DIM MYVARS[9000] 'DO NOT CHANGE THIS FILL MYVARS, 555555 'DO NOT CHANGE THIS FOR N=270 TO 270+255 MYVARS[N] =255 NEXT 'MYVARS[4] =1 'NOT USED FOR NOW @LOOP OUTS$ = "" 'DOUBLE QUOTE INCASE HARD TO SEE 'SIZE = MYVARS[4] 'NOT USED IF MYVARS[256] == 0 THEN MYVARS[256] = 255 'SET TO TRUE FOR ONE OF SMILENET'S INTERNAL FLAGS FOR T=0 TO 255 ' THIS IS SUPPOSED TO READ THAT DATA HAS BEEN SENT D$ = CHR$(MYVARS[T]) OUTS$ = OUTS$ + CHR$(MYVARS[T]) NEXT MYVARS[256] = 0 'SET THE READ READY FLAG TO FALSE AGAIN SO THE WRITE CAN OCCUR AGAIN ' THE SMILENET PROCESS RUNNING IN ROSALINA CAN ACTUALLY SEE ALL THESE VARIABLES IN THE ARRAY CALLED MYVARS[] THAT'S HOW IT TALKS TO SMILEBASIC AND SETS/UNSETS FLAGS ENDIF IF OLDS$!=OUTS$ THEN OLDS$ = OUTS$ PRINT OUTS$ 'PRINT WHAT WE GOT FROM SMILENET ONTO THE SMILEBASIC SCREEN PRINT "SIZE WAS " + STR$(SIZE) 'SIZE ISN'T USED NOW BUT DID WORK IN GETTING THE LENGTH OF A STRING BY HAVING SMILENET SEND THE LENGTH AS THE FIRST BYTE ON THE MESSAGE LINE MYVARS[256] = 0' ENDIF GOTO @LOOP And lastly.. you'll notice it's all very primitive. I'm still trying to figure out how to parse raw bytes and set flags but I have a semi-working system in place already. We haven't even begun to delve into how computer to computer connections will perform but in theory it all works! I've even had IRC displaying on my 3ds using SmileNet, if that gives you any hope :P there are a few sync issues and bugs I need to fix. That's why the messaging system will use flags. Further more here's some technical design info about the smilenet internal flags I will be using: I haven't tested it yet but I now have the 3ds-side layer almost done. The server can check on if the send or recieve buffer is free, and if it is, it can request the buffer be sent or send a data write over. This is some pretty rudimentary foolery and voodoo with networking I've never done before.(edited) SmileNet Messaging format. PC CLIENT To 3DS Messaging System: RAW: To send raw data format the first byte of your tcp message to always 0 and a length of 255/256 bytes. Requests: Message requests coming from the PC side are formatted by the first byte being 255 always. Byte 1: 255, Byte 2: Message type, Byte 3: usually not needed on 1st message. Send a length of 255 bytes to the SmileNet Thread anyway, even though the first two are only used. Message types: Message type 0: Request result of CAN_WRITE (basically check this before sending data please) Message type 2: Check SmileNet SEND BUFFER. YES the PC Client must ask the SmileNet thread if it has data ready to send. Message type 4: Request to send the SEND BUFFER to the PC side. Message type 1: Response sent to PC SIDE from 3ds, means RESULT of CAN_WRITE check. Will be 0 or 1.(True/false) The format for this type of response is Byte[0] =255, Byte[1] = MSGTYPE in this case 1, and Byte[2] = Result, in this case True/False Check your results on the PC side. Message type 3: PC Side Result of Does 3DS side have data for sending. Format is: Byte[0] =255, Byte[1] = 3 (MSGTYPE), Byte[2] = Result (0 or 1) (True/False) It seems I made a small error that needs correcting and just assumed to send the send_buffer. This will be corrected by always setting the first byte of raw data with a byte value of 0. Thanks. On the PC side a message coming in with first byte of 0 will always mean this is raw data. You should check if you requested data first on the PC side, before allowing to process a message with a first byte of 0 since we have a format to conform to. Thanks. That's it for now. SmileNet Builds will likely be released later ~ that should be all. Oh yeah you'll need to install devkit pro and make sure you can also get arm-eab-whatever.. the makearm thing. and abunch of other stuff and you will also need to set up a specific version of python.the instructions are all on the cloned github of luma3ds. Have fun and ask any questions you want.
    Posted Edited by CoinzReturns
  • #33 ✎ 221 Shelly Where is the github? Posted
  • #34 ✎ 171 CoinzReturns
    Where is the github?
    I literally just linked it. XP
    Posted
  • #35 ✎ 221 Shelly
    Where is the github?
    I literally just linked it. XP
    Thanks! Can't wait to try it out!
    Posted
  • #36 ✎ 171 CoinzReturns
    Where is the github?
    I literally just linked it. XP
    Thanks! Can't wait to try it out!
    let me know how it goes :D
    Posted
  • #37 ✎ 221 Shelly
    Where is the github?
    I literally just linked it. XP
    Thanks! Can't wait to try it out!
    let me know how it goes :D
    This might sound dumb, but where do I paste the 3ds-side code to? The root? Payloads? Thank you for all of your support, you should work at Sony.
    Posted
  • #38 ✎ 171 CoinzReturns
    Where is the github?
    I literally just linked it. XP
    Thanks! Can't wait to try it out!
    let me know how it goes :D
    This might sound dumb, but where do I paste the 3ds-side code to? The root? Payloads? Thank you for all of your support, you should work at Sony.
    You don't paste the 3ds code anywhere... you need to use github tools and stuff to clone luma3ds yourself and build the boot.firm yourself.. follow the same steps here but do it for the smilenet files i've offered you on github (aka Luma3DS): https://github.com/AuroraWright/Luma3DS you'll need to do things like run python install certain scripts, download certain tools, place said tools inside the DevkitPro folder.. do you not have devkitpro? You need to go through the whole setup process to install devkitPro as well if you don't have it: https://sourceforge.net/projects/devkitpro/ Anymore questions let me know. REALLY IMPORTANT: BEFORE You REPLACE boot.firm on your 3ds, RENAME the boot.firm you get from building THIS version of Luma3ds to SmileNet_O3DS. DO NOT replace boot.firm on your SD card. Then you'll select a different boot.firm by holding start and selecting the SmileNet_O3DS.firm
    Posted Edited by CoinzReturns
  • #39 ✎ 221 Shelly
    Where is the github?
    I literally just linked it. XP
    Thanks! Can't wait to try it out!
    let me know how it goes :D
    This might sound dumb, but where do I paste the 3ds-side code to? The root? Payloads? Thank you for all of your support, you should work at Sony.
    You don't paste the 3ds code anywhere... you need to use github tools and stuff to clone luma3ds yourself and build the boot.firm yourself.. follow the same steps here but do it for the smilenet files i've offered you on github (aka Luma3DS): https://github.com/AuroraWright/Luma3DS you'll need to do things like run python install certain scripts, download certain tools, place said tools inside the DevkitPro folder.. do you not have devkitpro? You need to go through the whole setup process to install devkitPro as well if you don't have it: https://sourceforge.net/projects/devkitpro/ Anymore questions let me know. REALLY IMPORTANT: BEFORE You REPLACE boot.firm on your 3ds, RENAME the boot.firm you get from building THIS version of Luma3ds to SmileNet_O3DS. DO NOT replace boot.firm on your SD card. Then you'll select a different boot.firm by holding start and selecting the SmileNet_O3DS.firm
    Oh, sorry! I was assuming stuff based of old news.
    Posted
  • #40 ✎ 221 Shelly Is there a way for you to just release the pre-compiled firm? Like 3dsguide provides? Posted Edited by Shelly
1 2 3