So I inserted the line Alex recommended, and I booted. The results: I got the logo going now, but then I'm presented with the same black screen and a new error. This one reads:
>Error: In on_finished: main.lua:20: attempt to call method 'start_game' (a nil value)
The main.lua script does make mention at the beginning a similar require("scripts/game_manager) line, so that's not the problem this time. Here's copy of the script (problem line is italicized. I tried playing around with it the best I could but I didn't make any headway).
-- This is the main Lua script of your project.
-- You will probably make a title screen and then start a game.
-- See the Lua API!
http://www.solarus-games.org/doc/latestlocal game_manager = require("scripts/game_manager")
-- This function is called when Solarus starts.
function sol.main:on_started()
-- Setting a language is useful to display text and dialogs.
sol.language.set_language("en")
local solarus_logo = require("scripts/menus/solarus_logo")
-- Show the Solarus logo initially.
sol.menu.start(self, solarus_logo)
-- Start the game when the Solarus logo menu is finished.
solarus_logo.on_finished = function()
game_manager:start_game() end
end
-- Event called when the player pressed a keyboard key.
function sol.main:on_key_pressed(key, modifiers)
local handled = false
if key == "f5" then
-- F5: change the video mode.
sol.video.switch_mode()
handled = true
elseif key == "f11" or
(key == "return" and (modifiers.alt or modifiers.control)) then
-- F11 or Ctrl + return or Alt + Return: switch fullscreen.
sol.video.set_fullscreen(not sol.video.is_fullscreen())
handled = true
elseif key == "f4" and modifiers.alt then
-- Alt + F4: stop the program.
sol.main.exit()
handled = true
elseif key == "escape" and sol.main.game == nil then
-- Escape in title screens: stop the program.
sol.main.exit()
handled = true
end
return handled
end