new kOS setup
today is a great day, it’s the first time that I have KallistiOS actually working on my computer. I mean, I can can build and build iso and cdi and run them in an emulator.. that’s kinda working right?
this is a mere reminder if I ever need to do it again. keep in mind that I’m using linux mint for this.
first of all, this script made it super easy to do all of the downloading and installingÂ
http://dcemulation.org/images/9/9d/Kos_setup_script.zip
this page in general is also very good >Â http://dcemulation.org?title=Compiling_KOS_on_Linux
one thing that I had to do was making sure I had subversion using the usuall apt-get function. there is also a bunch of dependencies that the setup script is taking care of (I think?, I might have installed those prior, can’t remember)
once the script is done, it’s important to source environ.sh.
personnally I edited my ~/.bashrc to add these linesÂ
cd /opt/toolchains/dc/kos //make sure this is you KOS path chmod u+x environ.sh source environ.sh echo "dc toolchain active" //you can delete this line, it’s only a reminder 4 me.
this my little notes on how to actually compile a script, it’s defenitly lacking deeper info.
//Go to project folder make
// transform into .elf sh-elf-objcopy -R .stack -O binary <whatever_program>.elf output.bin
// scambler avec 1st_read utils/scramble/scramble output.bin 1ST_READ.BIN
// inject IP.bin mkisofs -C 0,11702 -V DC_GAME -G IP.BIN -r -J -l -o dcgame.iso <game_path>
// TO CDI!!!! utils/cdi4cd/cdi4dc dcgame.iso dcg.cdi -d > cdi4dc.log
I could then drag the cdi into an emulator and it worked!











