A port of librw and re3 to the Dreamcast https://dca3.net
Find a file
Josh Pearson 986921cc9c Preserve low res textures
Any texture less than 64x64 keep original size.  Improves building LOD texture quality, and doesn't blow VRAM budget
2025-01-09 14:07:43 -07:00
.github Add Nintendo Switch initial support 2021-07-13 00:49:13 +02:00
.vscode Dreamcast Changes 2024-12-26 11:36:13 +02:00
autoconf Auto-detect X11 dependency 2021-08-16 21:06:52 +03:00
cmake Finish cmake stuff for Switch build 2021-07-13 00:50:49 +02:00
codewarrior Fix CW build 2021-08-15 13:12:10 +03:00
dreamcast tweak the build id a bit 2024-12-27 19:33:43 +02:00
gamefiles Add Switch controller asset and configuration 2021-07-13 00:50:49 +02:00
public Redirect to dca3.net 2024-12-31 09:05:08 +00:00
res/images Dreamcast Changes 2024-12-26 11:36:13 +02:00
src Fix AllocateBoatWakeArray, it needs RpGeometryCreate with HAS_TRIANGLES 2025-01-06 13:40:31 +02:00
utils/gxt Add Switch controller asset and configuration 2021-07-13 00:50:49 +02:00
vendor Preserve low res textures 2025-01-09 14:07:43 -07:00
.clang-format Add basic clang format file 2020-12-08 18:38:49 +01:00
.gitattributes Add .gitattributes for better language stats 2020-09-23 16:08:35 +03:00
.gitignore Git, Build and CI ids, show them on crash screens; stash a copy of the source in the cdi on repack 2024-12-27 18:22:51 +02:00
.gitlab-ci.yml Dreamcast Changes 2024-12-26 11:36:13 +02:00
.gitmodules Dreamcast Changes 2024-12-26 11:36:13 +02:00
CMakeLists.txt Merge pull request #1233 from madebr/cmake-fixes 2021-09-03 00:38:46 +02:00
CODING_STYLE.md Separate Coding Style out into its own Document, and mention it from the Readme. 2020-09-30 06:54:57 -04:00
conanfile.py conan: copy gamefiles to source folder so cmake install succeeds 2021-07-12 18:00:04 +02:00
premake-vs2015.cmd improvements (?) to premakefile 2020-04-29 11:44:26 +02:00
premake-vs2017.cmd improvements (?) to premakefile 2020-04-29 11:44:26 +02:00
premake-vs2019.cmd improvements (?) to premakefile 2020-04-29 11:44:26 +02:00
premake5.exe premake: add startrpoject; add lto option; fix copying of binary to gamedir; update premake5.exe 2021-01-10 20:55:40 +01:00
premake5.lua Add forgotten bit from X11 detection 2021-08-22 13:00:33 +03:00
premake5Linux premake: add startrpoject; add lto option; fix copying of binary to gamedir; update premake5.exe 2021-01-10 20:55:40 +01:00
printHash.bat Remove version text, add toggleable debug info(with commit hash!) 2021-02-12 05:28:08 +03:00
printHash.sh fix: printHash.sh; replace echo -n, check if $1 is set. 2021-07-01 20:14:46 +03:00
README.md Edit README.md 2024-12-29 22:23:08 +00:00

Intro

dca3 is a port of GTA III for the Dreamcast made by The Gang, using re3 as a base.

re3 a fully reversed source code for GTA III.

This project was started by Stefanos Kornilios Mitsis Poiitidis and uses KallistiOS.

Baking the CDI

Prerequisites

You need GTA 3 installed. This version has been tested and works: https://store.rockstargames.com/game/buy-grand-theft-auto-the-trilogy.

Please note that SOME VERSIONS of the game may not work. It has been reported that d4_gta.mp3 is corrupted sometimes.

Make sure you have a LEGIT copy with no corrupted files, as this process wont work otherwise.

You will also need the following tools installed

Preparing the gta3 folder

  • Open dreamsdk shell
  • type mkdir gta3 (and press enter)
  • type explorer . (and press enter)
  • This will open a folder named gta3. Copy your gta3 files in there.
    • If you use the 2cdrom version of the game, make sure to also copy the contents of the play disc to this folder.
  • close the folder and the dreamsdk shell and proceed to the next step.

Cloning the dca3-game repo and downloading the prebuilt elf

  • Open dreamsdk shell
  • type git clone --branch alpha https://gitlab.com/skmp/dca3-game.git (and press enter)
  • It should take a moment and successfully clone the repo
  • type cd dca3-game/dreamcast (and press enter)
  • type explorer . (and press enter).
  • A folder named dreamcast with some files should be open. Keep it on the side.
  • Download the Alpha Prebuilt Elf from https://gitlab.com/skmp/dca3-game/-/releases
  • Open artifacts.zip and extract dca3.elf to the folder that was kept open before.
  • Close the folder and dreamsdk shell

Repacking and making a prebuilt cdi FOR GD-EMU

  • Open dreamsdk shell
  • type cd dca3-game/dreamcast (and press enter)
  • type make cdi-prebuilt (and press enter)
    • This should take a while (5-15 mins)
    • Due to an issue with dreamsdk, this won't fully complete the first time
  • type make cdi-prebuilt (and press enter)
    • It will continue where it left off before
    • It should run to completion now and show "*** Repack Completed Successfully ***"
  • type explorer . (and press enter)
  • The dreamcast folder should open up, and it should contain dca3.cdi for you (~ 900 megs)

Repacking and making a prebuilt cdi FOR burning CD-ROM

  • Open dreamsdk shell
  • type cd dca3-game/dreamcast (and press enter)
  • type make FOR_DISC=1 cdi-prebuilt (and press enter)
    • This should take a while (5-15 mins)
    • Due to an issue with dreamsdk, this won't fully complete the first time
  • type make FOR_DISC=1 cdi-prebuilt (and press enter)
    • It will continue where it left off before
    • It should run to completion now and show "*** Repack Completed Successfully ***"
  • type explorer . (and press enter)
  • The dreamcast folder should open up, and it should contain dca3.cdi for you (~ 700 megs or ~260 megs)
  • If the .cdi is not ~ 700 megs (linux/mkdcdisc) or ~260 megs (windows/cdi4dc), then you did something wrong.
    • You can type rm -rf repack-data (and press enter)
    • And then start this step from the beggining

How to report issues

License

The code should only be used for educational, documentation and modding purposes.
We do not encourage piracy or commercial use.
Please keep derivate work open source and give proper credit.