TheAMM

0x40 Hues v5.0 Respack XML Information

Jun 10th, 2014
374
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.37 KB | None | 0 0
  1. images.xml:
  2. <!-- (In fact the root tag name doesn't matter, there just needs to be one) -->
  3. <images>
  4.     <!-- "name" is the filename without an extension -->
  5.     <image name="filename">
  6.         <!-- Full name of the character, defaults to name -->
  7.         <fullname>Full Character Name</fullname>
  8.         <!-- A link to a source, openable from the image name on the UI -->
  9.         <source>http://a-link-to-source.com</source>
  10.         <!-- Control the smart alignment of the image, defaults to "center" -->
  11.         <align>left|center|right</align>
  12.  
  13.         <!-- For animations only. -->
  14.         <!-- Animations consist of several images named as "[name]_[number]" -->
  15.         <!-- A list of millisecond delays for each frame of the animation, separated by "," -->
  16.         <!-- If the list is too short, it is extended by copying the last item in it -->
  17.         <frameDuration>33</frameDuration>
  18.     </image>
  19. </images>
  20.  
  21.  
  22. Animation example:
  23. ├── images.xml
  24. └── Lain
  25.     ├── Lain_01.png
  26.     ├── Lain_02.png
  27.     ├── ...
  28.     ├── Lain_17.png
  29.     └── Lain_18.png
  30.  
  31. The order of the files in the zipped zip matters. 7zip orders the files alphabetically, but
  32. the linux command "zip" does not. This can lead to out of order frames, since the respack parsing
  33. is overall a bit wonky (it was made to just work, then it did and was left to be).
  34.  
  35. images.xml
  36. <image name="Lain">
  37.     <fullname>Lain</fullname>
  38.     <align>left</align>
  39.     <!-- 83ms works out to 12 frames per second -->
  40.     <frameDuration>83</frameDuration>
  41. </image>
  42.  
  43.  
  44. songs.xml:
  45. <songs>
  46.     <!-- "name" is the filename without an extension (the file needs to be an .mp3) -->
  47.     <song name="filename">
  48.         <!-- Title of the song -->
  49.         <title>Song Title</title>
  50.         <!-- The beatmap aka beatstring aka rhythm of the loop -->
  51.         <rhythm>x...o...</rhythm>
  52.         <!-- A link to a source, openable from the song name on the UI -->
  53.         <source>http://a-link-to-source.com</source>
  54.        
  55.         <!-- The filename without an extension of the buildup for this loop -->
  56.         <buildup>buildupName</buildup>
  57.         <!-- The beatmap for the buildup -->
  58.         <buildupRhythm>x...o...</buildupRhythm>
  59.     </song>
  60. </songs>
  61.  
  62. info.xml:
  63. <info>
  64.     <name>Respack Name</name>
  65.     <author>Author Name</author>
  66.     <description>A nice description of the respack</description>
  67.     <!-- The link tag is optional, and is openable by clicking the author name on the RESOURCES tab -->
  68.     <link>http://0x40hues.blogspot.com</link>
  69. </info>
Advertisement
Add Comment
Please, Sign In to add comment