4dsdev
Views: 614,140 Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search 11-24-17 04:12 AM
Guest:

0 users reading [Request] Homebrew&CFW Updater | 1 bot

Main - Homebrew discussion - [Request] Homebrew&CFW Updater New reply


AidanLumina
Posted on 01-13-16 07:56 AM (rev. 4 of 01-13-16 08:04 AM) Link | #879
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
You have the latest version installed on your system. :)

If onlineVersion (rounded down) is bigger than installedVersion (rounded down), it should display
You need to get the latest version of the 3DS CFW Kit manually.

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)... "
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
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).

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
Posted on 01-13-16 05:43 PM Link | #880
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
Posted on 07-06-16 12:26 AM Link | #1052
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 New reply

Page rendered in 0.047 seconds. (2048KB of memory used)
MySQL - queries: 28, rows: 69/69, time: 0.035 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2017-11-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.