PiBoSo Official Forum

GP Bikes => Mods => Bikes => Topic started by: Manu on December 13, 2016, 01:58:08 PM

Title: SPRGEN Tutorial
Post by: Manu on December 13, 2016, 01:58:08 PM
SPRGEN TUTORIAL - Example of my Kawasaki Ninja H2R:

Step 1: Create "w_dash" texture

(https://s27.postimg.org/6e76dghyn/w_dash.png)

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

(https://s30.postimg.org/ggbw9ic6l/base.png)

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

(https://s29.postimg.org/rs8014783/rpm00.png) (https://s30.postimg.org/c9cayty3x/rpm01.png) (https://s23.postimg.org/x64t4ykd3/rpm02.png) (https://s27.postimg.org/necpcxarz/rpm03.png) 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

(https://s29.postimg.org/f7adhdrvr/folder.png)

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

(https://s27.postimg.org/u739ziu2b/allfiles.png)


FINAL RESULT

https://www.youtube.com/v/xWOBCNPFtik
Title: Re: SPRGEN Tutorial
Post by: Warlock on December 13, 2016, 02:19:30 PM
Great info Manu, thank you very much  :).
I'll give it a try
Title: Re: SPRGEN Tutorial
Post by: matty0l215 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

Thanks
Title: Re: SPRGEN Tutorial
Post by: matty0l215 on November 24, 2018, 07:57:24 PM
Manu, the images are gone??
Title: Re: SPRGEN Tutorial
Post by: jajaja on March 01, 2022, 08:07:37 AM
please manu please Upload the mod for kawasaki ninja h2r again im not able to download it