|
|
"Philippe Lhoste" <Phi### [at] GMXnet> wrote in message
news:Xns### [at] 204213191226...
>
> I see several problems (after trying out, I am not very familiar with
> these .ini files, but I am familiar with debugging processes :-)
>
> Let's see...
> 1) When I use your .ini file as given (just replacing Notepad call), I get
> this error in the Messages pane:
> Warning: Never found section '' in file 'E:\_PhiLho\Images\POV-
> Ray\sources\LuaLogo.ini'.
> Command Line Error: Problem with command line or INI file.
> Returned from renderer with error status
>
> So I removed the section [Shell Test] which obviously is not only
> necessary, but seems to be interfering... POV-Ray's .ini files are not
> exactly Windows' .ini files, as stated in the manual. See also example
> .ini files in the scenes\portfolio directory.
>
Hmm, I don't see any of these errors you're referring to. I agree, the need
for [...] is not necessary, but sure makes life easier when you're doing
test renders at various qualities, etc.
Since this works in other INI files (without shelling), I don't think this
is the problem.
> 2) After removing this section, I got another error. Snipped from the
> messages:
> ...
>
> After adding it, I heard the sound... Well, almost, I cheated...
> I disabled the Pre_Scene_Return=F line.
> If I put it back, the program is no longer executed. ?!? A bug?
>
> Oooh, if I put the Return line *before* the Command one, it works!
> A quick browse of the manual shows nothing on this behavior...
>
This appears to be the problem. I can use this INI file:
[TestIt]
Pre_Scene_Return=F
Pre_Scene_Command=notepad.exe
...But not this one:
[TestIt]
Pre_Scene_Command=notepad.exe
Pre_Scene_Return=F
Strange. As you also pointed out, it doesn't appear in the docs anywhere.
But if you either leave out the Pre_Scene_Return line, or include it prior
to the Pre_Scene_Command line, things work fine. You can even use the [...]
headers, too.
> Oh, well, at least you should be able to do what you wanted now :-)
Finally, yes. Thanks for the help!
- How
Post a reply to this message
|
|