Giter Site home page Giter Site logo

dv8fromtheworld / 0x40-hues-editor Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 13.25 MB

A program to modify the 0x40 Hues SWF. End goal is to be able to modify what song loops and pictures are included in the file without necessarily having to re-download them and enable them after the file starts playing.

Java 94.33% JavaScript 0.57% D 5.11%

0x40-hues-editor's Introduction

0x40-Hues-Editor

A program to modify the 0x40 Hues SWF. End goal is to be able to modify what pictures and song-loops are included in the file without having to re-download them and enable them after the file starts playing.

Todo List / Planned Features

This program is very much not complete. I would say that it is roughly halfway complete. Took quite a while to figure out how 0x40 had structured the internals of the SWF. The follow is a list of things that needs to be completed.

  • Need to display a download progress bar while downloading the SWF and Respacks on first run. Currently shows nothing. The GUI doesn't appear until after all downloading and unzip is completely. This a problem. Not user friendly!
  • Checkbox tree needs to save customization selections to file. Needs to be able to load from file.
  • Need to create a way to import an already customized SWF. This means being able to just import the customized respack list or importing the customized SWF and determining what the customized respack list was from the contents of the SWF.
  • Support custom images and song loops being added, not just the official respacks.
    • This can be individual images / songs or entire custom respacks
    • For individual images / songs, provide a gui to create the needed internal JSON in a user friendly manner.
  • Look into adding other customizability such as:
    • Default startup song.
    • Default startup image.
    • Default startup skin (Retro, v4.20, Modern, Christmas, etc)
    • The ability to set the defaults for all the options on the Options screen.

Libraries Used

  • json.org's Java library

  • zip4j

    • Used to unzip the 0x40 Hues Respacks.
    • Seriously great library. Supports SO much stuff. Props to Srikanth Reddy Lingala for creating it.
    • Link: http://www.lingala.net/zip4j/
  • swing checkbox tree

    • Used to show the 0x40 Hues Respacks in a easy to understand, graphical representation for ease of customization
    • If you check the code, mine is -slightly- different, I had to modify the internals so that I could check the values of the checkboxes through the code.
    • Link: https://github.com/scijava/swing-checkbox-tree
  • JPEXS Free Flash Decompiler

  • RABCDAsm

    • Also used to decompile the SWF and extract the scripts. Incredibly powerful.
    • Currently we are using the Windows Binaries, but it is written in D so hopefully we can support linux too.
    • Link https://github.com/CyberShadow/RABCDAsm
      • This needs 7zip to be installed on your machine.
      • Windows: You will need to properly set your PATH variable in Environment Variables
      • Link: http://www.7-zip.org/download.html

0x40-hues-editor's People

Contributors

dv8fromtheworld avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

amryrp

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.