Open rare25 opened 6 years ago
Would you mind run it with --debug
switch, and see what happened in log-file.txt
?
Here is an example of how to place FFmpeg libraries:
|- TheaterDays.Direct3D11.exe
|- x86
|- avcodec-57.dll
|- avdevice-57.dll
|- ...
BGI configuration ("data" section):
data:
bgi: Contents/res/img/bg/base_light.jpg # note: Absolute path and Windows path separator ('\') are also acceptable
fit: letter_box
Sorry, it was solved by changing version for ffmpeg libraries from latest(20180227-fa0c9d6) to 3.4.2. But BGI is not displayed. There is no error in log-file.txt.
Are you trying to display them both?
No.
That's strange. If an error happens during loading a texture file that exists, it will be thrown and logged. If the file does not exist, the loading process will be canceled and _texture
will be null
, so the texture will not be drawn and no error will be thrown.
I suggest you to run MilliSim in Visual Studio, and set a breakpoint in BackgroundImage
to see what happened. Maybe it is because of the encoding (should be UTF-8).
For image, the correct path is specified, but it is not loaded. For video, ffmpeg is placed, but MilliSim does not run.