vinicioslc / tinfoil-hat

Serve your switch homebrews .XCI .NSP .NSZ at your personal server (with passwords or not), and low resource usage! compared with NUT projects available...
https://github.com/vinicioslc/tinfoil-hat
MIT License
69 stars 7 forks source link

Games not shown #5

Closed mobihen closed 1 year ago

mobihen commented 1 year ago

When I get into the web interface, I only see the .json and the other file. Also, when I get into the shop from switch, I see those 2 files, but all the games are at "New Game" section.

the problem is that I want to install the update files but I can't see them..

vinicioslc commented 1 year ago

Yes you will only see only the shop files from homepage, as the tinfoil app has some limit for files count in main page as described in the README.md

To avoid TinfoilApp freezes, the file listing was disabled, but you can download files copying links from /shop.json

Send the config that are you using and photos from the switch listing to allow us help you more precisely.

mobihen commented 1 year ago

the JSON is empty, when I look at it from linux. If I go from the switch, I can seed it in hex, but not something that I can copy/paste and use.

are you familiar with the file naming on TinFoil? to show as: New Game Update DLC ?

vinicioslc commented 1 year ago

so.. this is detected automatically by tinfoil when the homebrews are put on correct folder and listed on shop.json correctly, this could be some mismatch config in your setup

mobihen commented 1 year ago

can you tell what's the correct folder structure? file naming?

thanks.

mobihen commented 1 year ago

how can you tell the id of the game and the id of the update file?..

if I do cat shop.json, it's empty..

vinicioslc commented 1 year ago

the "shop.* files" at this folder are only "representative" to be displayed in the html server index, the Tinfoil Switch App will check every file titleid and fetch the game info from online catalog downloaded at nswitch

to access the game listing you should access throught http://HOST:PORT/shop.json since the server will scan files and folder to create files index at realtime

mobihen commented 1 year ago

yes, but how can I install the update files if they are not shown?.. I can only install games. But the update files are not listed so the game won't load. So how can I see those update files?

Also, how can I know the id of the game update?