Sprite offset editor tool. (just a idea)

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

Post Reply
MvGulik
Engineer
Engineer
Posts: 5
Joined: 25 Jan 2008 14:34
Location: NL
Contact:

Sprite offset editor tool. (just a idea)

Post by MvGulik »

Hi

Not sure if this tool idea would serve any need,
but I found it interesting to think about it.
(see included image)

The basic idea is that you can load some sprite images,
view and manipulate there -relative- position,
and than save/update there x/y_offs values. (call to PNGCodec)
And by using some variable transparency making the aligning of related images visually easier.
(general -selected- image moving would be with the mouse)

M.v.Gulik.
Attachments
basic gui workout
basic gui workout
Drawing.jpg (68.71 KiB) Viewed 1006 times
User avatar
Ben_Robbins_
Tycoon
Tycoon
Posts: 1234
Joined: 20 Nov 2005 01:56
Location: Abu Dhabi, UAE

Re: Sprite offset editor tool. (just a idea)

Post by Ben_Robbins_ »

Interesting. It isn't essential but it would make things easier without all the printscreening and reloading. The Tile Test Tool was made with that in mind, but it's nolonger much more convenient than just checking sprites in game.
Ben
MvGulik
Engineer
Engineer
Posts: 5
Joined: 25 Jan 2008 14:34
Location: NL
Contact:

Re: Sprite offset editor tool. (just a idea)

Post by MvGulik »

I might give it a shot, but ... lack of serious coding skills will be a problem.

In light of easy use, a additional feature might be:
- Additional file browse buttons,
making browsing trough the files in the (icon view) current folder relative easy.
(possible allowing fast detection of small mismatch positions between related sprites)

ps: I'm a mouse orientated user, ergo: I'm overlooking basic short-cut key use.

M.v.Gulik
User avatar
AndersI
Tycoon
Tycoon
Posts: 1732
Joined: 19 Apr 2004 20:09
Location: Sweden
Contact:

Re: Sprite offset editor tool. (just a idea)

Post by AndersI »

Such a tool is incorporated in the GrfMaker program (made by gl2, Szappy, Csaboka), see http://www.tt-forums.net/viewtopic.php?f=26&t=10167. Unfortunately, GrfMaker is mainly using a file format of it's own, and isn't very suited for opening general NFO files, even though it can manage in many cases. The source is available via SVN (link somewhere in that thread) and can be compiled on Windows with the free Turbo Delphi Explorer from CodeGear (Borland).

Since the source was released, belugas, Csaboka and I have made some minor fixes, mine being mainly in the NFO import, and general speed departments.
LordAzamath
Tycoon
Tycoon
Posts: 1656
Joined: 08 Jun 2007 08:00

Re: Sprite offset editor tool. (just a idea)

Post by LordAzamath »

AndersI wrote:Such a tool is incorporated in the GrfMaker program (made by gl2, Szappy, Csaboka), see http://www.tt-forums.net/viewtopic.php?f=26&t=10167. Unfortunately, GrfMaker is mainly using a file format of it's own, and isn't very suited for opening general NFO files, even though it can manage in many cases. The source is available via SVN (link somewhere in that thread) and can be compiled on Windows with the free Turbo Delphi Explorer from CodeGear (Borland).

Since the source was released, belugas, Csaboka and I have made some minor fixes, mine being mainly in the NFO import, and general speed departments.
But that's for pcx files, isn't it? not for 40bpp files...
PS: And I stopped the propaganda to support Dave Worley since he got a nice new red hat now.[/color]
I know I have a BBCode error in my signature but I really cba to fix it.
User avatar
DeletedUser5
Transport Coordinator
Transport Coordinator
Posts: 277
Joined: 07 Oct 2007 15:10

Re: Sprite offset editor tool. (just a idea)

Post by DeletedUser5 »

lordazamath wrote:But that's for pcx files, isn't it? not for 40bpp files...
WOW! 40bpp! Could you give us some examples of graphics? :lol:
More topic related post: I guess some people tried it. But I don't think anybody finished project like that. It's a good idea, but it needs some time, to do it.
LordAzamath
Tycoon
Tycoon
Posts: 1656
Joined: 08 Jun 2007 08:00

Re: Sprite offset editor tool. (just a idea)

Post by LordAzamath »

Soeb wrote:
lordazamath wrote:But that's for pcx files, isn't it? not for 40bpp files...
WOW! 40bpp! Could you give us some examples of graphics? :lol:
More topic related post: I guess some people tried it. But I don't think anybody finished project like that. It's a good idea, but it needs some time, to do it.
I said that on purpose :P
24bpp are the colours, 8bpp alpha channel and 8bpp for masking. :P Once Rubidium told that on IRC (IIRC).. And I now remembered it :P

And Soeb. Lot's of projects are done with GrfMaker..
PS: And I stopped the propaganda to support Dave Worley since he got a nice new red hat now.[/color]
I know I have a BBCode error in my signature but I really cba to fix it.
User avatar
AndersI
Tycoon
Tycoon
Posts: 1732
Joined: 19 Apr 2004 20:09
Location: Sweden
Contact:

Re: Sprite offset editor tool. (just a idea)

Post by AndersI »

lordazamath wrote:But that's for pcx files, isn't it? not for 40bpp files...
Yes, of course. I only meant that working Pascal source (for pcx) is available, it might be possible for someone to use that as a quickstart to making a tool for the '40' bpp thingy.
User avatar
DeletedUser5
Transport Coordinator
Transport Coordinator
Posts: 277
Joined: 07 Oct 2007 15:10

Re: Sprite offset editor tool. (just a idea)

Post by DeletedUser5 »

I know. I was talking that there were probably some projects for something like grfmaker but for 32bpp graphics. Maybe called offsetmaker.
MvGulik
Engineer
Engineer
Posts: 5
Joined: 25 Jan 2008 14:34
Location: NL
Contact:

Re: Sprite offset editor tool. (just a idea)

Post by MvGulik »

AndersI wrote:
lordazamath wrote:But that's for pcx files, isn't it? not for 40bpp files...
Yes, of course. I only meant that working Pascal source (for pcx) is available, it might be possible for someone to use that as a quickstart to making a tool for the '40' bpp thingy.
I figure the same.
so I did look up the svn link. So I can take a look at it later
But adding full png support, and true color to ... Ai.

...

Currently trying to rack up a minimal test concept version in AutoIt.
But that will basically limited its use to Window-Xp and up. (uses GDI+ from Msoft)
(will take some time considering GDI+ and AutoIt's GDI+ support are new to me.)

M.v.Gulik

26-Mar-2008
There seems a alternative attempt in progress at
http://www.tt-forums.net/viewtopic.php?f=36&t=36732

(Consider this tread closed)
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: No registered users and 26 guests