Files
source/gamedir/Base/TableData/Layout/LayoutMainMenu.xml
T
d683cdeb64 Run from gamedir (#686)
* prepare gamedir for running the game

* Stop telling installers to overwrite the vanilla game

The release no longer contains anything that lands on a vanilla file:
its base data lives in Base, so unpacking it over the game directory
and copying the game's Data into the release now amount to the same
installation.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* Give the mod's base data its own VFS profile

Its files ship in Base now, so that a vanilla Data directory can be
copied in whole without a single collision. Mount Base right above the
vanilla dirs in every profile stack — the slot where the installer's
overwrites used to end up.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* Mount Base in the language overlays' VFS configs too

Assembling a release copies a <Language>_Version directory over
gamedir, its own copies of the configs included, so without the same
Base profile every non-English release would mount nothing from Base.

Their libraries move along with the rest of the base data: each
language slf, and the Russian data.slf that shadows the vanilla
Data.slf by name.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* Ignore a vanilla Data directory dropped into gamedir

Running the game here needs one copied in, and it is an untouched copy
of somebody's retail install — nothing this repository should track.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* Ignore only the player profile directory, not every Profiles

The unanchored pattern also swallowed Base/TableData/Profiles, the
mod's soldier profile XMLs, which are tracked and belong in a release.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* move gamedir/Data to gamedir/Base

* move gamedir-languages' Data to Base

---------

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-01 11:05:15 -03:00

50 lines
1.4 KiB
XML

<!--
X640 Y480
X1024 Y768
X800 Y600
ImagePositionXxxx = (X - 640) / 2
ImagePositionYyyy = (Y - 480) / 2
StretchImage if 1 the image is stretched to the screen size
CenterImage if 1 the image is centered in X
ImagePositionRelative if 0 the image is displayed on the same place on any resolution, ignored when StretchImage is active
all tags with resolution are now obsolete but not removed for compability with older versions
-->
<MAINMENU>
<!-- Menu Buttons uiIndex = 0 (required!) -->
<IMAGE>
<uiIndex>0</uiIndex>
<Description>Menu Buttons</Description>
<MainMenuX>320</MainMenuX>
<MainMenuY>210</MainMenuY>
<MainMenuYSpace>37</MainMenuYSpace>
</IMAGE>
<!-- Background Images -->
<IMAGE>
<uiIndex>1</uiIndex>
<Visible>1</Visible>
<Description>BackGround</Description>
<FileName>LOADSCREENS\MainMenuBackground.sti</FileName>
<FitToScreen>1</FitToScreen>
<StretchImage>0</StretchImage>
<CenterImage>0</CenterImage>
<ImagePositionRelative>0</ImagePositionRelative>
<ImagePositionX>0</ImagePositionX>
<ImagePositionY>0</ImagePositionY>
</IMAGE>
<IMAGE>
<uiIndex>2</uiIndex>
<Visible>1</Visible>
<Description>Ja2LogoImage</Description>
<FileName>LOADSCREENS\Ja2Logo.sti</FileName>
<FitToScreen>0</FitToScreen>
<StretchImage>0</StretchImage>
<CenterImage>1</CenterImage>
<ImagePositionRelative>1</ImagePositionRelative>
<ImagePositionX>188</ImagePositionX>
<ImagePositionY>70</ImagePositionY>
</IMAGE>
</MAINMENU>