GithubHelp home page GithubHelp logo

jonike / infraworldruntime Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vizor-games/infraworldruntime

0.0 3.0 0.0 281 KB

A solution that enables Unreal Engine 4 to work with Google gRPC services from either C++ or Blueprints.

License: Apache License 2.0

Batchfile 4.35% Shell 13.44% C# 4.81% C++ 72.96% PowerShell 4.45%

infraworldruntime's Introduction

Vizor Infraworld

License

Welcome to the Infraworld source code!

Infraworld is a solution that enables Unreal Engine 4 to work with Google gRPC services from either C++ or Blueprints.

Infraworld is a fast, robust and cross platform. It fits any stage of development: either prototyping or production. Saving a tons of your team's time, you need to write your gRPC wrappers by hand no more. A special converter utility will do it for you, producing high quality, debuggable and multi-threaded code, gaining lowest possible overhead to your game logic thread. You may also work with either generated or shipped with gRPC C++ classes in your own way, since the Infraworld Runtime adds all required headers and wires all required libraries automatically.

This repo contains source code of an Unreal Engine 4 plugin, that enables code, generated by the Cornerstone converter to work. Also, you may want to use a Protobuild utility to automate cross-language gRPC wrapper generation.

Getting started

Building gRPC support

At the first step, you need to build gRPC runtime libraries. Just run Setup.sh for Linux, Setup.bat for Windows or Setup.command for macOS. It uses gRPC branch v1.3.x.

  • For Windows, we recommend you to use chocolatey to install packages into your system. Note that you do need all these programs in your system's PATH (See how to edit PATH on Windows):
  • For any distribution of Linux and for macOS systems you need:
    • git
    • automake
    • autoconf
    • libtool
    • make
    • strip
    • clang and clang++
    • go

Note that you may need to edit VSVARSALL, DEVENV_PATH and CMAKE_FOLDER variables in the bat file, because these paths may not be portable.

Note that required programs for Linux and MacOS systems are being checked in run-time.

Then you may (or may not) import GrpcIncludes and GrpcIncludes folders into your VCS, but you need to build them manually at least one time for each platform. The build process requires an access to the Internet.

Installing the plugin

Just copy the resulting folder into the your project’s Plugins folder (create it if you don’t have one). Then after that project is being opened, a dialog box, telling that the plugin is need to be compiled should appear.

Confirm the dialog by clicking Yes.

Building and the converter

Please look into the Connerstone documentation for details.

Using generated code.

Please look into the example project for tutorial.

Running the example project

You should copy built plugin's folder into InfraworldExample's Plugins folder. Then just open InfraworldExample.uproject. Server's code is in InfraworldExample/Server folder. You are required to install dependencies using pip and requirements.txt file.

Debugging

Since the plugin itself is an open source software, you may want to debug it or add some extra functionality. Since it is distributed as an Unreal Engine plugin, you can add it into your own game or into an example project, and then generate either Visual Studio, or XCode or CMake solution.

Contribution

Please feel free to report known bugs, propose new features and improve tests using Github's pull request system. Please do not add either build libraries for an any platform or header files into your commits. Thank you very much for contributing into free software.

References

infraworldruntime's People

Contributors

rchehowski avatar

Watchers

 avatar  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.