aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorWiimm <none>2020-08-03 15:37:47 +0200
committerWiimm <none>2020-08-03 15:37:47 +0200
commiteaf1f8f8ce68b80ebdcefb45896461a89b47e1e1 (patch)
tree2135c13b2ee0ef73d23f79d4cdfb99642ca251ce /project
parentf26bdcb75cb95b8bc4c181bf6608b73b2415823a (diff)
SZS v2.19b: Bug fix for command wlect LPAR
Diffstat (limited to '')
-rw-r--r--project/Makefile2
-rw-r--r--project/revision.sh2
-rw-r--r--project/src/lib-lecode.c4
-rw-r--r--project/src/ui/tab-wstrt.inc2
-rw-r--r--project/src/ui/ui-wstrt.c2
-rw-r--r--project/src/ui/ui.def4
-rw-r--r--project/templates/HISTORY-v1.txt4
-rw-r--r--project/templates/HISTORY.txt9
-rw-r--r--project/templates/module/last-history.txt6
9 files changed, 20 insertions, 15 deletions
diff --git a/project/Makefile b/project/Makefile
index 69168c6..47360d2 100644
--- a/project/Makefile
+++ b/project/Makefile
@@ -58,7 +58,7 @@ WPATT_LONG = Wiimms PAT Tool
WSTRT_SHORT = wstrt
WSTRT_LONG = Wiimms StaticR Tool
-VERSION_NUM = 2.19a
+VERSION_NUM = 2.19b
BETA_VERSION = 0
# 0:off -1:"beta" >0:"beta#"
diff --git a/project/revision.sh b/project/revision.sh
index 748a2d6..194c58a 100644
--- a/project/revision.sh
+++ b/project/revision.sh
@@ -1 +1 @@
-revision=8237
+revision=8243
diff --git a/project/src/lib-lecode.c b/project/src/lib-lecode.c
index 6b1bd68..b6f52d3 100644
--- a/project/src/lib-lecode.c
+++ b/project/src/lib-lecode.c
@@ -743,10 +743,6 @@ enumError WriteSectionLPAR
}
fprintf(f,"%s\n",PrintChatMode(i,mode1,mode2,export_count));
- if (export_count)
- fprintf(f,"M%02u = %4u # %s\n",i+1,mode1,GetChatModeName(mode1));
- else
- fprintf(f,"M%02u = %s\n",i+1,GetChatModeName(mode1));
}
}
return ERR_OK;
diff --git a/project/src/ui/tab-wstrt.inc b/project/src/ui/tab-wstrt.inc
index 841a4e7..fcdc3aa 100644
--- a/project/src/ui/tab-wstrt.inc
+++ b/project/src/ui/tab-wstrt.inc
@@ -466,7 +466,7 @@
" This is done after loading a DOL and before analysing"
" and patching to allow re-patching." },
- { H_OPT_C, "ADD_LECODE", "add-lecode|addlecode",
+ { T_OPT_C, "ADD_LECODE", "add-lecode|addlecode",
0,
"Add LE-CODE starter to main.dol." },
diff --git a/project/src/ui/ui-wstrt.c b/project/src/ui/ui-wstrt.c
index 463ab65..1f4f80b 100644
--- a/project/src/ui/ui-wstrt.c
+++ b/project/src/ui/ui-wstrt.c
@@ -147,7 +147,7 @@ static const InfoOption_t OptionInfo[OPT__N_TOTAL+1] =
"Ignore non existing source files without warning."
},
- { OPT_ADD_LECODE, false, true, false, false, false, 0, "add-lecode",
+ { OPT_ADD_LECODE, false, false, false, false, false, 0, "add-lecode",
0,
"Add LE-CODE starter to main.dol."
},
diff --git a/project/src/ui/ui.def b/project/src/ui/ui.def
index 85ba906..ec5d3ae 100644
--- a/project/src/ui/ui.def
+++ b/project/src/ui/ui.def
@@ -22080,6 +22080,10 @@
" after loading a DOL and before analysing and patching to allow" \
" re-patching." )
+#:def_opt( "ADD_LECODE", "add-lecode|addlecode", "C", \
+ "", \
+ "Add LE-CODE starter to main.dol." )
+
#:def_opt( "ADD_CTCODE", "add-ctcode|addctcode", "C", \
"", \
"If source is an original main.dol file of MKWii, then append 2" \
diff --git a/project/templates/HISTORY-v1.txt b/project/templates/HISTORY-v1.txt
index 0b91a49..8da05de 100644
--- a/project/templates/HISTORY-v1.txt
+++ b/project/templates/HISTORY-v1.txt
@@ -360,7 +360,7 @@ szs v1.19a r4461 - 2013-06-02
non existent. This changes the missing files status and the slot proposals.
- KCL type names synchchronized to Wiki.
- Bug fix: If a function was searched and a const was defined with the same
- name, a `segmentation fault´ (or similar) occured.
+ name, a `segmentation fault´ (or similar) occured.
- New command: wkmpt STARTPOS: Print the start positions of players in
various formats. See https://szs.wiimm.de/cmd/wkmpt/startpos for details.
- Patching option --kmp accepts now the keywords LEFT, RIGHT, WIDE and NARROW
@@ -963,7 +963,7 @@ szs v1.51a r7107 - 2016-06-01
- The CHECK for slot 4.2 will be more exact now because it looks for the
needed materials. The presence flags of objects 'car_body' and 'kart_truck'
is also tested. If option --OLD is set, the old polygon test will be used.
- - Option --kmp=list supports now the keyword REVERSE as `backwards´ support:
+ - Option --kmp=list supports now the keyword REVERSE as `backwards´ support:
Reverse KMP sections ENPH, ENPT, ITPH, ITPT, POTI. The implementation is
not finished yet and more section (CKPH, CKTP, KTPT, JGPT) will follow.
- Different small fixes.
diff --git a/project/templates/HISTORY.txt b/project/templates/HISTORY.txt
index 381cc41..be9d5e7 100644
--- a/project/templates/HISTORY.txt
+++ b/project/templates/HISTORY.txt
@@ -403,6 +403,15 @@ szs v2.18a r8217 - 2020-06-28
- KMP/CAME type 6 and the related route is excluded from any transformation.
+szs v2.19a r8237 - 2020-08-01
+
+ - Bug fix: Tool wlect didn't read the second chat message functions from
+ binary LE-CODE files.
+ - Support of an old GameCube BMG variant (internally named "legacy").
+ - Check minimap: Bones 'posRU' and 'posLD' are detected even if the root bone
+ is renamed. This suppresses wrong warnings.
+
+
@@MODULE(last-history.txt)@@
diff --git a/project/templates/module/last-history.txt b/project/templates/module/last-history.txt
index 984b184..308942e 100644
--- a/project/templates/module/last-history.txt
+++ b/project/templates/module/last-history.txt
@@ -1,10 +1,6 @@
szs v@@VERSION@@ r@@REV-NEXT@@ - @@@@-@@-@@
- - Bug fix: Tool wlect didn't read the second chat message functions from
- binary LE-CODE files.
- - Support of an old GameCube BMG variant (internally named "legacy").
- - Check minimap: Bones 'posRU' and 'posLD' are detected even if the root bone
- is renamed. This suppresses wrong warnings.
+ - Bug fix for wlect LPAR: Message functions are not longer printed twice.
~ - MDL support: Scanning a MDL file and transferring the data into an internal
~ format was already implemented, but only used for analysis purposes. Now it