AMPXI:WriteTWLSavedata: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
Steveice10 (talk | contribs) mNo edit summary  | 
				|||
| Line 44: | Line 44: | ||
=Description=  | =Description=  | ||
This writes the specified input plaintext buffer data to the specified TWL-NAND title raw savedata image. The file which is written to in NAND depends on the section_index(public.sav, banner.sav, ...). This actually writes to "public.new" for "public.sav"  | This writes the specified input plaintext buffer data to the specified TWL-NAND title raw savedata image. The file which is written to in NAND depends on the section_index(public.sav, banner.sav, ...). This actually writes to "public.new" for "public.sav".  | ||
The ".new" files written by this are moved to the regular filenames by [[AMPXI:InstallTitlesFinish]] / other install-finish command(s).  | |||
Revision as of 22:34, 28 January 2016
Request
| Index Word | Description | 
|---|---|
| 0 | Header code [0x00460182] | 
| 1-2 | u64, TWL Title ID | 
| 3 | Input size | 
| 4 | NAND save-image file offset | 
| 5 | u8, Section type (5 = "public.new", 6 = ?, 7 = ?) | 
| 6 | u8, Operation | 
| 7 | (Size << 8) | 6 | 
| 8 | Input pointer | 
Response
| Index Word | Description | 
|---|---|
| 0 | Header code [0x00460040] | 
| 1 | Result code | 
Description
This writes the specified input plaintext buffer data to the specified TWL-NAND title raw savedata image. The file which is written to in NAND depends on the section_index(public.sav, banner.sav, ...). This actually writes to "public.new" for "public.sav".
The ".new" files written by this are moved to the regular filenames by AMPXI:InstallTitlesFinish / other install-finish command(s).