GAME INFORMATION
These details are CRITICAL; DO NOT skip them or your issue may not be reviewed.
- GAME BUILD #: 101.101.44834.0 6148570
- GAME PLATFORM: Steam
- OPERATING SYSTEM: Linux
ISSUE EXPERIENCED
DESCRIBE THE ISSUE IN DETAIL (below). LIMIT TO ONE BUG PER THREAD.
I want to include an xs script (e.g. wtf.xs
) in a rms script (e.g. TradeCartNothing.rms
). Both scripts are part of a local mod.
When I launch a game with the rms script, I get the error:
EXTERN(1): XS: Error 0354: failed to open file ‘wtf.xs’.
and the modifications from the xs script are not applied.
If I place the xs script directly into the xs
folder in the game files, it works.
FREQUENCY OF ISSUE
How often does the issue occur?
- 100% of the time / matches I play (ALWAYS)
REPRODUCTION STEPS
List CLEAR and DETAILED STEPS we can take to reproduce the issue ourselves… Be descriptive!
Here’s the steps to reproduce the issue:
- Create a new folder named
test
in your local mod folder (Games/Age of Empires 2 DE/mods/local) and create a validinfo.json
file inside it - Inside that
test
folder, create anresources/_common/xs
folder - Inside that
xs
folder, create an xs script calledwtf.xs
- Inside the
test
folder, create aresources/_common/random-map-scripts
folder - Inside that
random-map-scripts
folder, create a random map script calledTradeCartNothing.rms
, which includes the line#includeXS wtf.xs
- Start the game and make sure that the new local mod is enabled
- Start a game against the AI on the
TradeCartNothing
map - Receive the attached error message
EXTERN(1): XS: Error 0354: failed to open file ‘wtf.xs’.
EXPECTED RESULT
What was SUPPOSED to happen if the bug you encountered were not present?
The game should find the xs script and execute it.
IMAGE
ALWAYS attach a PICTURE (.jpg, .png, .gif) or VIDEO (.mp4, YouTube link) that highlights the problem.