Skip to content

WisoAltred/AO2-Client-Experimental

 
 

Repository files navigation

Attorney Online

CI build license contributors

Attorney Online is a simulator that allows you to create and play out cases in an off-the-cuff format. This is the experimental fork for testing changes.

Refer to the docs for more information.

Setting up for development

Prerequisites

Unix-like systems will expect a C toolchain, installed using eg.:

Ubuntu: sudo apt install build-essential
macOS: xcode-select --install

You may also need openGL libraries to compile QApng, eg:

Ubuntu: sudo apt install libgl1-mesa-dev
macOS: brew install glfw glew

Setup

This program's main dependency is Qt and the currently recommended version for development is 6.5.3. See this link on how to install Qt. You will need to check off the following under "Additional Libraries":

  • Qt Image formats
  • Qt WebSockets

Under "Developer and Designer tools", you may also want to check off:

  • CMake
  • Ninja
  • If you're on Windows, a toolchain (MinGW)

Assuming all this is in place, you should be able to run configure.sh to generate the necessary build files. This also compiles the program and shows a cmake command that can be used to recreate the build files.

Content

To test key features, you may need the vanilla base content, which is not included in this repository. You can obtain it via the discord.

These assets should be put in ./bin/base.

Formatting

All code should be formatted according to the .clang-format file. This will be checked by CI and will fail if the code is not formatted correctly.

Running Tests

Running tests requires Catch2 and cmake

mkdir cbuild && cd cbuild
cmake ..
make test

# usage: run all tests
./test/test

# usage: Optionally specify tests and success verbosity
./test/test [bass] --success

[noci] tag is used to disable a test on GitHub actions

Credits

The original Attorney Online client was created by FanatSors.

This is an open-source remake of that client created by OmniTroid.

The logo (logo.png and logo.ico) was designed by Lucas Carbí. The characters depicted in the logo are owned by Capcom.

Copyright

The project is licensed under the GPLv3 license. Code that was released under the MIT/GPLv3 dual-license can be found here.

Copyright (c) 2016-2018 OmniTroid

Modifications copyright (c) 2017-2018 oldmud0

Contact

You can find us in the official Attorney Online Discord server: https://discord.gg/wWvQ3pw

About

An off-the-cuff courtroom drama simulator. For "The Future" client and experimental changes that may be breaking towards Master.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 95.9%
  • Shell 3.2%
  • Other 0.9%