December 26, 2024, 06:42:53 PM

Username
Password

Pages: [1] 2   Go Down
Print
Author Topic: find a way to auto tools bmp extracted from SOTHR into Dark Omen  (Read 25216 times)
0 Members and 1 Guest are viewing this topic.
illidan
Developer
*
Offline Offline

Posts: 298



View Profile
« on: April 20, 2015, 07:25:18 PM »

this is the way i actualy do to get SOTHR sprite into Dark Omen : but i would like to ad some auto tools to quick the proces

How to use bmp extracted from SOTHR into Dark Omen

START

I) CREATE a sprite sheet with INSTANTSPRITE

a) group your bmp files in the same folder : as you have identify the bmp file forming a column in the same animation sprite sheet (Example : put all the files forming laying dead pose in the same folder)

b) assembling a column by selecting bmp files into a single image with http://instantsprite.com/
select your 8 files and use the follwing option ( offset 0px / vertical steering / png / ) after drop the picture in folder or right click save the picture

c)  repeat the proceed if the annimation sprite sheet have more column

d) you have your sprite sheet down in png file

II) RESIZING  with Photoshop
 
open the png file in PHOTOSHOP
1) deleting the background color : select the pink color  / go to invert selection / Make ctrl + c and ctrl + v / delete the background layer
2) resizing the image by 150%: go to image / picture size or right clik failure of the window open in Photoshop file (use bicubic resample picture and constrain proportions and change size of the picture by 150%
3) save the image in TGA: Example (copy image.tga)

IV ) ANTILISING with gimp

4) remove the fat antilsing contour: open copy image.tga  in GIMP and go to image / Mod / 256 indexed color (this will remove fatty contours) after set mod RGB
5) set the background color either : set you background color (green to htmll : 469632) go to picture / flatten or with the pot of pain
6) apply shadows (blue htmll : 00FFFF)
7) export file  to crush the file copy.tga

COLOR REDUCTION with ifran viewer

Cool open copy image.tga in Ifran VIEWER
9) go to image \ decrease the color depth (16 color choose)
10) save as a copy 2.TGA file

COLOR INDEXING with gimp

12) Open copy 2. TGA with GIMP
13) record in .Xcf file
14) go for indexed 16 colors (image / Mod / 16 indexed color)
15) go to copy the color palette of the curent open pics  (put the green color to htmll 469632 and htmll : 00FFFF blue color by sliding towards the green in the first place and blue in the second /
 delete original 00FFFF blue and green 469632 /  rename the pallet (Register with the name of the sprite)
16) enter RGB mod and change the mode to use a palette customize (select the pallette)
17) save in .xcl files and export as tga files

END

linked the attack sprite sheet of warrior dwarf 32 px not yet indexed


* 3 attaque.png (16.49 KB, 95x484 - viewed 1049 times.)
« Last Edit: April 20, 2015, 08:14:39 PM by illidan » Logged
olly
Global Spokesperson
*
Offline Offline

Posts: 2301



View Profile
« Reply #1 on: April 20, 2015, 07:42:57 PM »

Nice guide, good results, can't wait to try.

Thanks

Smiley
Logged

and back in Nuln, the ageing Graf Berhardt smiled his secret smile of pride whenever he heard the latest tales of his eldest son's ever growing chain of glorious victories -(sothr manual)
illidan
Developer
*
Offline Offline

Posts: 298



View Profile
« Reply #2 on: April 20, 2015, 08:13:22 PM »

;
Logged
illidan
Developer
*
Offline Offline

Posts: 298



View Profile
« Reply #3 on: April 21, 2015, 10:41:37 AM »

i found a tool to generate a complete sprite sheet from a .GIF file  

but steel need to find a way to organise the sprite sheet

http://www.bottomap.com/Software/A4B/A4B.html


the file name goes like this

1   2   3   4   5   6   7   8   9   10   11   12   13

0   1   2   3   4   5   6   7   8   9   10   11   12
13   14   15   16   17   18   19   20   21   22   23   24   25
26   27   28   29   30   31   32   33   34   35   36   37   38
39   40   41   42   43   44   45   46   47   48   49   50   51
52   53   54   55   56   57   58   59   60   61   62   63   64
65   66   67   68   69   70   71   72   73   74   75   76   77
78   79   80   81   82   83   84   85   86   87   88   89   90
91   92   93   94   95   96   97   98   99   100   101   102   103


