1
0
mirror of https://gitea.tendokyu.moe/Dniel97/segatools.git synced 2024-11-23 21:10:57 +01:00
Go to file
2021-06-17 04:02:55 +02:00
.vscode Suppress vscode auto-format for the time being 2021-06-13 11:27:00 -04:00
aimeio Add API versioning scheme to aimeio 2021-06-13 11:27:00 -04:00
amex eeprom: fill in actual geometry 2021-02-13 15:51:16 -05:00
board Fix format warnings for HRESULT 2021-06-17 01:39:50 +00:00
chunihook Fix format warnings for HRESULT 2021-06-17 01:39:50 +00:00
chuniio Delete coin blocker exports from IO DLLs 2021-06-13 11:27:01 -04:00
dist Add support for specifing monitor number for dx9 games 2020-06-06 22:27:07 +02:00
divahook Remove undefined Direct3DCreate9 references 2021-06-17 01:39:52 +00:00
divaio Delete coin blocker exports from IO DLLs 2021-06-13 11:27:01 -04:00
doc doc: Add doc for idzhook 2021-06-16 21:24:21 +02:00
hooklib Add dvd hook to allow hiding connected dvd drives 2021-06-17 04:02:55 +02:00
iccard iccard/aime.c: Add (incomplete) AiMe card formatter 2019-10-19 15:50:36 -04:00
idzhook Add dvd hook to allow hiding connected dvd drives 2021-06-17 04:02:55 +02:00
idzio Fix format warnings for HRESULT 2021-06-17 01:39:50 +00:00
jvs Remove PCH source files 2019-05-01 21:17:30 -04:00
minihook Fix hook startup failure path 2021-06-13 11:27:00 -04:00
mu3hook Add dvd hook to allow hiding connected dvd drives 2021-06-17 04:02:55 +02:00
mu3io Document mu3io API 2021-06-13 11:27:01 -04:00
pki Add reference PKI 2019-11-06 21:02:49 -05:00
platform Simplify DLL hook mechanism 2021-06-13 11:27:00 -04:00
reg Add registry keys for Chunithm 2018-11-20 20:58:51 -05:00
spike Add Chunithm Star Plus WinHTTP debug printfs 2018-11-28 11:49:16 -05:00
subprojects subprojects: Bump Capnhook dependency 2019-11-03 11:02:46 -05:00
util Add DLL binding helper 2021-06-13 11:27:00 -04:00
.dockerignore Extend .dockerignore, ignore git related stuff 2021-05-28 20:55:47 +02:00
.editorconfig Add .editorconfig 2018-10-07 21:58:14 -04:00
.gitignore Update .gitignore, ignore single build/ output dir 2021-04-10 15:02:06 +02:00
CHANGELOG.md Add CHANGELOG 2019-12-28 11:16:06 -05:00
cross-mingw-32.txt build: don't hardcode cross-toolchain path 2019-11-09 13:42:15 +00:00
cross-mingw-64.txt build: don't hardcode cross-toolchain path 2019-11-09 13:42:15 +00:00
docker-build.bat Add docker-build.bat for building on Windows with Docker Desktop 2021-05-28 22:40:04 +02:00
Dockerfile Add Dockerfile for building in docker 2021-04-10 15:01:12 +02:00
initpki Add reference PKI 2019-11-06 21:02:49 -05:00
Makefile Add Makefile with easy to use targets for building and dist packaging 2021-04-10 15:00:16 +02:00
meson.build Silence stdcall fixup warning during linking 2021-06-17 01:39:52 +00:00
Package.mk Add Makefile with easy to use targets for building and dist packaging 2021-04-10 15:00:16 +02:00
precompiled.h hooklib/dns.c: Hook classic getaddrinfo() API too 2019-09-07 16:26:10 -04:00
README.md Add another build option for Windows using Docker Desktop to README 2021-05-28 22:40:15 +02:00

Segatools

Version: v005

Loaders and hardware emulators for SEGA games that run on the Nu and ALLS platforms.

List of supported games

End-users

For setup and configuration guides, refer to the dedicated documents available for each game, see the links in the previous section.

Developers

Building

The root Makefile contains various targets that allow you to build the project easily.

Local build

For a local build, you need to install Meson and a recent build of MinGW-w64. Then you can start the build process:

make build

Build output will be located in build/build32 and build/build64 folders.

Cleanup local build

make clean

Create distribution package (zip file)

make dist

The output will be located in build/zip.

Build and create distribution package using docker

You can also build using docker which avoids having to setup a full development environment if you are just interested in building binaries of the latest changes. Naturally, this requires you to have the docker daemon installed.

make build-docker

Once completed successfully, the build output is located in the build/docker/zip sub-folder.

Building with Docker Desktop on Windows

  • Install WSL2
  • Install Docker Desktop
  • Run Docker Desktop to start the Docker Engine
  • Open a command prompt (cmd.exe) and cd to your segatools folder
  • Run docker-build.bat
  • Once completed successfully, build output is located in the build/docker/zip sub-folder.

Building with Docker on Windows using WSL2

  • Install WSL2
  • Regarding Linux distribution, we recommend using Ubuntu 20.04
  • Run the "Ubuntu 20.04 LTS" App which opens a Linux shell
  • Install make and docker by running
    • sudo apt-get update
    • sudo apt-get install make docker.io
  • Add the current user to the docker group that you don't have to run docker commands with root: sudo usermod -a -G docker $USER
  • Run the docker daemon in the background: sudo dockerd > /dev/null 2>&1 &
  • Navigate to your segatools folder. If it is located on the C: drive, WSL automatically provides a mountpoint for that under /mnt/c, e.g. cd /mnt/c/segatools (if the folder segatools is located under C:\segatools on Windows).
  • Build segatools: make build-docker
  • Once completed successfully, build output is located in the build/docker/zip sub-folder.