Giter VIP home page Giter VIP logo

rf2-veh-generator's Introduction

rFactor 2 VEH Generator

Generates .VEH files from a csv file and DDS files. Configurable (soon, tm).

Prerequisite

Install latest Python https://www.python.org/downloads/ Important to select add Python to PATH at installation

The data.csv and base.VEH

The data.csv and base.VEH are heavily interlinked. the base.VEH will be used as the template for the final results. Inside base.VEH you can see words that are wrapped with {}, that means it will be replaced from data inside the data.csv

Future updates will enable you to add custom keywords by yourself so it's not fixed/hardcoded with the current keywords. For the time being, if you want to use another VEH template. This is the list of keywords that can be put into your VEH file (remember to wrap them with {})

  1. {NUMBER}
  2. {DDS}
  3. {TEAM}
  4. {CLASS}
  5. {NAME}

Keywords can be duplicated inside the VEH file.

Guest skin

If you want to have guest skin, just provide the exact file guest_alt.dds in your input folder.

Guide

  1. Put your dds files inside input folder
  2. the format of DDS files must be xx_alt.dds otherwise it will be skipped
  3. base.VEH is the base template, change it to your vehicle VEH. Use base.VEH as an example on how to interpolate data from CSV into your vehicle's VEH
  4. open cmd and type python veh_generator.py (if it doesn't work try to change to python3)
  5. Your VEH files and DDS files will be compiled inside output folder and ready to be packaged via MAS

rf2-veh-generator's People

Contributors

abirafdirp avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

ydnf

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.