Hacking Kona: Cafiine Server

gudenau

Largely ignored
OP
Member
Joined
Jul 7, 2010
Messages
3,882
Trophies
2
Location
/dev/random
Website
www.gudenau.net
XP
5,379
Country
United States
Kona
Basically it is just another Cafiine server that uses archived sets of files for mods that embed a little bit of metadata, allowing people to share one file and have simpler instructions on the PC.

Vl4YWPy.png
Here are a couple of MK8 test mods: (Thanks to @SuperDaStar for making the originals)
How to use:
  1. Download release
  2. Extract
  3. Download mods
  4. Put into "mods" next to the jar
  5. Run jar
  6. Run Cafiine
  7. Profit?
This is all well and good, but how do we make our own Kona archives?

Simple, use the other program that is included, Percolator.
ihZnhlo.png
(Note, to replace the images click on them. Automatically resized if they are not quite right)

Java is stupid and slow and I hate you and Oracle and bla bla bla.
Make your own version then, here is the file spec that I used to make the programs. Everything is big endian.
Code:
magic: binary: "KONA"
formatVersion: int: 1
gameName: stringPointer
console: int
titleIDCount: int
titleIDs: array
    titleID: long

modInfo: object
    authorCount: long
    authors: array
        author: stringPointer
    name: stringPointer
    website: stringPointer
    description: stringPointer
    logo: dataPointer
    iconCount: long
    icon: map
        key:
            size: long
        value:
            iconPointer: dataPointer

staticCount: long
staticFiles: map
    key:
        pathPointer: stringPointer
    object:
        dataPointer: dataPointer

randomCount: long
randomFiles: map
    key:
        pathPointer: stringPointer
    object:
        dataCount: long
        dataItems: array
            dataPointer: dataPointer

strings: array
    stringLength: int
    stringData: chars

data: array
    dataSize: long
    compression: int
    data: binary

Download:
v1.0.0β: Initial Beta

Icon by @CeeDee

If you like this, check out the links in my signature. ;-)

Future Plans:
  • Custom Cafiine client
  • File cachine
  • SD access
  • Network discovery
  • Other consoles?

(Please note, I could not make Cafiine work corretly on my Wii U so this might not be 100% stable, hence the β)
 
Last edited by gudenau,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    Push it :creep:
  • Veho @ Veho:
    Talk about propaganda.
  • Veho @ Veho:
    Illinois is working to ban toxic food additives that have been banned for decades in other countries; additives that can be replaced and all those countries still have Skittles and Mountain Dew. Title of the piece: GUBMINT WANTS TO TAKE AWAY YOUR CANDY
  • Veho @ Veho:
    Gee, I wonder if the author is biased?
  • SylverReZ @ SylverReZ:
    @Veho, Sounds and smells like bullshit. They don't give you cancer, and California should know that. I don't get why they stick labels that say "may or may not cause reproductive harm or cancer".
  • Veho @ Veho:
    Arsenic doesn't give you cancer either.
    +2
  • Veho @ Veho:
    California has already banned those additives BTW.
    +2
  • Veho @ Veho:
    Psi has been banned in the state of California.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    I am the cancer!!! lol
  • Psionic Roshambo @ Psionic Roshambo:
    Yayyy got arcade games on the Pi working lol
  • Veho @ Veho:
    Cool.
  • Psionic Roshambo @ Psionic Roshambo:
    Now to spend 6 months deleting all the garbage lol
  • Psionic Roshambo @ Psionic Roshambo:
    Mame should be two sets one for preservation of everything and one set for people who just want to play and enjoy the old old ganes
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, Shouldn't preservation be legal tho?
    +1
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, I always see this dude's shorts, he sounds pretty annoying.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Preservation yeah it absolutely should be legal
    +1
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, Believe Japan was going to make it legal at some point, according to a Kotaku story.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I swear like 99% of arcade games wouldn't even exist these days outside of MAME the arcade machines are old and busted very few ever saw any sort of home conversion
  • Psionic Roshambo @ Psionic Roshambo:
    We get 37 versions of Super Mario Bros but 0 of Beast Busters
    +1
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, There's a lot of obscure Japanese arcade titles that are either lost to time or dumped.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's so unfair, maybe AI can save us lol
  • Psionic Roshambo @ Psionic Roshambo:
    I mean if a company could use AI to do the work of a home conversion for essentially free why not? The rights for some games are completely lost though
    Psionic Roshambo @ Psionic Roshambo: I mean if a company could use AI to do the work of a home conversion for essentially free why...