Giter Site home page Giter Site logo

worstaquaplayer / aatrilogy-2019-rpc Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 0.0 4.73 MB

Adds Discord RPC to the game Phoenix Wright: Ace Attorney Trilogy

C# 100.00%
ace-attorney discord-rich-presence discord-rpc phoenix-wright ace-attorney-trilogy discord

aatrilogy-2019-rpc's Introduction

AATrilogy-2019-RPC

This mod adds Discord RPC to the game "Phoenix Wright: Ace Attorney Trilogy".
This is achieved by using the game's code to retrieve the strings seen in the Save/Load menu, which means the text is localized to the language you're playing on.
In addition to the text, the logo also changes depending on if you're playing one of these languages: Japanese, Korean, Chinese (Simplified) or Chinese (Traditional). This is due to the fact that these languages have unique logos for each game.

Installation

Simply download the latest release, and extract the contents into the game's root folder.

IMPORTANT:

This mod is meant to be installed in clean copies of the game, so if you have a mod that modifies the files PWAAT_DATA/level0, PWAAT_DATA/Managed/Assembly-CSharp.dll or any of the PWAAT_Data/StreamingAssets/menu/text/option_text*.bin and PWAAT_Data/StreamingAssets/menu/text/title_text*.bin files, this will replace those files and probably break the other mod.

Usage

Once the mod is installed, a new option is added in the options menu, simply called Discord RPC. By default, it's set to Off, but you can set it to Simple or Detailed.

Simple and Detailed differences:

Simple Detailed Detailed (Language Example)
simple detailed detailed_jp

"Building"

Since this is a mod, there's no actual way to "build" this in the traditional way. To compensate that fact, this repository contains the sources of how I achieved this, along with explanations to do so.

Folder contents

  • dnSpyEx_Changes: To modify the game's Assembly-CSharp.dll, I used dnSpyEx v6.4.0. To get more details into what files are modified and in what order, enter the folder and read the README in there.
  • level0_UABEA: To modify the game's level0 file, I used UABEA v6. To get more details into what files are modified and added, enter the folder and read the README in there.
  • InGame_Text: Contains the source of the modified text files that are located in the game's PWAAT/StreamingAssets/menu/text folder. The tool used to recompile the text is currently private, but when it's public I'll include it here.
  • option_window: Contains the source image for the file option_window_new.unity3d that is included in the mod. The file was done using Unity 2017.4.8f1.
  • RPC_Assets: Art Assets for the Discord RPC application. If you were to modify the images used in the RPC, or simply change the application name, you'll need to do a new application in the Discord Developer Portal, and include these assets if you need to.

discord-rpc.dll License

Copyright 2017 Discord, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

aatrilogy-2019-rpc's People

Contributors

worstaquaplayer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

aatrilogy-2019-rpc's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.