and i want then to go like this


   1   2   3   4   5   6   7   8   9   10   11   12   13

1   0   8   16   24   32   40   48   56   64   72   80   88   96
2   1   9   17   25   33   41   49   57   65   73   81   89   97
3   2   10   18   26   34   42   50   58   66   74   82   90   98
4   3   11   19   27   35   43   51   59   67   75   83   91   99
5   4   12   20   28   36   44   52   60   68   76   84   92   100
6   5   13   21   29   37   45   53   61   69   77   85   93   101
7   6   14   22   30   38   46   54   62   70   78   86   94   102
8   7   15   23   31   39   47   55   63   71   79   87   95   103


starting by 001

1   1   9   17   25   33   41   49   57   65   73   81   89   97
2   2   10   18   26   34   42   50   58   66   74   82   90   98
3   3   11   19   27   35   43   51   59   67   75   83   91   99
4   4   12   20   28   36   44   52   60   68   76   84   92   100
5   5   13   21   29   37   45   53   61   69   77   85   93   101
6   6   14   22   30   38   46   54   62   70   78   86   94   102
7   7   15   23   31   39   47   55   63   71   79   87   95   103
8   8   16   24   32   40   48   56   64   72   80   88   96   104




* sprite sheet.jpg (113.48 KB, 841x542 - viewed 1437 times.)
« Last Edit: April 21, 2015, 07:40:59 PM by illidan » Logged
illidan
Developer
*
Offline Offline

Posts: 298



View Profile
« Reply #4 on: April 21, 2015, 10:53:54 AM »

but work well with golbin gif from

http://d2mods.info/resources/infinitum/index-anims-ac.html



* gobli sprite sheet.jpg (78.31 KB, 1545x632 - viewed 1422 times.)
Logged
cuthalion
Campaign Creator
*
Offline Offline

Posts: 385


View Profile
« Reply #5 on: May 04, 2015, 01:37:13 PM »

A question.
You use Photoshop for resizing. But Gimp can also resize pictures. Do you mean that Gimp's resizing quality is worse than that of Photoshop?
Same question about other tools. Everything they do is also doable by Gimp. Is it the quality of Gimp that you do not like?
Logged
illidan
Developer
*
Offline Offline

Posts: 298



View Profile
« Reply #6 on: May 04, 2015, 04:13:57 PM »

A question.
You use Photoshop for resizing. But Gimp can also resize pictures. Do you mean that Gimp's resizing quality is worse than that of Photoshop?
Same question about other tools. Everything they do is also doable by Gimp. Is it the quality of Gimp that you do not like?

ya gimp make ugly antilising during scaling up

also photoshop macro or script for multiple files is more easy to use

the color reduction is also way better with ifranviewer

side note : my bro is close to finish a progam tools to make sprite sheet from SOTHR more easy and quick
Logged
olly
Global Spokesperson
*
Offline Offline

Posts: 2301



View Profile
« Reply #7 on: May 04, 2015, 04:15:14 PM »

Cool!

Smiley
Logged

and back in Nuln, the ageing Graf Berhardt smiled his secret smile of pride whenever he heard the latest tales of his eldest son's ever growing chain of glorious victories -(sothr manual)
cuthalion
Campaign Creator
*
Offline Offline

Posts: 385


View Profile
« Reply #8 on: May 11, 2015, 07:04:41 PM »

I followed Illidan's instruction to convert Rat Ogre to DO sprite.
Everything was fine till I reached step 'remove fat contour' with GIMP.

Here is what I have after I resized sprite sheet with Photoshop:

https://www.dropbox.com/s/bmgvy441oddmxsn/RatOgre_31.tga?dl=0

(Rat Ogres even before resizing have the same size as Dark Omen Trolls, so I might as well not enlarge them at all. But if I make other sprites, it will be important to pass this step)

But after I make picture indexed with 256 colors and turn back to RGB, the cotnour does not disappear or does not change at all rather. What am I doing wrong?

And another question, I seem cannot find Ifran Viewer in Internet. Could someone share it with me? The next step will be to use it to reduce 256 colors to 16...By the way, why cannot that be done in GIMP?
Logged
olly
Global Spokesperson
*
Offline Offline

Posts: 2301



View Profile
« Reply #9 on: May 11, 2015, 07:10:11 PM »

http://www.irfanview.com/

Smiley
Logged

