|
7cb47eca53
|
added chromedriver for selenium
|
2021-08-03 17:58:03 +02:00 |
|
|
fc1ab757bd
|
added selenium
|
2021-08-03 17:57:53 +02:00 |
|
|
14b0b7fbc9
|
removed rotating by 180°
this change combined with flipping the minimap upside-down had no effect
|
2021-08-03 08:16:44 +02:00 |
|
|
92c8134091
|
ignore "_" tracks
|
2021-08-02 20:45:01 +02:00 |
|
|
c14f7e2d0b
|
reverted color so that dark = background and white = foreground
|
2021-08-02 20:44:45 +02:00 |
|
|
e149cbfcfb
|
reversed from left to right image
|
2021-08-02 20:34:32 +02:00 |
|
|
6335514f0c
|
optimised a bit the code
|
2021-08-02 20:34:15 +02:00 |
|
|
5f14d0493a
|
fixed updating embed and score counting
|
2021-08-02 19:33:54 +02:00 |
|
|
1766f65c2f
|
implemented score calculus
|
2021-08-02 18:41:30 +02:00 |
|
|
3d5372acc6
|
forgot to strip key in szs.analyze
|
2021-08-02 18:31:45 +02:00 |
|
|
76d47cd916
|
thumbnail is only calculated if sha1 change, track and lap count is now correct
|
2021-08-02 18:08:51 +02:00 |
|
|
844297ff9d
|
rotate minimap by 180° because they were reversed
|
2021-08-02 18:08:08 +02:00 |
|
|
352d77db6a
|
added analyze function to wszst.szs
|
2021-08-02 18:06:48 +02:00 |
|
|
3ba2fa92e7
|
added a try to avoid exception stopping the process, track_channel.history had a limit of -1, making the loop instantly stop
|
2021-08-01 22:46:50 +02:00 |
|
|
ca01ded4e7
|
minimap color now have for minimum 1/3 of white (85 / 255)
|
2021-08-01 22:33:24 +02:00 |
|
|
3da1d9f73f
|
black is now for background track, and white for front track
|
2021-08-01 22:31:39 +02:00 |
|
|
692cb0bb7d
|
ignore "_" track used as placeholder
|
2021-08-01 22:24:54 +02:00 |
|
|
5ba537e7f9
|
added ./tmp/ directory to gitignore
|
2021-08-01 22:23:43 +02:00 |
|
|
efc7571bd1
|
added script used to add track to the discord server. This is more spaghetti code than the real code of the installer
|
2021-08-01 22:23:29 +02:00 |
|
|
925ca86c8d
|
fixed division by 0 error, minimum color will be a bit more white
|
2021-08-01 22:02:17 +02:00 |
|
|
a460298a12
|
fixed division by 0 error
|
2021-08-01 21:47:48 +02:00 |
|
|
0d5e94e925
|
reworked the file to be more readable and be usable as a module
|
2021-08-01 21:40:00 +02:00 |
|
|
cdbb2f6493
|
reformatted the file
|
2021-08-01 20:28:18 +02:00 |
|
|
7683083deb
|
added a requirements file for "side scripts"
|
2021-08-01 20:28:08 +02:00 |
|
|
af54745ec9
|
try to get minimap image from its brres file
|
2021-08-01 19:11:18 +02:00 |
|
|
9673a63e4c
|
created a new function "patch_all_tracks_zip" that download all tracks from a zip, then convert them to szs. Unused for now
|
2021-07-31 20:42:43 +02:00 |
|
|
3c291bb66f
|
started implementation of a better function to download and patch tracks
|
2021-07-31 09:21:29 +02:00 |
|
|
95dae163d9
|
detailled log error with information about ./file/ directory and game information
|
2021-07-31 09:10:51 +02:00 |
|
|
7078db49df
|
removed track sha1 check option, they will always be checked
|
2021-07-30 21:21:31 +02:00 |
|
|
5461c17217
|
simplified download code in Game.py
|
2021-07-28 21:41:12 +02:00 |
|
|
43e46008c7
|
added more sha1 check in download_wu8, and do 3 try before raising an exception
|
2021-07-28 21:40:35 +02:00 |
|
|
8caf3535d6
|
added a sha1 check before downloading, now exception are used when a error occur instead of a blurry negative number
|
2021-07-28 21:10:36 +02:00 |
|
|
599c6b604f
|
added a devnull for bmg.cat because all call were showing not useful information
|
2021-07-28 20:54:21 +02:00 |
|
|
2a22f57bae
|
changed ct_config.json to v0.10
|
2021-07-28 20:47:43 +02:00 |
|
|
0f8a6d86ae
|
renamed id to cup_id because of built-in function id
|
2021-07-28 20:47:26 +02:00 |
|
|
c9a8eb7cf4
|
renamed a keyword in docstring
|
2021-07-28 19:59:49 +02:00 |
|
|
4b7bc41de9
|
Merge remote-tracking branch 'origin/dev' into dev
|
2021-07-28 19:20:02 +02:00 |
|
|
f2807e6f58
|
renamed some parameter, all wszst call now have keyword argument only
|
2021-07-28 19:19:51 +02:00 |
|
|
940a0d5336
|
renamed some parameter, all wszst call now have keyword argument only
|
2021-07-28 19:19:23 +02:00 |
|
|
2baf246599
|
edited default value
|
2021-07-27 21:33:02 +02:00 |
|
|
54b5dceb78
|
szs file where extracted in the local directory instead of the game directory
|
2021-07-27 21:32:26 +02:00 |
|
|
34ec530ddf
|
wszst module wasn't working properly, removed wszst prefix when calling one of its submodule
|
2021-07-27 21:16:43 +02:00 |
|
|
742c1c3bfa
|
moved NoGui to Game.py, moved restart from Gui.py to definition.py
|
2021-07-27 21:03:30 +02:00 |
|
|
1bb84fce32
|
removed temporary directory that were used with previous wszst subprocess call with cwd in the game path
|
2021-07-27 20:54:10 +02:00 |
|
|
ebca6c3335
|
next version will be 0.10.0, version will be checked with from distutils.version.StrictVersion, so that it is simpler to check. Also fix an issue where 0.10 is less than 0.9
|
2021-07-27 20:52:58 +02:00 |
|
|
738e0b101b
|
Splitted wszst.py into a module, removed "utf-8 support for path" with cwd because wiimm's tools already support many non-ascii caracter, this simplify the code.
|
2021-07-26 22:57:45 +02:00 |
|
|
fc3030532b
|
added doctype and type hint to all function, replaced copyfile function by shutil.copyfile
|
2021-07-25 17:53:29 +02:00 |
|
|
a6ec86c61d
|
Added docstring and more type hint tp Game, Gui and Track to make the code more understandable
|
2021-07-25 14:55:19 +02:00 |
|
|
ee8fea9c5f
|
reimplemented track selection by star
|
2021-07-23 21:30:56 +02:00 |
|
|
94b15f076d
|
get_track_name function created bad track suffix
|
2021-07-22 23:49:17 +02:00 |
|