AMPXI:ExportDSiWare

From 3dbrew
Revision as of 05:01, 22 April 2013 by Yellows8 (talk | contribs) (Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x004D0144] |- | 1 | TitleID lower word, for the title to export? |- | 2 | TitleID...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x004D0144]
1 TitleID lower word, for the title to export?
2 TitleID upper word, for the title export?
3 Input path buffer size
4 Size of working buffer, normally this is 0x20000.
5 Unknown u8, normally this is value 1. This seems to be unused.
6 PathSize<<8 | 0x4
7 Input path buffer ptr
6 WorkBufSize<<8 | 0x14
7 Ptr for the working buffer

Response

Index Word Description
0 Header code
1 Result code

Description

This is used for exporting DSiWare. The UTF-16 input path is normally in the format "sdmc:/Nintendo 3DS/<ID0>/<ID1>/Nintendo DSiWare/<TitleID-Low.bin>", however this can be arbitrary.