All Projects → goto-bus-stop → recanalyst

goto-bus-stop / recanalyst

Licence: GPL-3.0 license
Analyzes Age of Empires 2 recorded game files.

Programming Languages

PHP
23972 projects - #3 most used programming language
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to recanalyst

aoc-mgx-format
Age of Empires: The Conquerors - Savegame File Format
Stars: ✭ 56 (-24.32%)
Mutual labels:  savegame, age-of-empires, rts
Save-Game-Copier
Copy Sega Saturn save game files
Stars: ✭ 34 (-54.05%)
Mutual labels:  savegame
Ecs
ECS for Unity with full game state automatic rollbacks
Stars: ✭ 151 (+104.05%)
Mutual labels:  rts
SatisfactorySaveEditor
Savegame editor for Satisfactory
Stars: ✭ 27 (-63.51%)
Mutual labels:  savegame
Rts
RTS: request to struct. Generates Go structs from JSON server responses.
Stars: ✭ 206 (+178.38%)
Mutual labels:  rts
NomNom
NomNom is the most complete savegame editor for NMS but also shows additional information around the data you're about to change. You can also easily look up each item individually to examine its attributes, independently of a savegame, or get other useful information that are not related to a specific savegame (but enhanced if one is loaded).
Stars: ✭ 167 (+125.68%)
Mutual labels:  savegame
Warzone2100
Command the forces of The Project in a battle to rebuild the world after mankind has been nearly destroyed by nuclear missiles. A 100% free and open source real-time strategy game for Windows, macOS, Linux, BSD+
Stars: ✭ 2,094 (+2729.73%)
Mutual labels:  rts
apollo-ps4
Apollo Save Tool (PS4)
Stars: ✭ 116 (+56.76%)
Mutual labels:  savegame
hollow-knight-completion-check
App for reading and analyzing a Hollow Knight save file. Shows what remains to do for full 112% Game Completion, Achievements, Hunter's Journal, Collectibles, True Completion %. Includes a self-designed Hint system.
Stars: ✭ 23 (-68.92%)
Mutual labels:  savegame
gtasa-savegame-editor
GUI tool to edit GTA San Andreas savegames.
Stars: ✭ 56 (-24.32%)
Mutual labels:  savegame
Openage
Free (as in freedom) open source clone of the Age of Empires II engine 🚀
Stars: ✭ 10,712 (+14375.68%)
Mutual labels:  age-of-empires
aoc-dev-resources
Useful repositories and articles related to developing software and analysis for Age of Empires II.
Stars: ✭ 40 (-45.95%)
Mutual labels:  age-of-empires
Save-System-for-Unity
Save System for Unity with AOT (IL2CPP) and assets references support.
Stars: ✭ 116 (+56.76%)
Mutual labels:  savegame
Rts Community Project
Lets build an RTS Game with Unreal Engine 4!
Stars: ✭ 183 (+147.3%)
Mutual labels:  rts
save-file-converter
Converter for retro console save files found around the Internet. All common formats for NES/SNES/GBA/N64/TG16/SMS/Genesis/Neo Geo/PS1 supported. Decrypts PSP saves. Converts to and from Retron 5 and MiSTer
Stars: ✭ 56 (-24.32%)
Mutual labels:  savegame
Chronoshift
An open source re-implementation of Red Alert written in C++.
Stars: ✭ 144 (+94.59%)
Mutual labels:  rts
Ultimate-Smasher
A Super Smash Bros. Ultimate save editor written in Python
Stars: ✭ 77 (+4.05%)
Mutual labels:  savegame
aurora
A small entity-component-system game engine for real-time-strategy games.
Stars: ✭ 28 (-62.16%)
Mutual labels:  rts
aoe2-de-rating-charts
Rating distribution visualization for Age of Empires 2: Definitive Edition
Stars: ✭ 25 (-66.22%)
Mutual labels:  age-of-empires
savemii
Savegame manager for the Nintendo Wii U
Stars: ✭ 38 (-48.65%)
Mutual labels:  savegame

RecAnalyst

Packagist License Build Status Gitter chat

RecAnalyst is a PHP package for analyzing Age of Empires II recorded games.

It supports recorded game files from:

  • The Age of Kings
  • The Conquerors
  • UserPatch
  • Forgotten Empires
  • HD Editions (optionally with expansions)

And reads data such as:

  • Game settings
  • Players
  • Chat messages
  • Research and Age Advancing times
  • Map data (terrain, elevation)
  • Initial units
  • Achievements (UserPatch only)
  • Tributes

License - Credits - Contributing - Requirements - Installation - Configuration - Usage Examples - API Documentation - Limitations

$rec = new \RecAnalyst\RecordedGame('recorded_game.mgx2');
$rec->mapImage()->save('minimap.png');
foreach ($rec->players() as $player) {
    printf("%s (%s)", $player->name, $player->civName());
}

License

GPL-3. See COPYING.

Credits

Originally forked from Biegleux's work:
v2.1.0 © 2007-2010 biegleux <[email protected]>
Original project homepage
Original project documentation

See also references.md.

Contributing

RecAnalyst is looking for contributors. Please see the Issues List for bugs or missing features and help implement them by opening a PR!

RecAnalyst is an OPEN Open Source Project:

Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project.

See the Contributing Guide for more.

Requirements

RecAnalyst works with PHP 5.6+ and PHP 7. The Imagick or GD extensions need to be installed to generate map images.

Installation

With Composer:

composer require recanalyst/recanalyst

Configuration

RecAnalyst ships with translations and image files for researches and civilizations.

If you're using RecAnalyst with Laravel, scroll down to learn about Laravel integration.

RecAnalyst contains a basic Translator class for standalone use. By default, RecAnalyst uses the English language files from Age of Empires II: HD Edition.

RecAnalyst contains icons for civilizations, units and researches in the resources/images folder. If you're using RecAnalyst standalone, and want to use the icons, you can copy that folder into your own project. You can then refer to the different categories of icons in the following ways:

Category URL
Civilizations '/path/to/resources/images/civs/'.$colorId.'/'.$civId.'.png'
Researches '/path/to/resources/images/researches/'.$researchId.'.png'

Laravel

Add the RecAnalyst service provider to your config/app.php:

'providers' => [
    RecAnalyst\Laravel\ServiceProvider::class,
],

RecAnalyst will automatically pick up the appropriate translations for your Laravel app configuration.

To copy the civilization and research icons to your public folder:

php artisan vendor:publish --tag=public

You can then refer to the different categories of icons in the following ways:

Category URL
Civilizations public_path('vendor/recanalyst/civs/'.$colorId.'/'.$civId.'.png')
Researches public_path('vendor/recanalyst/researches/'.$researchId.'.png')

API Documentation

To get started, the Usage Examples might be helpful.

Full API documentation is available at https://goto-bus-stop.github.io/recanalyst/doc/v4.2.0.

Limitations

These are some things to take into account when writing your own applications with RecAnalyst:

  • Achievements data is only available in multiplayer UserPatch 1.4 (.mgz) games. It isn't saved in single player recordings nor in any other game version.
  • RecAnalyst cannot be used to find the state of the recorded game at any point except the very start. This is because AoC stores a list of actions, so to reconstruct the game state at a given point, the game has to be simulated exactly. See #1.
  • Rarely, Age of Empires fails to save Resign actions just before the end of the game. In those cases, RecAnalyst cannot determine the resignTime property for players. See #35.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].