Add some old notes about an experiment I ran

This commit is contained in:
Stefano Brilli 2020-08-22 10:45:49 +02:00
parent 512fae8c31
commit f54a6e7989
1 changed files with 56 additions and 0 deletions

56
extra/atrac3-sony-wine.md Normal file
View File

@ -0,0 +1,56 @@
# Some notes on how to use the original atrac3 encoder from sony with Wine
# This is just an experiment. Might not work at all on your hardware
apt update
apt install wine-stable
wget https://github.com/cskau/atrac3util/releases/download/v0.0.1/atrac3util.exe
wget https://dl.winehq.org/wine/wine-mono/4.9.4/wine-mono-4.9.4.msi
WINEARCH=win32 WINEPREFIX=~/.wine32 wineboot
wineboot
wine msiexec /i wine-mono-4.9.4.msi
wine64 msiexec /i wine-mono-4.9.4.msi
wget https://samples.ffmpeg.org/A-codecs/ATRAC3/atrac3.acm
cp atrac3.acm ~/.wine/drive_c/windows/system32/
cp atrac3.acm ~/.wine/drive_c/windows/syswow64/
vi ~/.wine/drive_c/windows/system.ini
ls
wine64 atrac3util.exe
wine atrac3util.exe
apt-get install mono-complete
git clone https://github.com/cskau/atrac3util.git
cd atrac3util/
mcs -out:atrac3util.exe main.cs acm.cs
ls
wine atrac3util.exe
wine64 atrac3util.exe
dpkg --add-architecture i386 && apt-get update && apt-get install wine32
wine64 atrac3util.exe
ls ..
apt-get install ffmpeg
ffmpeg -i ../prova.mp3 prova.wav
wine64 atrac3util.exe prova.wav prova.at3
wine atrac3util.exe prova.wav prova.at3
cat ~/.bashrc
ls -la ~/
history -a
history -w history.txt
# how to compile
docker run -ti -v ${PWD}:/src --rm i386/ubuntu /bin/bash
apt update
apt install -y mono-complete
apt update
apt install git
git clone https://github.com/cskau/atrac3util.git
cd atrac3util/
mcs -out:atrac3util.exe main.cs acm.cs
# dockerfile
apt update
apt install wine-stable
wineboot
wget https://dl.winehq.org/wine/wine-mono/4.9.4/wine-mono-4.9.4.msi
wine msiexec /i wine-mono-4.9.4.msi
cp atrac3.acm ~/.wine/drive_c/windows/system32/
echo "msacm.at3=atrac3.acm" >> ~/.wine/drive_c/windows/system.ini