GithubHelp home page GithubHelp logo

keeakita / teeoc Goto Github PK

View Code? Open in Web Editor NEW
1.0 0.0 0.0 132 KB

An asset swapper for Tee K.O. that lets you play as your own characters.

License: GNU General Public License v3.0

Kotlin 100.00%

teeoc's Introduction

Tee O.C.

This program allows you to provide a pack of visual/sound assets to be swapped into a copy of Tee K.O.. It provides a way to play with your own character images and sounds in the main display (this does not change anything shown on player's devices).

Current status

You can right now (manually) create a resource pack that can swap images into the game. I've only tested it with the character select icons.

Future plans include testing packs that include images for every part of the game, packs that have sound and animation resources, and possibly a GUI for creating resource packs.

Resource Pack Format

A resource pack is just a collection of assets in a Zip file. Standard zip programs should work just fine -- this uses the Java standard library Zip reader. Assets are anything supported by FFDec. For images, this is at least PNG and JPEG (possibly others?). For sounds, I have no idea. I haven't tried it yet.

The directory structure encodes which assets should be swapped where. Consult src/main/resources/teeko_ids.yaml for the names of everything.

As an example, consider a Zip file with the following entries that replaces character select icons for 5 characters:

character_select/
character_select/visual_assets/
character_select/visual_assets/character_select_icons/
character_select/visual_assets/character_select_icons/cat.png
character_select/visual_assets/character_select_icons/dog.png
character_select/visual_assets/character_select_icons/red_demon.png
character_select/visual_assets/character_select_icons/umbrella.png
character_select/visual_assets/character_select_icons/snake.png

License Disclaimer

I am providing code in this repository to you under an open source license. Because this is my personal repository, the license you receive to my code is from me and not from my employer (Facebook).

Why GPL?

This program for the most part is a wrapper around the JPEXS Free Flash Decompiler, which is provided under the GPL. It's not really a library, I had to rip into the source code and copy portions of it to make this work since there's no real documentation. Since I'm directly taking GPL source, this project has to be GPL.

teeoc's People

Contributors

keeakita avatar

Stargazers

hecate cantus avatar

teeoc's Issues

Autodetect Steam path for locating the SWF

I'm assuming most people playing Tee K.O. have it installed from Steam. Autodetecting the path would be a nice touch rather then having them have to type the whole thing out. This can be done by checking the registry.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.