Homebrew [release] QR Web Installer (cia installer)

Dahlor

Member
Newcomer
Joined
Jan 13, 2016
Messages
24
Trophies
0
Age
38
XP
112
Country
United States
I know I was warned in the OP, but I have a brick, a dead dog, and a pregnant mom now.

Great stuff and I look forward to seeing the future development of this. Mega support would be unbelievably cool. I could definitely see this being the much-easier future of CIA installation.
 

ksanislo

Well-Known Member
OP
Member
Joined
Feb 23, 2016
Messages
386
Trophies
0
Location
Seattle, WA
XP
512
Country
United States
OMG amazing! but i'll keep an eye on it, this is wonderful but i don't like to brick my console :c
Realistically the only real chance of harm is if you scan a code for a system file, then uninstall it. While its hard coded to only allow installs to the SD and not nand, there's no sanity check if you try to uninstall required things with it.
 
  • Like
Reactions: Critichart

Luglige

hiatus
Member
Joined
Jan 24, 2016
Messages
1,414
Trophies
1
Location
under your bed
XP
883
Country
Antarctica
Hello, I have the homebrew launcher in the firmware 10.5.0.30E. I want to go in the 10.6.0.31E with the CIA because the menuhax/browserhax doesn't work in the firmware 10.6.0.31E. What should I do for install the homebrew with .cia ? (and desinstalled the menuhax ?) Thanks !
Gotta hardmod it and install a emuNAND, Sorry!
 
D

Deleted User

Guest
Spending too much time copying your .cia files to your 3DS while testing out your latest home-brew build? Tired of all those pesky extra steps? I've got the solution that you've all been waiting for!

QR Web Loader

https://github.com/ksanislo/QRWebLoader/releases

Just point CAM1 (rear, right side) at a QR code from 6-12" away, wait a few seconds and watch the magic happen. This is /seriously/ beta level code at best. I disclaim all responsibility if this bricks your device, shoots your dog, or bangs your mom. It does however work fine in my testing.

The QR code must contain only the URL, which must be accessible via a standard HTTP GET.
"Content-Encoding: gzip" is supported if you configure your server to allow it for .cia files.

Some developers may also find extra use in the companion app web-updater. You can write a string to a file on the SD card, then jump over, and it will auto-install then jump back to the new version of your program.

caveats:
* No visual feedback for finding QR codes.
* You can't use https://, so no direct links to github. (Needs the cert chain added?)
* You can't use Mega.nz (Normal HTTP only, mega uses encryption I can't handle so far.)
* Error handling is junk, and too many bad URLs will freeze things up. Not everything gets cleaned up properly when it goes sideways.

Development is still ongoing, but it's plenty useful already.
I don't get it how do I use it????? Please help me
 

ksanislo

Well-Known Member
OP
Member
Joined
Feb 23, 2016
Messages
386
Trophies
0
Location
Seattle, WA
XP
512
Country
United States
While I haven't run tests head to head, but on decently fast internet it should be a bit quicker because there's no local file reading going on while installing.
 

ksanislo

Well-Known Member
OP
Member
Joined
Feb 23, 2016
Messages
386
Trophies
0
Location
Seattle, WA
XP
512
Country
United States
I just get a black screen and it doesn't read the code.

The black screen is totally normal, I need to figure out how to handle converting from the camera format (640x480, 16 bit RGB565) to native screen format (rotated, scaled, 240x400, 24 bit RGB888) so for the moment there's no video feed from the camera at all. Just hold the 3DS still while pointing the rear cameras at a QR code a few inches away. The QR detection and decoding does a pretty good job as long as you're not shaking the camera around making its view blurry. It should detect at a very similar range and speed to how cubic ninja or the native camera QR scanning works, just keep it still and give it some time to find the code while it says it's looking on the console output screen.

But FWIW, I hope to have the video feed working fairly soon. I just got distracted by all the A9LH fun this weekend and there isn't enough free time for everything. ;)

This looks awesome, should speed up my dev workflow massively! ^_^

I've got a new build coming up pretty soon that allows you to configure the autoloader sub-app (web-updater) from the QR scanner, which for development works very smoothly. After it's configured, you can just click on the updater icon and it will grab and launch your latest builds. For my dev work, I do all my compiling on a remote server, and just have a web accessible build.cia file linked to the location that `make` writes its output file. For the moment, you can just put the URL in the web-updater.url file on the SD card and do the same thing from that.

--------------------- MERGED ---------------------------

While I haven't run tests head to head, but on decently fast internet it should be a bit quicker because there's no local file reading going on while installing.

I did a bit of large file testing last night, install time was about 10 minutes for a 450MB .cia file, local install from FBI was 7 minutes, not counting the time spent to manually copy files to the card before starting. I couldn't get the FBI network socket push to stay reliable enough to get a time, it always tends to fail due to dropped packets when using large files.
 

Games&Stuff

Well-Known Member
Member
Joined
Oct 8, 2015
Messages
788
Trophies
0
XP
352
Country
United States
What if it keeps saying: "Processing http://url

--------------------- MERGED ---------------------------

It says this ^ and then after one second, it says : "Watching for QR codes"
Then again, you get the "Processing http://url" message, and after that the application just freezes?
 

ksanislo

Well-Known Member
OP
Member
Joined
Feb 23, 2016
Messages
386
Trophies
0
Location
Seattle, WA
XP
512
Country
United States
What if it keeps saying: "Processing http://url

--------------------- MERGED ---------------------------

It says this ^ and then after one second, it says : "Watching for QR codes"
Then again, you get the "Processing http://url" message, and after that the application just freezes?

What is the URL that you're trying to load? PM me if you don't want to share publically, and i'll figure out what is being done behind the scenes that is causing it to get lost, and we'll get a new version that works with it.

The most common case for this would either be an https:// url (supported in my dev builds, but not in 0.6.0, new release should be very soon) or a URL that doesn't provide a .cia file (a redirect page, fancy file hosting service doing javascript magic, mega.nz encryption magic, that sort of thing)
 
Last edited by ksanislo,

Games&Stuff

Well-Known Member
Member
Joined
Oct 8, 2015
Messages
788
Trophies
0
XP
352
Country
United States
What is the URL that you're trying to load? PM me if you don't want to share publically, and i'll figure out what is being done behind the scenes that is causing it to get lost, and we'll get a new version that works with it.

The most common case for this would either be an https:// url (supported in my dev builds, but not in 0.6.0, new release should be very soon) or a URL that doesn't provide a .cia file (a redirect page, fancy file hosting service doing javascript magic, mega.nz encryption magic, that sort of thing)
Sorry, it turns out the link was down :/ and it had nothing to do with this. Also, do you think you would get it working with a HTTPS GET?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Keep current Gen consoles stock mod last gen imo