Coder Social home page Coder Social logo

gt4twitch's Introduction

GT4 Progress Tracker for Twitch

This is a launcher for PCSX2 on Windows which allows you to track progress made in Gran Turismo 4 and automatically update the title of a Twitch stream via its API.

The update happens each time the game saves its game.

Requirements

  • .NET 6.0 Desktop Runtime - from here look for .NET Desktop Runtime, under installers pick x64 (alternatively, click here to get 6.0.22)

Usage

  1. Launch GT4Twitch.exe

  2. Browse for PCSX2's executable

  3. Browse for your memory card which has the save data

  4. Set up the title format

  5. Log in to Twitch (you only need this once in a while)

  6. Launch PCSX2

  7. Save the game and observe the title. It should update accordingly.

Compatibility

Currently it is only compatible with:

  • SCUS-97328 (NTSC-U)

  • SCUS-97436 (NTSC-U Online Beta)

Security concerns

Please keep in mind that the access token is saved directly in the GT4Twitch.dll.config file of this application in plaintext!

Do NOT share that file with anyone whom you do not trust.

If you're sharing this app, always point them to this repository's releases page! Don't just pack up your tool and send it out!

This tool hadn't been written yet with high security in mind, so please be mindful of this while you're using the app!

Building

The build process isn't fully automated yet.

  1. Build GT4Twitch

  2. Copy Resources and myMC to the output folder (bin/(Release/Debug)/net6.0-windows)

NuGet packages

  • Microsoft.Web.WebView2 & WebView2.Runtime.X64 - for the auth flow

  • Newtonsoft.Json - for Twitch API

  • System.Data.SQLite - for GT4SaveEditor

TODOs

  • Error handling

  • Periodic validation and re-login

  • Enhance the security

  • Compatibility with other GT4 versions

  • Shrink the size - WebView2 is HUGE and has binaries for other platforms which we don't need!

  • Housekeeping around the code - this tool was written with functionality first and not much in the way of cleanliness.

Credits

Nenkai for PDTools and GT4SaveEditor

gt4twitch's People

Contributors

xan1242 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

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.