- Messages
- 12,243
- Country
I am trying to write a program to find in which files a certain library object is defined and placed. To do this I call Bgl2xml V1.3.1.0 12th Jan 2011 to decompile bgls and then scan the output for model GUIDs.
In most cases it works very well, but, for a particular library, the GUID is output without the "-" dividing the fields (I am expecting these to be present).
Using Bgl2Xml_GUI.exe 1.4.0.0 12th July 2011, it doesn't output the GUID at all
Example:
Bgl2Xml.exe V1.3.1.0 12th Jan 2011
<ModelData
name="911f7b004d66fa908e6a5a9c6fe2f7ef"
sourceFile="ramp_light_dual.mdl"
fileOffset="0"/>
Bgl2Xml_GUI.exe 1.4.0.0 12th July 2011
<ModelData
sourceFile="ramp_light_dual.mdl"
fileOffset="0"/>
Is there any way I can convert the unhyphenated GUID to hyphenated?
In most cases it works very well, but, for a particular library, the GUID is output without the "-" dividing the fields (I am expecting these to be present).
Using Bgl2Xml_GUI.exe 1.4.0.0 12th July 2011, it doesn't output the GUID at all
Example:
Bgl2Xml.exe V1.3.1.0 12th Jan 2011
<ModelData
name="911f7b004d66fa908e6a5a9c6fe2f7ef"
sourceFile="ramp_light_dual.mdl"
fileOffset="0"/>
Bgl2Xml_GUI.exe 1.4.0.0 12th July 2011
<ModelData
sourceFile="ramp_light_dual.mdl"
fileOffset="0"/>
Is there any way I can convert the unhyphenated GUID to hyphenated?