|
d9b9f56169
|
merged a maximum of source file with object (object will be re-separated in multiple folder next commit)
|
2021-07-17 23:32:53 +02:00 |
|
|
2990b1a652
|
created a Option class, merged get_github_file with Track and install_mod with Game
|
2021-07-17 22:24:05 +02:00 |
|
|
2f171311bc
|
installer will now detect if it is a dev version, and can change url to download track
|
2021-07-17 21:05:09 +02:00 |
|
|
57efdf2da3
|
edited source to use CT_Config, Game, Cup and Track
|
2021-07-17 19:30:51 +02:00 |
|
|
c041f55cb9
|
added ctfile code, fixed issue, load from json function
|
2021-07-16 22:44:41 +02:00 |
|
|
6c5f8b1fe8
|
added extract game code
|
2021-07-16 12:01:29 +02:00 |
|
|
42a96db471
|
added ctfile creation for CT_Config, Cup, Track
|
2021-07-16 11:29:44 +02:00 |
|
|
af67bffafe
|
started reworking the code to have a CT_Config, Cup, Game and Track class to make the code way, way more easier to understand and to read
|
2021-07-16 00:32:12 +02:00 |
|
|
44dfbc6273
|
some prefix didn't had "R" at the end (CNR was CN, SHR was SH, ...)
|
2021-07-15 12:01:34 +02:00 |
|
|
8235e5ce9c
|
random track (wiimm cup) are now white
|
2021-07-15 11:48:12 +02:00 |
|
|
fd5a2a957e
|
reworked color system, you can now choose a version where track will be highlighted, only prefix and suffix will now be colored
|
2021-07-15 11:43:27 +02:00 |
|
|
ff98213786
|
renamed count_track to load_ct_config, reworked function to load ct_config into variables, called in __init__.py
|
2021-07-14 22:27:03 +02:00 |
|
|
2c41c0f04c
|
translated to english, added an exception for SystemExit to avoid an error when updating
|
2021-07-14 14:44:47 +02:00 |
|
|
6d1411e199
|
added "track selection" menu allowing you to only install mod for 3, 2 or 1 star track (track from other Mario Kart are not affected)
|
2021-07-14 12:01:07 +02:00 |
|
|
be9036310b
|
english and french have been switched in the code: english is now the main language, making the code way more easier to read for non-french user.
|
2021-07-14 00:23:37 +02:00 |
|
|
55a3d99e0b
|
removed debug line, if can't download, skip sha1 check part
|
2021-06-24 14:25:34 +02:00 |
|
|
7679e69c0c
|
track will now be checked for their sha1
|
2021-06-24 13:08:27 +02:00 |
|
|
4e6a015f8c
|
fixed check_track_sha1 subprocess.run
|
2021-06-24 13:08:02 +02:00 |
|
|
d72a1dbaa0
|
added button in menu to check track sha1
|
2021-06-24 13:07:36 +02:00 |
|
|
b9abcd2919
|
if option in default_option isn't found, default value will be added to option.json
|
2021-06-24 11:26:53 +02:00 |
|
|
68c82393d6
|
added check_track_sha1 to avoid download issue
|
2021-06-24 11:26:15 +02:00 |
|
|
23dddaadf3
|
added --modify arg and changed ID to RMCx60
|
2021-06-20 12:46:43 +02:00 |
|
|
f581e728f8
|
contracted 2 line into 1
|
2021-06-20 12:46:14 +02:00 |
|
|
16e0cad559
|
install mod button will now show game version
|
2021-06-20 12:45:10 +02:00 |
|
|
37a5255db9
|
added text replacement
|
2021-06-20 12:43:48 +02:00 |
|
|
d3892b6e3c
|
version is now loaded when counting track
|
2021-06-20 10:01:24 +02:00 |
|
|
ef5ab72131
|
added note about MenuSingle_?.szs
|
2021-06-20 10:00:47 +02:00 |
|
|
6e3396ccd5
|
added Menu.bmg support
|
2021-06-20 10:00:17 +02:00 |
|
|
444c0f6f92
|
game's ID is now MKFx01 and game name is "Mario Kart Wii Faraphel {self.VERSION}"
|
2021-06-20 09:59:44 +02:00 |
|
|
0e491c591e
|
moved region_ID definition to definition.py
|
2021-06-20 09:55:16 +02:00 |
|
|
7891b47a91
|
moved game's version from definition.py to ct_config.json
|
2021-06-20 09:53:32 +02:00 |
|
|
7db29fc9bd
|
moved url to definition.py
|
2021-06-19 22:08:19 +02:00 |
|
|
ffb75f868d
|
if can't connect to internet, download will automatically be disabled.
|
2021-06-19 22:04:17 +02:00 |
|
|
6af12b562c
|
if there's no more process in process_list, return 1
|
2021-06-19 14:43:07 +02:00 |
|
|
4d70a85fd3
|
added a .copy() to avoid "changed size" issue
|
2021-06-19 13:15:41 +02:00 |
|
|
d356f8f250
|
removed 3 useless return 0 causing issue.
|
2021-06-19 12:58:26 +02:00 |
|
|
3ca04e0e8e
|
rewrote last clean_process part and added a return 0
|
2021-06-19 12:42:46 +02:00 |
|
|
1e8bb0b13c
|
added case if clean_process or add_process return -1
|
2021-06-19 09:20:06 +02:00 |
|
|
58192ffe75
|
default format is FST, not WBFS
|
2021-06-19 09:02:03 +02:00 |
|
|
c155131b9b
|
splitted the code into 2 function, and added a last clean process to wait for last track conversion.
|
2021-06-18 21:38:50 +02:00 |
|
|
9c8bfa37db
|
added similar function to get_trackname that remove underscore
|
2021-06-18 17:34:21 +02:00 |
|
|
d62956707e
|
simplified code with track function from definition.py
|
2021-06-18 17:33:21 +02:00 |
|
|
1296ba6e50
|
simplified code and added more special case support
|
2021-06-18 16:58:16 +02:00 |
|
|
d91a4c9241
|
added code for updated file
|
2021-06-18 16:55:21 +02:00 |
|
|
45071bb469
|
stop function if there's a problem in track conversion
|
2021-06-18 16:44:57 +02:00 |
|
|
c48765f9b0
|
added track related function
|
2021-06-18 16:44:31 +02:00 |
|
|
ebdaa21146
|
added menu functionnality, removed old extension select listbox
|
2021-06-18 16:44:10 +02:00 |
|
|
3f62863b86
|
fixed a parenthesis causing a line to not be translated
|
2021-06-18 13:06:26 +02:00 |
|
|
ef3e9a22e7
|
fixed a parenthesis causing a line to not be translated
|
2021-06-18 13:04:49 +02:00 |
|
|
1698df8426
|
if option.json is not found, it will be created
|
2021-06-18 13:02:56 +02:00 |
|
|
4e1f5b98d0
|
forgot to call items function, and a [0]
|
2021-06-18 12:27:36 +02:00 |
|
|
8adbfd49c1
|
added option, moved listbox to a menubar
|
2021-06-18 11:42:47 +02:00 |
|
|
f9f1558a60
|
added an option module, removed similar option function in translation
|
2021-06-18 11:42:06 +02:00 |
|
|
9049c5a8c9
|
changed language variable for menu raddiobox, moved "no translation" warning to the good if statement
|
2021-06-18 10:39:44 +02:00 |
|
|
40c20b12f9
|
added some space
|
2021-06-18 10:37:20 +02:00 |
|
|
58d1455bdf
|
changed restart function
|
2021-06-18 10:36:40 +02:00 |
|
|
fcd50a72c1
|
added visual menu
|
2021-06-17 23:39:33 +02:00 |
|
|
d02709ce9d
|
removed a useless variable
|
2021-06-17 23:30:59 +02:00 |
|
|
db56ce2306
|
not translated line will be printed
|
2021-06-17 23:08:46 +02:00 |
|
|
460fe028ea
|
added extra new line for PEP
|
2021-06-17 23:07:59 +02:00 |
|
|
d65e932928
|
if content size changed, the file will be redownloaded
|
2021-06-17 18:34:27 +02:00 |
|
|
524104b400
|
track will always try to be downloaded
|
2021-06-17 16:25:42 +02:00 |
|
|
df6e0e8808
|
simplified a subprocess
|
2021-06-17 16:25:03 +02:00 |
|
|
86d718d501
|
added a check if file is already downloaded
|
2021-06-17 16:24:42 +02:00 |
|
|
45c2dd7d04
|
if a wu8 track is less than 1kb, it will be deleted too
|
2021-06-17 13:08:57 +02:00 |
|
|
94394c6ca4
|
removed useless import
|
2021-06-17 11:22:31 +02:00 |
|
|
bc45f28813
|
splitted patch_file.py into multiple file to make it way more readable
|
2021-06-17 11:21:48 +02:00 |
|
|
11b4acc81a
|
fixed to convert the wu8 file
|
2021-06-17 00:18:42 +02:00 |
|
|
315b322c53
|
added a debug line
|
2021-06-17 00:17:20 +02:00 |
|
|
725bb1bf4d
|
if track is not found in file/Track-WU8/, the installer will try to download it from the github
|
2021-06-16 23:42:16 +02:00 |
|
|
169ead9a8d
|
added space to comment
|
2021-06-16 23:38:18 +02:00 |
|
|
1ab1a5d75b
|
added get_github_file
|
2021-06-16 23:37:56 +02:00 |
|
|
98a36c5d7c
|
removed space
|
2021-06-16 16:44:53 +02:00 |
|
|
772f786179
|
get_nodir instead of get_dir to change id
|
2021-06-16 16:32:59 +02:00 |
|
|
d2f182749f
|
forgot s to creationflags
|
2021-06-16 16:32:19 +02:00 |
|
|
d19fbdb8c3
|
WIT console wasn't invisible
|
2021-06-16 16:31:09 +02:00 |
|
|
06c3a5174c
|
only remove auto-add dir if it exist
|
2021-06-16 15:55:59 +02:00 |
|
|
ae5e3e5987
|
auto-add will now always regenerate
if track is corrupted, it will be reconverted
if too much track aren't properly converted, the installation stop.
|
2021-06-16 15:17:12 +02:00 |
|
|
0fb8eb0b8f
|
the conversion is successfull only if returncode is 0
|
2021-06-16 14:04:08 +02:00 |
|
|
4f21d6ef50
|
if track aren't correctly converted, show warning and an error after 3 warning. AUTOADD step will now work in non-ascii directory
|
2021-06-16 13:58:20 +02:00 |
|
|
63456239e1
|
added support for all other lecode region
|
2021-06-16 10:52:16 +02:00 |
|
|
3b1294133d
|
added support for utf8 to avoid problem with JAP and KOR bmg files
|
2021-06-16 10:51:23 +02:00 |
|
|
a0fe6d6387
|
removed debug line
|
2021-06-16 08:46:13 +02:00 |
|
|
77ff1c3cec
|
an error occured because of get_nodir and get_dir and /PATH/
|
2021-06-16 08:38:04 +02:00 |
|
|
44187f5338
|
PATH directory wasn't properly detected
|
2021-06-16 08:30:08 +02:00 |
|
|
72cb0befc4
|
added changelog to version
|
2021-06-15 21:59:16 +02:00 |
|
|
0232587691
|
now using subprocess.run instead of subprocess.call or subprocess.check_output
|
2021-06-15 21:28:03 +02:00 |
|
|
533098001f
|
installation was actually removing all tracks
|
2021-06-15 20:40:15 +02:00 |
|
|
fc049d0178
|
if a DATA dir is found when extracting ROM, it will add it to self.path_mkwf
|
2021-06-15 20:34:25 +02:00 |
|
|
e243c5fdfd
|
removed a space
|
2021-06-15 20:33:48 +02:00 |
|
|
a30f6ab6ac
|
tried to create a directory named /tmp/CTFILE.txt, witch is a file
|
2021-06-15 19:56:52 +02:00 |
|
|
7e221c7b5e
|
subprocess call will now be working with path as relative with a cwd to avoid special character
|
2021-06-15 19:51:07 +02:00 |
|
|
8fdce2d4f5
|
maked error.log relative
|
2021-06-15 17:25:47 +02:00 |
|
|
17783d82f5
|
added try except in most function to help debugging error
|
2021-06-15 17:05:49 +02:00 |
|
|
e4fa9ba95c
|
added try except in most function to help debugging error
|
2021-06-15 17:04:34 +02:00 |
|
|
f79b09eb11
|
preparing version's file
|
2021-06-15 17:04:34 +02:00 |
|
|
de87af7895
|
added "do everything" translation
|
2021-06-13 21:45:16 +02:00 |
|
|
604e6ed939
|
removed day / jour and night / nuit tag to avoid translation issue
|
2021-06-13 21:11:55 +02:00 |
|
|
fa1e9ac4f7
|
Added "Do everything" option, star's color indicate level of glitch on the map (orange = minor bug, red = major bug)
|
2021-06-13 17:57:59 +02:00 |
|
|
876193698a
|
added warning support
|
2021-06-13 16:59:48 +02:00 |
|