Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Toolchain for the Gran Turismo scripting language, Adhoc, allowing fully custom game code.

License

NotificationsYou must be signed in to change notification settings

Nenkai/GTAdhocToolchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A toolchain for the Gran Turismo scripting language, Adhoc, from C#.

Adhoc is a scripting language that is used for roughly 99% of the entire games's logic, the native code serving mostly solely as the engine.

The toolchain contains the following:

  • Adhoc Script Preprocessor / Parser / Compiler / CodeGen (.ad ->.adc)
    • Supports adhoc bytecode version 7 (GT4), 10 (GT4O/TT), 12 (GTPSP/GT5/GT6/GT Sport) with experimental support for Version 5 (GT4)
  • Adhoc Project Builder
    • Compiles menu sources from a.yaml project file to.adc,.mproject,.mpackage
  • VS Code Extension
  • Menu Layout Reader/Serializer (mproject/mwidget)
  • Script and Menu Layout Packager (GT6.mpackage)
  • Asset Packager (.gpb)
  • Script Disassembler (.adc to assembly-like syntax)
  • Compare scripts for dissasembly matching

Wiki

Refer to theWiki for more information (compiler, language features, etc).

Current State

The toolchain is capable of compiling fully working original and custom projects (seeOpenAdhoc).

TODOs

  • Improve syntatic analysis during compilation.
  • Further document the language and instructions themselves.
  • Examples
  • Possibly tests
  • API Documentation

Compiler

A fork ofesprima-dotnet is used to lex and parse the Adhoc code into an abstract syntax tree prior to compiling.

About

Toolchain for the Gran Turismo scripting language, Adhoc, allowing fully custom game code.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

    Packages

    No packages published

    Languages


    [8]ページ先頭

    ©2009-2025 Movatter.jp