Difference between revisions of "AMPXI:ExportDSiWare"

From 3dbrew
Jump to navigation Jump to search
m
Line 9: Line 9:
 
|-
 
|-
 
| 1
 
| 1
| TitleID lower word, for the title to export.
+
| TWL TitleID lower word
 
|-
 
|-
 
| 2
 
| 2
| TitleID upper word, for the title export.
+
| TWL TitleID upper word
 
|-
 
|-
 
| 3
 
| 3
Line 24: Line 24:
 
|-
 
|-
 
| 6
 
| 6
| PathSize<<8 <nowiki>|</nowiki> 0x4
+
| (PathSize<<8) <nowiki>|</nowiki> 0x4
 
|-
 
|-
 
| 7
 
| 7
Line 30: Line 30:
 
|-
 
|-
 
| 6
 
| 6
| WorkBufSize<<8 <nowiki>|</nowiki> 0x14
+
| (WorkBufSize<<8) <nowiki>|</nowiki> 0x14
 
|-
 
|-
 
| 7
 
| 7

Revision as of 17:10, 25 April 2013

Request

Index Word Description
0 Header code [0x004D0144]
1 TWL TitleID lower word
2 TWL TitleID upper word
3 Input path buffer size
4 Size of working buffer, normally this is 0x20000.
5 u8 DSiWare export type.
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.