Views: 1,609,044 | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search | 11-21-24 08:51 AM |
Guest: |
0 users reading [Request] Homebrew&CFW Updater | 1 bot |
Main - Homebrew discussion - [Request] Homebrew&CFW Updater | Hide post layouts | New reply |
AidanLumina |
| ||
Newcomer Normal user Level: 5 Posts: 2/4 EXP: 455 Next: 74 Since: 01-10-16 Last post: 3178 days ago Last view: 3178 days ago |
Hello :)
I tried to build a little homebrew tool but I wasn't able to do it. The tool should read sdmc:\CFWKIT_VERSION.TXT. This .txt file includes a version number. The file looks like this: 4.001
The program should read this .txt file, then cast the string it contains into a float (let's say the float is named installedVersion). Then it should read http: //aidanlumina.bplaced.com/files/CFWKIT_VERSION.txt 4.005 , cast the string it contains into another float (onlineVersion) and compare that with installedVersion.
If onlineVersion is equal to installedVersion, it should display on-screen
If onlineVersion (rounded down) is bigger than installedVersion (rounded down), it should display
If onlineVersion (not rounded) is bigger than installedVersion(not rounded), it should do the following onlineVersion - installedVersion * 1000 times (so, in this example 4 times): Display "Downloading update V(4.002, then 4.003, then 4.004 and finally 4.005 in this example)... "
These .bin files are ZIP files that were converted to .bin using that starterGen .bat included in the latest build of EmuNAND9 by d0k3. After the program has downloaded all the .bin files, it should extract them to sdmc:\ one by one (see 3DSZIPFX source code by d0k3 for how-to).
Download http: //aidanlumina.bplaced.com/files/upd/V(4.002/4.003/4.004/4.005 in this example, you get the idea ;) ).bin Add "OK!" to the displayed line, then jump to the next line I HOPE you understand everything above. I would LOVE if someone takes the time and tries to implement this tool. :D I hope it's alright to post a request here. I will post it on gbatemp too if that's okay. :) Thanks for reading! :) Edit: Oh, and some info for the .smdh file: Title: 3CKU Description: 3DS CFW Kit Updater Authors: [Your_Name], d0k3 (for 3DSZIPFX) AidanLumina (for the algorithm and the idea... Maybe? Please ^^) |
Syphurith |
| ||
Member Normal user Level: 18 Posts: 59/59 EXP: 26087 Next: 3810 Since: 10-26-15 Last post: 3234 days ago Last view: 3184 days ago |
I'm sorry but there seems to be InstallMii already.
BTW this could be possible, once you can persuade a guy into developing it. Good luck! (Sorry i won't anticipate this..) |
marioaws |
| ||
Newcomer Maorninja322 but with a better name Level: 4 Posts: 1/2 EXP: 156 Next: 123 Since: 07-06-16 Last post: 3060 days ago Last view: 3058 days ago |
CFW updater, you say? If you have Luma3DS and cobernik, you can do that right off of your 3DS. In fact, you can even get the latest commits for Luma3DS.
Here are links for Luma3DS and Cobernik |
Main - Homebrew discussion - [Request] Homebrew&CFW Updater | Hide post layouts | New reply |
Page rendered in 0.009 seconds. (2048KB of memory used) MySQL - queries: 26, rows: 67/67, time: 0.006 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |