| 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! |
TPL Converter that adds type to PNG filename (is there 1?)
| Author |
Message |
|
wilsoff
Site Admin
Joined: 13 Mar 2010, 11:57 Posts: 448
Has thanked: 24 time
Have thanks: 43 time
|
 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.
|
| 21 Mar 2011, 06:34 |
|
 |
|
pbsds
Site Admin
Joined: 14 Mar 2010, 10:21 Posts: 233 Location: Røros, Norway
Has thanked: 10 time
Have thanks: 13 time
|
 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  EDIT: BTW, do you have Python 2 and PIL? or do i have to compile it for you?
_________________
 Meh sitez: http://pbsds.net/blog
|
| 22 Mar 2011, 12:25 |
|
 |
|
wilsoff
Site Admin
Joined: 13 Mar 2010, 11:57 Posts: 448
Has thanked: 24 time
Have thanks: 43 time
|
 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.
|
| 22 Mar 2011, 12:36 |
|
 |
|
pbsds
Site Admin
Joined: 14 Mar 2010, 10:21 Posts: 233 Location: Røros, Norway
Has thanked: 10 time
Have thanks: 13 time
|
 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
_________________
 Meh sitez: http://pbsds.net/blog
pbsds has been thanked by:
|
| 22 Mar 2011, 13:07 |
|
 |
|
wilsoff
Site Admin
Joined: 13 Mar 2010, 11:57 Posts: 448
Has thanked: 24 time
Have thanks: 43 time
|
 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.
|
| 22 Mar 2011, 22:41 |
|
 |
|
pbsds
Site Admin
Joined: 14 Mar 2010, 10:21 Posts: 233 Location: Røros, Norway
Has thanked: 10 time
Have thanks: 13 time
|
 Re: TPL Converter that adds type to PNG filename (is there 1
No problem! 
_________________
 Meh sitez: http://pbsds.net/blog
|
| 23 Mar 2011, 13:57 |
|
 |
|
Aether
Site Admin
Joined: 14 Mar 2010, 00:20 Posts: 123
Has thanked: 2 time
Have thanks: 7 time
|
 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?
_________________
|
| 23 Mar 2011, 20:22 |
|
 |
|
pbsds
Site Admin
Joined: 14 Mar 2010, 10:21 Posts: 233 Location: Røros, Norway
Has thanked: 10 time
Have thanks: 13 time
|
 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! 
_________________
 Meh sitez: http://pbsds.net/blog
|
| 23 Mar 2011, 20:26 |
|
 |
|
wilsoff
Site Admin
Joined: 13 Mar 2010, 11:57 Posts: 448
Has thanked: 24 time
Have thanks: 43 time
|
 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.
|
| 24 Mar 2011, 00:24 |
|
 |
|
pbsds
Site Admin
Joined: 14 Mar 2010, 10:21 Posts: 233 Location: Røros, Norway
Has thanked: 10 time
Have thanks: 13 time
|
 Re: TPL Converter that adds type to PNG filename (is there 1
_________________
 Meh sitez: http://pbsds.net/blog
|
| 24 Mar 2011, 14:20 |
|
 |
|
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
|
|