solarus-games / zsdx

This repository was moved to GitLab: https://gitlab.com/solarus-games/zsdx
http://www.solarus-games.org
Other
186 stars 54 forks source link

Video mode in options menu does not work #71

Closed Renkineko closed 10 years ago

Renkineko commented 10 years ago

We can't change the video mode anymore, we have the following error on the first start of the game (not an empty game, but one with an already existing settings.dat !) :

Warning: No video mode with name: windowed_stretched

So in the settings.dat video_mode is set to solarus_default, which is not defined in the strings.dat file of the quest. So, when you go to the menu to choose a video mode, you have following error :

Error: In on_started(): [string "menus/pause_options.lua"]:12: No value with key 'options.video_mode.solarus_default' in strings.dat for language 'fr'
Error: In on_draw(): [string "menus/pause_options.lua"]:147: attempt to index field 'cursor_sprite' (a nil value)

If you had a line in the strings.dat file to avoid first error, you can't change the video mode to another, you're stuck with video mode "default_solarus".

Don't know if the problem come from the engine or the quest...

Solarus v1.2 christopho/solarus@534912caa5e6dc5ee7a88a7b1c90729bd68d9600 ZSDX v1.7 562a4ffd109d8018b6bbd6d38f4114df22c2692a

christopho commented 10 years ago

Changing the video mode with F5 is now fixed by christopho/solarus@5c50460. The options menus of zsdx and zsxd remain to be fixed because video mode names have changed.