Opened 7 weeks ago
Last modified 4 weeks ago
#15302 closed defect
AGS: Running unknown games fails with path error — at Version 2
Reported by: | tag2015 | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | Engine: AGS |
Version: | Keywords: | ||
Cc: | Game: |
Description (last modified by )
After the merge of PR 5829, it is no longer possible to start unknown games that have been added using the fallback detection.
Steps to reproduce:
- Find a game that is not in the detection tables, such as this testgame
- Add the game using the launcher, choose "add anyway"
- Try to run the game. It'll fail while attempting to load the resources reporting a garbage gamepath.
It should be noted, that the issue only happens for completely unknown games, variants (i.e. games that are in the detection tables, but with different checksum/size) can be run normally.
Change History (2)
comment:1 by , 7 weeks ago
comment:2 by , 7 weeks ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
After some quick debugging, it seems that the problem occurs when
identifyGame
callsfallbackDetect
.The
fallbackDetectedGame
struct should be initialized afterfallbackDetect
returns, but instead thefilesDescriptions
array contains garbage.