Shoutbox

Help with mptools.exe - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: WLM Plus! Help (/forumdisplay.php?fid=12)
+----- Thread: Help with mptools.exe (/showthread.php?tid=94973)

Help with mptools.exe by yuv on 07-09-2010 at 07:08 AM

Hi,

I'm trying to decode some UIB file that I've extracted from WLM, but mptools.exe fails all the time with no apparent reason

I'm using the syntax:

mptools.exe /UIB=Decode /Src="C:\uibfile.bin"

The documentation says that only the /Src parameter is needed, but the mptools.exe always fails with a message box of "mptools is used for internal..." if I only use that parameter - strange

Only when I'm adding /Def or /Style I don't see the message box but no output is generated. I've tried to save the UIB file in all forms (hexdump text file - .txt, binary file - .bin, resource file - .res and even .uib file but nothing works - there is no output. doing %errorlevel% reveals an error of 9009 but I don't know what it is.

Can someone advise?


I forgot to mention that I'm using mptools.exe version of 4.84.0.384
RE: Help with mptools.exe by djdannyp on 07-09-2010 at 07:32 AM

The extension of the UIB file should be .uib not .bin.

Also, to decode it you have to specify where you want the definition and style file parts to go:

MPTools.exe /UIB=Decode /Src="C:\uibfile.uib" /Def="C:\deffile.txt" /Style="C:\stylefile.txt"

Can you show us the EXACT text you put into the command line?

Also, please refrain from making one post directly after another in a short space of time, this is known as double posting and is against the forum rules.  Instead, use the 'Edit' button to add more information to your original post


RE: Help with mptools.exe by yuv on 07-09-2010 at 05:38 PM

I tried also with .uib extension but the result is the same - no output: The command I'm using is:

MPTools.exe /UIB=Decode /Src="C:\uibfile.uib" /Def="C:\deffile.txt" /Style="C:\stylefile.txt"

So I don't know what's wrong here. The UIB file was extracted from the resources. I saved the resource as .bin and renamed that to .uib. But I see no output. only that strange errorlevel of 9009.

Maybe I need to save the reosurce as .res file and then renmae that to .uib?




RE: Help with mptools.exe by djdannyp on 07-09-2010 at 05:40 PM

Is that the exact command you're using?

You need to change "Src="C:\uibfile.uib" to whatever the location and filename is that you've created........as well as wherever you want the files to end up, otherwise they'll just go into the root of the C drive and be called "deffile.txt" and "stylefile.txt".

If you're using Vista/7 and want to save to/from Program Files then you'll need to run command prompt as administrator too


RE: Help with mptools.exe by yuv on 07-09-2010 at 06:23 PM

The exact command is:

MPTools.exe /UIB=Decode /Src="C:\Users\yuv\resource.uib" /Def="C:\Users\yuv\res_def.txt" /Style="C:\Users\yuv\res_style.txt"

That doesn't work - no files are generated..

This should be very strightforward so I can't understand what is wrong here


Maybe UIB the file itself is wrong? I saved this as a binary file. when I open this I see "UIB" in the beginning, then some clear text and then binary data.
I've actually verified that the return value is 0 which means that the mptools.exe has failed
RE: Help with mptools.exe by djdannyp on 07-09-2010 at 07:17 PM

Please refrain from making one post directly after another in a short space of time, this is known as double posting and is against the forum rules.  Instead, use the 'Edit' button to add more information to your original post

Are you using Vista/7?  Did you run the command prompt as administrator?

How did you extract the UIB file?  Why is it saved as a .bin in the first place?  Did you change the extension of the file, or are you just using .uib in your code?


RE: Help with mptools.exe by yuv on 07-09-2010 at 07:33 PM

I'm using Win7 and am starting cmd as an administrator. I've extracted the uib using ResHack.exe  - simply saved the resource as a binary file directly with uib extension (no rename was done).  I also did that with Visual Studio Resource Export. Same result - no output. I don't know if it's possible here in the forum, but I can upload the uib file I saved for you to try with (you can give me your email or something)


RE: Help with mptools.exe by djdannyp on 07-09-2010 at 07:49 PM

You can use Messenger Plus! Live to extract the UIB files and then they will be in the correct format to be decoded.

Go to the "Customize!" tab of Preferences & Options, then onto the "Skins" tab and click "Extract Resources"


RE: Help with mptools.exe by yuv on 07-09-2010 at 08:09 PM

hmmm. Actually I'm running the new Messenger Beta (version 15) - perhaps that's the reason? has the UIB format changed? I also do not show any Customize! tab in Messenger option dialog


RE: Help with mptools.exe by matty on 07-09-2010 at 08:20 PM

Messenger Plus! isn't compatible with the current beta version of Windows Live Messenger.


RE: Help with mptools.exe by djdannyp on 07-09-2010 at 11:44 PM

quote:
Originally posted by yuv
hmmm. Actually I'm running the new Messenger Beta (version 15) - perhaps that's the reason? has the UIB format changed? I also do not show any Customize! tab in Messenger option dialog

The Customize! tab is in Plus! Preferences and Options, but if you're running WLM 2010 beta then it isn't compatible yet.

Please see the following thread for more info:

[!] WLM 2011 BETA and Messenger Plus! Live
RE: Help with mptools.exe by yuv on 07-10-2010 at 05:31 PM

Yes, but the mptools still should know how to decode the UIB resource - I saw in other forums that it's possible since the UIB format hasn't canged