Clean stuff again
This commit is contained in:
parent
4480ae8a47
commit
49f2bce544
@ -21,10 +21,10 @@ optional arguments:
|
||||
--input-hp INPUT_HP Input file (HP)
|
||||
--input-op INPUT_OP Input file (OP)
|
||||
--output OUTPUT Output folder
|
||||
--preview PREVIEW Input preview file (optional, overrides preview generation code)
|
||||
--preview PREVIEW Input preview file (overrides preview generation code)
|
||||
--new New chart format which supports hold notes
|
||||
--bg BG Background image (optional, must be 128x256)
|
||||
--hariai HARIAI Hariai image (optional, must be 250x322 or 382x502)
|
||||
--bg BG Background image (must be 128x256)
|
||||
--hariai HARIAI Hariai image (must be 250x322 or 382x502)
|
||||
--metadata-fw-title METADATA_FW_TITLE
|
||||
Fullwidth music title for database
|
||||
--metadata-fw-artist METADATA_FW_ARTIST
|
||||
@ -71,12 +71,11 @@ required arguments:
|
||||
```
|
||||
|
||||
- Use `--new` to specify the new chart format (Usaneko and later) which supports hold notes.
|
||||
- Use `--ifs` to generate an `.ifs` file instead of a folder.
|
||||
- If a preview sound file is not specified with --preview, a preview will be automatically generated.
|
||||
- Automatically generated previews default to 10 seconds at the mid point of the chart.
|
||||
- The preview offset and duration can be customized using `--preview-offset` and `--preview-duration` respectively.
|
||||
|
||||
Example: `python3 pms2bemani.py --input-np wonderingbeats/01_kouunn-n.pms --input-hp wonderingbeats/02_kouunn-h.pms --input-op wonderingbeats/03_kouunn-ex.pms --keysounds-folder wonderingbeats --name wonderingbeats_convert --ifs --new --preview-offset 10.4 --preview-duration 15`
|
||||
Example: `python3 pms2bemani.py --input-np wonderingbeats/01_kouunn-n.pms --input-hp wonderingbeats/02_kouunn-h.pms --input-op wonderingbeats/03_kouunn-ex.pms --keysounds-folder wonderingbeats --name wonderingbeats_convert --new --preview-offset 10.4 --preview-duration 15`
|
||||
|
||||
## Credits
|
||||
- ifstools (https://github.com/mon/ifstools)
|
||||
|
@ -760,11 +760,11 @@ if __name__ == "__main__":
|
||||
requiredNamed.add_argument('--name', help='Base name used for output', default=None, required=True)
|
||||
requiredNamed.add_argument('--musicid', help='Music ID used for the database file', required=True, type=int)
|
||||
requiredNamed.add_argument('--keysounds-folder', help='Input folder containing keysounds', default=None, required=True)
|
||||
parser.add_argument('--preview', help='Input preview file (optional, overrides preview generation code)', default=None)
|
||||
parser.add_argument('--preview', help='Input preview file (overrides preview generation code)', default=None)
|
||||
parser.add_argument('--new', help='New chart format which supports hold notes', default=False, action='store_true')
|
||||
requiredNamed.add_argument('--banner', help='Banner image (must be 244x58)', default=None, required=True)
|
||||
parser.add_argument('--bg', help='Background image (optional, must be 128x256)', default=None, required=False)
|
||||
parser.add_argument('--hariai', help='Hariai image (optional, must be 250x322 or 382x502)', default=None)
|
||||
parser.add_argument('--bg', help='Background image (must be 128x256)', default=None, required=False)
|
||||
parser.add_argument('--hariai', help='Hariai image (must be 250x322 or 382x502)', default=None)
|
||||
parser.add_argument('--metadata-fw-title', help='Fullwidth music title for database', default=None)
|
||||
parser.add_argument('--metadata-fw-artist', help='Fullwidth music artist for database', default=None)
|
||||
parser.add_argument('--metadata-fw-genre', help='Fullwidth music genre for database', default=None)
|
||||
|
Loading…
Reference in New Issue
Block a user