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
testin your local mod folder (Games/Age of Empires 2 DE/mods/local) and create a validinfo.jsonfile inside it - Inside that
testfolder, create anresources/_common/xsfolder - Inside that
xsfolder, create an xs script calledwtf.xs - Inside the
testfolder, create aresources/_common/random-map-scriptsfolder - Inside that
random-map-scriptsfolder, 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
TradeCartNothingmap - 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.

