aboutsummaryrefslogtreecommitdiff
path: root/project/text-files/pat.inc
diff options
context:
space:
mode:
Diffstat (limited to 'project/text-files/pat.inc')
-rw-r--r--project/text-files/pat.inc/pat-file-head-cr.inc16
-rw-r--r--project/text-files/pat.inc/pat-header-cr.inc8
-rw-r--r--project/text-files/pat.inc/pat-s0_base-cr.inc8
-rw-r--r--project/text-files/pat.inc/pat-s0_list-cr.inc7
-rw-r--r--project/text-files/pat.inc/pat-setup-cr.inc21
-rw-r--r--project/text-files/pat.inc/pat-simple-cr.inc7
-rw-r--r--project/text-files/pat.inc/pat-strings-cr.inc8
7 files changed, 75 insertions, 0 deletions
diff --git a/project/text-files/pat.inc/pat-file-head-cr.inc b/project/text-files/pat.inc/pat-file-head-cr.inc
new file mode 100644
index 0000000..249bc44
--- /dev/null
+++ b/project/text-files/pat.inc/pat-file-head-cr.inc
@@ -0,0 +1,16 @@
+#PAT <<< The first 4 characters '#PAT' are the magic for a PAT text file.
+# <<< Don't remove them!
+#
+###############################################################################
+#
+# This is a textual representation of a PAT0 file used in Nintendos "Mario Kart
+# Wii". "Wiimms SZS Tools" may convert binary (raw) and text PAT files in both
+# directions in the near future. The text parser supports variables, C like
+# expressions and nested IF-THEN-ELSE structures.
+#
+# Details about PAT text files are available in the Web:
+# - Parser Syntax and Semantics: https://szs.wiimm.de/doc/syntax
+# - PAT Syntax and Semantics: https://szs.wiimm.de/doc/pat/text
+# - The BRRES/PAT0 file format: https://szs.wiimm.de/r/wiki/PAT0
+#
+#------------------------------------------------------------------------------
diff --git a/project/text-files/pat.inc/pat-header-cr.inc b/project/text-files/pat.inc/pat-header-cr.inc
new file mode 100644
index 0000000..b801384
--- /dev/null
+++ b/project/text-files/pat.inc/pat-header-cr.inc
@@ -0,0 +1,8 @@
+
+#FF#
+###############################################################################
+
+[HEADER]
+# PAT header
+@REVISION = %u
+
diff --git a/project/text-files/pat.inc/pat-s0_base-cr.inc b/project/text-files/pat.inc/pat-s0_base-cr.inc
new file mode 100644
index 0000000..4c4379d
--- /dev/null
+++ b/project/text-files/pat.inc/pat-s0_base-cr.inc
@@ -0,0 +1,8 @@
+
+#FF#
+###############################################################################
+
+[S0_BASE]
+# PAT section 0, base data
+@REVISION = %u
+
diff --git a/project/text-files/pat.inc/pat-s0_list-cr.inc b/project/text-files/pat.inc/pat-s0_list-cr.inc
new file mode 100644
index 0000000..ef2c221
--- /dev/null
+++ b/project/text-files/pat.inc/pat-s0_list-cr.inc
@@ -0,0 +1,7 @@
+
+#FF#
+###############################################################################
+
+[S0_LIST]
+# PAT section 0, string reference lists
+@REVISION = %u
diff --git a/project/text-files/pat.inc/pat-setup-cr.inc b/project/text-files/pat.inc/pat-setup-cr.inc
new file mode 100644
index 0000000..c8206c3
--- /dev/null
+++ b/project/text-files/pat.inc/pat-setup-cr.inc
@@ -0,0 +1,21 @@
+
+#FF#
+###############################################################################
+
+[SETUP]
+# This is the general setup and info section. Some parameters are preceeded by
+# a hash ('#') to signal the informative only status. The scanning starts
+# always with this section.
+
+# Identify the tool and version, that have written this file:
+TOOL = %s
+SYSTEM = %s
+VERSION = %s
+REVISION = %u
+DATE = %s
+
+# The PAT version, number of sections and output mode. Info only.
+PAT-VERSION = %2u
+N-SECTIONS = %2u
+OUTPUT-MODE = %s
+
diff --git a/project/text-files/pat.inc/pat-simple-cr.inc b/project/text-files/pat.inc/pat-simple-cr.inc
new file mode 100644
index 0000000..e8aee44
--- /dev/null
+++ b/project/text-files/pat.inc/pat-simple-cr.inc
@@ -0,0 +1,7 @@
+
+#FF#
+###############################################################################
+
+[SIMPLE]
+# Simplified PAT definiton.
+@REVISION = %u
diff --git a/project/text-files/pat.inc/pat-strings-cr.inc b/project/text-files/pat.inc/pat-strings-cr.inc
new file mode 100644
index 0000000..199d88c
--- /dev/null
+++ b/project/text-files/pat.inc/pat-strings-cr.inc
@@ -0,0 +1,8 @@
+
+#FF#
+###############################################################################
+
+[STRINGS]
+# Strings defined in section 1 with attributes defined in section 3
+@REVISION = %u
+