Contribute
Register

How do you combining two XML (plist) files?

Status
Not open for further replies.
Joined
Aug 21, 2011
Messages
306
Motherboard
GA-Z77X-UP5 TH
CPU
Intel Core i7-3770K Ivy Bridge 3.5GHz
Graphics
ASUS GTX670-DC2T-2GD5
Mac
  1. MacBook Pro
  2. Mac mini
Classic Mac
  1. 0
Mobile Phone
  1. iOS
smolderas said:
Alfa147x said:
I was told:
Spliced both XML files, then imported the resulting file into OSX86Tools again to create the Hex code

I'm trying to splice these files together:
1st file (Ethernet):
http://cl.ly/3M2m1u3Y40140v2w0X1S

2nd file (video card file):
http://cl.ly/3U141z3E0D223I250p13

Thanks a lot for any help

well if you've created a extra thread for it, at least post the xml files with "Code"-Tag...

Sorry about that. The reason I uploaded the files was because when I used the code tag it made the post really wide. Didn't want to inconvenience people.
The reason I made this thread because I felt like people could benifit from know how to combine plist files.

Also thanks for helping! Here are my files:

Ethernet:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
	<dict>
	<key>PciRoot(0x1)/Pci(0x1c,0x6)/Pci(0x0,0x0)</key>
		<dict>
		<key>built-in</key>
		<string>0x01</string>
		</dict>
</dict>
</plist>

Video cards:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>PciRoot(0x1)/Pci(0x1,0x0)/Pci(0x0,0x0)</key>
	<dict>
		<key>@0,AAPL,boot-display</key>
		<string></string>
		<key>@0,can-hot-plug</key>
		<string></string>
		<key>@0,compatible</key>
		<string>NVDA,NVMac</string>
		<key>@0,connector-type</key>
		<string>AAAABA==</string>
		<key>@0,device_type</key>
		<string>display</string>
		<key>@0,display-connect-flags</key>
		<string>AAAAAA==</string>
		<key>@0,name</key>
		<string>NVDA,Display-A</string>
		<key>@1,AAPL,boot-display</key>
		<string></string>
		<key>@1,can-hot-plug</key>
		<string></string>
		<key>@1,compatible</key>
		<string>NVDA,NVMac</string>
		<key>@1,connector-type</key>
		<string>AAABA==</string>
		<key>@1,device_type</key>
		<string>display</string>
		<key>@1,display-connect-flags</key>
		<string>AAAAAA==</string>
		<key>@1,name</key>
		<string>NVDA,Display-B</string>
		<key>AAPL,aux-power-connected</key>
		<string>0x00000001</string>
		<key>AAPL,backlight-control</key>
		<string>0x00000000</string>
		<key>AAPL,gart-width</key>
		<integer>64</integer>
		<key>AAPL00,blackscreen-preferences</key>
		<string>0x00000000</string>
		<key>AAPL01,blackscreen-preferences</key>
		<string>0x00000000</string>
		<key>IONVRAMProperty</key>
		<true/>
		<key>NVCAP</key>
		<data>
		BAAAAAAAAwAcAAAAAAAACgAAAAA=
		</data>
		<key>NVDA,Features</key>
		<string>0x108006ff</string>
		<key>NVPM</key>
		<data>
		AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
		</data>
		<key>VRAM,totalsize</key>
		<string>0x40000000</string>
		<key>device_type</key>
		<string>NVDA,Parent</string>
		<key>model</key>
		<string>GeForce GTX 460</string>
		<key>rm_board_number</key>
		<data>
		AAAAAA==
		</data>
		<key>rm_multiboard_capable</key>
		<data>
		AQAAAA==
		</data>
		<key>rom-revision</key>
		<string>70.04.1B.00.70</string>
		<key>subsystem-id</key>
		<string>0x00001080</string>
	</dict>
	<key>PciRoot(0x1)/Pci(0x1,0x1)/Pci(0x0,0x0)</key>
	<dict>
		<key>@0,AAPL,boot-display</key>
		<string></string>
		<key>@0,can-hot-plug</key>
		<string></string>
		<key>@0,compatible</key>
		<string>NVDA,NVMac</string>
		<key>@0,connector-type</key>
		<string>AAAABA==</string>
		<key>@0,device_type</key>
		<string>display</string>
		<key>@0,display-connect-flags</key>
		<string>AAAAAA==</string>
		<key>@0,name</key>
		<string>NVDA,Display-A</string>
		<key>@1,AAPL,boot-display</key>
		<string></string>
		<key>@1,can-hot-plug</key>
		<string></string>
		<key>@1,compatible</key>
		<string>NVDA,NVMac</string>
		<key>@1,connector-type</key>
		<string>AAABA==</string>
		<key>@1,device_type</key>
		<string>display</string>
		<key>@1,display-connect-flags</key>
		<string>AAAAAA==</string>
		<key>@1,name</key>
		<string>NVDA,Display-B</string>
		<key>AAPL,aux-power-connected</key>
		<string>0x00000001</string>
		<key>AAPL,backlight-control</key>
		<string>0x00000000</string>
		<key>AAPL,gart-width</key>
		<integer>64</integer>
		<key>AAPL00,blackscreen-preferences</key>
		<string>0x00000000</string>
		<key>AAPL01,blackscreen-preferences</key>
		<string>0x00000000</string>
		<key>IONVRAMProperty</key>
		<true/>
		<key>NVCAP</key>
		<data>
		BAAAAAAAAwAcAAAAAAAACgAAAAA=
		</data>
		<key>NVDA,Features</key>
		<string>0x108006ff</string>
		<key>NVPM</key>
		<data>
		AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
		</data>
		<key>VRAM,totalsize</key>
		<string>0x40000000</string>
		<key>built-in</key>
		<string>AA==</string>
		<key>device_type</key>
		<string>NVDA,Child</string>
		<key>model</key>
		<string>GeForce GTX 460</string>
		<key>rm_board_number</key>
		<data>
		AAAAAA==
		</data>
		<key>rm_multiboard_capable</key>
		<data>
		AQAAAA==
		</data>
		<key>rom-revision</key>
		<string>70.04.1B.00.70</string>
		<key>subsystem-id</key>
		<string>0x00001080</string>
	</dict>
