Document

Draftmaster Mods Documentation

Thank you for being part of the Draftmaster community! Let’s make some mods!

Getting Started

To create a mod, you need to make:

  • A configuration file written in JSON, saved as a .txt
  • A set of car images

Download an example .zip folder here (DM1 Trucks ’15), which comes with a complete JSON .txt file the layout and and a complete set of painted cars. You will need to unzip this folder before using it.

Alternatively, there is also a basic example JSON .txt featuring Days Of Thunder data here.

Creating Mods

  1. Decide on your mod’s name!
    1. Example: I want to make a 1992 Winston Cup mod.
    2. Every mod needs to have a 5 character shortcode, e.g. “win92”
  2. Create your cars!
    1. You can download blank templates for existing cars in the game on the game’s itch.io page here.
    2. Each car must be 64 x 32 pixels, and saved as a .png file.
    3. You will need to add transparency around the edge of the cars for them to appear correctly in game. Pixel art apps are available for Android and iOS which can do this.
    4. You can also create custom manufacturer icons when creating cars that don’t feature in the main game.
      1. Say for example, I have created Buick cars in my win92 mod.
      2. Create an image called win92-bui.png . This must be 16 x 8 pixels (tiny!).
  3. Create your JSON .txt file
    1. You can use the example file here (dot90.txt) as a base.
    2. If you are making the file on your phone, you may need a ‘code editor’ app to edit the file.
    3. When adding each driver/car to the file you will need to add:
      1. “carNum” – The number on the roof of the car
      2. “carDriver” – The surname of the driver
      3. “carTeam” – The 3 letter shortcode of the team Examples: SHR, CGR, TRK, HEN
      4. “carManufacturer” – The 3 letter shortcode of the manufacturer. If you have created custom manufacturer icon images, you can use them here too. Examples: CHV, FRD, TYT, DDG, BUI
      5. “carRarity” – The speed of the driver/car. 1 = Rookie/Backmarker, 2 = Average, 3 = Race Winner, 4 = Legend
      6. “carType” – The special ability of the driver.
        1. Strategist” – Can change lane faster
        2. Blocker” – Loses less speed when hit from behind
        3. Intimidator” – Can hit other cars into the next lane more often
        4. Closer” – Gets a stronger draft, and from further distance
        5. Dominator” – Loses speed slower out of the draft
        6. Rookie” – Get blocked less often
        7. Legend” – Higher speed and a small boost to all other abilities
    4. Paste the JSON .txt file into a JSON validator such as this one, to check for any errors.
    5. Once confirmed as valid, save the file as a .txt file named after your chosen shortcode, e.g. win92.txt

Using Mods

Once you have a mod ready to use, go to the Mods screen in-game.

  1. Tap on Add Folder, and name the folder the same as your mod e.g. win92. (You can skip this step if you have a config .txt file ready with a valid folder name set inside.)
  2. Tap on Upload Config TXT, and upload your .txt file e.g. win92.txt
  3. Tap on Upload Car PNG, and 1 by 1, upload each car file. They should be named correctly as explained above. e.g. win92-1.png, win92-88.png, win92-43.png
    1. To upload alternate paint schemes, add the alternate paint number to the end of the file. e.g. win92-1alt1.png, win92-1alt2.png, win92-88alt1.png
  4. Once complete, you can visit the Garage and see your custom car set. Check that there are no missing car images, or missing details for each car/driver.

Finding/Sharing Mods

Once you have created your mod and would like to share it with the community, you should upload it to a place that can host it.

There are channels in the Draftmaster Discord dedicated to finding and discussing mods!

Featured Community Mods

Cars Piston Cup 2005 Mod by TimTroade

NASCAR Cup Series 2012 Mod by Tes Designs