Outils pour utilisateurs

Outils du site


emulation:vgm:conversion:vgm2flac

Ceci est une ancienne révision du document !


vgm2flac

Description

vgm2flac est un utilitaire bash écrit par votre serviteur, il permet (entre autre) de simplifier la conversion en flac de nombreux formats vgm.

Il normalise le pic son à 0db, détecte les faux fichiers stéréo, et retire si besoin les parties sans son.

Formats supportés

  • 3DO: aif
  • Amiga/Atari: mod, snd, sndh
  • Fujitsu FM-7, FM Towns: s98
  • NEC PC-Engine/TurboGrafx-16: hes
  • NEC PC-6001, PC-6601, PC-8801, PC-9801: s98
  • Microsoft Xbox: aix, mus, sfd, xwav
  • Microsoft Xbox 360: wem
  • Nintendo 3DS: mus, bcstm, wem, bcwav, fsb
  • Nintendo DS: adx, mini2sf, sad
  • Nintendo GB & GBC: gbs
  • Nintendo GBA: minigsf
  • Nintendo GameCube: dsp, hps, adp, thp, mus, adx, cfn
  • Nintendo N64: miniusf
  • Nintendo NES: nsf
  • Nintendo SNES: spc
  • Nintendo Switch: bfstm, bfwav, ktss
  • Nintendo Wii: mus
  • Sega Mark III/Master System: vgm, vgz
  • Sega Mega Drive/Genesis: vgm, vgz
  • Sega Saturn: minissf, ssf
  • Sega Dreamcast: dsf, spsd
  • Sharp X1 : s98
  • Sony Playstation: psf, minipsf, xa, vag
  • Sony Playstation 2: ads, adpcm, genh, psf2, minipsf2, ss2, vag, int, vpk, sng, vgs
  • Sony Playstation 3: aa3, adx, at3, genh, laac, msf, mtaf, sgd, ss2, vag, xvag, wem
  • Sony Playstation 4: wem
  • Sony PSP: at3
  • Panasonic 3DO: aifc, str
  • PC: fsb, his, imc, mod, voc
  • Various machines: vgm, vgz, adx, rak, tak, dat, eam, at3, raw, pcm, wem
  • Various machines CD-DA: bin, bin/cue, iso/cue

Dépendance embarquées

Installation

vgm2flac

curl https://raw.githubusercontent.com/Jocker666z/vgm2flac/main/vgm2flac.sh > /home/$USER/.local/bin/vgm2flac && chmod +rx /home/$USER/.local/bin/vgm2flac

Dépendances

Dépôt

apt install ffmpeg ffprobe sox bc bchunk xxd adplay fluidsynth

sc68 & info68

Build dependencies: `git build-essential autoconf libtool libtool-bin automake pkg-config libao-dev zlib1g-dev`

cd
git clone https://github.com/Jocker666z/sc68 && cd sc68
tools/svn-bootstrap.sh && ./configure LDFLAGS="-static"
make -j"$(nproc)"
su -c "make install" -m "root"

vgm2wav

Build dependencies: `git build-essential cmake zlib1g-dev libao-dev libdbus-1-dev`

git clone https://github.com/ValleyBell/libvgm && cd libvgm
mkdir build && cd build && cmake .. 
make -j"$(nproc)"
su -c "make install" -m "root"

vgmstream_cli

Build dependencies: `git build-essential cmake audacious-dev libao-dev libvorbis-dev libmpg123-dev`

git clone https://github.com/losnoco/vgmstream && cd vgmstream
mkdir build && cd build && cmake .. 
make -j"$(nproc)"
su -c "make install" -m "root"

uade

Build dependencies: `git build-essential udacious-dev libao-dev libvorbis-dev libmpg123-dev`

cd
git clone https://gitlab.com/heikkiorsila/bencodetools && cd bencodetools
./configure
make -j"$(nproc)"
su -c "make install" -m "root"
cd
git clone https://gitlab.com/uade-music-player/uade && cd uade
./configure
make -j"$(nproc)"
su -c "make install" -m "root"

zxtune123

cd /home/$USER/.local/bin/
wget https://github.com/Jocker666z/vgm2flac-dep/raw/main/zxtune123_r4980.tar.bz2
tar -xf zxtune123_r4980.tar.bz2 && rm zxtune123_r4980.tar.bz2

Utilisation

Lancer simplement le script dans le répertoire contenant les vgm, ensuite sélectionner l'option 21.

Références

emulation/vgm/conversion/vgm2flac.1614316561.txt.gz · Dernière modification : 2022/12/17 14:09 (modification externe)