</dict>
</plist>

Haha. I just realized why the code boxes were so wide. I posted my org.chameleon.Boot.plist instead of my ethernet.plist! I'm an idiot... lol

Thanks again!
 
Here you go:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
   <key>PciRoot(0x1)/Pci(0x1c,0x6)/Pci(0x0,0x0)</key>
   <dict>
      <key>built-in</key>
      <string>0x01</string>
   </dict>
   <key>PciRoot(0x1)/Pci(0x1,0x0)/Pci(0x0,0x0)</key>
   <dict>
      <key>@0,AAPL,boot-display</key>
      <string></string>
      <key>@0,can-hot-plug</key>
      <string></string>
      <key>@0,compatible</key>
      <string>NVDA,NVMac</string>
      <key>@0,connector-type</key>
      <string>AAAABA==</string>
      <key>@0,device_type</key>
      <string>display</string>
      <key>@0,display-connect-flags</key>
      <string>AAAAAA==</string>
      <key>@0,name</key>
      <string>NVDA,Display-A</string>
      <key>@1,AAPL,boot-display</key>
      <string></string>
      <key>@1,can-hot-plug</key>
      <string></string>
      <key>@1,compatible</key>
      <string>NVDA,NVMac</string>
      <key>@1,connector-type</key>
      <string>AAABA==</string>
      <key>@1,device_type</key>
      <string>display</string>
      <key>@1,display-connect-flags</key>
      <string>AAAAAA==</string>
      <key>@1,name</key>
      <string>NVDA,Display-B</string>
      <key>AAPL,aux-power-connected</key>
      <string>0x00000001</string>
      <key>AAPL,backlight-control</key>
      <string>0x00000000</string>
      <key>AAPL,gart-width</key>
      <integer>64</integer>
      <key>AAPL00,blackscreen-preferences</key>
      <string>0x00000000</string>
      <key>AAPL01,blackscreen-preferences</key>
      <string>0x00000000</string>
      <key>IONVRAMProperty</key>
      <true/>
      <key>NVCAP</key>
      <data>
      BAAAAAAAAwAcAAAAAAAACgAAAAA=
      </data>
      <key>NVDA,Features</key>
      <string>0x108006ff</string>
      <key>NVPM</key>
      <data>
      AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
      </data>
      <key>VRAM,totalsize</key>
      <string>0x40000000</string>
      <key>device_type</key>
      <string>NVDA,Parent</string>
      <key>model</key>
      <string>GeForce GTX 460</string>
      <key>rm_board_number</key>
      <data>
      AAAAAA==
      </data>
      <key>rm_multiboard_capable</key>
      <data>
      AQAAAA==
      </data>
      <key>rom-revision</key>
      <string>70.04.1B.00.70</string>
      <key>subsystem-id</key>
      <string>0x00001080</string>
   </dict>
   <key>PciRoot(0x1)/Pci(0x1,0x1)/Pci(0x0,0x0)</key>
   <dict>
      <key>@0,AAPL,boot-display</key>
      <string></string>
      <key>@0,can-hot-plug</key>
      <string></string>
      <key>@0,compatible</key>
      <string>NVDA,NVMac</string>
      <key>@0,connector-type</key>
      <string>AAAABA==</string>
      <key>@0,device_type</key>
      <string>display</string>
      <key>@0,display-connect-flags</key>
      <string>AAAAAA==</string>
      <key>@0,name</key>
      <string>NVDA,Display-A</string>
      <key>@1,AAPL,boot-display</key>
      <string></string>
      <key>@1,can-hot-plug</key>
      <string></string>
      <key>@1,compatible</key>
      <string>NVDA,NVMac</string>
      <key>@1,connector-type</key>
      <string>AAABA==</string>
      <key>@1,device_type</key>
      <string>display</string>
      <key>@1,display-connect-flags</key>
      <string>AAAAAA==</string>
      <key>@1,name</key>
      <string>NVDA,Display-B</string>
      <key>AAPL,aux-power-connected</key>
      <string>0x00000001</string>
      <key>AAPL,backlight-control</key>
      <string>0x00000000</string>
      <key>AAPL,gart-width</key>
      <integer>64</integer>
      <key>AAPL00,blackscreen-preferences</key>
      <string>0x00000000</string>
      <key>AAPL01,blackscreen-preferences</key>
      <string>0x00000000</string>
      <key>IONVRAMProperty</key>
      <true/>
      <key>NVCAP</key>
      <data>
      BAAAAAAAAwAcAAAAAAAACgAAAAA=
      </data>
      <key>NVDA,Features</key>
      <string>0x108006ff</string>
      <key>NVPM</key>
      <data>
      AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
      </data>
      <key>VRAM,totalsize</key>
      <string>0x40000000</string>
      <key>built-in</key>
      <string>AA==</string>
      <key>device_type</key>
      <string>NVDA,Child</string>
      <key>model</key>
      <string>GeForce GTX 460</string>
      <key>rm_board_number</key>
      <data>
      AAAAAA==
      </data>
      <key>rm_multiboard_capable</key>
      <data>
      AQAAAA==
      </data>
      <key>rom-revision</key>
      <string>70.04.1B.00.70</string>
      <key>subsystem-id</key>
      <string>0x00001080</string>
   </dict>
