Commit graph

184 commits

Author SHA1 Message Date
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
c468c7e139 prefix and suffix now supported, merged get_ctfile_text and get_rctfile_text functions 2021-06-13 13:59:21 +02:00
f6d600efc7 changing version value 2021-06-10 16:19:22 +02:00
5d7c3d5eb0 default track property now use T44 instead of special and music number 2021-06-10 16:11:02 +02:00
341afdc3c1 check_update detect only if version is superior instead of just different 2021-06-10 16:09:50 +02:00
5696efef84 reverted version check change 2021-06-04 13:59:25 +02:00
2388c9849d fixed updater 2021-06-04 12:57:44 +02:00
93ffdf2b52 config tracks_list is now supported 2021-06-04 11:11:05 +02:00
d17f4761e3 update will now only enable if gitversion is newer than local version 2021-06-03 21:59:27 +02:00
3e56c029ca game's version is now in definition.py 2021-06-03 21:58:59 +02:00
0ae749762b added utf8 support to ct_config.json 2021-06-03 17:53:00 +02:00
a85feabb70 remove a comment 2021-05-27 16:00:04 +02:00
a396baeea0 a wiimm's tools wasn't called from ./tools/ 2021-05-27 15:44:07 +02:00
ff8214a165 forgot a flag in a subprocess 2021-05-27 15:32:37 +02:00
0a66349801 forgot a flag to subprocess.call 2021-05-27 15:11:23 +02:00
0abecbffaa removed a if causing image to not be overwritted 2021-05-27 14:27:56 +02:00
84debb7a1f added --overwrite to image conversion 2021-05-27 14:19:56 +02:00
fe5703e39f ct_icon missed 2 * 128 pixels height, causing the last 2 icons to not properly appear 2021-05-27 14:08:15 +02:00
1657b00746 ct_icon.tpl.png tried to be converted to tpl before being created, causing a crash 2021-05-27 13:58:04 +02:00
793d12c966 ct_icon is now generated from ./file/cup_icon, making it easier for me to update it 2021-05-27 13:44:18 +02:00
f4c753825a 4/3 image's background were in 16/9 2021-05-27 12:49:32 +02:00
0d7fb9729c images appearing when game is booting are now generated from ./file/img_desc/, making it easier for me to update 2021-05-27 12:25:06 +02:00
72b50cf365 added console / track type and star color 2021-05-26 22:53:41 +02:00
6cfecf1561 forgot to put back N$SWAP causing cup to not be at the correct slot 2021-05-26 22:06:13 +02:00
795d07d63d fixed progressbar for bmg patch 2021-05-26 17:03:15 +02:00
9363600869 added "Random" course in text file 2021-05-26 16:56:45 +02:00
e7c32ee304 Common_?.bmg should now be created from game's file 2021-05-26 16:10:20 +02:00
588c128dfd rctfile will now generate, for Race_?.szs 2021-05-26 14:58:32 +02:00
70dc1fb43c simplified code and use OVERWRITE mode to patch bmg 2021-05-26 13:49:24 +02:00
c3f910694b (DONT WORK) trying to make Common file generate from game's files 2021-05-26 13:05:34 +02:00
e0ffdc01ac fully added language, we can now change it from a combobox, and app will automaticly restart 2021-05-24 12:34:20 +02:00
1d101cf26b added utf-8 encoding to avoid translation problem 2021-05-24 00:16:26 +02:00
a8aa683270 forgot a f-string 2021-05-24 00:13:32 +02:00
117d62738c added translation system
added english language
2021-05-24 00:09:16 +02:00
e44b89bc65 splited code into multiple file 2021-05-23 19:45:50 +02:00