Folder Structure in the Repository
-
I uploaded the TerraFirma1939 mod and I (and others) have had trouble with playing the game, receiving Map Missing errors, although I can bypass them.
Is there something wrong with the folder structure? Do I need to have a folder called map? This ran fine on the computer I was working on before I posted.
-
@rogercooper said in Folder Structure in the Repository:
Do I need to have a folder called map?
Yea I'm pretty sure you do. I'd check a few others in downloaded maps and follow what they do.
Terra firma goes straight to this with no "map"
Should look something like
with most that other stuff in map -
@rogercooper
You definitely do not need a map folder to run the map, eg. The Shogun has no map folder and works well in 2.5.x & 2.6.x.Most of my maps dont have a map folder.
But TerraFirma1939 has inconsistencies in its naming structure.
2.6.663 cannot download it as it does not exist in the downloadable list, you have to use 2.5 to download it.Also when 2.6 unzips it, I thought the folder name must be all lower case and should match the xml file name and the name="mapName" .
However even when I matched it all up, it still errors.
Its a very big map, I changed vmotion to 4G and also tried the TripleA default, it still errors.
Also tried 2.5 and 2.6, it still errors, so its not the new 2.6 version, its something in the map.
-
@thedog I have given up working in 2.6 for now.. I am going try have everything use "TerraFirma1939" and see if that helps.
-
@rogercooper Is there a requirement that repositories be lower case for 2.6? I see plenty of mods that have upper case.
-
@thedog said in Folder Structure in the Repository:
But TerraFirma1939 has inconsistencies in its naming structure.
yea RetunRadio got it to work here
https://forums.triplea-game.org/topic/3191/map-missing/6?_=1650167782632
-
@rogercooper 2.6 removes the naming requirement of the map repository relative to any other name.
Before 2.6 the map repository, map folder ,and map name in XML all had to line up (each name was normalized to remove spaces and underscores and spaces, so they could differ by those characters, but otherwise had to be exact matches).
In 2.6 instead of using magic naming to derive paths that had to line up in 3 different locations, instead now the path to find a XML game files is only found from the
map.yml
files. The name of the parent folders is completely arbitrary now. If you have a map that is working in 2.6 and 2.5, try the experiment of renaming the map folder - it will break in 2.5 but should continue to work in 2.6. -
@lafayette said in Folder Structure in the Repository:
@rogercooper 2.6 removes the naming requirement of the map repository relative to any other name.
Before 2.6 the map repository, map folder ,and map name in XML all had to line up (each name was normalized to remove spaces and underscores and spaces, so they could differ by those characters, but otherwise had to be exact matches).
In 2.6 instead of using magic naming to derive paths that had to line up in 3 different locations, instead now the path to find a XML game files is only found from the
map.yml
files. The name of the parent folders is completely arbitrary now. If you have a map that is working in 2.6 and 2.5, try the experiment of renaming the map folder - it will break in 2.5 but should continue to work in 2.6.Right now, I am trying to make mods work in both 2.5 & 2.6. Has the downloading problem been fixed in 2.6?
-
@rogercooper If you set up 2.6 to download from the prerelease server, it might work. It's been months now, so I don't remember.
It would be really useful for anyone to check out 2.6 connected to prerelease and give a full list of the items that are not working. This is the place to track those items: https://github.com/triplea-game/triplea/projects/25
-
@lafayette
Is the Pre-Release link below correct ?
https://prerelease.triplea-game.orgIf so then it does not work.
FeignException$InternalServerError: [500 Internal Server Error] during [GET] to [https://prerelease.triplea-game.org/maps/listing] [MapsFeignClient#fetchMapListing(Map)]: [{"code":500,"message":"There was an error processing your request. It has been logged (ID d97cbd373f49b787)."}]
I tried to add the above, but I don't think I'm authorised, but I think its already covered by;
https://github.com/triplea-game/triplea/projects/25#card-74205079