and back in Nuln, the ageing Graf Berhardt smiled his secret smile of pride whenever he heard the latest tales of his eldest son's ever growing chain of glorious victories -(sothr manual)
cuthalion
Campaign Creator
*
Offline Offline

Posts: 385


View Profile
« Reply #10 on: May 11, 2015, 07:15:08 PM »



I was looking for Ifran view Smiley a typo in Illidan's post
Logged
illidan
Developer
*
Offline Offline

Posts: 298



View Profile
« Reply #11 on: May 11, 2015, 07:51:57 PM »

I followed Illidan's instruction to convert Rat Ogre to DO sprite.
Everything was fine till I reached step 'remove fat contour' with GIMP.

Here is what I have after I resized sprite sheet with Photoshop:

do you delete the background to have a transparent layer and after save as tga

whem you open the tga in gimp you would have the transparency layer in

i have a auto tools for photoshop linked




* load.jpg (75.96 KB, 1314x572 - viewed 969 times.)
* action supprrime fond et scale et save as tga copy.atn (1.08 KB - downloaded 432 times.)
Logged
illidan
Developer
*
Offline Offline

Posts: 298



View Profile
« Reply #12 on: May 11, 2015, 08:37:31 PM »

save as tga


* save tga.jpg (59.02 KB, 891x609 - viewed 1052 times.)
Logged
illidan
Developer
*
Offline Offline

Posts: 298



View Profile
« Reply #13 on: May 11, 2015, 09:31:59 PM »

photoshop vs gimp



* ff.jpg (131.26 KB, 1323x471 - viewed 934 times.)
Logged
illidan
Developer
*
Offline Offline

Posts: 298



View Profile
« Reply #14 on: May 13, 2015, 05:21:21 PM »

i found a tool to generate a complete sprite sheet from a .GIF file  

but steel need to find a way to organise the sprite sheet

http://www.bottomap.com/Software/A4B/A4B.html


the file name goes like this

1   2   3   4   5   6   7   8   9   10   11   12   13

0   1   2   3   4   5   6   7   8   9   10   11   12
13   14   15   16   17   18   19   20   21   22   23   24   25
26   27   28   29   30   31   32   33   34   35   36   37   38
39   40   41   42   43   44   45   46   47   48   49   50   51
52   53   54   55   56   57   58   59   60   61   62   63   64
65   66   67   68   69   70   71   72   73   74   75   76   77
78   79   80   81   82   83   84   85   86   87   88   89   90
91   92   93   94   95   96   97   98   99   100   101   102   103


and i want then to go like this


   1   2   3   4   5   6   7   8   9   10   11   12   13

1   0   8   16   24   32   40   48   56   64   72   80   88   96
2   1   9   17   25   33   41   49   57   65   73   81   89   97
3   2   10   18   26   34   42   50   58   66   74   82   90   98
4   3   11   19   27   35   43   51   59   67   75   83   91   99
5   4   12   20   28   36   44   52   60   68   76   84   92   100
6   5   13   21   29   37   45   53   61   69   77   85   93   101
7   6   14   22   30   38   46   54   62   70   78   86   94   102
8   7   15   23   31   39   47   55   63   71   79   87   95   103


starting by 001

1   1   9   17   25   33   41   49   57   65   73   81   89   97
2   2   10   18   26   34   42   50   58   66   74   82   90   98
3   3   11   19   27   35   43   51   59   67   75   83   91   99
4   4   12   20   28   36   44   52   60   68   76   84   92   100
5   5   13   21   29   37   45   53   61   69   77   85   93   101
6   6   14   22   30   38   46   54   62   70   78   86   94   102
7   7   15   23   31   39   47   55   63   71   79   87   95   103
8   8   16   24   32   40   48   56   64   72   80   88   96   104





it can be fix with nico file renamer

http://www.mediafire.com/download/mnunetki60yuv94/Nico+file+renamer+version+1.0.zip

use with file  name like 001 to 104 or more ( can be make in batch mode in ifranviewer )

1 choose the first file thanks to the leading source button
2 choose the destination directory for the file (it must be empty )
3 colone adapt the number of the number of image one has
4 check that the line number is 8
5 modify checkbox for adaptation within the meaning of playback images
6 press preview to check the result
7 press to rename rename files

create a giff file with all image starting by 001 to 104 ( with gimp )

and you are ready to go in Avi4Bmp Smiley
« Last Edit: May 13, 2015, 06:32:10 PM by illidan » Logged
Pages: [1] 2   Go Up
Print
Jump to: