Giter VIP home page Giter VIP logo

perimeter's Introduction

Периметр | Perimeter

Perimeter

Linux Build MacOS Build Windows MSVC Build Windows MSYS Build

Join the chat at https://t.me/PerimeterGame

Discord: https://discord.com/invite/jg9G7cp

About

Perimeter is a real-time strategy video game with unique gameplay elements such as terraforming deformable terrain, morphing units, energy network, protective shield and surreal worlds.

Game needs assets/resources (3D models, textures, sounds, texts, configs, etc.) to run which can be obtained from purchased games in physical copies or digital stores.

Some parts may still need fixing or be experimental, expect some unexpected behavior, artifacts, bugs or crashes.

Issues for feature requests, suggestions, propositions, bugs, pull requests and other contributions are welcomed.

Лицензией | License

© ООО "КД ВИЖЕН" (Калининград) | © LLC "KD VISION" (Kaliningrad)

Весь код, за исключением сторонних библиотек, публикуется под лицензией GPLv3. Код сторонних библиотек (где указана иная лицензия) публикуется под лицензией этих библиотек.

The whole code, except 3rd-party libraries, is published under the GPLv3 license. Code of 3rd-party libraries (where another license is specified) is published under the license of these libraries.)

Compiling and installing

There is instructions available in:

English

Supported games

  • Perimeter
  • Perimeter: Emperor Testament

Enhancements from original game

  • Modding support
  • Bugfixes
  • Right click on morph units to request basic units required
  • Automatic game assets searching in these paths order:
    • Path from content= command argument
    • Linux: $HOME/.local/share/KD Vision/Perimeter/Content
    • MacOS: $HOME/Library/Application Support/KD Vision/Perimeter/Content
    • Executable path
    • Windows: %AppData%\Roaming\KD Vision\Perimeter\Content
    • Previous used content stored in settings
  • Support for 64 bits and other CPUs architectures than x86
  • Frame selection in battle/multiplayer menu and new colors
  • Experimental widescreen and custom resolutions support:
    • Game scans Resource/Icons/intf for XxY named folders such as 1920x1080 and adds as selectable option
    • Custom resolutions uses the height to load Resource/Icons/MainMenu/ and Resource/Icons/Portraits/ with folder name xY such as x1080 with above example. This allows reusing same height menu elements that still use 4:3 aspect ratio
    • Both .ini and resx= resy= command arguments accept custom resolutions, these will use the closest UI resolutions upscaled/centered to maintain visual consistency.
  • Experimental resizable windows
  • Better save game map / content checking
  • Enhancements for multiplayer:
    • TCP/IP protocol instead of DirectPlay8
    • Cross platform multiplayer
    • Host Scripts transfer and basic l3d files checksum to ensure matching gameplay between players
    • Allow players to watch game after being defeated
    • Support for saving and continuing multiplayer saves
    • Experimental recovery mechanism for desyncs
  • Experimental support for MacOS
  • More than 4 player maps supported

Repository contents

  • Source/ - Contains source code for the game and tools, most folders purpose can be guessed but some noteworthy:

    • Configurator - Unknown - GUI utility distributed with game that allows players to change language and other settings.
    • EasyMap - Unknown - Some kind of map demo.
    • EFFECTTOOL - Unknown - Seems to be a tool for editing effects
    • Exodus - Working - Contains helper code and libraries for porting game outside Windows/DirectX (unrelated to game Exodus faction)
    • Game/ - Working - Contains entry point for game in Runtime.cpp and other game related code.
      • Scripts - Working - Destination folder for generated hi/cppi files from .prm script files, these are compiled using XPrm
    • HT - Working - From "HyperTreading", contains some multithreading related stuff.
    • Network - Working - Contains high abstraction networking code which is used from other parts of game and low level networking code used by higher abstraction networking code. TCP sockets are provided by SDL_net.
    • PluginMAX - Working - Handles game 3D models loading from M3D/L3D files. Name comes from "3ds Max" which was used originally for creating and exporting these models.
    • Render - Working - Provides graphics/rendering abstraction API, uses DirectX APIs under the hood which is provided by dxvk-native and Exodus outside Windows platform.
    • Scripts/ - Working - Contains .prm files that are compiled using XPrm tool, *Library files that are loaded by game at runtime which contain some game configs/data and Texts.tdb containing ingame texts. Some game copies may contain a copy of this folder.
      • Triggers - Trigger chains containing maps and AI triggers/behaviors.
    • Sound - Working - Provides sound effects abstraction and music control API, uses SDL_mixer.
    • Terra - Working - Seems to contain deformable terrain related code.
    • TriggerEditor - Unknown - A GUI providing library which could be called from debug builds of game to edit Trigger chains.
    • tx3d - Working - "Procedural 3D Texture Library", used by Terra and SCodeInterpreter
    • UserInterface/ - Working - Handles game UI such as main menu and submenus, ingame HUD and inputs.
      • SCodeInterpreter - Working - Interpreter for chain history files seen during main menu and campaign.
    • Util - Working - Utilities for game and other modules.
    • XPrm - Working - Tool for compiling .prm into declaration/implementation files such as hi/cppi.
    • XTool - Working - Previously a separate library containing various X* named helpers for different projects, currently only the essential stuff for the game remain. Some removed stuff may be need to ported from original XTool/XUtil sources for the rest of tools.
  • XLibs.Net/ - Contains some library headers and binaries

  • MSDXSDK_02_06/ - DirectX SDK used by the game

Unknown - Not tested, not compilable with modern compilers nor available in more platforms than Windows.`

Windows - Compilable with modern compilers but not available in more platforms than Windows.

Working - Compilable and available in other platforms such as Windows, MacOS and Linux.

Meta issue for tracking code modernization/porting progress: KD-lab-Open-Source#58

perimeter's People

Contributors

caiiiycuk avatar dilesoft avatar ionagorria avatar luckyuk avatar maksqwe avatar q4a avatar sse4 avatar vborovin avatar vitaliy-chernyshov avatar

Watchers

 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.