SpriteAligner - Tool for aligning sprites directly in NFO

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

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

Re: SpriteAligner - Tool for aligning sprites directly in NFO

Post by AndersI »

wallyweb wrote:Do you have a graphic of your grid that I can use as a guide?
Here you are:
RailTemplate.png
RailTemplate.png (1.94 KiB) Viewed 1753 times
BTW, I have added the confirmation questions to hinder you from losing your work, see first post.
User avatar
wallyweb
Tycoon
Tycoon
Posts: 6102
Joined: 27 Nov 2004 15:05
Location: Canada

Re: SpriteAligner - Tool for aligning sprites directly in NFO

Post by wallyweb »

AndersI wrote:
wallyweb wrote:Do you have a graphic of your grid that I can use as a guide?
BTW, I have added the confirmation questions to hinder you from losing your work, see first post.
All downloaded. I'll take a look at the new version shortly. Thanks for the pic. Give me a day or so to get back to you.
User avatar
AndersI
Tycoon
Tycoon
Posts: 1732
Joined: 19 Apr 2004 20:09
Location: Sweden
Contact:

Re: SpriteAligner - Tool for aligning sprites directly in NFO

Post by AndersI »

(First post updated with version 1.0.7)

I've updated SpriteAligner to use any BMP as a background template. Three templates - SG, NG and RV, drawn by wallyweb - are included in the download (see first post).

The template BMP:s should be 256x256 and should be placed in the same folder as SpriteAligner.

To be honest, I doubt the correctness of the RV template, but I haven't done any RV to check with, can anyone else prove or disprove?
User avatar
Ammler
President
President
Posts: 953
Joined: 18 Jun 2006 18:18
Location: Switzerland
Contact:

Re: SpriteAligner - Tool for aligning sprites directly in NFO

Post by Ammler »

I can either load the template (bmp) or the pcx files.
Attachments
sa_test.png
sa_test.png (35.94 KiB) Viewed 1635 times
User avatar
wallyweb
Tycoon
Tycoon
Posts: 6102
Joined: 27 Nov 2004 15:05
Location: Canada

Re: SpriteAligner - Tool for aligning sprites directly in NFO

Post by wallyweb »

Ammler wrote:I can either load the template (bmp) or the pcx files.
I have no problem here.
AndersI wrote:To be honest, I doubt the correctness of the RV template, but I haven't done any RV to check with, can anyone else prove or disprove?
Now that I can see it in use, I agree. It seems to me that the \ and / lines should be moved down a bit. I'll wait for some suggestions before redrawing them. What about the NG \ and / lines? Any comments there?
User avatar
AndersI
Tycoon
Tycoon
Posts: 1732
Joined: 19 Apr 2004 20:09
Location: Sweden
Contact:

Re: SpriteAligner - Tool for aligning sprites directly in NFO

Post by AndersI »

Ammler wrote:I can either load the template (bmp) or the pcx files.
What pcx files?

Are you using linux/wine? What is the 'current directory' when you run the program? The code was a quick hack, and depends on the 'current directory' being the one where you installed the template images.
User avatar
wallyweb
Tycoon
Tycoon
Posts: 6102
Joined: 27 Nov 2004 15:05
Location: Canada

Re: SpriteAligner - Tool for aligning sprites directly in NFO

Post by wallyweb »

A day and a half or so with no comments about the road vehicle template, so I've gone ahead and redrawn it.
What I did:
I redrew the \ and / grids and realigned them based on a verified good (for me) vehicle positioning.
The green and white dashed lines align with the white center line/grass edge of the basic TTDX road.
The gray center line should align with the center of the vehicle.
The octagon was recoloured to red so as to differentiate it from the green dashes.

The bmp format is in the attached zip. I have added an A to the name so that you can install it alongside the original for comparing the alignments. Please test it and post your comments so that I can make any necessary changes.
The PNG version
The PNG version
RailTemplateRV_A.png (2.86 KiB) Viewed 1545 times
Attachments
RailTemplateRV_A.zip
Contains the BMP version
(3.08 KiB) Downloaded 80 times
User avatar
AndersI
Tycoon
Tycoon
Posts: 1732
Joined: 19 Apr 2004 20:09
Location: Sweden
Contact:

Re: SpriteAligner - Tool for aligning sprites directly in NFO

Post by AndersI »

@Ammler, I believe I have fixed the problem you are describing. Please try version 1.0.8, available in first post.

I've also fiddled a bit with the SG template, and added a new version to the download.
Attachments
RailTemplateSG_2.png
RailTemplateSG_2.png (2.92 KiB) Viewed 1476 times
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: No registered users and 12 guests