Repainting of OMSI buses (also over panes)
Contents
Basics and programs
Some basics with image processing applications should exist. For repainting of OMSI buses you need 2 (without over pane repainting) or 3 (with over pane repainting). These would be:
- PhotoFiltre or any other image processing application
- The Inofficial OMSI SDK
- For repainting over panes you also need Paint.NET
Starting
After downloading the Inofficial OMSI SDK, unzip it into the OMSI main folder. There should now be a folder called "Repaints". In this folder should also be the folder "Templates" and in there the folders "SD200" and "SD202". In this folders are the files BUSNAME_AD.bmp, BUSNAME_MA.bmp, BUSNAME_MU.bmp and BUSNAME_BS_01/02.bmp (BUSNAME e.g. D92). The files with the suffix _AD, _MA and _MU are masks. If you want to repaint over panes, you have to edit these masks, or download the templates by Desrupter. PLEASE NOTE: Create a backup of all files you edit or overwrite! First you should create a copy of the _BS. I will take the MAN SD202-D92 for this. Now you paste the file in the clipboard into the folder "Templates". It will be saved there as "D92_01_BS - Copy.bmp". Now you rename it e.g. "D92_01_test.bmp". Now you have to know whether you want to repaint without pasting over panes or with pasting over panes. If without, continue here. If with, continue here.
Designing of repaints
Now we continue with designing. It is explained in the following steps.
Designing of repaints without pasting over panes
Now you open the previously copied file e.g. with PhotoFiltre and paint on the advert you want to have. You can make what you want, except you can't paste over panes. When you are finished, save the file (here and there don't forget to save too, after all the PC is only a human and can crash).
Designing of repaints with pasting over panes
The first steps are almost the same, but here you can also paste over the panes. Then you save this file, too. After that you have to open the previously saved file with Paint.NET. In Paint.NET you now create a new layer (in the "Layer" window). Then you draw with the "Rectangle Select" (Shortcut: S) a rectangle above the advert and make it grey (RGB:64,64,64). Note that ou do this only in the previously created layer. Then you can hide the Background layer. Now you select all (Ctrl+A) and select via "Effects" and "Blurs" the "Gaussian Blur". Now a window is opened where you can set the value. This value you can change like you want, it depends on how transparent your advert should be. I always take the value "80". Now save this file as "D92_tr.tga".
Repainting of the roof
For repainting the roof you need instead of the _01_BS.bmp the _02_BS.bmp. You also rename it e.g. "D92_02_test.bmp". Now you open this file too. The roof is the beige rectangle in the top of the pic. You colour it like you want and then you save this file too.
Converting the repaint into a format OMSI can read
After you have finished with all, you start the "RepaintTool" which is part of the OMSI SDK. After starting you see a window on the screen, where you have to click on "Convert repaint". Now a file browser has opened where you have to select the RPC file first. The RPC files are listed in the back of the SDK manual. There you also see which RPC is for which BMP. Now you select e.g. the D92_01.rpc. After that you have to select the D92_01_test.bmp. This step you repeat for all BMPs you previously saved.
Creating of the CTI file
The CTI is the text file where all components of the repaints are written in.
Creating of the CTI when you pasted over panes
If you pasted over panes, the CTI has too look like this:
**************** <------- 16 asterisks Test <------- Name of the repaint **************** <------- 16 asterisks [item] <------- Item-tag Test <------- Name of the repaint (shown in the Bus select menu) farbschema_tex1 <------- Colour scheme (tex1 = body) D92_01_test.dds <------- Image file (_01_.dds) [item] <------- Item-tag Test <------- Name of the repaint (has to be the same like above) farbschema_tex2 <------- Colour scheme (tex2 = roof) D92_02_test.dds <------- Image file (_02_.dds) [item] <------- Item-tag Test <------- Name of the repaint (has to be the same like above) farbschema_trans <------- Colour scheme (trans = for over-pane-pasting) D92_tr_test.tga <------- Image file (_tr_.tga)
Creating of the CTI when you didn't paste over panes
If you did not paste over the panes, the CTI has to look like this:
**************** <------- 16 asterisks Test <------- Name of the repaint **************** <------- 16 asterisks [item] <------- Item-tag Test <------- Name of the repaint (shown in the Bus select menu) farbschema_tex1 <------- Colour scheme (tex1 = body) D92_01_test.dds <------- Image file (_01_.dds) [item] <------- Item-tag Test <------- Name of the repaint (has to be the same like above) farbschema_tex2 <------- Colour scheme (tex2 = roof) D92_02_test.dds <------- Image file (_02_.dds)
Concluding steps
At the end you copy ALL files into the advert-folder of the bus you made the repaint for (C:\m-r-software\Omsi\Vehicles\MAN_SD200/202\texture\Werbung_SD/D...). Now you can select the repaint in OMSI.