Tiny face Off
		by Elypter
gta2dare.tk
		
Credits:

Forum:
http://gtamp.com/forum/viewtopic.php?f=4&t=319

Legal:
All my tools are released under creative commons Attribution-ShareAlike 3.0 Unported licence(http://creativecommons.org/licenses/by-sa/3.0/)
which means that you are allowed to use them as long as you mention me as author and share it in the same way.

Changelog:
2011-02-27:
finished readme

Legal:
http://creativecommons.org/licenses/by-sa/3.0/

Contact:
elypter@yahoo.de

############
How to use:#
############
-for all scripts you need to have a portable imagemagic in subfolder "im"
-to compose you need cdelta00 -cdelta19 in the folder. if one is missing it is replaced by a mirror version if it is a dent and otherwise with "gta2car.bmp". make a copy of the single car image to with that name if one or more deltas are missing. then run compose_gta2.bat.
-to decompose gta2 deltas drop the Delta file on decomp_gta2.bat file
-to decompose gta1 deltas count the cars in the Delta file and drop it on the right .bat
-to remove edit files execute clean.bat
-to convert gta1 to gta2 cars decompose, then run arrange_gta1_gta2.bat and then run compose_gta2.bat
-To create pseudo deltas for a car that doesn't have deltas name the car file gta2car.bmp and run compose_gta2.bat
-DeltaSet_gta2out.bmp is the final Delta
-gta2car is generated out of the gta1 delta when you convert from gta1 to gta2.
-it outputs rgb bmps.
#to make it gta2 compatible do this:
-Open gimp, open image, image>mode>indexed, choose optimal palette, acknowledge and save
-you have to apply the palette also to the single car image
#to make it remapable do this (works also for single color cars in gta2):
-First export a palette that matches your car the most (car pals are from 168-202) with the NEW sty tool. use gimp to apply an external palette: open image, display palettes dialog, right click on any palette, choose import palette, choose palette file, select the palette you have exported, acknowledge, image>mode>indexed, choose own palette, select the one you imported, deactivate "remove unused colors", acknowledge and save.
-If it is already indexed make it rgb and then indexed again.
-If the remapable area are contains colors that are in all palettes this can cause problems.
-If it doesn't look very well export any default car from gta2, remap it in gimp with the pal, adjust the colors of car you want to import by comparing, then apply palette.
-If it still doesn't look good enough you have to edit by hand. if it only looks bad when it is remapped then you could try to apply only the differing color part of the palette to the painted parts of the car. use gimp to separate the image and use a text editor/or palette editor in gimp to separate the colors of the palette. then recombine and apply whole palette. (<- i never did this, don't know if this is required for any car at all. I put it here just in case)

If you are searching for gta1 cars go there: over 5000 cars only for gta1
http://earth.solardns.com/~gouranga/azz ... sort=score

######################
Which delta is which?#
######################
GTA2: http://en.wikigta.org/wiki/Creating_veh ... %29#Deltas
GTA1: GTA1 delta files can have 12 16 or 18 delta cars. the meaning doesn't depend on that. left/right is from car perspective.

delta1 Default car

delta2 Dent front right
delta3 Dent back left
delta4 Dent left side (not in gta2)

delta5 Dent front left
delta6 Dent back right
delta7 Dent right side (not in gta2)

delta8 Front Door (almost closed)
delta9 Front Door (slightly open)
delta10 Front Door (almost open)
delta11 Front Door (open)

delta12 cracked window (not in gta2)

delta13 Back Door (almost closed)
delta14 Back Door (slightly open)
delta15 Back Door (almost open)
delta16 Back Door (open)

delta17 Emergency light right
delta18 Emergency light left

##########################
Ideas for future versions#
##########################
automatic dent generation:
could be done by multiple layer effects in combination of a wreck image:

car with mask for dent [normal]
car [abdunkeln]
wrack mit relief effekt [überlagern]
wrack [normal]
black[normal]

http://www.imagemagick.org/Usage/mapping/#lut_absolute
http://www.imagemagick.org/Usage/mapping/#distortion_unified

tile generator:
kanten&ecken kombinationen für textur sets erstellen zb gehsteig
