• Welcome to PiBoSo Official Forum. Please login or sign up.
 
December 09, 2024, 08:14:50 AM

News:

World Racing Series beta14 available! :)


SPRGEN Tutorial

Started by Manu, December 13, 2016, 01:58:08 PM

Previous topic - Next topic

Manu

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

etc

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


[config]
numsprites=23
basefilename=base.tga
spritebasename=rpm


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

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




FINAL RESULT

https://www.youtube.com/v/xWOBCNPFtik
It's Easier to Fool People Than It Is to Convince Them That They Have Been Fooled.

Warlock

Great info Manu, thank you very much  :).
I'll give it a try

matty0l215

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

Thanks
For faster responses, please visit the discord server- HERE

matty0l215

Manu, the images are gone??
For faster responses, please visit the discord server- HERE

jajaja

please manu please Upload the mod for kawasaki ninja h2r again im not able to download it