Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated information about NTFS overrides and VBI #92

Merged
merged 3 commits into from
Jun 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions docs/boot/usb-ntfs-overrides.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ storage device to trigger operations during cold boot of the console.
| --------------------------- | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| $BootCounters | Folder | Outputs boot counter logs to the directory. |
| $ConsoleGen8 | File | Only available on Chinese Xbox One. Put an empty file $ConsoleGen8 on the flashdrive to disable region lock. |
| $ConsoleGen8Lock | File | Only available on Chinese Xbox One. Put an empty file $ConsoleGen8Lock on the flashdrive to enable region lock. |
| $ConsoleGen9 | File | Only available on Chinese Xbox Series X/S. Put an empty file $ConsoleGen9 on the flashdrive to disable region lock. |
| $ConsoleRegion0 | File | Only available on Chinese Xbox One. <s>Put an empty file $ConsoleRegion0 on the flashdrive to Disable region lock.</s> __Supersceded by "ConsoleGen#", Depreciated in later firmware.__|
| $ConsoleRegion1 | File | Only available on Chinese Xbox One. <s>Put an empty file $ConsoleRegion1 on the flashdrive to Enable region lock.</s> __Depreciated in later firmware.__ |
| $ConsoleGen9Lock | File | Only available on Chinese Xbox Series X/S. Put an empty file $ConsoleGen9Lock on the flashdrive to enable region lock. |
| $ConsoleRegion0 | File | Only available on Chinese Xbox One. <s>Put an empty file $ConsoleRegion0 on the flashdrive to Disable region lock.</s> __Supersceded by "ConsoleGen#", depreciated in later firmware.__|
| $ConsoleRegion1 | File | Only available on Chinese Xbox One. <s>Put an empty file $ConsoleRegion1 on the flashdrive to Enable region lock.</s> __Supersceded by "ConsoleGen#Lock", depreciated in later firmware.__ |
| $ConsoleRefresh | Folder | Deletes settings.xvd on the host storage drive during boot. Executes the same operation as a console refresh while keeping games and apps. |
| $CopyGpuHix | TBD. | TBD. |
| $CopyPfmFile | Folder | Generates performance monitoring file path. |
Expand Down
17 changes: 9 additions & 8 deletions docs/boot/vbi.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ A custom boot image format used to load the critical boot components for the Xbo
| 0x08 | 0x04 | uint32 | SizeOfHeaders |
| 0x0C | 0x04 | uint32 | ImageSize |
| 0x10 | 0x08 | uint64 | BasePhysicalAddress |
| 0x14 | 0x08 | uint64 | TrampolineVirtualAddress |
| 0x1C | 0x04 | uint32 | DataOffset |
| 0x20 | 0x04 | uint32 | Flags |
| 0x24 | 0x04 | uint32 | DirectoryEntryCount |
| 0x28 | 0xB8 | VbiDirectory | Directories |
| 0x18 | 0x08 | uint64 | TrampolineVirtualAddress |
| 0x20 | 0x04 | uint32 | DataOffset |
| 0x24 | 0x04 | uint32 | Flags |
| 0x28 | 0x04 | uint32 | DirectoryEntryCount |
| 0x2C | 0xB8 | VbiDirectory | Directories |

### VBI Directory
| Offset | Length | Type | Information |
Expand Down Expand Up @@ -121,12 +121,13 @@ A custom boot image format used to load the critical boot components for the Xbo
- Example:
- `` xcrdutil.exe -read_ud F:\system.xvd 0 200 D:\\DevelopmentFiles\\system.vbi ``
3. Load the output file into your favourite hex editor
4. Go to offset ``0xC`` (ImageSize) and copy the value as a 32-bit integer
5. Re-run:
4. Go to offset ``0x8`` (SizeOfHeaders) and copy the value as a 32-bit integer
5. Go to offset ``0xC`` (ImageSize), copy the value as a 32-bit integer and add it to SizeOfHeaders to get the actual size
6. Re-run:
- `` xcrdutil.exe -read_ud F:\system.xvd 0 <size> <path on console for output> ``
Example:
- `` xcrdutil -read_ud F:\system.xvd 0 32071680 D:\\DevelopmentFiles\\system.vbi ``
6. Viola!
7. Viola!

#### This can also be applied to gameos.xvd or gamecore.xvd when running within their partitions.

Expand Down
Loading