Page 1 of 1

Updated maps not working in new build

Posted: Wed Mar 05, 2025 11:35 am
by melons
I am getting an error after the map is successfully updated on the maps site

Error: Undefined player palette reference `cloak` detected at `OpenRA.Mods.Common.Traits.Render.WithIdleOverlayInfo` for `proc` Errors: 1

Any idea where I can start looking for the issue, the map had ERCC refs so may be related

This map at time of posting
https://resource.openra.net/maps/61280/

Re: Updated maps not working in new build

Posted: Thu Mar 06, 2025 6:53 pm
by Gadderach
New version sucks! Harvesters are going crazy! Team colour code also sucks

Re: Updated maps not working in new build

Posted: Sat Mar 08, 2025 8:35 pm
by PacmanGraphics
See this adapted maps.
Look in the .yaml files for changes like:

Code: Select all

PROC:
	RenderSprites:
		Image: ref-bot
	Building:
		Footprint: =+x +=+ x==
		Dimensions: 3,3
		LocalCenterOffset: 0,-512,0
	Refinery:
	DockHost:
		Type: Unload
		DockAngle: 768
		DockOffset: 0, 0, 0
	FreeActor:
		Actor: HARV
		SpawnOffset: 1,1
		Facing: 768
Files like:
rules-ERCC.yaml
rules-melons-advanced.yaml
Or:
ERCC21andBCC11-rules.yaml
And some other changes.
If you upload to the resource: https://resource.openra.net/ then when it shows 'fail' in red instead of 'pass' in green you can click on it and see where or what the error is. On the repo on GitHub i found some samples of how to change the error you subscribed here...
Here the maps:
https://resource.openra.net/maps/61404/
https://resource.openra.net/maps/61402/
https://resource.openra.net/maps/61363/
https://resource.openra.net/maps/61362/
https://resource.openra.net/maps/61350/
https://resource.openra.net/maps/61333/
https://resource.openra.net/maps/61327/

Re: Updated maps not working in new build

Posted: Sun Mar 09, 2025 5:33 pm
by melons
Resolved it was related to the ERCC code particularly in rules-ERCC.yaml

Code: Select all

    Palette: cloak
    IsPlayerPalette: true

Re: Updated maps not working in new build

Posted: Mon Mar 10, 2025 9:08 am
by Punsho
newest ERCC version can be gotten here https://github.com/tttppp/oratools/tree ... s/ercc-bcc

Re: Updated maps not working in new build

Posted: Wed Mar 12, 2025 6:50 pm
by Therapist
First, replace all existing bi files with the latest ones. When you use the openra utility and do a --check-yaml and still get errors, based on the error message, you can use the --update-map functionality to update it. To see all the possible things the utility can fix from previous release just type in a terminal window [path to utility] --update-map [name of map].

In the case of the cloak, the proper command to run is ReplaceCloakPalette on a map. The 3 main issues I found with most maps are ReplacePaletteModifiers, RenameOnDeath (for "explosion" error), and ReplaceCloakPalette.