Go Back   Quintessential Forum > Quintessential Media Player (Version 5.0) > QMP Development

Reply
 
Thread Tools
  #21  
Old 08-10-2007, 05:38 PM
shaohao's Avatar
shaohao shaohao is offline
Maharajah
 
Join Date: Nov 2003
Location: Shanghai, China
Posts: 511
shaohao is on a distinguished road
Send a message via MSN to shaohao
Default

Quote:
Originally Posted by Lich View Post
Yeah, I have very strange development space right now - editing resources (waht have been extracted from b199 .dll) in MS VS'98, compiling project (b117 with imported resources) in MS VS 2005 Express (it can't edit resources by some marketing means).
Hi, Lich:
Have a try with Visual Localize if you want to make a latest language for QMP.
Visual Localize can generate a language dictionary for your translation project and it supports "Update resource" function. If you want to translate a new version language pack, just copy and overwrite the old branding.dll file and reload the project.
I use it to create my Simplifed Chinese language pack. It's a powerful resource translation tools.

Here is my flow of "How to create a latest language pack basing on QMP's Branding.dll file:
  1. Copy branding.dll to a new language .dll file (e.g: LangZH.dll)
  2. Open LangZH.dll with Restorator 2007.
    expand "Binary" node and remove all binary resources EXCEPT "5050"; Remove the whole "Images" node; Remove the whole "Bitmap" node; Remove the whole "html" node; Replace the "Icon" with your own language flag; Export the "5050" binary resource as a UNICODE text file. translate the text file. Import and replace the "5050" binary resource.
  3. Open the LangZH.dll file with a HEX editor (e.g: Hex Workshop). find the first unicode string "Quinnware" and replace it with your own name (in UTF-8 format--e.g: 少昊 115C0A66). After that, about 0x1E6 bytes, you'll find the language ID "0910". Replace it with your own language ID (e.g: Simplified Chinese is 0x0804, so I replace it with 0408-- in reverse order). Save and close it.
  4. Open Visual Localize, create a new translation project and add your modified LangZH.dll file. DO TRANSLATION. Generate the final language file. You'd better rename it to LangZH.lng.
  5. Open the LangZH.lng file with Restorator 2007 again. Modify all resource's language ID to your own language ID. Save it.
  6. Here we create a latest language pack. If a new QMP is out. Copy, rename and modify the branding.dll file as I mentiond above. Use Visual Locolize's reload modules function to update the translation resource. Generate a new language pack file after you finished you new translation.
HaHa... Good Luck!!
__________________
QPlug-ins -- An Expansion of QMP.

Last edited by shaohao; 08-10-2007 at 06:18 PM.
Reply With Quote
  #22  
Old 08-10-2007, 06:45 PM
Lich's Avatar
Lich Lich is offline
O Paul, There Art Thou?
 
Join Date: Oct 2003
Location: Saint-Petersburg, Russia
Posts: 498
Lich is on a distinguished road
Send a message via ICQ to Lich
Thumbs up

Quote:
Originally Posted by shaohao View Post
Hi, Lich:
Have a try with Visual Localize if you want to make a latest language for QMP. (...)
Wow, that's impressing. Definitely, I should try Visual Localize and Restorator! Thank you very much!
Reply With Quote
  #23  
Old 09-18-2007, 02:46 PM
Tokelil's Avatar
Tokelil Tokelil is offline
Firesoul?
 
Join Date: Nov 2003
Posts: 3,864
Tokelil is on a distinguished road
Send a message via ICQ to Tokelil Send a message via MSN to Tokelil
Default

It looks like the values for the library plug-ins PlayStat (QCDModInitDB2 plug-in) has changed.
F.x. on track start PLAYSTAT_PLAY_5_SECONDS is passed to the PlayStat function instead of PLAYSTAT_PLAY_STARTED.
__________________
My QMP plug-ins page
Reply With Quote
Reply

Thread Tools

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


All times are GMT +1. The time now is 03:50 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.


close window
join the community sep
Username:
Password:
remember me