Harigami
ログイン
1
anonymous testH.264
PlainText
ffmpeg -i ./input.h264 -ss 0 -t 10 -f image2 -vcodec png -r 100 "./test/%05d.png"
  • 0
  • 0
anonymous タイトルなし
PlainText
💩
  • 0
  • 1
anonymous タイトルなし
PlainText
#!/bin/bash

#This script created by Midnight Express Ginga81(ginga81) 2019
#This script is Public Domain

#I checked this script on Ubuntu19.04 and Wine4.0.1 and winetricks 20190615-next

#This scrript creates to running environment with MikuMikuDance64 with MikuMikuEffect64 and PMXEditor64.
#適当なフォルダにこのスクリプトを用意し、実行すると自動的に準備を整えます。VCrun2008と2010は自動化できなかったので同意してインストールしてください。
#実行した後MikuMikuDance_v931x64.zipとPmxEditor_0254f.zip、MMEffect_x64_v037.zipをWindowsと同じ方法で
#~/.WineMMD64/drive_c/Program Files/以下に展開するだけです。
#実行は
#WINEPREFIX=~/.WineMMD64 wine ~/.WineMMD64/drive_c/Program\ Files/MikuMikuDance_v931x64/MikuMikuDance.exe
#WINEPREFIX=~/.WineMMD64 wine ~/.WineMMD64/drive_c/Program\ Files/PmxEditor_0254f/PmxEditor_x64.exe
#アンインストールは~/.WineMMD64をまるごと消せば終わりで、設定ファイルは残らず綺麗に消えます。

WINEPREFIX=~/.WineMMD64 wineboot
WINEPREFIX=~/.WineMMD64 winetricks -q vcrun2005 vcrun2008 vcrun2010 d3dx9 d3dxof d3dx9_43 fakejapanese_ipamona dotnet40 vcrun2013 devenum quartz qcap qedit win7 quartz gdiplus
WINEPREFIX=~/.WineMMD64 wine reg add HKCU\\Software\\Wine\\DllOverrides /v msvcr90 /t reg_sz /d "builtin"
WINEPREFIX=~/.WineMMD64 wine reg add HKCU\\Software\\Wine\\DllOverrides /v d3d9 /t reg_sz /d "native,builtin"
WINEPREFIX=~/.WineMMD64 wine reg add HKCU\\Software\\Wine\\DllOverrides /v d3dx9_43 /t reg_sz /d "native,builtin"
WINEPREFIX=~/.WineMMD64 wine reg add HKCU\\Software\\Wine\\DllOverrides /v d3dxof /t reg_sz /d "native,builtin"
WINEPREFIX=~/.WineMMD64 wine reg add HKCU\\Software\\Wine\\DllOverrides /v d3dx9 /t reg_sz /d "native,builtin"
WINEPREFIX=~/.WineMMD64 wine reg add HKCU\\Software\\Wine\\DllOverrides /v devenum /t reg_sz /d "native"
WINEPREFIX=~/.WineMMD64 wine reg add HKCU\\Software\\Wine\\DllOverrides /v quartz /t reg_sz /d "native,builtin"
WINEPREFIX=~/.WineMMD64 wine reg add HKCU\\Software\\Wine\\DllOverrides /v qcap /t reg_sz /d "native,builtin"
WINEPREFIX=~/.WineMMD64 wine reg add HKCU\\Software\\Wine\\DllOverrides /v qedit /t reg_sz /d "native,builtin"

#vcrun2008 https://www.microsoft.com/ja-jp/download/details.aspx?id=15336
wget -c https://download.microsoft.com/download/f/0/c/f0cf29d7-442e-49cd-98aa-eba28c2f8ab6/vcredist_x64.exe
mv ./vcredist_x64.exe ./vcredist_x64-2008.exe
WINEPREFIX=~/.WineMMD64 wine ./vcredist_x64-2008.exe

#vcrun2010 https://www.microsoft.com/ja-jp/download/details.aspx?id=14632
wget -c https://download.microsoft.com/download/3/2/2/3224B87F-CFA0-4E70-BDA3-3DE650EFEBA5/vcredist_x64.exe
mv ./vcredist_x64.exe ./vcredist_x64-2010.exe
WINEPREFIX=~/.WineMMD64 wine ./vcredist_x64-2010.exe

#d3dcompiler_43だけは必ず最後に入れなければならない。
WINEPREFIX=~/.WineMMD64 winetricks -q d3dcompiler_43
  • 0
  • 1
あなたもコードを投稿しませんか?
投稿する
1