resonance 1.0.1
Loading...
Searching...
No Matches
memcardsavepaths.h File Reference
#include "os/hxstr.h"
Include dependency graph for memcardsavepaths.h:

Go to the source code of this file.

Variables

constexpr int kRemixStagingBufferSize = 0xf000
 Bytes of the one shared staging buffer every remix task streams through.
char g_abRemixStagingBuffer [kRemixStagingBufferSize]
 Staging buffer the four remix tasks and SavePersonasMCT all build their payload in.
const HxStr g_saveDirBase
 Save directory every card path this game writes begins with.
const HxStr g_personasDirSuffix
 Directory suffix for the FreQ roster.
const HxStr g_globalSettingsDirSuffix
 Directory suffix for the global settings.
const HxStr g_jukeboxDirSuffix
 Directory suffix for a jukebox playlist.
const HxStr g_remixDirSuffix
 Directory suffix for a remix.
const HxStr g_remixDirBase
 g_saveDirBase and g_remixDirSuffix as one literal.
const HxStr g_personasFileName
 Payload file with the FreQ roster.
const HxStr g_globalSettingsFileName
 Payload file with the global settings.
const HxStr g_jukeboxFileName
 Payload file with a jukebox playlist.
const HxStr g_personasIconTitle
 Browser title for a roster save.
const HxStr g_globalSettingsIconTitle
 Browser title for a settings save.
const HxStr g_remixIconTitle
 Browser title for a remix save.
const HxStr g_jukeboxIconTitle
 Browser title for a playlist save.

Variable Documentation

◆ kRemixStagingBufferSize

int kRemixStagingBufferSize = 0xf000
constexpr

Bytes of the one shared staging buffer every remix task streams through.

Ghidra address:
NTSC-U/C: 0x008f2aa0
Ghidra address:
PAL: 0x00937ab0

◆ g_abRemixStagingBuffer

char g_abRemixStagingBuffer[kRemixStagingBufferSize]
extern

Staging buffer the four remix tasks and SavePersonasMCT all build their payload in.

One buffer serves every task. Two tasks running at once would overwrite each other. Each task wraps the buffer in a separate IOBPreallocMemStream at construction.

Ghidra address:
NTSC-U/C: 0x008f2aa0
Ghidra address:
PAL: 0x00937ab0

◆ g_saveDirBase

const HxStr g_saveDirBase
extern

Save directory every card path this game writes begins with.

The thirteen strings declared here are one file-scope constant group, built by the static initialisation stub at 0x00183028 in the order they appear below. The group belongs to the one translation unit that defined all sixteen MemcardTask subclasses.

The European release builds fifteen strings in its stub at 0x00188108. Its directories include the product code BESCES-50791, its payload file names have no leading /, and it adds g_iconSysFileName and g_iconImageFileName.

Ghidra address:
NTSC-U/C: 0x00888940
Ghidra address:
PAL: 0x008cd050

◆ g_personasDirSuffix

const HxStr g_personasDirSuffix
extern

Directory suffix for the FreQ roster.

Ghidra address:
NTSC-U/C: 0x00888948
Ghidra address:
PAL: 0x008cd058

◆ g_globalSettingsDirSuffix

const HxStr g_globalSettingsDirSuffix
extern

Directory suffix for the global settings.

Ghidra address:
NTSC-U/C: 0x00888950
Ghidra address:
PAL: 0x008cd060

◆ g_jukeboxDirSuffix

const HxStr g_jukeboxDirSuffix
extern

Directory suffix for a jukebox playlist.

Ghidra address:
NTSC-U/C: 0x00888958
Ghidra address:
PAL: 0x008cd068

◆ g_remixDirSuffix

const HxStr g_remixDirSuffix
extern

Directory suffix for a remix.

Ghidra address:
NTSC-U/C: 0x00888960
Ghidra address:
PAL: 0x008cd070

◆ g_remixDirBase

const HxStr g_remixDirBase
extern

g_saveDirBase and g_remixDirSuffix as one literal.

Ghidra address:
NTSC-U/C: 0x00888968
Ghidra address:
PAL: 0x008cd078

◆ g_personasFileName

const HxStr g_personasFileName
extern

Payload file with the FreQ roster.

Ghidra address:
NTSC-U/C: 0x00888970
Ghidra address:
PAL: 0x008cd080

◆ g_globalSettingsFileName

const HxStr g_globalSettingsFileName
extern

Payload file with the global settings.

Ghidra address:
NTSC-U/C: 0x00888978
Ghidra address:
PAL: 0x008cd088

◆ g_jukeboxFileName

const HxStr g_jukeboxFileName
extern

Payload file with a jukebox playlist.

Ghidra address:
NTSC-U/C: 0x00888980
Ghidra address:
PAL: 0x008cd090

◆ g_personasIconTitle

const HxStr g_personasIconTitle
extern

Browser title for a roster save.

Ghidra address:
NTSC-U/C: 0x00888988
Ghidra address:
PAL: 0x008cd0a8

◆ g_globalSettingsIconTitle

const HxStr g_globalSettingsIconTitle
extern

Browser title for a settings save.

Ghidra address:
NTSC-U/C: 0x00888990
Ghidra address:
PAL: 0x008cd0b0

◆ g_remixIconTitle

const HxStr g_remixIconTitle
extern

Browser title for a remix save.

The directory number is appended to it.

The North American title ends in a space and the European title does not.

Ghidra address:
NTSC-U/C: 0x00888998
Ghidra address:
PAL: 0x008cd0b8

◆ g_jukeboxIconTitle

const HxStr g_jukeboxIconTitle
extern

Browser title for a playlist save.

Ghidra address:
NTSC-U/C: 0x008889a0
Ghidra address:
PAL: 0x008cd0c0