Commit Graph

22 Commits

Author SHA1 Message Date
xxalpha
33973ae2fa Added try catch block to handle duplicate keys. 2017-02-19 16:25:30 +00:00
xxalpha
f4c8aa63e0 Tweak dictionary trimming threshold value. 2017-02-16 13:18:48 +00:00
xxalpha
f8312c20a5 Dictionary writing function 'header' argument now defaults to None. 2017-02-03 15:23:35 +00:00
oranges
15419d92e5 Merge pull request #23643 from xxalpha/mapmerge152
Map merger patch - comments!
2017-02-03 11:24:56 +13:00
xxalpha
19cae80770 Modified parse_maps() to support map comments. 2017-02-02 21:58:13 +00:00
xxalpha
54c903c970 Map merger patch - dictionary trimming (#23231)
* Map dictionary trimming is now functional.

Map dictionary trimming is now functional now functional.

Map dictionary trimming is now functional is now functional is now
functional.

Fixed missing arguments.

Increased unused keys trigger threshold.

* Trimming now adds a date stamp to the file as a header.
2017-01-30 09:53:37 +13:00
xxalpha
832a7c2518 Comment out code that needs to be fixed after xmas 2016-12-25 12:00:12 +00:00
xxalpha
8e80afbf86 Map Conflict Fixing Helper (#22421)
* Trimmed down map_merge function to be simpler and straightforward, no
more recycling keys;
New function get_key, looks up a dict key by abusing python;
New function key_int_value, converts a base 52 key to a base 10 integer
value;
Map helper functions are no longer dependent on global values;
Reorganized map_helpers.py;

* Added Map Conflict Fixer Helper;
Changed parse_map function to accept a map's raw text instead of a file
path;
Tweaked some map merger code;

* Map Conflict Fixer readme.md entry

completed readme.md

more

Removed debug code
2016-12-25 16:25:54 +13:00
xxalpha
b1183e4bbe [mapmerger] load python version test before everything else 2016-08-28 19:25:18 +01:00
xxalpha
968c0b6fb6 Added a Python version check to map_helpers.py.
logic for retards
2016-07-26 20:42:10 +01:00
xxalpha
9a30e04bce Patched a mapmerger bug where it would incorrectly recycle keys. 2016-07-02 16:24:06 +01:00
xxalpha
ce38112356 Fixed mapmerger writing the last X incorrectly. 2016-05-08 18:15:53 +01:00
xxalpha
d16f73add0 Tuples 2016-03-10 02:10:53 +00:00
xxalpha
fa9dba4e67 Fixed bug that caused duplicate entries. Reduced line changes.
clean
2016-03-05 18:50:40 +00:00
xxalpha
e2aca9914b Two batch files to run map merge. Fixed output error when in non-tgm mode. 2016-03-01 23:42:44 +00:00
xxalpha
be29040b96 parser will now ignore preceding whitespace in var blocks; removed unused
file

penis
2016-02-26 01:06:34 +00:00
xxalpha
1d01666ec7 Added new format function; patched parser to read new format 2016-02-24 04:23:20 +00:00
xxalpha
c648d31039 Rewrote parser; added functions for writing in tgm and inflated format. 2016-02-24 00:27:27 +00:00
xxalpha
53735f3343 Improved search_data() speed. 2016-02-22 17:24:10 +00:00
xxalpha
00323d64d1 pythony 2016-02-22 16:52:14 +00:00
xxalpha
1ca98ff016 Fixed bad loop. merge_map() will now find sequence gaps and fill them.. 2016-02-18 17:04:50 +00:00
xxalpha
7883832706 Separated wrapper from map processing functions. 2016-02-17 17:29:27 +00:00