Author |
Message |
- Joined: 14 Apr 2013
- Posts: 637
|
PSGTool - A VGM to PSG convertor
Posted: Mon Jan 22, 2018 9:34 pm Last edited by Calindro on Tue Mar 21, 2023 9:48 pm; edited 6 times in total
|
Some time ago sverx asked me to release the PSG tools of KiddEd as a standalone tool.
It took a while but here it is now.
It takes VGM files and converts them into PSG files for use with sverx's PSGlib.
Usage is simple:
java -jar PSGTool.jar INPUTFILE [OUTPUTFILE] [2|3|23] [OPTIONS]
Possible options are:
-split Split large files into multiple files.
-uncompressed Don't compress output.
-framerate The target framerate. E.g. 60 for NTSC. If not specified, the input framerate is used.
|
|
|
- Joined: 28 Jan 2017
- Posts: 556
- Location: Málaga, Spain
|
Posted: Mon Jan 22, 2018 10:12 pm
|
Great!!!! Good compression with this tool!!!
|
|
|
- Joined: 05 Sep 2013
- Posts: 3951
- Location: Stockholm, Sweden
|
Posted: Tue Jan 23, 2018 9:11 am
|
This is the tool I suggest to use for all your PSG conversions.
(I mean, instead of my vgm2psg and psgcomp that aren't even nearly as good as this...)
Great work, pal! :)
|
|
|
- Site Admin
- Joined: 19 Oct 1999
- Posts: 14984
- Location: London
|
Posted: Tue Jan 23, 2018 9:30 am
|
Any chance of source code?
|
|
|
- Joined: 18 Dec 2014
- Posts: 95
- Location: Canada
|
Posted: Sat Jan 27, 2018 10:30 am
|
Thanks Calindro.
|
|
|
- Site Admin
- Joined: 19 Oct 1999
- Posts: 14984
- Location: London
|
Posted: Tue Jun 11, 2019 6:45 pm
|
I noticed the jar was updated in July 2018 - was there anything interesting about the update?
|
|
|
- Joined: 14 Apr 2013
- Posts: 637
|
Posted: Tue Jun 11, 2019 6:52 pm
|
Maxim wrote I noticed the jar was updated in July 2018 - was there anything interesting about the update?
I don't remember exactly but it was a minor bugfix. I think it was something like if the input file was an already compressed psg file it would "compress" the compressed file. That would effectively produce an invalid psg file.
Now in that case it will just write out the original compressed file.
|
|
|
- Joined: 01 Feb 2014
- Posts: 895
|
Posted: Wed Jun 12, 2019 6:37 am
|
Excellent. Can‘t wait to use it in my next project.
|
|
|
- Joined: 14 Apr 2013
- Posts: 637
|
Posted: Thu Apr 02, 2020 11:28 pm
|
I have uploaded an update of PSGTool to the initial post in here. PSGTool had crashed if neither the input VGM file specified a samplerate nor a samplerate was specified via commandline argument.
It will now fallback to NTSC's 60 Hz in that case.
|
|
|
- Joined: 14 Apr 2013
- Posts: 637
|
Posted: Tue Mar 21, 2023 9:51 pm
|
I have uploaded a new version of PSGTool to the original post.
I have bad news and good news.
Bad news first: There has been a bug in the compressor that could result in slightly corrupted output (1 or 2 wrong notes in a 1 minute song).
Good news: Armixer24 and slogra encountered the issue, reported it and I managed to fix it. Additionally, while the fixed compressor produces bigger output for a few files (presumably for ones that suffered from corruption before), it also produces smaller output for other files. :)
|
|
|