|
8d30d1238a
|
added CTFileLayer (allow for patching a bmg file with the ctfile with all the tracks name)
|
2022-07-19 18:23:41 +02:00 |
|
|
47f191c9be
|
moved isinstance and issubclass to the start of operator because they were being overwritten "by" is and "in"
|
2022-07-19 18:14:57 +02:00 |
|
|
5207e18928
|
get_ctfile now have a template option for the track name
|
2022-07-19 15:39:55 +02:00 |
|
|
db87f6cdd7
|
added LECODE patching (the installer can now output a working game)
|
2022-07-19 13:42:49 +02:00 |
|
|
ea35b09f44
|
implemented patch function in lec
|
2022-07-18 23:58:39 +02:00 |
|
|
92ea7be730
|
normalizing tracks now use threads
|
2022-07-18 23:16:50 +02:00 |
|
|
39bd521511
|
threaded decorator now return the thread
|
2022-07-18 19:51:20 +02:00 |
|
|
186aa55f4a
|
custom tracks are now converted into szs in the cache
|
2022-07-18 19:11:11 +02:00 |
|
|
63cbe06bf3
|
original tracks are now moved to original-tracks in the .cache
|
2022-07-18 13:18:18 +02:00 |
|
|
8d0544a084
|
in order to stay constitent with the operation style, bmg-edit have been splitted into bmg-decode, bmg-encode and bmgtxt-edit. This will also allow more possibility.
|
2022-07-16 22:48:17 +02:00 |
|
|
43018abdca
|
fixed an issue where a .d directory in a Patch would not get his .szs equivalent extracted if the subfile where all at the root level (causing an issue with the MKWF Font patch)
|
2022-07-16 22:17:56 +02:00 |
|
|
f8c04f62a4
|
renamed event to plugins
|
2022-07-16 21:43:18 +02:00 |
|
|
4ede6f0b6b
|
renamed img-generator to img-edit, split PatchOperation.py into a whole module
|
2022-07-16 01:18:58 +02:00 |
|
|
de52540735
|
added overwrite mode for PatchFile (write only if already existing) and shortened the writing code to the write_patch function
|
2022-07-16 00:01:15 +02:00 |
|
|
04268a17a1
|
added seek(0) before writing a PatchFile
|
2022-07-15 20:25:04 +02:00 |
|
|
7463e9f10b
|
fixed an issue where 2 lines of wiimm's tools where getting into the file content data
|
2022-07-15 17:25:22 +02:00 |
|
|
e87f3dacef
|
ct_icons was generated horizontally instead of vertically
|
2022-07-15 17:24:34 +02:00 |
|
|
d7a8e3c40b
|
changed stderr from PIPE to DEVNULL (debug data was getting written to stdout)
|
2022-07-15 16:42:28 +02:00 |
|
|
22adc6e29e
|
removed a TODO
|
2022-07-15 16:41:52 +02:00 |
|
|
db9d32a450
|
removed useless condition where .exe was added to the tools_path if it was a windows system
|
2022-07-15 16:41:42 +02:00 |
|
|
5aeb864ef7
|
added a TODO about using regex to speed up the patch of bmg-edit
|
2022-07-15 00:31:28 +02:00 |
|
|
06a557dac7
|
removed unused argument documentation
|
2022-07-15 00:30:22 +02:00 |
|
|
4d071e190f
|
extracted szs directory will now be repacked into szs files
|
2022-07-15 00:28:04 +02:00 |
|
|
7f5e709aec
|
started implementing main.dol and StaticR.rel patching
|
2022-07-15 00:05:54 +02:00 |
|
|
ea79f49121
|
set stderr to subprocess.PIPE to hide it from the shell
|
2022-07-14 22:26:07 +02:00 |
|
|
1881d579c9
|
removed unused import
|
2022-07-14 22:13:16 +02:00 |
|
|
ebb74a61df
|
implemented decode_data in img (tpl -> png) and added img-decode operation (useful if a texture modification need the original game image as a base)
|
2022-07-14 18:30:06 +02:00 |
|
|
5ddae33393
|
added main.dol patch for lecode, and optionnally region, server url and section (cheat code)
|
2022-07-14 17:06:59 +02:00 |
|
|
ce30419f8c
|
added patch_data to str.py, allowing for main.dol modification
|
2022-07-14 16:41:05 +02:00 |
|
|
f11c8a5de2
|
added rename operation
|
2022-07-14 16:15:41 +02:00 |
|
|
ea4a1d293e
|
fixed an issue where ImageFont couldn't read directly from a Path object, and set CT_ICON_SIZE constant to 128 instead of hardcoding 128
|
2022-07-14 15:49:03 +02:00 |
|
|
2f71615ef3
|
removed a already implemented example and a todo
|
2022-07-14 15:48:06 +02:00 |
|
|
fbdd207c52
|
added special operation, allowing for replacing a file_content with a precalculated file, useful for ct_icons.tpl for example
|
2022-07-14 15:47:35 +02:00 |
|
|
cab9b7745d
|
added bmg regex operation support + decoding and encoding are now only done at the start and end of a whole operation instead at every Layer
|
2022-07-12 22:42:41 +02:00 |
|
|
efd314fb9a
|
patch.multiple_safe_eval and patch.safe_eval are now the safe function with a multiple parameter
|
2022-07-12 20:57:11 +02:00 |
|
|
4c1c8833b1
|
moved multiple safe eval from Track.py to safe_eval.py
|
2022-07-12 20:56:20 +02:00 |
|
|
cb38bf3ae5
|
Patch.safe_eval now have a env parameter where any variable can be used for the safe_eval
|
2022-07-12 20:31:47 +02:00 |
|
|
cb069fe240
|
safe_eval now has mod_config in the environnement
|
2022-07-12 20:02:03 +02:00 |
|
|
cf0f61d8ee
|
implemented bmg patch operation by id
|
2022-07-11 23:46:48 +02:00 |
|
|
823dc4cc44
|
implemented decode_data, encode_data and patch_data
|
2022-07-11 23:09:04 +02:00 |
|
|
d9ec57a04c
|
compacted _tools_run, _tools_run_popen and _tools_run_dict by creating a get function returning the shortcut function for every module from the tools_path
|
2022-07-11 00:16:03 +02:00 |
|
|
804c9f38f6
|
removed the need of temporary file by using stdin as input data
|
2022-07-10 23:56:57 +02:00 |
|
|
d456430714
|
made universal_newlines parameter in _run_popen optional
|
2022-07-10 23:56:10 +02:00 |
|
|
4cb2aa7379
|
added stdin support to _run_popen
|
2022-07-10 23:36:50 +02:00 |
|
|
803e9603e7
|
moved _run, _run_popen and _run_dict out of the class to make _tools_run, _tools_run_popen and _tools_run_dict for the whole module
|
2022-07-10 23:32:58 +02:00 |
|
|
69aa29c630
|
fixed untouched patched file content being erased if the mode was set to "edit"
|
2022-07-10 22:54:26 +02:00 |
|
|
e403d1dce1
|
added Layer, AbstractLayer, IDLayer and RegexLayer for bmg patch operation (unimplemented)
|
2022-07-09 23:08:08 +02:00 |
|
|
dde5a134a5
|
preparing bmg patch
|
2022-07-09 22:09:07 +02:00 |
|
|
093319eece
|
fixed the ImageLayer Operation that was not pasting the image of top of the other correctly
|
2022-07-07 23:35:44 +02:00 |
|
|
6831b18c0a
|
fixed image patch operation of type "image" that would not affect the final image
|
2022-07-05 23:25:42 +02:00 |
|