Hacking Kona: Cafiine Server

  • Thread starter Thread starter gudenau
  • Start date Start date
  • Views Views 1,767
  • Replies Replies 2
  • Likes Likes 10

gudenau

Largely ignored
Member
Joined
Jul 7, 2010
Messages
4,111
Reaction score
4,467
Trophies
2
Location
/dev/random
Website
www.gudenau.net
XP
7,809
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,
Wow, thats really nice.
I never had much to do with cafiine related stuff, but I might try this one.
 

Site & Scene News

Popular threads in this forum