Author Topic: SPRGEN Tutorial  (Read 1924 times)


  • Hero Member
  • *****
  • Posts: 989
    • View Profile
SPRGEN Tutorial
« on: December 13, 2016, 01:58:08 PM »
SPRGEN TUTORIAL - Example of my Kawasaki Ninja H2R:

Step 1: Create "w_dash" texture

Step 2: Create base texture at same size of w_dash texture (named base.tga plus black alpha channel)

Step 3: Create the steps textures at same size of w_dash plus alpha channel


steps textures: rpm00.tga, rpm01.tga, rpm02.tga, rpm03.tga, etc

Step 4: Once created all the textures put them in the same directory where sprgen.exe is located

Step 5: Create the config file named config.ini

Code: [Select]

numsprites: The number of steps without the base.tga
basefilename: The name of base file
spritebasename: The base name of the steps files

Step 6: Create sprgen.bat file for run the sprgen.exe for generate the rpm.spr file

Code: [Select]
sprgen.exe config.ini rpm.spr
Step 7: Run the sprgen.bat file to generate the rpm.spr. If all the steps are correct a file named rpm.spr will appear in the folder


<a href="" target="_blank" class="new_win"></a>


  • Hero Member
  • *****
  • Posts: 1170
    • View Profile
Re: SPRGEN Tutorial
« Reply #1 on: December 13, 2016, 02:19:30 PM »
Great info Manu, thank you very much  :).
I'll give it a try


  • Moderator
  • Hero Member
  • *****
  • Posts: 3660
  • CAWS Racing #61
    • View Profile
Re: SPRGEN Tutorial
« Reply #2 on: April 17, 2017, 12:08:40 AM »
Is there a maximum number of rpm steps?

I am working on a dash and it has 52 steps. It is sort of working in game. It revs up to about 1/2 revs, skips a step, then up to 2/3 revs then just stops showing more images