add some PSOX notes

This commit is contained in:
Martin Michelsen
2023-07-15 22:29:39 -07:00
parent 4858ccd812
commit 8cd1106818
2 changed files with 4 additions and 3 deletions
+3 -3
View File
@@ -5089,7 +5089,7 @@ struct G_MoveLobbyChair_6xB0 {
} __packed__;
// 6xB1: Unknown (not valid on pre-V3 or GC Trial Edition)
// This subcommand is completely ignored (at least, by PSO GC).
// This subcommand is completely ignored (at least, by PSO V3).
// 6xB2: Unknown (not valid on pre-V3 or GC Trial Edition)
// TODO: It appears this command is sent when the snapshot file is written on
@@ -5103,7 +5103,7 @@ struct G_Unknown_6xB2 {
le_uint32_t unknown_a3; // PSO GC puts 0x00051720 (333600) here
} __packed__;
// 6xB3: Unknown (XBOX)
// 6xB3: Unknown (XBOX; voice chat)
// 6xB3: CARD battle server data request (Episode 3)
@@ -5147,7 +5147,7 @@ struct G_CardServerDataCommandHeader {
be_uint32_t context_token;
} __packed__;
// 6xB4: Unknown (XBOX)
// 6xB4: Unknown (XBOX; voice chat)
// 6xB4: CARD battle server response (Episode 3) - see 6xB3 (above)
// 6xB5: CARD battle client command (Episode 3) - see 6xB3 (above)
+1
View File
@@ -902,6 +902,7 @@ static const QuestScriptOpcodeDefinition opcode_defs[] = {
{0xF94B, "particle_effect_nc", {{REG_SET_FIXED, 4}}, {}, F_V3_V4},
{0xF94C, "player_effect_nc", {{REG_SET_FIXED, 4}}, {}, F_V3_V4},
{0xF94D, "give_or_take_card", {{REG_SET_FIXED, 2}}, {}, F_GC_EP3}, // regsA[0] is card_id; card is given if regsA[1] >= 0, otherwise it's taken
{0xF94D, nullptr, {}, {INT32, REG}, F_XB_V3}, // Related to voice chat. argA is a client ID; a value is read from that player's TVoiceChatClient object and (!!value) is placed in regB. This value is set by the 6xB3 command; TODO: figure out what that value represents and name this opcode appropriately
{0xF94D, "nop_F94D", {}, {}, F_V4},
{0xF94E, "nop_F94E", {}, {}, F_V4},
{0xF94F, "nop_F94F", {}, {}, F_V4},