Commit Graph

179 Commits (21cb648422f1f9c781335042f5f46c92637eed70)

Author SHA1 Message Date
Lertsenem fddeec93a7 Fix script to change msi file
The msi modification failed because the msi file was still open when the
script started modifying it. The simplest solution was to put all that
in another separate setup_noadmin.py script.
2020-07-23 09:44:23 +02:00
Lertsenem 37eccfeaf4 Add script to fix msi generation
The generated msi will be modified so it can be installed by any user.
2020-07-22 20:46:13 +02:00
Lertsenem bc663474f6 Change template rebootlyon to rebootlyon2019 2020-07-22 20:30:35 +02:00
Lertsenem f807cf9c6f Fix str-to-pathlib conversion issues 2020-07-22 20:29:23 +02:00
Lertsenem 1f26d485f5 Fix Windows msi and exe builds 2020-07-22 18:11:43 +02:00
Lertsenem c9bc474477 Add __main__.py entry point 2020-07-22 18:10:16 +02:00
Lertsenem acba570218 Add smashggid for Byleth and ZSS 2020-07-22 18:09:55 +02:00
Lertsenem a256a3045f Add relative import to smashgg 2020-07-22 18:08:49 +02:00
Lertsenem 9b2388973c Add cachedir argument for export function
Use system-specific user cache directory thanks to appdirs
2020-07-22 18:07:52 +02:00
Lertsenem 3506f8de17 Add infos in version 2020-07-22 18:06:48 +02:00
Lertsenem 3a7ffaef6d Add proxy parameter to res download function 2020-07-22 18:05:15 +02:00
Lertsenem f887f5fd84 Use pathlib and appdirs modules
Better cross-OS support of paths and config/cache dirs.
2020-07-22 18:04:13 +02:00
Lertsenem b69d0b55e9 Add basic Windows exe setup.py 2020-07-21 11:20:12 +02:00
Lertsenem 0e3fe3ffa4 Add templates as package data in setup.py 2020-07-21 00:36:30 +02:00
Lertsenem 2ea7b3afc4 Refactor arguments parsing
And change some defaults
2020-07-21 00:35:56 +02:00
Lertsenem 8b61e6b8a6 Add ROOTDIR constant
Replaces the unimplemented args.rootdir
2020-07-21 00:34:07 +02:00
Lertsenem f4115da4d0 Remove dir_root use from rebootlyon2020 template
The imgdir path should be absolute or relative, depending on what the
user wants.
2020-07-21 00:30:05 +02:00
Lertsenem e9f8bac22c Add basic setup.py 2020-07-20 23:55:06 +02:00
Lertsenem 6e2d697e12 Fix imports for setuptools 2020-07-20 23:54:32 +02:00
Lertsenem 603238449b Add playerskins DB file
Based on Lyon's Smash players atm
2020-07-20 23:53:46 +02:00
Lertsenem f859362f71 Update .gitignore 2020-07-20 23:53:08 +02:00
Lertsenem e6a3e62997 Add MIT License 2020-07-20 19:12:48 +02:00
Lertsenem 7bd09dc959 Add support for playersinks db
Select a default skin depending on the player tag and the character
name.
2020-07-20 18:44:49 +02:00
Lertsenem 4f115740b5 Merge branch 'stable' version 2020-07-19 22:39:49 +02:00
Lertsenem 824928145f First stable version 2020-07-19 22:27:50 +02:00
Lertsenem 3d7509e639 Add --name-seo-delimiter option 2020-07-19 22:26:34 +02:00
Lertsenem bef3d1b7b7 Add a new init subcommand
To download resources.
2020-07-19 17:04:58 +02:00
Lertsenem 0686861296 Add a specific module for characters infos 2020-07-19 15:39:39 +02:00
Lertsenem a8b274f6ce Use Gobold font in rebootlyon2020 template
Plus some adjustment on size & positions of texts
2020-07-18 15:42:42 +02:00
Lertsenem 25b5597772 Add rebootlyon2020 template 2020-07-17 21:58:51 +02:00
Lertsenem 3d59251be5 Add Captain Falcon and Dr Mario smashgg ids 2020-07-17 20:17:08 +02:00
Lertsenem 2e7dfe4bec Remove tmp svg file for inkscape export 2020-07-16 22:22:25 +02:00
Lertsenem 6370484c4e Replace None by "" for teams and twitter names 2020-07-09 18:33:30 +02:00
Lertsenem 9427672d2f Add Min Min smash.gg id translation 2020-07-09 18:33:07 +02:00
Lertsenem e5f0df6a4e Add template rebootlyon2 2020-07-09 18:32:09 +02:00
Lertsenem b0e76b562d Add basic usage to README 2020-07-09 15:40:16 +02:00
Lertsenem 4714071968 Add lkrz file loading
Should you need to modify the lkrz file by hand and regenerate the
outfile hereafter.
2020-07-09 15:24:08 +02:00
Lertsenem 3302cff67f Add modules infos in README 2020-07-09 14:49:38 +02:00
Lertsenem e151309a4d Update README with requirements 2020-07-09 14:42:40 +02:00
Lertsenem 1272a64d54 Add export submodule to handle output
This submodule will handle saving the outfile to whatever format you
want.

For now, it can save in svg (default), png using inkscape, png, pdf or
ps using cairosvg.
2020-07-09 14:31:22 +02:00
Lertsenem d02d788dba Change rebootlyon logo to covid special logo 2020-07-09 14:30:42 +02:00
Lertsenem b3fd2473b0 Fix broken symlink 2020-07-09 11:03:33 +02:00
Lertsenem 00ccbf6339 Rename README with asciidoc extension 2020-07-09 10:25:11 +02:00
Lertsenem efe9ea717e Add reboot logos 2020-07-09 10:24:29 +02:00
Lertsenem bbb3fcce19 Update rebootlyon template
Among other changes :
- remove background mask which failed with firefox
- change reboot png logo for an SVG one
- include reboot logo dynamically
2020-07-09 10:24:21 +02:00
Lertsenem 0f8d64a091 Change arguments for dir path
Now :
- rootdir is the directory all the img paths will be relative to ;
  defaults to '.'
- imgdir is the directory containing all required images ; defaults to
  'res/ssbu'. It is expected to hold a 'chars' directory
2020-07-09 10:19:03 +02:00
Lertsenem d5a85266c8 Add skin support
characters are now a tuple ("charname", "charskin").
2020-07-09 09:52:31 +02:00
Lertsenem ee1104e36e Fix WFT typo 2020-07-09 09:52:20 +02:00
Lertsenem d700a351f9 Move templates dir up from res.
Templates should not be considered 'resources'.
2020-07-09 09:16:12 +02:00
Lertsenem 11c9528c7a Ignore generated lkrz files
Rename the sample lkrz file too.
2020-07-08 07:55:12 +02:00