Replies: 8 comments 2 replies
-
|
ChatGPT thinks this is possible and easy to do, maybe you can test it and see if it made any mistakes: Replace fileBrowser() function found in Cart_Reader.ino in line 3409-3539 with this code: |
Beta Was this translation helpful? Give feedback.
-
|
I tried it today. So far I have no bug. Has it all be written by ChatGPT? |
Beta Was this translation helpful? Give feedback.
-
|
Sure you can just go to https://chatgpt.com, create free account, post the fileBrowser() function, tell it to not change the structure of it, so you know it will be compatible with the rest of the code, and then tell it what you want to have changed. Here is sorting alphabetically(just first letter though) and arranging folders before files: It's slow but you could probably also tell it to optimize it for speed. Personally I would not just commit stuff from ChatGPT to the OSCR github. I would first understand how it works then rewrite it in a better way. But it is very useful just to try things out. Because writing this function took like 4 seconds. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks. I should give it a try someday. I should also learn how to code. I get that you don't want to put something directly from chatGPT or any AI. |
Beta Was this translation helpful? Give feedback.
-
|
I have worked on it some more and committed it to the Github. I did not include alphabetic sorting as it is too slow. But it now sort folders before files and there is an option to list the folders/files in reverse order. |
Beta Was this translation helpful? Give feedback.
-
|
Hey Sanni. I gave it a try today. |
Beta Was this translation helpful? Give feedback.
-
|
I'm currently rewriting the way the UI is done, including the menus. I'll try to add this features, at least as an option, when I get to converting that part of the UI. |
Beta Was this translation helpful? Give feedback.
-
|
Here's the sorting on the new menu: 2025-06-02.08.45.57-3-1.mp4This is just testing it by placing it right before the main menu, so it coming back after I hit reset is how long it takes. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Sorry, it might have been asked already but I couldn't find any info on it. Is it be possible to change the order of the folders while read by the OSCR?
I have HW3 and the folders appear from the oldest to the newest. It's not really convinient because the folders I'd like to use are usually the last ones that had been created. And I have several screens of ROMs and SAVES for several consoles. Is there a possibility somehow to change the order on screen, to make it easier to access folders that I use the most?
Beta Was this translation helpful? Give feedback.
All reactions