</dict>
</plist>

And here is the hex of it:

Code:
140c00000100000003000000d60500001e00000002010c00d041030a010000000101060000010101060000007fff04001e000000730075006200730079007300740065006d002d0069006400000008000000801000002400000072006d005f0062006f006100720064005f006e0075006d0062006500720000000800000000000000320000004100410050004c002c006200610063006b006c0069006700680074002d0063006f006e00740072006f006c00000008000000000000002e000000400030002c004100410050004c002c0062006f006f0074002d0064006900730070006c00610079000000040000001e00000072006f006d002d007200650076006900730069006f006e0000001200000037302e30342e31422e30302e37300e0000004e00560050004d0000002000000001000000000000000000000000000000000000000000000000000000200000004e005600440041002c0046006500610074007500720065007300000008000000ff068010420000004100410050004c00300031002c0062006c00610063006b00730063007200650065006e002d0070007200650066006500720065006e00630065007300000008000000000000002400000049004f004e005600520041004d00500072006f0070006500720074007900000005000000012e000000400031002c004100410050004c002c0062006f006f0074002d0064006900730070006c0061007900000004000000100000004e00560043004100500000001800000004000000000003001c0000000000000a0000000022000000400030002c006400650076006900630065005f00740079007000650000000b000000646973706c6179240000004100410050004c002c0067006100720074002d007700690064007400680000000800000040000000100000006d006f00640065006c000000130000004765466f726365204754582034363036000000400030002c0064006900730070006c00610079002d0063006f006e006e006500630074002d0066006c0061006700730000000c0000004141414141413d3d14000000400030002c006e0061006d0065000000120000004e5644412c446973706c61792d4124000000400030002c00630061006e002d0068006f0074002d0070006c00750067000000040000003000000072006d005f006d0075006c007400690062006f006100720064005f00630061007000610062006c006500000008000000010000001c0000006400650076006900630065005f00740079007000650000000f0000004e5644412c506172656e7424000000400031002c00630061006e002d0068006f0074002d0070006c007500670000000400000014000000400031002c006e0061006d0065000000120000004e5644412c446973706c61792d4236000000400031002c0064006900730070006c00610079002d0063006f006e006e006500630074002d0066006c0061006700730000000c0000004141414141413d3d20000000400031002c0063006f006d00700061007400690062006c00650000000e0000004e5644412c4e564d616322000000400031002c006400650076006900630065005f00740079007000650000000b000000646973706c617920000000400030002c0063006f006d00700061007400690062006c00650000000e0000004e5644412c4e564d616328000000400031002c0063006f006e006e006500630074006f0072002d00740079007000650000000b00000041414142413d3d220000005600520041004d002c0074006f00740061006c00730069007a00650000000800000000000040360000004100410050004c002c006100750078002d0070006f007700650072002d0063006f006e006e006500630074006500640000000800000001000000420000004100410050004c00300030002c0062006c00610063006b00730063007200650065006e002d0070007200650066006500720065006e006300650073000000080000000000000028000000400030002c0063006f006e006e006500630074006f0072002d00740079007000650000000c0000004141414142413d3df30500001f00000002010c00d041030a010000000101060001010101060000007fff04001e000000730075006200730079007300740065006d002d0069006400000008000000801000002400000072006d005f0062006f006100720064005f006e0075006d0062006500720000000800000000000000320000004100410050004c002c006200610063006b006c0069006700680074002d0063006f006e00740072006f006c00000008000000000000002e000000400030002c004100410050004c002c0062006f006f0074002d0064006900730070006c00610079000000040000001e00000072006f006d002d007200650076006900730069006f006e0000001200000037302e30342e31422e30302e37300e0000004e00560050004d0000002000000001000000000000000000000000000000000000000000000000000000200000004e005600440041002c0046006500610074007500720065007300000008000000ff068010420000004100410050004c00300031002c0062006c00610063006b00730063007200650065006e002d0070007200650066006500720065006e00630065007300000008000000000000002400000049004f004e005600520041004d00500072006f0070006500720074007900000005000000012e000000400031002c004100410050004c002c0062006f006f0074002d0064006900730070006c0061007900000004000000100000004e00560043004100500000001800000004000000000003001c0000000000000a0000000022000000400030002c006400650076006900630065005f00740079007000650000000b000000646973706c6179240000004100410050004c002c0067006100720074002d007700690064007400680000000800000040000000100000006d006f00640065006c000000130000004765466f726365204754582034363036000000400030002c0064006900730070006c00610079002d0063006f006e006e006500630074002d0066006c0061006700730000000c0000004141414141413d3d14000000400030002c006e0061006d0065000000120000004e5644412c446973706c61792d4124000000400030002c00630061006e002d0068006f0074002d0070006c00750067000000040000003000000072006d005f006d0075006c007400690062006f006100720064005f00630061007000610062006c006500000008000000010000001c0000006400650076006900630065005f00740079007000650000000e0000004e5644412c4368696c6424000000400031002c00630061006e002d0068006f0074002d0070006c007500670000000400000014000000400031002c006e0061006d0065000000120000004e5644412c446973706c61792d4236000000400031002c0064006900730070006c00610079002d0063006f006e006e006500630074002d0066006c0061006700730000000c0000004141414141413d3d20000000400031002c0063006f006d00700061007400690062006c00650000000e0000004e5644412c4e564d616322000000400031002c006400650076006900630065005f00740079007000650000000b000000646973706c617920000000400030002c0063006f006d00700061007400690062006c00650000000e0000004e5644412c4e564d616328000000400031002c0063006f006e006e006500630074006f0072002d00740079007000650000000b00000041414142413d3d220000005600520041004d002c0074006f00740061006c00730069007a00650000000800000000000040360000004100410050004c002c006100750078002d0070006f007700650072002d0063006f006e006e006500630074006500640000000800000001000000160000006200750069006c0074002d0069006e0000000800000041413d3d420000004100410050004c00300030002c0062006c00610063006b00730063007200650065006e002d0070007200650066006500720065006e006300650073000000080000000000000028000000400030002c0063006f006e006e006500630074006f0072002d00740079007000650000000c0000004141414142413d3d3f0000000100000002010c00d041030a0100000001010600061c0101060000007fff0400160000006200750069006c0074002d0069006e0000000500000001
 
That's amazing! Thanks again. Happy holidays!
 
This is how you combine two files:
hU9C8.jpg
 
The file should be defined according to the dtd:

Code:
<!ENTITY % plistObject "(array | data | date | dict | real | integer | string | true | false )" >
<!ELEMENT plist %plistObject;>
<!ATTLIST plist version CDATA "1.0" >


<!ELEMENT array (%plistObject;)*>
<!ELEMENT dict (key, %plistObject;)*>
<!ELEMENT key (#PCDATA)>


<!ELEMENT string (#PCDATA)>
<!ELEMENT data (#PCDATA)> 
<!ELEMENT date (#PCDATA)> 


<!ELEMENT true EMPTY>  
<!ELEMENT false EMPTY> 
<!ELEMENT real (#PCDATA)> 
<!ELEMENT integer (#PCDATA)>
 
Status
Not open for further replies.
Back
Top