Huntereb / Awoo-Installer

A No-Bullshit NSP, NSZ, XCI, and XCZ Installer for Nintendo Switch
GNU General Public License v3.0
1.53k stars 131 forks source link

[Request] Listing files while using URL to install #131

Open lesca opened 3 years ago

lesca commented 3 years ago

By now, it seems I have to install one by one by specifying the exact URL of individual file.

I setup a nginx server to host all my games in a share folder, and enable the autoindex feature, so the webpage lists all of my games.

But Awoo-Installer seems cannot display the file lists, end with "Success" message, without anything happening.

Request to support list files if my url is a folder (of course, autoindex must be enabled at nginx/server side). So we can select item from the list and run the install.

This way, speed is quite fast: \~12MB with 5GHz WiFi, doubled than USBloader (which is only 6~7MBps)

Hopefully, this can be done. Thanks.

hrvylein commented 3 years ago

I'd rather would like to see Awoo parse a file in JSON-format. This way we could encapsulate games with available dlc or updates and "one-click" install one or multiple titles at the same time.

Maybe sth like that could already be implemented with file name parsing (like nsz does)?

TheLogicMaster commented 2 years ago

I made a hacky implementation that allows parsing Nginx autoindex and Tinfoil JSON, but it doesn't do anything special as far as listing content, it shows all files in a giant list.

https://github.com/TheLogicMaster/Awoo-Installer/commit/ab69180a3e8369ca21ec4df8e0a3d7ce1f62c510

hrvylein commented 2 years ago

Maybe sende your PR to AtmoXL Installer too

impeeza commented 2 years ago

Yes please go to atmoxl. This repo is abandoned dead

TheLogicMaster commented 2 years ago

Opened a PR for AtmoXL

impeeza commented 2 years ago

Thanks a lot

TheLogicMaster commented 2 years ago

There's a built NRO in the PR for testing, as well.

TheLogicMaster commented 2 years ago

PR is merged into latest release.