Qhimm.com Forums

Miscellaneous Forums => Troubleshooting => Topic started by: Tsuna on 2016-09-20 23:10:51

Title: Help with XML code
Post by: Tsuna on 2016-09-20 23:10:51
I dunno what im doing wrong but i know im close, i want specific folders to be on if certain options are selected. Heres what i have:

Code: [Select]
<ModFolder Folder="Voices + Subtitles + Auto" >
<ActiveWhen>
<Option>Voices = 1</Option>
<Option>Subtitles = 1</Option>
<Option>Auto Text = 1</Option>
</ActiveWhen>
</ModFolder>

<ModFolder Folder="Voices + Subtitles" >
<ActiveWhen>
<Option>Voices = 1</Option>
<Option>Subtitles = 1</Option>
<Option>Auto Text = 0</Option>
</ActiveWhen>
</ModFolder>

<ModFolder Folder="Voices + Auto" >
<ActiveWhen>
<Option>Voices = 1</Option>
<Option>Subtitles = 0</Option>
<Option>Auto Text = 1</Option>
</ActiveWhen>
</ModFolder>

<ModFolder Folder="Voices" >
<ActiveWhen>
<Option>Voices = 1</Option>
<Option>Subtitles = 0</Option>
<Option>Auto Text = 0</Option>
</ActiveWhen>
</ModFolder>
Title: Re: Help with XML code
Post by: Tsuna on 2016-09-21 19:07:21
If anyone can solve this ill be very grateful
Title: Re: Help with XML code
Post by: EQ2Alyza on 2016-09-22 10:17:22
http://forums.qhimm.com/index.php?topic=14490.msg216843#msg216843

Try reading about the and/or functions to go along with the ActiveWhen tags.
Title: Re: Help with XML code
Post by: Tsuna on 2016-09-22 15:13:16
I never knew that page existed? Thank you so much :D
Title: Re: Help with XML code
Post by: Tsuna on 2016-09-28 23:07:24
Okay well the original problem is solved but instead of making a new post this comes under the same category.

Can i have a separate xml file that is not in the root folder?
Ultrasound uses many xmls and right now they have to all be in the root.
I CAN live with this but would be easier for convenience sake.

On a side note i also believe one of the dll's make this impossible,
I tried looking inside and did find 1 or 2 "Root" references i just don't know how to only change that part.
Title: Re: Help with XML code
Post by: ficedula on 2016-09-29 06:38:42
Okay well the original problem is solved but instead of making a new post this comes under the same category.

Can i have a separate xml file that is not in the root folder?
Ultrasound uses many xmls and right now they have to all be in the root.
I CAN live with this but would be easier for convenience sake.

No, that isn't possible right now. It's more likely that I'll change the Ultrasound plugin in a future version, than change the way 7H works.
Title: Re: Help with XML code
Post by: Tsuna on 2016-10-25 12:38:56
How do i make movies go over using 7H? I have them named properly in the correct format.
Added movies to the extra folders list in 7H and coded the same way as the existing movies iro.

Which i also could not get to work