? Development/Bugreports for Windows 3DS Professional (Page 2) ● SmileBASIC Source Forums

Sign In

Register
*Usernames are case-sensitive
Forgot my password

Development/Bugreports for Windows 3DS Professional

1 2 3 4 5
  • #21 ✎ 85 RGamesOffical Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Minecraft Is Awesome! I love Minecraft! Express Yourself Video Games I like to play video games! Hobbies Just started here! Posted
  • #22 ✎ 85 RGamesOffical Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Minecraft Is Awesome! I love Minecraft! Express Yourself Video Games I like to play video games! Hobbies How bout R-OS Saturn? Say you save a file called HD.1 (Simulated Sector 1). It can be viewed/Run as a Program. For GRP files. You cant run them but you can view them. Changelog talks about it more in R-OS Saturn Posted
  • #23 ✎ 113 CyberYoshi64 Avatar Taboo I didn't change my avatar for 180 days Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Night Person I like the quiet night and sleep late. Express Yourself
    How about R-OS Saturn? Say you save a file called "HD.1" ("Simulated Sector 1"). It can be viewed or run as a program. For GRP files, you cannot run them but you can view them. Changelog talks about it in more detail in R-OS Saturn.
    I would go for the idea but I would change it a bit. I took a look at your code. I'd change sectors to direct files but with file names working as pointers that the FS uses to give the user a folder structure and assigning a SB file to each of them. (It'll be remarkably similar to OTYAWS.) I think I do this: - (Background task) Wait for spaceturtles & his FS - (Foreground task) I'm gonna learn how2use arrays and eventually share a dummy file to show you my meanings working.
    Posted
  • #24 ✎ 266 spaceturtles Video Games I like to play video games! Hobbies Avatar Block I didn't change my avatar for 30 days. Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength
    How about R-OS Saturn? Say you save a file called "HD.1" ("Simulated Sector 1"). It can be viewed or run as a program. For GRP files, you cannot run them but you can view them. Changelog talks about it in more detail in R-OS Saturn.
    I would go for the idea but I would change it a bit. I took a look at your code. I'd change sectors to direct files but with file names working as pointers that the FS uses to give the user a folder structure and assigning a SB file to each of them. (It'll be remarkably similar to OTYAWS.) I think I do this: - (Background task) Wait for spaceturtles & his FS - (Foreground task) I'm gonna learn how2use arrays and eventually share a dummy file to show you my meanings working.
    I pm'd you my fs solution. Basically just display all the files you have in the project folder in an organized manner using a path meta file.
    Posted
  • #25 ✎ 113 CyberYoshi64 Avatar Taboo I didn't change my avatar for 180 days Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Night Person I like the quiet night and sleep late. Express Yourself
    ...
    I pm'd you my FS solution. Basically just display all the files you have in the project folder in an organized manner using a path meta file.
    That's what I mean. But I want to tell a pointer to the FS to show the directory (if needed like in the file explorer) and load the correct file with the desired program set in a "*.conf" file.
    TXT:*.exe=exec_prg.exe DAT:*.grp=paintprg.exe ...
    C:\Win3DS\System32\>dummy.bmp Behind the scenes: Find: FILE;C:\Win3DS\System32\;dummy.bmp;DAT:@FSDEAD0DEB.FD;1; Check if the SB file's existence & do something based on the result: IF CHKFILE(SBF$[META_OFFSET%])==0 THEN REMOVE META$,META_OFFSET%'do something if this META data exists but the file the data points to doesn't exist (deletion may be an option) ERR ERR$[ERR_META_00]'Tell the user about that ELSE CALL CHKTYPE_EXEC(FILENAME$[META_OFFSET%])'Run the desired program for the file type (If no config for the type exists=Run the default program ⇒ Ask user ENDIF
    Posted
  • #26 ✎ 266 spaceturtles Video Games I like to play video games! Hobbies Avatar Block I didn't change my avatar for 30 days. Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength The file system is the meta system. A file system is a way of storing and organizing files. You're also trying to make a file explorer but you're trying to make it all-in-one. There isn't really anything wrong with that besides its weirdness and the lack of modularity which makes things a bit more difficult. The "file system" I suggest is simple. Basically just use the project folder as if it was a hard disk and add a meta file which stores the paths of all the files and folders so they will be displayed as if they are organized under those paths. For instance the "hard disk" contains your mock os system files and an app or two. You want the system files to appear under "C:/OS/" and the apps to appear under "C:/APPS/". The meta file could look like this: PATH"C:/OS/osFile1" PATH"C:/OS/osFile2" PATH"C:/APPS/appFile1" PATH"C:/MY FOLDER/" PATH"E:/MY FOLDER/" The PATH tag is used to determine which lines contain file paths. This allows for adding additional file system objects (you likely won't need to but tags help determine which line is a path and which is a comment). After the tag comes a quotation mark. This is used to tell the file system's meta-reading code where a path begins and ends. The second quotation mark is used to tell the reading code where the path ends and allows comments or whatever to be added to the end. You may have noticed there are to copies of "MY FOLDER". This is made possible by adding a second drive (or rather partition, you can't have normal subfolders in SB and using external project folders is a bit weird). Because these are paths and it would be a somewhat waste of time to check for duplicates it's okay to have duplicate paths but it would hamper performance a bit if too many exist and it would introduce a bug which requires deleting a file/folder multiple times. Assuming you have or already do have a better understanding of the file system structure let's look at the reading code and then the explorer code. At startup the reading code checks for the meta file and loads it into a string if it exists. The string is then processed and only text which has a PATH tag is added to the path string array. Any comments at the ends of the path strings are removed. The file explorer is a bit more complex but it doesn't have to be hard to make. Start with a text-based shell and incorporate commands such as cd, del, mkdir, etc. or whatever you want to call them if you don't want to mimick DOS. To change the working directory just set the directory variable to the input path after the command. To delete a file/folder just remove an element from the paths array and/or DELETE the corresponding file in the project folder. To create a file/folder add a new element to the array containing the path to register it and SAVE the file if it is one. Because you may have switched to a working directory you can just type the name of a file/subpath in that folder and the working directory will be appended to the input path. You may need some semi-complicated wizard magic to pull some of this off. A file explorer with a gui is very similar to a text-based one. Instead if typing "cd" you click/tap/whatever a folder image or type the path in a text box. To delete something you right-click something and click "delete". Very simple. If you still need help with this I'll make a simple DOS thingy which includes the text-based features I described and a few concepts I came up with around the time of posting but I won't share them now. TL;DR short attention span lol Posted
  • #27 ✎ 113 CyberYoshi64 Avatar Taboo I didn't change my avatar for 180 days Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Night Person I like the quiet night and sleep late. Express Yourself I understand the concept but I'm still like a beginner and I don't understand that really. I need some more help for that please. (I never worked like that and don't understand how any type of arrays work. It's so unusual.) I have a dummy and shows how far I can get. KEY: QKN3SEC3 Posted Edited by CyberYoshi64
  • #28 ✎ 266 spaceturtles Video Games I like to play video games! Hobbies Avatar Block I didn't change my avatar for 30 days. Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength An array is basically a box full of variables. A 1d array DIM ARR[10] is a list of variables. The example contains ten variables which can be accessed with ARR[variable]. A 2d array DIM ARR[2,10] is basically a list of arrays. In the example 2 is the number of arrays and 10 is the number of elements per array. A 3d array (and the array with the most dimensions you can get) DIM ARR[2,2,10] is basically a list of array lists. The first 2 selects which list, the second which array, and the 10 which element/variable of the selected array. Arrays provide a clean and easy way of managing multiple generic-ish variables such as sprite coordinates. Strings are also arrays and can be treated as 1d arrays. VAR A$="Mars" ?A$[1] 'Prints the letter "a" Arrays can be resized and worked on using the array commands (PUSH, POP, UNSHIFT, SHIFT, ARYOP). The only command arrays with more than one dimension can use is ARYOP which requires the DLC to use. I'll let you check out what those commands do using the SB built-in guide. I'll put together a quick little DOS-style prompt which manages and executes files and I'll add plenty of documentation. Posted Edited by spaceturtles
  • #29 ✎ 113 CyberYoshi64 Avatar Taboo I didn't change my avatar for 180 days Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Night Person I like the quiet night and sleep late. Express Yourself
    An array is basically a box full of variables. A 1d array DIM ARR[10] is a list of variables. The example contains ten variables which can be accessed with ARR[variable]. A 2d array DIM ARR[2,10] is basically a list of arrays. In the example 2 is the number of arrays and 10 is the number of elements per array. A 3d array (and the array with the most dimensions you can get) DIM ARR[2,2,10] is basically a list of array lists. The first 2 selects which list, the second which array, and the 10 which element/variable of the selected array. Arrays provide a clean and easy way of managing multiple generic-ish variables such as sprite coordinates. Strings are also arrays and can be treated as 1d arrays. VAR A$="Mars" ?A$[1] 'Prints the letter "a" Arrays can be resized and worked on using the array commands (PUSH, POP, UNSHIFT, SHIFT, ARYOP). The only command arrays with more than one dimension can use is ARYOP which requires the DLC to use. I'll let you check out what those commands do using the SB built-in guide.
    I'm gonna learn that now! Seems really important. (Look at your (experts') codes. A nightmare for me.)
    I'll put together a quick little DOS-style prompt which manages and executes files and I'll add plenty of documentation.
    Thank you. It'll help me very well figuring such stuff out.
    Posted
  • #30 ✎ 85 RGamesOffical Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Minecraft Is Awesome! I love Minecraft! Express Yourself Video Games I like to play video games! Hobbies I tried using arrays once but I gave up. Posted
  • #31 ✎ 113 CyberYoshi64 Avatar Taboo I didn't change my avatar for 180 days Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Night Person I like the quiet night and sleep late. Express Yourself I used string arrays but I never used regular arrays as I never thought they might be useful (although they are) Posted
  • #32 ✎ 85 RGamesOffical Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Minecraft Is Awesome! I love Minecraft! Express Yourself Video Games I like to play video games! Hobbies RGames Mouse Systems 2 now live! Video: [url=https://youtu.be/6ZeHw2JeX_8]https://youtu.be/6ZeHw2JeX_8[/url] Posted
  • #33 ✎ 113 CyberYoshi64 Avatar Taboo I didn't change my avatar for 180 days Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Night Person I like the quiet night and sleep late. Express Yourself
    https://youtu.be/6ZeHw2JeX_8
    You told it here 'cause it uses lots of my assets, am I right? I'll let you go doing that as you told it rightaway. BTW I might begin uploading stuff to my YT channel, so go and check it out.
    Posted Edited by CyberYoshi64
  • #34 ✎ 85 RGamesOffical Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Minecraft Is Awesome! I love Minecraft! Express Yourself Video Games I like to play video games! Hobbies It only usesMOUSEHIT() ADDWIN is not DRAWWINDOW, ADDDIALOG is not DRAWDIALOG Posted
  • #35 ✎ 85 RGamesOffical Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Minecraft Is Awesome! I love Minecraft! Express Yourself Video Games I like to play video games! Hobbies
    https://youtu.be/6ZeHw2JeX_8
    You told it here 'cause it uses lots of my assets, am I right? I'll let you go doing that as you told it rightaway. BTW I might begin uploading stuff to my YT channel, so go and check it out.
    I have used 3 Video editors since my YT Channel started. DU Recorder Video Editor (Started using it since my Channel started) Filmora Trial (Started using it since Old Tech and OSes EP.2, Stopped using it since Old Tech and OSes EP.13) HitFilm Express (Started using it since Old Tech and OSes EP.13, Recommended by my PSN Friend: Kowan011 (A.K.A Kowan011 the Gamer)
    Posted
  • #36 ✎ 113 CyberYoshi64 Avatar Taboo I didn't change my avatar for 180 days Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Night Person I like the quiet night and sleep late. Express Yourself
    It only usesMOUSEHIT() ADDWIN is not DRAWWINDOW, ADDDIALOG is not DRAWDIALOG
    I haven't got a function called DRAWDIALOG. I haven't got a similar cmd either.
    Posted
  • #37 ✎ 85 RGamesOffical Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Minecraft Is Awesome! I love Minecraft! Express Yourself Video Games I like to play video games! Hobbies Ahem. Windows 3DS... You know, the reason this forum exists? Posted
  • #38 ✎ 85 RGamesOffical Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Minecraft Is Awesome! I love Minecraft! Express Yourself Video Games I like to play video games! Hobbies Also CyberYoshi64, Why did you not post the latest 0.3.3 beta in this fourm? Posted
  • #39 ✎ 113 CyberYoshi64 Avatar Taboo I didn't change my avatar for 180 days Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Night Person I like the quiet night and sleep late. Express Yourself Look at the first post on this thread. I update it so when you open the page, and someone wants to look at it, it clearly says: Beta key: ???????? Posted
  • #40 ✎ 85 RGamesOffical Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Minecraft Is Awesome! I love Minecraft! Express Yourself Video Games I like to play video games! Hobbies Also: I am beta testing a new Mock OS, Here is its forum. http://smilebasicsource.com/forum?ftid=1800 Posted
1 2 3 4 5