Forums

Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Scans - Maps - Cheats - Credits
Music - Videos - Development - Hacks - Translations - Homebrew

View topic - PSGTool - A VGM to PSG convertor

Reply to topic
Author Message
  • Joined: 14 Apr 2013
  • Posts: 533
Reply with quote
PSGTool - A VGM to PSG convertor
Post Posted: Mon Jan 22, 2018 9:34 pm
Last edited by Calindro on Thu Apr 02, 2020 10:07 pm; edited 5 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.

PSGTool.zip (8.45 KB)

  View user's profile Send private message Visit poster's website
  • Joined: 28 Jan 2017
  • Posts: 377
  • Location: Málaga, Spain
Reply with quote
Post Posted: Mon Jan 22, 2018 10:12 pm
Great!!!! Good compression with this tool!!!
  View user's profile Send private message
  • Joined: 05 Sep 2013
  • Posts: 2742
Reply with quote
Post 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! :)
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 13357
  • Location: London
Reply with quote
Post Posted: Tue Jan 23, 2018 9:30 am
Any chance of source code?
  View user's profile Send private message Visit poster's website
  • Joined: 18 Dec 2014
  • Posts: 96
  • Location: Canada
Reply with quote
Post Posted: Sat Jan 27, 2018 10:30 am
Thanks Calindro.
  View user's profile Send private message
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 13357
  • Location: London
Reply with quote
Post Posted: Tue Jun 11, 2019 6:45 pm
I noticed the jar was updated in July 2018 - was there anything interesting about the update?
  View user's profile Send private message Visit poster's website
  • Joined: 14 Apr 2013
  • Posts: 533
Reply with quote
Post 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.
  View user's profile Send private message Visit poster's website
  • Joined: 01 Feb 2014
  • Posts: 540
Reply with quote
Post Posted: Wed Jun 12, 2019 6:37 am
Excellent. Can‘t wait to use it in my next project.
  View user's profile Send private message
  • Joined: 14 Apr 2013
  • Posts: 533
Reply with quote
Post 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.
  View user's profile Send private message Visit poster's website
Reply to topic



Back to the top of this page

Back to SMS Power!