adding tiles to 4TIL0000 and 4TIL0001

Anything related to Keen Modding.
User avatar
Bubzrulz
Posts: 208
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

adding tiles to 4TIL0000 and 4TIL0001

Post by Bubzrulz »

how do i go about adding tiles to 4TIL0000 and 4TIL0001 just want to add some from the kd k5 k6 ones to the k4 one
User avatar
Nisaba
Posts: 320
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat
Contact:

Re: adding tiles to 4TIL0000 and 4TIL0001

Post by Nisaba »

it depends... what kind if graphics editing tool are you using? paint, photoshop, gimp, or even something else?

I'd recommend to start with the background tiles, as they are easier to manipulate.
what you want to do is simply open up the bitmap file within your graphics editor and change what ever you like. but you should keep some things in mind:
  • you can only use 16 colours
    (use the EGA standard palette/ the colours as seen in the bitmap)
  • every tile is 16x16 pixel
    (therefor use the grid-option (photoshop/gimp) ).
if you are about to implement K5/K6 tiles, simply copy and paste them in (overwriting existing tiles or empty/black spots)

after all that, save the bitmap and make sure to import it via modkeen.exe.
(you might have noticed that I included a batch file called modkimp.bat in the download folder. simply run this script within DOSBox to import your tweaked graphics.)

run you mod an ckeck your changes. that's it.
tell me your results. if everything is working well, we can have a look at the foreground tileset as well.
meanwhile make sure to read these parts of the tutorial:
http://www.shikadi.net/keenwiki/Keen_Ga ... wing_Tools
http://www.shikadi.net/keenwiki/Keen_Ga ... )#Graphics
http://www.shikadi.net/keenwiki/Keen_Ga ... _and_Texts
http://www.shikadi.net/keenwiki/Keen_Ga ... Properties
User avatar
Bubzrulz
Posts: 208
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

Re: adding tiles to 4TIL0000 and 4TIL0001

Post by Bubzrulz »

I want to keep all the tiles i did add some straght from one game and made it the bmp longer to see if it works before i keeo going and imported it but now how do i get them to come up in abiathar
User avatar
Nisaba
Posts: 320
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat
Contact:

Re: adding tiles to 4TIL0000 and 4TIL0001

Post by Nisaba »

first of all, the size of the bitmaps are restricted. without some heavy patching you cannot stretch this limitation. and I'd highly recommend not doing so at the moment. the best way for now is to get used to altering graphics in general.
there should be plenty of space in the original 4TIL0000 file which you can tweak around with. try to get familiar with all this first, before expanding any graphics.

to see changes in abiathar I recommoned using my setup I was sending you earlier. therefor follow the these steps:
  1. open the 4TIL000 file in your graphics editor tool
  2. find black squared spots and replace them with your own graphics
  3. import your results via modkeen (as described before)
  4. open up the abiathar project called Nisaba.adeps
  5. check your changes and implement them to you liking
  6. post your results
User avatar
Bubzrulz
Posts: 208
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

Re: adding tiles to 4TIL0000 and 4TIL0001

Post by Bubzrulz »

gave up to hard getting the front and black part in same spot will try at a latter date ps i have my own bat files for modkeen cos my bmp file is a different name but i learnt something from your bat files cheers
User avatar
Nisaba
Posts: 320
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat
Contact:

Re: adding tiles to 4TIL0000 and 4TIL0001

Post by Nisaba »

do you use paint?

were you working with 4TIL0000 or with 4TIL0001?

which tiles to you want to copy over from Keen6?
I can do this for you if you wish.
User avatar
Bubzrulz
Posts: 208
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

Re: adding tiles to 4TIL0000 and 4TIL0001

Post by Bubzrulz »

User avatar
Nisaba
Posts: 320
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat
Contact:

Re: adding tiles to 4TIL0000 and 4TIL0001

Post by Nisaba »

ok, let's start with the background tiles, since they are much easier to implement.
first you want to make some room for your new tiles. therefor check what you don't need. as you are not using the worlmap, you could simply remove everything related, like this stuff over here:
Image

to delete stuff, simply paint it black. but be careful! some of the island tiles use animation tileinfo. you don't want to miss to reset this tileinfo later on in abiathar (click the tile --> tools --> tile property modifier --> Offset=0 --> Delay=0).

afterwards everything should look something like this (you can of course delete even more stuff, depending on what you want to keep). I personally like to rearrange stuff to have a better order. but this step is up to you. the last and final step is to copy over some Keen6 tiles of your choice, like so:
Image Image

and that's all the magic. next step is to import it via modkeen and view your results within abiathar.
try it out.
and don't forget to tell me your results.
happy modding
User avatar
Bubzrulz
Posts: 208
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

Re: adding tiles to 4TIL0000 and 4TIL0001

Post by Bubzrulz »

here is my atm

Image

now how do i adjust tile properties in a group instead of tweaking everything one by one
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: adding tiles to 4TIL0000 and 4TIL0001

Post by levellass »

You can't, which is a great annoyance to me.
User avatar
Nisaba
Posts: 320
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat
Contact:

Re: adding tiles to 4TIL0000 and 4TIL0001

Post by Nisaba »

levellass wrote: Sat Apr 08, 2017 2:42 am You can't, which is a great annoyance to me.
Mayday, mayday:
I'm calling for @Fleexy!
User avatar
Fleexy
Site Admin
Posts: 490
Joined: Fri Dec 12, 2008 1:33 am
Location: Bloogton Tower

Re: adding tiles to 4TIL0000 and 4TIL0001

Post by Fleexy »

The Tile Property Modifier has a copy/paste mode. Press C to copy the current tile's properties to the clipboard, then click each tile you want to paste on. When finished pasting, press X to return to the standard TPM mode.

PSThar also has the Get-TileProperties and Set-TileProperties cmdlets, which may be helpful if you like scripting.
User avatar
Bubzrulz
Posts: 208
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

Re: adding tiles to 4TIL0000 and 4TIL0001

Post by Bubzrulz »

now for 4TIL0001
the house I mirrored the black parts arnt in the exact same spot can someone fix that ive tryed and tried cheers
Image
User avatar
Nisaba
Posts: 320
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat
Contact:

Re: adding tiles to 4TIL0000 and 4TIL0001

Post by Nisaba »

the mirrored house #1:
  • 1pixel down
  • 2pixel to the right
the mirrored house #2:
  • 1pixel to the right


please tell me, what kind of graphics editor are you using. there might be a helping grid you want to activate in order to line things up easily.
User avatar
Bubzrulz
Posts: 208
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

Re: adding tiles to 4TIL0000 and 4TIL0001

Post by Bubzrulz »

Nisaba wrote: Tue Apr 11, 2017 6:49 am
please tell me, what kind of graphics editor are you using. there might be a helping grid you want to activate in order to line things up easily.
using ms paint old one with 16 colours

moding the tiles some more 1st now then ill fix it all
Post Reply