Skip to content

Commit

Permalink
Fix intra-wiki links within File Formats section (#47)
Browse files Browse the repository at this point in the history
* Fix wiki links in GPD.md

* Fix wiki links in PEC.md

* Fix wiki links in SPA.md

* Fix wiki links in STFS.md

* Fix wiki links in XDBF.md

* Fix wiki links in XEX.md

* Properly fix System Software link in PEC.md

* Properly fix System Software link in SPA.md

* Properly fix System Software link in STFS.md
  • Loading branch information
JohnVeness authored Aug 12, 2023
1 parent 69b44d1 commit 4b23c09
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion docs/System-Software/Formats/GPD.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,4 +355,4 @@ IDs in Sync List between last and next are
pushed
//confirm?

[System Software](System_Software)
[System Software](/System-Software)
10 changes: 5 additions & 5 deletions docs/System-Software/Formats/PEC.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
**PEC** (Profile Embedded Content) files are used by the Xbox 360 as an
additional layer of security on profiles. Certain [GPD](GPD)
additional layer of security on profiles. Certain [GPD](../GPD)
files are relocated inside the PEC file. The PEC file stores information
on avatar clothes/items, and is just another STFS package. With this
said you must properly rehash and resign the PEC file to avoid the Xbox
Expand All @@ -23,16 +23,16 @@ below).
# Notes

The Console ID at 0x275 must match the Console ID located in the
[Console Security Certificate](Console_Security_Certificate),
[Console Security Certificate](../../Console_Security_Certificate),
otherwise the Xbox 360 will see it as a corrupted file.

The signature located in the [Console Security
Certificate](Console_Security_Certificate) is signed using
Certificate](../../Console_Security_Certificate) is signed using
the hash at location 0x228. (SHA1 hash from 0x23C - 0x1000)

From 0x1000 the rest of the file is the standard block portion of
[STFS](STFS), with data block 0 starting at 0x3000, and hash
[STFS](../STFS), with data block 0 starting at 0x3000, and hash
table 0 at 0x1000/0x2000. The PEC file always has 2 hash tables (type 1
package).

[System Software](System_Software)
[System Software](/System-Software)
8 changes: 4 additions & 4 deletions docs/System-Software/Formats/SPA.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
**SPA** files are contained inside [XEX](XEX) files or within
Updates or DLC. They are just a [XDBF](XDBF) file, they are
used by the dashboard for [GPD](GPD) creation and [Xbox LIVE](Xbox_LIVE) information.
**SPA** files are contained inside [XEX](../XEX) files or within
Updates or DLC. They are just a [XDBF](../XDBF) file, they are
used by the dashboard for [GPD](../GPD) creation and [Xbox LIVE](Xbox_LIVE) information.

# Record Table

Expand Down Expand Up @@ -248,4 +248,4 @@ string.
| 2 | 2 | UInt16 | String Length |
| 4 | **String Length** | String | String |

[System Software](System_Software)
[System Software](/System-Software)
6 changes: 3 additions & 3 deletions docs/System-Software/Formats/STFS.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ If the **Metadata Version** field is set to 2, the format is slightly changed.
| 0x0368 | 0x4 | int | Save Game ID |
| 0x036C | 0x5 | byte\[\] | Console ID |
| 0x0371 | 0x8 | byte\[\] | Profile ID |
| 0x0379 | 0x24 | [Volume Descriptor](#Volume_Descriptor) | Volume Descriptor |
| 0x0379 | 0x24 | [Volume Descriptor](#volume-descriptor) | Volume Descriptor |
| 0x039D | 0x4 | signed int | Data File Count |
| 0x03A1 | 0x8 | signed long | Data File Combined Size |
| 0x03A9 | 0x4 | int (STFS = 0, SVOD = 1) | Descriptor type |
Expand Down Expand Up @@ -251,7 +251,7 @@ Block 0 starts at 0x3000, and hash table 0 at 0x1000/0x2000.
| 0x000 | 0x228 | Console_Security_Certificate | Console Security Certificate |
| 0x228 | 0x14 | bytes | SHA1 hash from 0x23C-0x1000 |
| 0x23C | 0x8 | signed long | Unknown |
| 0x244 | 0x24 | [Volume Descriptor](#STFS_2) | Volume Descriptor (STFS) |
| 0x244 | 0x24 | [Volume Descriptor](#volume-descriptor) | Volume Descriptor (STFS) |
| 0x268 | 0x4 | signed int | Unknown |
| 0x26C | 0x8 | bytes | Profile ID |
| 0x274 | 0x1 | byte | Unknown |
Expand Down Expand Up @@ -507,4 +507,4 @@ internal int ComputeLevelNHashBlockNumber(int xBlock, int xLevel)
problems with creation, some prefer to use XLAST)
- XLAST inside the Xbox 360 SDK can create LIVE/PIRS packages, but it is illegal to share it.

[System Software](System_Software)
[System Software](/System-Software)
8 changes: 4 additions & 4 deletions docs/System-Software/Formats/XDBF.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
**XDBF** (**X**box **D**ata **B**ase **F**ile) files are used by the
Xbox 360 as a generic database. It is used as the format for
[GPD](GPD) (**G**amer **P**rofile **D**ata) and
[SPA](SPA) (**S**tatistics, **P**resence and
[GPD](../GPD) (**G**amer **P**rofile **D**ata) and
[SPA](../SPA) (**S**tatistics, **P**resence and
**A**chievements) files. SPA files are linked into an Xbox 360
executable during compilation and are used by the dashboard to generate
the GPD, Save Game ([STFS](STFS)) Meta-Data and Images. In
the GPD, Save Game ([STFS](../STFS)) Meta-Data and Images. In
the XAM the DataFile class handles all of the operations associated with
these files.

Expand Down Expand Up @@ -89,4 +89,4 @@ entry, workout the actual length of the free space table.
\+ 24, 24 is the length of the
header.

[System Software](System_Software)
[System Software](/System-Software)
2 changes: 1 addition & 1 deletion docs/System-Software/Formats/XEX.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,4 +304,4 @@ XEX files are the default executable format.
0x184...0x184+(IDC*24) ImageData0[8], ImageData1[8], ImageData2[8]
</nowiki>

[System Software](System_Software)
[System Software](/System-Software)

0 comments on commit 4b23c09

Please sign in to comment.