View unanswered posts | View active topics It is currently 21 May 2012, 13:51



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: 13 Mar 2010, 11:57
Posts: 448
Has thanked: 24 time
Have thanks: 43 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


21 Mar 2011, 06:34
Report this post
Profile
Site Admin
User avatar

Joined: 14 Mar 2010, 10:21
Posts: 233
Location: Røros, Norway
Has thanked: 10 time
Have thanks: 13 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?

_________________
Image
Meh sitez: http://pbsds.net/blog


22 Mar 2011, 12:25
Report this post
Profile
Site Admin
User avatar

Joined: 13 Mar 2010, 11:57
Posts: 448
Has thanked: 24 time
Have thanks: 43 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


22 Mar 2011, 12:36
Report this post
Profile
Site Admin
User avatar

Joined: 14 Mar 2010, 10:21
Posts: 233
Location: Røros, Norway
Has thanked: 10 time
Have thanks: 13 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 35 times

_________________
Image
Meh sitez: http://pbsds.net/blog
pbsds has been thanked by:
22 Mar 2011, 13:07
Report this post
Profile
Site Admin
User avatar

Joined: 13 Mar 2010, 11:57
Posts: 448
Has thanked: 24 time
Have thanks: 43 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


22 Mar 2011, 22:41
Report this post
Profile
Site Admin
User avatar

Joined: 14 Mar 2010, 10:21
Posts: 233
Location: Røros, Norway
Has thanked: 10 time
Have thanks: 13 time
Post Re: TPL Converter that adds type to PNG filename (is there 1
No problem! :)

_________________
Image
Meh sitez: http://pbsds.net/blog


23 Mar 2011, 13:57
Report this post
Profile
Site Admin
User avatar

Joined: 14 Mar 2010, 00:20
Posts: 123
Has thanked: 2 time
Have thanks: 7 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


23 Mar 2011, 20:22
Report this post
Profile
Site Admin
User avatar

Joined: 14 Mar 2010, 10:21
Posts: 233
Location: Røros, Norway
Has thanked: 10 time
Have thanks: 13 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

_________________
Image
Meh sitez: http://pbsds.net/blog


23 Mar 2011, 20:26
Report this post
Profile
Site Admin
User avatar

Joined: 13 Mar 2010, 11:57
Posts: 448
Has thanked: 24 time
Have thanks: 43 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


24 Mar 2011, 00:24
Report this post
Profile
Site Admin
User avatar

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

_________________
Image
Meh sitez: http://pbsds.net/blog


24 Mar 2011, 14:20
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 0 guests


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
suspicion-preferred