Last active
November 15, 2019 20:58
-
-
Save AlphaAtlas/195d7df97a1794e6e9c72d95458648f7 to your computer and use it in GitHub Desktop.
Binking
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Run on https://colab.research.google.com/ for free! | |
import os, tempfile, shutil, sys | |
%cd / | |
#mount gdrive | |
googpath = os.path.abspath(os.path.join("gdrive", "My Drive")) | |
if not os.path.isdir(googpath): | |
from google.colab import drive | |
drive.mount('/gdrive') | |
#!/bin/bash -c "$(curl -sL https://git.io/vokNn)" | |
!sudo dpkg --add-architecture i386 | |
!wget -nc https://dl.winehq.org/wine-builds/winehq.key | |
!sudo apt-key add winehq.key | |
!sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main' | |
!sudo apt update | |
!sudo apt install --install-recommends winehq-stable xvfb | |
%cd / | |
%cd "/gdrive/My Drive/RADVideo" | |
#!Xvfb :0 -screen 0 1024x768x16 & DISPLAY=:0 | |
!xvfb-run wine Binkc.exe ../PNGs/?.jpeg*1-34 outtest.bik /v100 /d0 /m2.0 /l-1 /o /p8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment