|
|
|
|
|
Author |
(#41) DVD button layout exporting |
donradii
Beta tester

Joined: 25 Oct 2007 Posts: 3
|
Posted: Sun 11 Nov 2007, 22:44
|
|
|
Type:  |
Improvement |
|
Last change:  |
Sun 11 Nov 2007, 22:44 |
State:  |
New |
|
Based on version:  |
0.9.10 (v46) |
Level:  |
Low |
|
Improved version:  |
|
|
|
Since i use this a lot to pul information from DVD Menus i was wondering if there would be the possibility of exporting the button layouts of a DVD Menu to a Layout Style for DVD Studio pro. I looked at some layout styles i have created and it looks like the information needed is as follows:
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>DVDStandard</key>
<string>DVDStandard_SD_or_HD</string>
<key>Format</key>
<string>NTSC</string>
<key>MenuStyle_Resolution</key>
<string>DVDResolution720x480at2997i</string>
<key>Name</key>
<string>episode3-scene-odd</string>
<key>Styles</key>
<dict>
<key>StyleName_Layout</key>
<dict>
<key>DVDStandard</key>
<string>DVDStandard_SD_or_HD</string>
<key>LayoutStyle_ButtonPlacement</key>
<dict>
<key>LayoutStyle_ButtonPlacement</key>
<array>
<dict>
<key>ButtonStyle</key>
<dict>
<key>ButtonStyle_AutoAction</key>
<dict>
<key>Data</key>
<true/>
<key>RepLocFormat</key>
<string>SettingFormat_Yes</string>
</dict>
<key>ButtonStyle_HighlightSet</key>
<dict>
<key>Data</key>
<integer>0</integer>
<key>RepLocFormat</key>
<string>1</string>
</dict>
<key>ButtonStyle_Invisible</key>
<dict>
<key>Data</key>
<true/>
<key>RepLocFormat</key>
<string>SettingFormat_Yes</string>
</dict>
<key>ButtonZoneStyle_Shape</key>
<dict>
<key>Path</key>
<string>notset</string>
<key>RepLocFormat</key>
<array>
<string>SettingFormat_NotSet</string>
</array>
<key>ShapeType</key>
<string>ShapeTypeNotSet</string>
</dict>
<key>ButtonZoneStyle_Size</key>
<dict>
<key>Data</key>
<dict>
<key>Height</key>
<real>9</real>
<key>Width</key>
<real>8</real>
</dict>
<key>RepLocFormat</key>
<array>
<string>SettingFormat_Size</string>
<string>8</string>
<string>9</string>
</array>
</dict>
<key>DVDStandard</key>
<string>DVDStandard_SD_or_HD</string>
<key>MenuStyle_Resolution</key>
<string>DVDResolution720x480at2997i</string>
</dict>
<key>Down</key>
<string>17</string>
<key>Left</key>
<string>17</string>
<key>Name</key>
<string>17</string>
<key>Pos</key>
<integer>16</integer>
<key>Right</key>
<string>17</string>
<key>Up</key>
<string>17</string>
<key>X</key>
<real>8</real>
<key>Y</key>
<real>471.5</real>
</dict>
</array>
<key>RepLocFormat</key>
<array>
<string>SettingFormat_Buttons</string>
<string>18</string>
</array>
</dict>
<key>LayoutStyle_DefaultButton</key>
<dict>
<key>LayoutStyle_DefaultButton</key>
<string>1</string>
<key>Rep</key>
<string>1</string>
</dict>
<key>MenuStyle_Resolution</key>
<string>DVDResolution720x480at2997i</string>
</dict>
</dict>
<key>ThemeID</key>
<array/>
<key>Type</key>
<string>Style</string>
<key>Version</key>
<real>0.80000001192092896</real>
</dict>
</plist>
|
The name would be something that the user would chose, and all of the other stuff would be gathered from the information in myDVDEdit (button number, navigation, size), the target for each button would not be needed due to the fact that DVD Studio Pro does not save targets for buttons in the styles.
Also the style would have to be saved as a folder with the extension .dspstyle. The folder structure looks like this:
Code: |
style_name.dspstyle
Contents
PkgInfo
Resources
Connections.plist
English.lproj
Description.plist
thumbnail.tif
|
I hope this makes sense and is something that could be implemented.
Thank you for all of your hard work!
|
|
Back to top |
|
|
|
Powered by phpBB ©
2001, 2019 phpBB Group
|
|
|
|