URL:
  <http://gna.org/bugs/?16731>

                 Summary: game crashes at startup if some core files not
present
                 Project: Battle for Wesnoth
            Submitted by: vaxquis
            Submitted on: Sunday 09/19/2010 at 16:30
                Category: Bug
                Severity: 2 - Minor
                Priority: 5 - Normal
              Item Group:  None of the others
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.9.1
        Operating System: any

    _______________________________________________________

Details:

as of 1.9, deleting e.g. hardwired/tips.cfg or images/misc/logo.png causes a
MSVCRT crash that's NOT reported to stderr(wasn't the case in earlier
versions, as there was no crash at all, the files just weren't loaded); for
PNGs, suppling 0-byte file with PNG extension works correctly (no crashes,
replaced graphic is not displayed), for tips.cfg, using "[tip][/tip]" as the
content works, too. still, the MSVCRT error doesn't inform that the file is
missing in a straightforward manner nor does report anything to stderr; the
messages displayed hardly point to the file missing as a source of the
trouble. moreover, some files (e.g. OGG music) can be safely deleted,
producing stderr errors WITHOUT any noticeable (MessageBox or other) error
message.

proposed solution:
* clarify the error messages, pointing straightly to the file(s) missing,
* treat missing files and 0-byte placeholder files equally,
* (possibly) produce stderr output for MSVCRT crashes.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sunday 09/19/2010 at 16:30  Name: assert.png  Size: 8kB   By: vaxquis

<http://gna.org/bugs/download.php?file_id=10390>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?16731>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to