add extended patch metadata
This commit is contained in:
@@ -7,7 +7,9 @@
|
||||
# option is disabled, the Patches menu won't appear for the client. If this
|
||||
# patch is run on a different client version, it will do nothing.
|
||||
|
||||
hide_from_patches_menu:
|
||||
.meta hide_from_patches_menu
|
||||
.meta name="Get all cards"
|
||||
.meta description="This patch gives you\nthe maximum number\nof each card."
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
|
||||
@@ -12,7 +12,9 @@
|
||||
# $patch command, since the client will likely crash if the player is not in a
|
||||
# game or lobby when the patch runs.
|
||||
|
||||
hide_from_patches_menu:
|
||||
.meta hide_from_patches_menu
|
||||
.meta name="Editors"
|
||||
.meta description="Enables the various\ndebug menus"
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# This function is required for loading DOLs. If it's not present, newserv can't
|
||||
# serve DOL files to GameCube clients.
|
||||
|
||||
newserv_index_E0:
|
||||
.meta index=E0
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
# This function is required for loading DOLs. If it's not present, newserv can't
|
||||
# serve DOL files to GameCube clients.
|
||||
|
||||
newserv_index_E2:
|
||||
.meta index=E2
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
# option is disabled, the Patches menu won't appear for the client. If this
|
||||
# patch is run on a different client version, it will do nothing.
|
||||
|
||||
.meta name="Get VIP card"
|
||||
.meta description="Gives you a VIP card"
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
# of the above information. This value is called specific_version in the places
|
||||
# where it's used by the server.
|
||||
|
||||
newserv_index_E3:
|
||||
.meta index=E3
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
|
||||
@@ -43,13 +43,19 @@
|
||||
# requested by the client, so those features should only be used in general
|
||||
# functions.
|
||||
|
||||
# A label newserv_index_XX tells newserv what value to use in the flag field
|
||||
# These directives tell newserv what to show to the player in the Patches menu.
|
||||
# Neither of them is required; if the name is omitted, the filename is used
|
||||
# instead.
|
||||
.meta name="Write memory"
|
||||
.meta description="Writes data to any location in memory"
|
||||
|
||||
# The .meta index directive tells newserv what value to use in the flag field
|
||||
# when sending the B2 command. This is needed if the server needs to do
|
||||
# something when the B3 response is received. For GameCube functions, if
|
||||
# specified, the index must be in the range 01-FF. The DOL loading
|
||||
# functionality, which this function is a part of, uses indexes E0, E1, and E2,
|
||||
# but the WriteMemory function can also be used for other purposes.
|
||||
newserv_index_E1:
|
||||
# something when the B3 response is received. If specified, the index must be in
|
||||
# the range 01-FF. The DOL loading functionality, which this function is a part
|
||||
# of, uses indexes E0, E1, and E2, but the WriteMemory function can also be used
|
||||
# for other purposes.
|
||||
.meta index=E1
|
||||
|
||||
# The entry_ptr label is required for all functions. It should point to a
|
||||
# .offsetof directive that itself points to the actual entrypoint.
|
||||
|
||||
Reference in New Issue
Block a user