Forums » General

Ouya Plugins and Skinks

Jun 28, 2013 coteyr link
First let me start by saying http://www.vendetta-online.com/x/msgboard/1/25195 pretty much covers it. This is just a bit of a compilation of things to get it to work on the OUYA specifically.

First get ready for some ADB. Follow these http://forum.xda-developers.com/showthread.php?t=2272266 instructions. It will set up your computer to run adb and access the OUYA. It's really helpful to do it over the air.

Ok, now the real fun.

On your computer, your basic goal is to make a directory you can push to the OUYA. So (these instructions are for Linux but you should get the idea)

Download the plugins you want to use.

mkdir ~/plugins
cd ~/plugins
unzip ~/Downloads/plugin1.zip
unzip ~/Downloads/plugin2.zip
repeat till all your plugins are extracted to ~/plugins (to be fair I just used my ~/.vendetta/plugins directory)

now sit one directory above your new plugins directory and push them to the device.

cd ..
adb push plugins/ /storage/sdcard0/Android/data/com.guildsoftware.vendetta/files/plugins/

Notice the trailing slashes, they are important. Also notice that I assume your already connected from the linked XDA instructions. If not you will need to connect first.

Finally restart Vendetta Online. If you want to make sure it's really restarted you can always adb reboot, though it should not be needed.

That's it, working plugins on the OUYA.

Oh and one more thing skins. Your basically going to follow the same steps.

create a valid skin directory (you can event test with the desktop client) then

adb push some_skin/ /storage/sdcard0/Android/data/com.guildsoftware.vendetta/files/some_skin/

Finally pull and edit the config.ini

adb pull /storage/sdcard0/Android/data/com.guildsoftware.vendetta/files/config.ini

editor config.ini

add skin=/storage/sdcard0/Android/data/com.guildsoftware.vendetta/files/some_skin/

(notice the trailing slash and full path)

adb push config.ini /storage/sdcard0/Android/data/com.guildsoftware.vendetta/files/config.ini

restart Vendetta Online

Seems to work quite well, though you need to be cautious with skins. Just because it looks good on the computer screen doesn't mean it will look good on the TV.

As noted in the posts below, you can also install an file manager (like Astro) that can unzip files, move things into the right place, with something like dropbox and just unzip it. It will work either way. Personally I like to use adb, but file manager will work just fine as well.
Jun 28, 2013 TheRedSpy link
You made a typo in the second instance of "Downloads"

unzip ~/Downloads/plugin1.zip
unzip ~/Downlaods/plugin2.zip
-----------------^ here

Other than that, good stuff!

With skinning, it is possible to make higher resolution HUD elements for use on the TV. Someone could recreate the images in vector format or they could be supplied to us from guild software and we could create a plugin that replaces all the standard ones with high resolution ones for TV

In the meantime, i suggest sticking with the default and maybe colouring it if you like some variation with FlamboyanceHUD (http://sercodominion.org/down/FlamboyanceHUD.zip)
Jun 28, 2013 coteyr link
Fixed, and noticed the title is "skinks" too but I can't edit that.

Oh and I tried light screen from the skins thread. It worked, but made things far to tiny to see on screen and still fit. I'm not sure why, something to do with font scaling. It's works, and looks good, but it's hard to read the hud and that's not good.
Jun 28, 2013 Phaserlight link
Awesome; thanks for this.
Jun 28, 2013 abortretryfail link
Nice writeup.

You can do it by installing a file manager app that understands ZIP files on your OUYA too. I downloaded the APK for ASTRO file manager with the console's web browser and just used that.
Jul 22, 2013 coteyr link
I am working on a way to allow "syncing" of settings and most importantly system notes from Computer to OUYA. I have working theories, but it's not easy to merge files when every plugins uses system notes for saving data. I might just have to give up and do a "one way sync"

So for example when launching Vendetta it "gets" the files, then when exiting vendetta it "sends" the files.

There is still the problem of binds and the config file. But thankfully not much is stored there in the way of transferable data.
Jul 22, 2013 coteyr link
That should allow you to sync data between your OUYA and Linux box. can be adapted for mac users. Windows people your SOL get a real OS :P

EDIT: The forums don't like code, sorry bout that, habbit. Here https://gist.github.com/coteyr/6054831 that should work better. Remember you will need to chmod it. Don't blame me if it doesn't work or lights your house on fire, kills your dog, ends the world etc.