[Release] Docker KallistiOS SDK for Linux

Discussion in 'Sega Dreamcast Development and Research' started by nold, Nov 19, 2017.

  1. nold

    nold Active Member

    Joined:
    Nov 18, 2017
    Messages:
    40
    Likes Received:
    34
    Hi everyone,

    yesterday I've finished the first release my KOS Docker Image. It's basically the easiest/fastest way to get a full precompiled KOS SDK up & running on Linux (It's basically one command to download & run - if you have docker already installed). It also includes a set of additional dreamcast related tools and scripts!

    Docker image overview:
    • Based on Debian "Jessie"
    • Latest KallisiOS 2.0.0 Toolchain + KOS-Ported Libraries
    • Latest mksdiso Toolkit (includes mksdiso, scramble, cdirip, binhack32/64, isofix, burncdi, makeip - all build from source!)
    • mds4dc & cdi4dc for Image creation (source)
    • makeip for custom IP.BIN creation (mksdiso)

    I've also created a wrapper-script called "dcbuild" which handles some development tasks for you!
    Here is a short demo of the "main"-features of this toolkit:


    You'll find all additional information on My Github
    Everything is free to use, modify & share. And every custom binary in this Docker image is compiled from source :)


    Get Docker Image: https://hub.docker.com/r/nold360/kallistios-sdk/

    Installation:
    All you need is a linux host that runs docker. See the docker website how to.

    Than simply run the container, inside of you project directory:
    Code:
     ~/my_project $ docker run -ti -v $(pwd):/src nold360/kallisios-sdk make
    To install dcbuild (+ kallisios-sdk-image), download & install it into PATH:
    Code:
    $ sudo wget -O/usr/local/bin/dcbuild https://raw.githubusercontent.com/Nold360/docker-kallistios-sdk/master/dcbuild.sh && sudo chmod +x /usr/local/bin/dcbuild
    After that simply run "dcbuild <command>", docker will pull the right image for you & the script hadles the rest.


    Hope it might be usefull for someone.. the only thing I still need to run using wine, now is nullDC ;-)
     
  2. -=FamilyGuy=-

    -=FamilyGuy=- Site Supporter 2049

    Joined:
    Mar 3, 2007
    Messages:
    3,032
    Likes Received:
    890
  3. SiZiOUS

    SiZiOUS Spirited Member

    Joined:
    Mar 26, 2009
    Messages:
    118
    Likes Received:
    166
    This seems to be a great idea indeed :)
     
    fafadou and -=FamilyGuy=- like this.
  4. nold

    nold Active Member

    Joined:
    Nov 18, 2017
    Messages:
    40
    Likes Received:
    34
    Here is a nice Example I found inside the TitanIDE: https://github.com/Nold360/TitanIDE_Examples
    It's not (yet) libre code, but since it's includes in TitanIDE, I think it's at least free as in beer..
    //Edit:
    I've spoken to Luiz from Titan Game Studios and he said "Hey Nold, feel free to do what you want!". So I GPLv3 licensed it - happy hacking! :)


    It compiles just fine! With "dcbuild make; dcbuild bin main.elf; dcbuild cdi" you get a full working CDI that runs in NullDC (haven't tried real hardware, yet)

    [​IMG]
    [​IMG]
     
    Last edited: Nov 20, 2017
    fafadou likes this.
  5. fafadou

    fafadou Gutsy Member

    Joined:
    Aug 3, 2016
    Messages:
    473
    Likes Received:
    185
    whouah very impressive.
     
  6. nold

    nold Active Member

    Joined:
    Nov 18, 2017
    Messages:
    40
    Likes Received:
    34
    Another great news!

    TitanIDE Examples are now GPLv3 Licensed! :) (see my last post).
    I will try to hack around with it. I really would like to build a free platformer engine with it..
     
  7. Mrneo240

    Mrneo240 Gutsy Member

    Joined:
    Sep 15, 2017
    Messages:
    462
    Likes Received:
    571
    So this includes sdl and stuff right?

    At this point I'm used to the 1st party dev environment
     
  8. nold

    nold Active Member

    Joined:
    Nov 18, 2017
    Messages:
    40
    Likes Received:
    34
    Yes, all kos-ports are included. I would also like to collect more libs and include them (if there are any).

    There are definitly some downsides of the docker-solution. Like, your Hostsystem / your IDE will not know about the Header files like "SDL.h" or "kos.h". But I'm OK with that ATM.
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page