Go Back   Winamp Forums > Developer Center > Winamp Development

Reply
Thread Tools Search this Thread Display Modes
Old 20th January 2010, 13:48   #1
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,278
Language Pack Tool & Example Project

The following provides a build tool for generating a language file for plug-in's and an example project of how to use Winamp's api_language interface which is used in Winamp's localisation support with 5.5+ clients.

http://daz.ne1.net/lng_generator
http://daz.ne1.net/gen_lang_example


If there are things which are not clear then please post back and i'll answer / amend an issues & details as applicable.

Now go out and start localising your plug-ins. Plus the example project shows a few things which all Winamp plug-ins should be implementing to ensure better compatability with newer client versions (especially now Winamp is a unicode app).

-daz
DrO is offline   Reply With Quote
Old 15th June 2010, 21:41   #2
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,278
Winamp Plug-in Language File Generator v2.0 [15/06/2010]
  • Fixed issues copying unicode TEXT resources and standard DIALOG resources via /build
  • Added functions for translators - /diff, /hashit, /hashup, /ini_tx, /wlz and /zipup
  • Fixed issues copying unicode TEXT resources and standard DIALOG resources via /build
  • Fixed issues with some command-line handling which could cause invalid actions to be attempted or not followed
  • Changed /build to accept an option /folder= parameter to make it more flexible as per the new commands also added
This is a two teir update for both plug-in developers with the /build change and also the additional commands for translators to make things a bit more unified. See http://nunzioweb.com/daz/lng_generator/ for some more information about the changes and how to make use of the commands, etc.

-daz
DrO is offline   Reply With Quote
Old 21st June 2010, 12:41   #3
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,278
Winamp Plug-in Language File Generator v2.1.1 [21/06/2010]
  • Added /filename= parameter to the /build command
  • Fixed duplicated text and better clarified some of the help message output
  • Fixed wlz and archive files could remain locked in use sometimes
  • Fixed some of the actions not using the resource language type already present (mainly affected HASH section updates)
  • Changed /hashit to backup the original wlz file (my_original.wlz) and create the updated file with the original filename (my.wlz) instead of my.wlz.wlz as with v2.0
  • Fixed /zipup failing due to internal buffers not being correctly set in some cases
Small update to fix a few things i've found since the 2.0 release.

-daz
DrO is offline   Reply With Quote
Old 21st June 2010, 12:49   #4
Pawel
Moderator
 
Pawel's Avatar
 
Join Date: Aug 2004
Location: Poland
Posts: 418
Send a message via ICQ to Pawel
Dro,
Thanks for update.
-Pawel
Pawel is offline   Reply With Quote
Old 29th June 2010, 20:06   #5
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,278
Winamp Plug-in Language File Generator v2.2 [29/06/2010]
  • Fixed /wlz not copying dialog resources correctly in all cases - is now bit perfect in copying
  • Fixed /diff not working correctly in all scenarios (related to /wlz fixes)
  • Added auto-updating of known entries in wlz_list.ini (will preserve any custom added aspects)
  • Updated wlz_list.ini (fixes issues with some official plugins not being handled or guid being out of date)
  • Added /use_wa_ver switch to the /wlz command to append the Winamp version on the end of the working folder
  • Added /exclude_img switch to the /diff command to ignore RT_BITMAP resources when comparing against a wlz
  • Changed /wlz to compress the created hash zip instead of using store (the wlz is still created with store)
  • Changed some of the text output to clarify or make things clearer as to what has changed
  • Updated /help to be able to display just the help for single commands e.g. /help /wlz
A bigger update this time which should resolve most of the quirks in the translator options of this tool. There may be one or two more v2.x updates otherwise work will start (after i've had a well earned break i think) on v3 of the tool. Also thanks to Pawel for suggestions and reporting issues (though i'm sure i'll be getting more reports, heh).

-daz
DrO is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > Winamp Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump