PDA

View Full Version : rebuilder.ini


FredThompson
18th October 2005, 10:23
Does rebuilder support loading a custom ini file as part of the calling arguments?

rebuilder.exe custom2.ini, for example...

Are comments supported in the ini file? If so, which delimiter method(s) are used?

jdobbs
18th October 2005, 13:19
It supports being called with a project file as a command line parameter (which is essentially an INI). But it doesn't automatically start the job. You could also open "run" a project file and it will open DVD-RB (assuming you used the installer).

laserfan
18th October 2005, 15:48
..Are comments supported in the ini file? If so, which delimiter method(s) are used?
I, too, have asked this question numerous times and in numerous ways. Why does it continue to be ignored as here? If the answer is "no" then let's hear it anyway!

Mr. Monte
18th October 2005, 16:38
Huh??...Jerry answered it abot 2:30 hours before your post

jdobbs
18th October 2005, 17:37
I, too, have asked this question numerous times and in numerous ways. Why does it continue to be ignored as here? If the answer is "no" then let's hear it anyway!??? The INI format is not determined by DVD-RB... it is a Microsoft invention that is accessed through the operating system. You can comment in any way you want. The only thing you can't do is make a comment that matches one of the parameters followed by an equal sign starting at column 1. People often put a "#" at the beginning of lines that are commented -- but it isn't required.

Ignored? I don't remember ever seeing the question.

laserfan
18th October 2005, 20:16
...Are comments supported in the ini file? If so, which delimiter method(s) are used?
Well, here's one example at the top of this thread! Thanks, finally, for the simple answer.

FredThompson
19th October 2005, 01:35
The ini extension implies "standard" use but isn't a requirement as they're just text files. Better to ask and be safe than sorry.

spyhawk
19th October 2005, 01:47
@jdobbs,

Are the parameters in rebuilder.ini case sensitive? e.g. MovieOnly vs movieonly. Also, will the parameter be read if there is one or more space in front of it? e.g., ......Mode=5

I've been using "***" before the parameter as comments or as backup for previous values set. It doesn't matter how many stars.

jdobbs
19th October 2005, 13:42
When the O/S looks for a match it first looks in the section (e.g. "[Options]") and then for a line in which the first x characters match the parameter passed. So if I'm looking for "Hot_Dog" in the "[Options]" area it will match:

[Options]
hot_dog=xxx
Hot_Dog=xx
hOt_doG=xx

because upper/lower case is ignored. But it won't match:

*hot_dog=xxx
#hot_dog=xx
hot_dog#=

nor

[Junk Food]
hot_dog=xxx

Also remember that when you comment something out, DVD Rebuilder will use whatever is set as the default value for that parameter.

I can't tell you definitely whether CCE uses the O/S to read its .ECL files which also appear to use the INI format... I would guess so, but not having access to the code I really could say for sure.

[added] Also remember that when you have an entry inserted more than once, only the first one will take effect.

jdobbs
19th October 2005, 13:45
The ini extension implies "standard" use but isn't a requirement as they're just text files. Better to ask and be safe than sorry. I agree. I was just pointing it out so people would know.