#include <vector>
#include "os/ArkHash.h"
#include "os/FileEntry.h"
#include "utl/Str.h"
Go to the source code of this file.
|
| class | Archive |
| | The archive on the disc that the game files are read from. More...
|
|
| void | ArchivePreInit () |
| | Clear the three words before gArchive.
|
| void | ArchiveInit () |
| | Open the archive when the files come from the disc, and start the block manager.
|
| bool | ArchiveGetFileInfo (const char *name, __int64 &offset, int &size, int &ucSize) |
| | Find a file in the archive.
|
◆ ArchivePreInit()
Clear the three words before gArchive.
No routine reads them.
- Ghidra address:
- 0x1000d2c0
◆ ArchiveInit()
Open the archive when the files come from the disc, and start the block manager.
- Ghidra address:
- 0x1000d2e0
◆ ArchiveGetFileInfo()
| bool ArchiveGetFileInfo |
( |
const char * | name, |
|
|
__int64 & | offset, |
|
|
int & | size, |
|
|
int & | ucSize ) |
Find a file in the archive.
- Parameters
-
| name | The file's path relative to the root. |
| offset | Receives the offset of the file in the archive. |
| size | Receives the size of the file. |
| ucSize | Receives the size of the file before compression. |
- Returns
- Whether the archive is open and has the file.
- Ghidra address:
- 0x1000d350
◆ gArchive
The archive, created by ArchiveInit() when the files come from the disc.
- Ghidra address:
- 0x10040ccc