#8692 closed patch
WAG file parsing patch to AGI's fallback detector
Reported by: | SF/buddha_ | Owned by: | sev- |
---|---|---|---|
Priority: | normal | Component: | Engine: AGI |
Version: | Keywords: | ||
Cc: | Game: |
Description
Here's a patch that makes use of WinAGI's (http://www.winagi.com/) *.wag file format in AGI games' fallback detection. WAG-files may include information like game ID, game description, used AGI interpreter version, game's last edit date etc. This patch makes the AGI fallback detector use those information, if present.
Ticket imported from: #1735773. Ticket imported from: patches/797.
Attachments (2)
Change History (7)
by , 18 years ago
Attachment: | wagFileParsing.patch added |
---|
comment:1 by , 18 years ago
Owner: | set to |
---|
comment:2 by , 18 years ago
Here's a sample WAG file for testing the patch.
It contains the following information (In addition to some other properties like CRC32, logics' and sounds' and views' descriptions etc):
Game ID: "WAGID" AGI Interpreter version: "2.411" Game last edit date: "12.6.2007 17:59:51" Game author: "test_wag_game_author" Game description: "test_wag_game_description" Game about: "test_wag_game_about" Game version: "test_wag_game_version"
Try putting the WAG file into some directory with nothing else in it and try detecting a game from there.
Or if you want to see some warnings then put two copies of the WAG file into some directory and try detecting a game from there. It should bail out and give you a warning about multiple WAG files. File Added: WAGID.wag
comment:3 by , 17 years ago
Status: | new → closed |
---|
comment:4 by , 17 years ago
Since that code appeared to be bigger than iI thought (mainly to great amount of comments :) ), I committed it as separate files.
comment:5 by , 6 years ago
Component: | → Engine: AGI |
---|
WAG file parsing patch to the AGI's fallback detector