Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lack of JSON templates #44

Open
IceandFire04 opened this issue Jun 7, 2023 · 1 comment
Open

Lack of JSON templates #44

IceandFire04 opened this issue Jun 7, 2023 · 1 comment

Comments

@IceandFire04
Copy link

Could someone provide me with templates for the game's JSON files? I'm new to this and if anyone has a template (or knows how to generate them) please let me know.

@fluofoxxo
Copy link
Owner

fluofoxxo commented Jun 10, 2023

Template files are unavailable, but you can dump all requests to the server by creating a config.json file next to the Outrun executable with the following content:

{
    "logAllRequests": true
}

This will log incoming requests as JSON files to /logging/all_requests/ next to the Outrun executable. If errors occur related to writing files, create those directories and ensure it has write permissions available to the user running Outrun.

If you want to also log all responses made by Outrun to the game client, add a "logAllResponses": true entry to the JSON, like so:

{
    "logAllRequests": true,
    "logAllResponses": true
}

This will log responses as JSON files to /logging/all_responses/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants