View unanswered posts | View active topics It is currently June 23rd, 2017, 9:39 am



Welcome
Welcome to WADder

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!


Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
 TPL Converter that adds type to PNG filename (is there 1?) 
Author Message
Site Admin
User avatar

Joined: March 13th, 2010, 11:57 am
Posts: 457
Has thanked: 29 time
Have thanks: 72 time
Post TPL Converter that adds type to PNG filename (is there 1?)
I want to make a ThemeMii beginners pack (like Tempus did, but more complete, with all tpls, brl*, gifs, html, etc).

It would make this a lot easier if there were a TPL converted that did:

e.g.: image.TPL -> image.RGB565.TPL image.TPL -> image.RGB565.PNG

Is there one? Or could someone (pbsds :)) edit TPL.py to do this please?

_________________
. This signature is loading. Please wait.
Image


March 21st, 2011, 6:34 am
Report this post
Profile
Site Admin
User avatar

Joined: March 14th, 2010, 10:21 am
Posts: 252
Location: Røros
Has thanked: 12 time
Have thanks: 14 time
Post Re: TPL Converter that adds type to PNG filename (is there 1
If you mean image.TPL -> image.RGB565.PNG, then it's really easy, let's see if my code is readable :P

EDIT: BTW, do you have Python 2 and PIL? or do i have to compile it for you?

_________________
My website: http://pbsds.net/blog


March 22nd, 2011, 12:25 pm
Report this post
Profile
Site Admin
User avatar

Joined: March 13th, 2010, 11:57 am
Posts: 457
Has thanked: 29 time
Have thanks: 72 time
Post Re: TPL Converter that adds type to PNG filename (is there 1
That is what I mean! I can get python2 or PIL, but if you could compile it into a windows .exe it would make it much easier for me and my crazy batch files please!

_________________
. This signature is loading. Please wait.
Image


March 22nd, 2011, 12:36 pm
Report this post
Profile
Site Admin
User avatar

Joined: March 14th, 2010, 10:21 am
Posts: 252
Location: Røros
Has thanked: 12 time
Have thanks: 14 time
Post Re: TPL Converter that adds type to PNG filename (is there 1
This ought to do the trick:


Attachments:
File comment: A quick edit, might not work the way it should. :/ But i don't think i messed anything up.
TPL.rar [2.55 MiB]
Downloaded 158 times

_________________
My website: http://pbsds.net/blog
pbsds has been thanked by:
March 22nd, 2011, 1:07 pm
Report this post
Profile
Site Admin
User avatar

Joined: March 13th, 2010, 11:57 am
Posts: 457
Has thanked: 29 time
Have thanks: 72 time
Post Re: TPL Converter that adds type to PNG filename (is there 1
Excellent, thank you! I've tested it and it appears to do what I need. Thanks so much!

_________________
. This signature is loading. Please wait.
Image


March 22nd, 2011, 10:41 pm
Report this post
Profile
Site Admin
User avatar

Joined: March 14th, 2010, 10:21 am
Posts: 252
Location: Røros
Has thanked: 12 time
Have thanks: 14 time
Post Re: TPL Converter that adds type to PNG filename (is there 1
No problem! :)

_________________
My website: http://pbsds.net/blog


March 23rd, 2011, 1:57 pm
Report this post
Profile
Site Admin
User avatar

Joined: March 14th, 2010, 12:20 am
Posts: 123
Has thanked: 2 time
Have thanks: 8 time
Post Re: TPL Converter that adds type to PNG filename (is there 1
Do you guys think I should replace the TPL.py that's in PU! now with this one?

_________________
Image


March 23rd, 2011, 8:22 pm
Report this post
Profile
Site Admin
User avatar

Joined: March 14th, 2010, 10:21 am
Posts: 252
Location: Røros
Has thanked: 12 time
Have thanks: 14 time
Post Re: TPL Converter that adds type to PNG filename (is there 1
Why not? I might release this version "officially", but i'm to busy working on my MMO! :D

_________________
My website: http://pbsds.net/blog


March 23rd, 2011, 8:26 pm
Report this post
Profile
Site Admin
User avatar

Joined: March 13th, 2010, 11:57 am
Posts: 457
Has thanked: 29 time
Have thanks: 72 time
Post Re: TPL Converter that adds type to PNG filename (is there 1
I think it's a better version, does exactlywhat the old one did wih the new -tf option. Winner.

MMO?

_________________
. This signature is loading. Please wait.
Image


March 24th, 2011, 12:24 am
Report this post
Profile
Site Admin
User avatar

Joined: March 14th, 2010, 10:21 am
Posts: 252
Location: Røros
Has thanked: 12 time
Have thanks: 14 time
Post Re: TPL Converter that adds type to PNG filename (is there 1
http://pbsds.tk/projects/navinet

_________________
My website: http://pbsds.net/blog


March 24th, 2011, 2:20 pm
Report this post
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 16 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Donate Now
Donate Now


Hosted by © 2017 FreeForums.org | Create a free forum | Powered by phpBB
About FreeForums | Legal | Advertise Here | Investors | Contact FreeForums.org
suspicion-preferred