Skip to content

Tools for GNU/Linux

Technical discussion about the VGM format, and all the software you need to handle VGM files.

Moderator: Staff

Tools for GNU/Linux

Post by nitrofurano »

i were looking for vgm tools available for GNU/Linux, but i were seeing that most of the tools available are for ms-windows - they run almost fine on Wine, so it would be awesome if people could help porting/forking them to GNU/Linux natively

anyway, can someone provide a list of useful tools that already exists for GNU/Linux? thanks in advance!

Post by vampirefrog »

the source is available, you can compile them

http://vgmrips.net/forum/viewtopic.php?f=3&t=207

also, "I was"

Post by nitrofurano »

thanks! btw, from the result of vgm2txt, isn’t that "Enelope Mode" mistyped instead of "Envelope Mode"? (result from ay8910)
(i can’t find "Enelope" or "Envelope" from vgm2txt.c , where is it?... )

anyway, as i'm interested on converting some vgm files (starting from ay8910 and sn76489, which are those i know better) to ascii-based tracker files (like that one used on Vortex Tracker - anyway, this is why i think all trackers should use an ascii-based format version of all binary tracker files, like .mod, .s3m, .it, etc. ) - for that, where from can i find a conversion table, or formula, from the frequencies used on each chip, to the germanic notation used on trackers? (anyway, as suggestion, i guess that would be interesting to have also from vgm2txt logs - for example, from ay8910, seeing that the frequency is stored in 12 bits (2 8 bit registers each channel), the log would display the updated value, whatever value these 2 8bit registers might have at the time - what do you think? )

(the conversion tables i’m looking for are like "table 5.1" from http://www.konamiman.com/msx/msx2th/th-5a.txt )

Post by vampirefrog »

I guess eventually we'll set up a proper download page, with a setup.exe, .deb packages, mac package and so on and so forth.

Post by nitrofurano »

as well, perhaps would be great hosting everything (or most of) in a github account (or alike... perhaps github would be a better choice because we find far more projects hosted there), and i guess that would be easier for people to help (if i could help patching mess/mame sources (like fixing wrong Mattel-Aquarius, and Master System wrong palettes, stuff like that), i guess anyone else could help about VGM-Tool as well )
  • User avatar
  • grauw Offline
  • Posts: 150
  • Joined: 2015-02-22, 3:40:22

Post by grauw »

  • User avatar
  • ValleyBell Offline
  • Posts: 4767
  • Joined: 2011-12-01, 20:20:07
  • Location: Germany

Post by ValleyBell »

I edited the topics to include a GitHub link.

The "Envelope" typo will be fixed the next time I push to the vgmtools repo. (The text is located in "chiptext.c", btw.)

(Also @vampi: You don't need a setup.exe for copy deployment.)

Post by vampirefrog »

Yeah bro, we know what we're doing, aight?

VB: A setup.exe would be more professional, and can add the tools to %PATH%.

Post by nitrofurano »

@grauw thanks! :)

@varmpirefrog btw, i struggled on compiling some of the sources (the important is that vgm2txt is working fine, the only i’m using up to now) - i used "make" and "sudo make install" as usual (i posted the compiling log at http://pastebin.com/91Crsmz6 - don’t mind about the "macbook" there, it’s only the hardware (very rarely i use osx), it was on ubuntu 15.10 ) - great would be if there would be instructions of what development libraries are needed for installing, and stuff like that

Post by vampirefrog »

strange, I seem to recall fixing those compilation bugs...

did you get the latest version? try this zip https://github.com/vgmrips/vgmtools/archive/master.zip

Post by nitrofurano »

nope, i only compiled that one you told at first - and thanks, i got far more binary files compiled (over 20 instead of just 3), but some compiling errors persist (i guess they are irrelevant? - http://pastebin.com/UnRBjUja )

btw, the makefile has no "install" entries for "sudo make install" ( and sorry that i’m still too noob for help creating it! :D - i don’t know if http://pastebin.com/DqW9n0CX can be useful for that )
  • User avatar
  • ValleyBell Offline
  • Posts: 4767
  • Joined: 2011-12-01, 20:20:07
  • Location: Germany

Post by ValleyBell »

nitrofurano wrote:some compiling errors persist (i guess they are irrelevant? - http://pastebin.com/UnRBjUja )
Those are not errors, those are warnings. Maybe -Wall is a bit too much.
nitrofurano wrote:btw, the makefile has no "install" entries for "sudo make install"
Yeah, Linux/Unix support is pretty bad for the tools.
I could maybe make "install" and "uninstall" rules similar to the rules used by the VGMPlay makefile.
I definitely won't do install rules without being able to uninstall.

Post by nitrofurano »

thanks! :)
  • lo zaffo Offline
  • Posts: 39
  • Joined: 2016-08-03, 22:36:09
  • Location: Italy

Post by lo zaffo »

I used for months VGMPlay on a Ubuntu 32-bit version on Intel Centrino Core 2 64-bit in a HP Pavillion notebook.
Lately I changed into Ubuntu MATE 16.04 64-bit version and VGMPlay cannot use audio driver, so no vgm playback, libAO is not installed and OSS seems to not work.
Did I have to figure out how call ALSA driver APIs (or SDL APIs) within VGMPlay? Do any GNU/Linux VGMPlay user have same kind of problem?
Any help appreciated.
  • User avatar
  • ValleyBell Offline
  • Posts: 4767
  • Joined: 2011-12-01, 20:20:07
  • Location: Germany

Post by ValleyBell »

If you install ALSA OSS emulation (the package should be called "alsa-oss"), you can use VGMPlay by calling

Code: Select all

aoss vgmplay
or by just using the vgm-player script. (which tries to detect the OSS emulation provided by ALSA and PulseAudio by itself and uses it on vgmplay)

I vaguely remember trying to add proper ALSA support to VGMPlay, but I don't remember whether I finished it (and still have the patched Stream.c file) or not.
Post Reply