PretendoNetwork / archival-tools

A collection of tools dedicated to archiving several types of data from many Nintendo WiiU and 3DS games
40 stars 6 forks source link

Add several 3DS tasks #10

Closed MisterSheeple closed 4 months ago

jonbarrow commented 4 months ago

Thanks! Would you mind filling in the title IDs for the new BOSS applications before I merge this? That way the new titles can be tracked on the spreadsheet!

The way you'd do this is by using the Wii U tasksheet endpoint, as it generally works with most 3DS titles. Make a request to https://npts.app.nintendo.net/p01/tasksheet/1/BOSS_APP_ID/TASK_NAME?c=COUNTRY&l=LANGUAGE and you should get an XML response with the titles title ID.

For instance https://npts.app.nintendo.net/p01/tasksheet/1/tGgHjsqB1lxz7laV/MC2NWS?c=JP&l=ja returns the following:

<TaskSheet>
    <TitleId>000400000018ae00</TitleId>
    <TaskId>MC2NWS</TaskId>
    <ServiceStatus>open</ServiceStatus>
    <Files></Files>
</TaskSheet>

Typically the country/language doesn't matter so long as they are valid values (I use c=JP&l=ja for everything), but if it does cause issues you may need to try multiple country/language combinations. I have a tool which automates this, which I realized isn't pushed to the repo (oops), which I can see about pushing if you have trouble

You also will need to use one of the Wii U client certificates, but that's provided in this repo so you could take it from there.

The title ID should be stored in the key "title_id", under the task list array, and the title ID should be all uppercase (the tasksheet endpoint sends it back lowercase).

Once the title IDs are there, or marked as unknown, I'd be happy to merge this :+1:

MisterSheeple commented 4 months ago

That should do it.