1
0
mirror of https://gitea.tendokyu.moe/Dniel97/segatools.git synced 2024-11-27 22:40:48 +01:00
Go to file
Tau 5ee0bb2afb Suppress vscode auto-format for the time being
Eventually we would like to set up clang-format rules and enforce
them from CI.
2021-06-13 11:27:00 -04:00
.vscode Suppress vscode auto-format for the time being 2021-06-13 11:27:00 -04:00
aimeio aimeio: Fix INI loading 2019-12-25 16:29:01 -05:00
amex eeprom: fill in actual geometry 2021-02-13 15:51:16 -05:00
board board/io4.c: add system status fix for Ongeki 2020-05-21 00:58:24 +00:00
chunihook chunihook: Explicitly load dbghelp.dll so path hooks apply to it 2021-02-13 15:53:40 -05:00
chuniio chuniio: Add input config 2019-11-27 21:02:51 -05:00
dist Add support for specifing monitor number for dx9 games 2020-06-06 22:27:07 +02:00
divahook Unify LED command name for Diva/Chunithm slider 2019-12-29 22:48:35 -04:00
divaio divaio: Wire up input config 2020-06-06 15:56:35 -04:00
doc Fix headline levels, first level needs to denote root of doc 2021-04-10 15:03:49 +02:00
hooklib Add support for specifing monitor number for dx9 games 2020-06-06 22:27:07 +02:00
iccard iccard/aime.c: Add (incomplete) AiMe card formatter 2019-10-19 15:50:36 -04:00
idzhook Shift hook DLL config structs around 2019-11-05 20:11:25 -05:00
idzio Simplify configurable GetAsyncKeyState 2019-11-27 21:02:51 -05:00
jvs Remove PCH source files 2019-05-01 21:17:30 -04:00
minihook hooklib/spike.c: Add a measure of configurability 2019-10-19 16:15:14 -04:00
mu3hook mu3hook/dllmain.c: fix hook initialization order to fix path hook 2020-05-21 00:58:24 +00:00
mu3io Fix various MU3 input issues 2019-11-03 19:55:02 -05:00
pki Add reference PKI 2019-11-06 21:02:49 -05:00
platform platform/amvideo.c: remove left-over brace from debug messages 2020-05-21 00:58:24 +00: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 util/async.c: Include NTSTATUS 2019-09-01 11:48:55 -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 platform/vfs.c: allow relative paths in configuration 2019-12-22 22:41:08 +01: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.