File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,9 +4,10 @@ This folder contains the Dreamcast packaging flow for DevilutionX.
44
55## Prerequisites
66
7- - [ KallistiOS] ( http ://gamedev.allusion.net/softprj/kos/ ) (KOS) with kos-ports (SDL1, zlib, bzip2)
7+ - [ KallistiOS] ( https ://kos-docs.dreamcast.wiki/ ) (KOS) with kos-ports (zlib, bzip2)
88- [ ` mkdcdisc ` ] ( https://gitlab.com/simulant/mkdcdisc ) for CDI disc image creation
99
10+ SDL (GPF SDL with DMA video) and Lua are built from source automatically by ` build.sh ` .
1011No external ` fmt ` patch is required. The build applies a bundled SH4 ` libfmt ` patch automatically.
1112
1213## Game Data (Required)
Original file line number Diff line number Diff line change 3232
3333GPF_SDL_DIR=" ${SCRIPT_DIR} /SDL-gpf"
3434GPF_SDL_LIB=" ${KOS_BASE} /addons/lib/dreamcast/libSDL.a"
35+ GPF_SDL_HEADER=" ${KOS_BASE} /addons/include/dreamcast/SDL/SDL_dreamcast.h"
3536
36- if [ ! -f " ${GPF_SDL_LIB } " ]; then
37+ if [ ! -f " ${GPF_SDL_HEADER } " ]; then
3738 echo " Building GPF SDL (SDL-dreamhal--GLDC) for DMA video..."
3839 if [ ! -d " ${GPF_SDL_DIR} " ]; then
3940 git clone --depth 1 -b SDL-dreamhal--GLDC \
@@ -52,6 +53,7 @@ cmake_args=(
5253 -S " ${ROOT_DIR} "
5354 -B " ${BUILD_DIR} "
5455 -DCMAKE_TOOLCHAIN_FILE=" ${ROOT_DIR} /CMake/platforms/dreamcast.toolchain.cmake"
56+ -DDEVILUTIONX_SYSTEM_LUA=OFF
5557)
5658
5759if command -v ninja > /dev/null 2>&1 ; then
Original file line number Diff line number Diff line change @@ -415,9 +415,10 @@ cmake --build build
415415
416416### Installing dependencies
417417
418- - [ KallistiOS] ( http ://gamedev.allusion.net/softprj/kos/ ) (KOS) with kos-ports (SDL1, zlib, bzip2)
418+ - [ KallistiOS] ( https ://kos-docs.dreamcast.wiki/ ) (KOS) with kos-ports (zlib, bzip2)
419419- [ ` mkdcdisc ` ] ( https://gitlab.com/simulant/mkdcdisc ) for CDI disc image creation
420420
421+ SDL (GPF SDL with DMA video) and Lua are built from source automatically.
421422No external ` fmt ` patch is required. The build applies a bundled SH4 fix automatically.
422423
423424### Game data
You can’t perform that action at this time.
0 commit comments