Skip to content

Commit

Permalink
Add support for Menu State information
Browse files Browse the repository at this point in the history
 - Only sent when NOT in game
  • Loading branch information
altf4 committed Jun 16, 2020
1 parent 07e0c34 commit 2df4c9b
Show file tree
Hide file tree
Showing 7 changed files with 336 additions and 50 deletions.
Binary file modified Output/Console/g_core.bin
Binary file not shown.
Binary file modified Output/Console/g_core_porta.bin
Binary file not shown.
85 changes: 73 additions & 12 deletions Output/Netplay/GALE01r2.ini
Original file line number Diff line number Diff line change
Expand Up @@ -908,18 +908,6 @@ $Enable OSReport Print on Crash (1.02) [UnclePunch]

$Slippi Recording [Fizzi, Achilles, UnclePunch]
*Used in conjunction with Slippi plugged into PortB to extract game data
C21A4FA4 0000000B #Recording/EXIOnStackExample.asm
7C0802A6 90010004
9421FF94 BE810008
7C230B78 38630038
3863001F 54630034
388000D0 98830000
38800014 38A00001
3D808000 618C55F0
7D8903A6 4E800421
BA810008 80010070
3821006C 7C0803A6
80790000 00000000
040679BC 38802600 #Recording/ExtendPlayerBlock.asm
C23219EC 00000012 #Recording/FlushFrameBuffer.asm
7C0802A6 90010004
Expand Down Expand Up @@ -1229,6 +1217,79 @@ A0640002 B07D0031
BA810008 800100B4
382100B0 7C0803A6
881F2219 00000000
C21A4FA4 00000048 #Recording/SendMenuFrame.asm
7C0802A6 90010004
9421FF6F BE810008
38610038 3863001F
54630034 3D808000
618C5604 7D8903A6
4E800421 2C030001
418201F4 3880003E
98830000 3C808048
80849D30 5484443E
B0830001 3C808111
60848DEC 80840000
90830003 3C808111
60848DF0 80840000
90830007 3C808111
6084826C 80840000
9083000B 3C808111
60848270 80840000
9083000F 3C808111
608476EC 80840000
90830013 3C808111
608476F0 80840000
90830017 3C808111
6084674C 80840000
9083001B 3C808111
60846750 80840000
9083001F 3C80804D
60846CF2 88840000
98830023 3C80804D
60846CAD 88840000
98830024 3C80803F
60840E08 88840000
98830025 3C80803F
60840E2C 88840000
98830026 3C80803F
60840E50 88840000
98830027 3C80803F
60840E74 88840000
98830028 3C80803F
60840E0A 88840000
98830029 3C80803F
60840E2E 88840000
9883002A 3C80803F
60840E52 88840000
9883002B 3C80803F
60840E76 88840000
9883002C 3C80804A
60840BC0 80840000
38840005 88840000
9883002D 3C80804A
60840BC4 80840000
38840005 88840000
9883002E 3C80804A
60840BC8 80840000
38840005 88840000
9883002F 3C80804A
60840BCC 80840000
38840005 88840000
98830030 3C8080BD
6084A810 80840000
38840028 80840000
38840038 80840000
90830031 3C8080BD
6084A810 80840000
38840028 80840000
3884003C 80840000
90830035 38800039
38A00001 3D808000
618C55F0 7D8903A6
4E800421 BA810008
80010095 38210091
7C0803A6 80790000
60000000 00000000
C2005604 00000007 #Recording/ShouldRecord.asm
3C608048 80639D30
5463443E 2C030202
Expand Down
85 changes: 73 additions & 12 deletions Output/Netplay/GALJ01r2.ini
Original file line number Diff line number Diff line change
Expand Up @@ -908,18 +908,6 @@ $Enable OSReport Print on Crash (1.02) [UnclePunch]

$Slippi Recording [Fizzi, Achilles, UnclePunch]
*Used in conjunction with Slippi plugged into PortB to extract game data
C21A4FA4 0000000B #Recording/EXIOnStackExample.asm
7C0802A6 90010004
9421FF94 BE810008
7C230B78 38630038
3863001F 54630034
388000D0 98830000
38800014 38A00001
3D808000 618C55F0
7D8903A6 4E800421
BA810008 80010070
3821006C 7C0803A6
80790000 00000000
040679BC 38802600 #Recording/ExtendPlayerBlock.asm
C23219EC 00000012 #Recording/FlushFrameBuffer.asm
7C0802A6 90010004
Expand Down Expand Up @@ -1229,6 +1217,79 @@ A0640002 B07D0031
BA810008 800100B4
382100B0 7C0803A6
881F2219 00000000
C21A4FA4 00000048 #Recording/SendMenuFrame.asm
7C0802A6 90010004
9421FF6F BE810008
38610038 3863001F
54630034 3D808000
618C5604 7D8903A6
4E800421 2C030001
418201F4 3880003E
98830000 3C808048
80849D30 5484443E
B0830001 3C808111
60848DEC 80840000
90830003 3C808111
60848DF0 80840000
90830007 3C808111
6084826C 80840000
9083000B 3C808111
60848270 80840000
9083000F 3C808111
608476EC 80840000
90830013 3C808111
608476F0 80840000
90830017 3C808111
6084674C 80840000
9083001B 3C808111
60846750 80840000
9083001F 3C80804D
60846CF2 88840000
98830023 3C80804D
60846CAD 88840000
98830024 3C80803F
60840E08 88840000
98830025 3C80803F
60840E2C 88840000
98830026 3C80803F
60840E50 88840000
98830027 3C80803F
60840E74 88840000
98830028 3C80803F
60840E0A 88840000
98830029 3C80803F
60840E2E 88840000
9883002A 3C80803F
60840E52 88840000
9883002B 3C80803F
60840E76 88840000
9883002C 3C80804A
60840BC0 80840000
38840005 88840000
9883002D 3C80804A
60840BC4 80840000
38840005 88840000
9883002E 3C80804A
60840BC8 80840000
38840005 88840000
9883002F 3C80804A
60840BCC 80840000
38840005 88840000
98830030 3C8080BD
6084A810 80840000
38840028 80840000
38840038 80840000
90830031 3C8080BD
6084A810 80840000
38840028 80840000
3884003C 80840000
90830035 38800039
38A00001 3D808000
618C55F0 7D8903A6
4E800421 BA810008
80010095 38210091
7C0803A6 80790000
60000000 00000000
C2005604 00000007 #Recording/ShouldRecord.asm
3C608048 80639D30
5463443E 2C030202
Expand Down
26 changes: 0 additions & 26 deletions Recording/EXIOnStackExample.asm

This file was deleted.

1 change: 1 addition & 0 deletions Recording/Recording.s
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
.set CMD_ITEM, 0x3B
.set CMD_FRAME_BOOKEND, 0x3C
.set CMD_GAME_END, 0x39
.set CMD_MENU_FRAME, 0x3E
.set COMMAND_COUNT, 10 # number of possible commands

# Payload lengths, if any additional data is added, these must be incremented
Expand Down
Loading

0 comments on commit 2df4c9b

Please sign in to comment.