Git Product home page Git Product logo

hemtt-template's Introduction

Hemtt Template

Intro

In this template I've included a few things to help you get started. The example folder is a simple example of a project structure. The tools folder contains a bat file to install Hemtt. The .hemtt\project.toml file is a template for your project configuration.

This template is very opinionated and assumes a project structure like P:/z/{Project Name}. While Hemtt does not require a P drive I recommend it to save yourself a headache down the line if you're working with p3ds.

For more information on Hemtt check out the Hemtt Documentation.

GitHub: Hemtt

P Drive

If you do not already have a P drive you can mount one using Arma 3 Tools or Mikeros Tools Arma3P. You can also use subst to create a virtual drive.

subst P: "C:\Path\To\Your\Project Folder"

Create Z Folder

Create a folder named z in your project folder. This is where all your projects will get stored. You can create this folder using the following command in your terminal, command prompt, or right click in the file explorer and create a new folder.

mkdir P:\z

Clone Template

Clone this template into your project folder.

git clone https://github.com/liamcannon/Hemtt-Template.git {Your Project Name}

Adding {Your Project Name} at the end will create a folder with that name.

Rename Template

There's a few places in the template you'll have to rename before you can start using it. Look for TAG, Your Name, Project Name and replace them with your own values. Files like script_component.hpp, $PBOPREFIX$, and project.toml are some examples for places to take a look at.

Example:

z\TAG\addons\example -> z\TestProject\addons\example

Where TAG is the name of the folder you cloned the template into.

Install Hemtt

Run the bat file inside /tools/ to install Hemtt. This will install hemtt.exe into your project folder.

Build

To build the project open your terminal and navigate to your project folder. Run the following command:

./hemtt.exe build

This will build your project and output the pbo files to the P:\z\TAG\.hemttout\build folder.

Last Updated: 2024-05-23

hemtt-template's People

Contributors

liamcannon avatar

Stargazers

 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.