Cool_amigaN wrote: ↑Thu Mar 27, 2025 4:51 am
Could anyone desrcibe the exact process of updating with newer builds? I deleted "dca3-game" folder, I re-cloned the repo from "git clone --branch alpha
https://gitlab.com/skmp/dca3-game.git", then downloaded the latest "build-dreamcast-liberty" from
here and unpacked to "dca3-game\dreamcast", renamed the newer ELF as "dca3.elf" and rebuilt the image. After booting the cdi under gdemu, I got a crash at the main screen (right before the main menu options). Following the guide for the original build, game loads and plays fine.
Assuming DreamSDK is installed, along with git and other pre-requisites from the original alpha build (the download links for both can be found
here), the following steps can be used to compile latest version of GTA3.
Note that the build process may eventually expect that the game assets are in a folder named
liberty inside of the DreamSDK home folder. To confirm they're there, open DreamSDK Manager and then click
Open Home.
Inside this home folder, you may have the game assets in a folder named
gta3 based on the old build instructions. If you receive an error when attempting to build the CDI stating something like "No rule to make target", rename that folder to
liberty. Alternatively, you can create a symlink by opening the shell via DreamSDK Manager and issuing the
ln -s gta3 liberty command, which will create a symbolic link named
liberty that points to
gta3.
IMPORTANT: Be aware that a modified version of KOS is now required to successfully build GTA3! The process is explained in steps 1 through 4 of this tutorial.
1) Navigate to
C:\DreamSDK\msys\1.0\opt\toolchains\dc\ and rename the
kos folder to
kos_backup. Then, create a new empty folder named
kos.
2) Download
this ZIP file and extract the contents of the
dca3-kos-main folder inside of it to your new
C:\DreamSDK\msys\1.0\opt\toolchains\dc\kos\ folder.
3) Open DreamSDK Manager and click
Start Shell, then issue the following command:
cd /opt/toolchains/dc/kos/
4) Once inside that directory, issue the
make clean and then
make commands (one after the other, separately).
5) Once complete, issue the following command to return to the home directory:
cd
6) Once inside your home directory, issue the following command to clone the repository:
git clone https://gitlab.com/skmp/dca3-game.git
7) Once complete, close the shell window.
8) Download the latest successful
build-dreamcast-liberty artifact ZIP from here:
https://gitlab.com/skmp/dca3-game/-/artifacts
9) Open DreamSDK Manager again and click
Open Home and then navigate to the
dca3-game\liberty\ folder.
10) Extract the
dca-liberty.elf file from the artifact ZIP you just downloaded to the
dca3-game\liberty\ folder.
11) Open DreamSDK Manager again and click
Start Shell, then issue the following command:
cd dca3-game/liberty/
12) In the same shell, issue the following command to compile an ODE CDI:
make cdi-prebuilt
13) At some point during the compilation process, an error will be displayed. This is normal. Issue the same
make cdi-prebuilt command again to resume compilation, after which a success message will eventually be displayed.
Please note that all of the above steps can also be used to compile Vice City. To do so, simply replace instances of "liberty" with "miami". Furthermore, for Vice City you must use the build command
make FOR_DISC=2 cdi-prebuilt, which will produce an oversized CDI suitable for ODEs.
Also note that the compile command for burnable a CDI is
make FOR_DISC=1 cdi-prebuilt, though the last few times I tried this, a suspiciously small CDI file was produced (somewhere around 250 MB), which seems wrong. I've heard there's a known issue requiring a fix. Consult the DCA3 project's Discord server for more information.