[Help] Continuing Cinematic Troubles (SOLVED)
Posted: Thu Oct 11, 2012 5:09 am
EDIT: After spending the entire week trying to figure out WHAT IN THE WORLD IS WRONG with the "File Not Found" lua files even though they are RIGHT there in the folder it says it can't find it in......I discovered the solution.
I purchased Legend of Grimrock on GoG.com. Unless you download their downloader and turn the automatic updates on, you will never know there is an update. I regret not buying LoG on Steam. I log into that far more, and it's all automatically set up to download patches.
There are no "patches" to update with the GoG version that I could find. I had to re-download the 456 MB file and install it from scratch. I had downloaded setup_legend_of_grimrock1.0.0.1.4 from GoG. Meanwhile, in the past week (after the Editor launch) there was another patch that brought the setup file to 1.0.2.15
That's all it took. I would have NEVER known this had I not taken the files to work and had to download the game there.
Bottom Line: LoG will load your custom made games with version 1.0.0.1.4 but it will NOT run the cinematics. The 1.0.2.15 version will run the cinematics. (Below is the rest of the crap I had left)
I purchased Legend of Grimrock on GoG.com. Unless you download their downloader and turn the automatic updates on, you will never know there is an update. I regret not buying LoG on Steam. I log into that far more, and it's all automatically set up to download patches.
There are no "patches" to update with the GoG version that I could find. I had to re-download the 456 MB file and install it from scratch. I had downloaded setup_legend_of_grimrock1.0.0.1.4 from GoG. Meanwhile, in the past week (after the Editor launch) there was another patch that brought the setup file to 1.0.2.15
That's all it took. I would have NEVER known this had I not taken the files to work and had to download the game there.
Bottom Line: LoG will load your custom made games with version 1.0.0.1.4 but it will NOT run the cinematics. The 1.0.2.15 version will run the cinematics. (Below is the rest of the crap I had left)
SpoilerShow
For the past 3 days I have been reading these forums, referring to LoG's how-to guide on cinematics, and nothing has worked. No matter what file name I have or path I choose, I always get some kind of "file not found". I want to make a custom intro and ending, but nothing would work without crashing to the "file not found." So I literally copied and pasted the script found on the How-To page along with the script entity in-game triggered by a hidden pressure plate at the end. Still crashes! Here's all the info I have:
Image File Prep:
First I created a tga file for the ending named "my_outro.tga." It is at 1024x512 as I read in one thread on here that is what it should be (not sure why, resolution isn't that in game, I don't believe). Next I saved it as a .dds file named "my_outro.dds". This I did by installing nVidia's DDS plugin. However, RGBA8 is not one of the choices. I chose DXT5 ARGB 8bpp. There is nothing with A8 at the end like RGBA8. I made sure Generate Mipmaps was checked. I put these files in mod_assets/textures/cinematic/outro because I saw that in a thread on these forums. In a previous attempt, I tried putting it in the mod_assets/cinematics folder, but it did the same "file not found."
Sound File Prep
I took an mp3 and converted it to 128 bit .ogg file and named it "ending.ogg." I put these files in mod_assets/sounds.
LUA Prep
I gave up on an intro and just concentrated on an ending because both were giving problems. I want to get one working right. Here is my ending lua taken directly from How-To page and changed only the pathnames:
-- simple one image cinematic
enableUserInput()
startMusic("mod_assets/sounds/ending.ogg")
-- show the image
showImage("mod_assets/textures/cinematic/outro/my_outro.tga")
fadeIn(2)
sleep(4)
fadeOut(4)
I then named the file myending.lua and saved it in mod_assets/textures/cinematic because, again, I saw it in a thread in these forums. I also tried putting it in the mod_assets/cinematics folder, but it didn't work either.
Script Entity
On my final level I have a pressure_plate_hidden that is connected to a script entity. In the script entity I have the following:
function endgame()
completeGame("mod_assets/textures/cinematic/myending.lua")
end
Having said all that, when I load the game, the following error occurs:
File not found: mod_assets/textures/cinematic/myending.lua
stack traceback:
[C]: in function 'error'
[string "CinematicMode.lua"]: in function 'enter'
[string "FSM.lua"]: in function 'setState'
[string "GameMode.lua"]: in function 'update'
[string "Grimrock.lua"]: in function 'display'
[string "Grimrock.lua"]: in main chunk
What in the world am I doing wrong? This shouldn't be this complicated or difficult just to run a non-animated image and flash some text on the screen.
This is what I want. I want an intro with text and an image on the screen with custom music playing, and I want an ending image with text on the screen and another custom song playing.
EDIT: I put the lua file back in mod_assets/cinematics per the How-To page, but it doesn't do any good.
Image File Prep:
First I created a tga file for the ending named "my_outro.tga." It is at 1024x512 as I read in one thread on here that is what it should be (not sure why, resolution isn't that in game, I don't believe). Next I saved it as a .dds file named "my_outro.dds". This I did by installing nVidia's DDS plugin. However, RGBA8 is not one of the choices. I chose DXT5 ARGB 8bpp. There is nothing with A8 at the end like RGBA8. I made sure Generate Mipmaps was checked. I put these files in mod_assets/textures/cinematic/outro because I saw that in a thread on these forums. In a previous attempt, I tried putting it in the mod_assets/cinematics folder, but it did the same "file not found."
Sound File Prep
I took an mp3 and converted it to 128 bit .ogg file and named it "ending.ogg." I put these files in mod_assets/sounds.
LUA Prep
I gave up on an intro and just concentrated on an ending because both were giving problems. I want to get one working right. Here is my ending lua taken directly from How-To page and changed only the pathnames:
-- simple one image cinematic
enableUserInput()
startMusic("mod_assets/sounds/ending.ogg")
-- show the image
showImage("mod_assets/textures/cinematic/outro/my_outro.tga")
fadeIn(2)
sleep(4)
fadeOut(4)
I then named the file myending.lua and saved it in mod_assets/textures/cinematic because, again, I saw it in a thread in these forums. I also tried putting it in the mod_assets/cinematics folder, but it didn't work either.
Script Entity
On my final level I have a pressure_plate_hidden that is connected to a script entity. In the script entity I have the following:
function endgame()
completeGame("mod_assets/textures/cinematic/myending.lua")
end
Having said all that, when I load the game, the following error occurs:
File not found: mod_assets/textures/cinematic/myending.lua
stack traceback:
[C]: in function 'error'
[string "CinematicMode.lua"]: in function 'enter'
[string "FSM.lua"]: in function 'setState'
[string "GameMode.lua"]: in function 'update'
[string "Grimrock.lua"]: in function 'display'
[string "Grimrock.lua"]: in main chunk
What in the world am I doing wrong? This shouldn't be this complicated or difficult just to run a non-animated image and flash some text on the screen.
This is what I want. I want an intro with text and an image on the screen with custom music playing, and I want an ending image with text on the screen and another custom song playing.
EDIT: I put the lua file back in mod_assets/cinematics per the How-To page, but it doesn't do any good.