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/
Updated maps not working in new build
Updated maps not working in new build
Re: Updated maps not working in new build
New version sucks! Harvesters are going crazy! Team colour code also sucks
- PacmanGraphics
- Posts: 11
- Joined: Fri Nov 04, 2022 12:41 pm
- Location: Enschede
- Contact:
Re: Updated maps not working in new build
See this adapted maps.
Look in the .yaml files for changes like:
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/
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
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/
-----BEGIN PUBLIC KEY-----
MIIBIzANBgkqhkiG9w0BAQEFAAOCARAAMIIBCwKCAQEAoJ4ze+0XWqLKybjLLT7o
meCyA2T5TbR9LyAZsZagaBGRcSUrXq6KjdkJXl1Dl3gHLhft7CfuoHavDvjMN3eS
FO4hoSkwMywEKY2ujD8Z7VyU6PhJk+cJ2OuwejiNM6jz5LgqlH8KWAYqbHW/7Rfu
za8Nxn2fmpTlZPNeMYlXk/zEHpxUTNDomugJ435F+9JdOx+y5W9Cl3GLteILYkJb
X6ummGK+Fxo9J3PP5Colv9p+vgZ5J/zMsblGJy2Ogo6TLn5BHUFeaPM06esjwTIW
oL6GnfF5yd4U3pPCMnkv1L/lRY0WySvGJRIbL5ERdCyYoBDPcJXNQp6Ztw+DakX/
mwIEAAEAAQ==
-----END PUBLIC KEY-----
MIIBIzANBgkqhkiG9w0BAQEFAAOCARAAMIIBCwKCAQEAoJ4ze+0XWqLKybjLLT7o
meCyA2T5TbR9LyAZsZagaBGRcSUrXq6KjdkJXl1Dl3gHLhft7CfuoHavDvjMN3eS
FO4hoSkwMywEKY2ujD8Z7VyU6PhJk+cJ2OuwejiNM6jz5LgqlH8KWAYqbHW/7Rfu
za8Nxn2fmpTlZPNeMYlXk/zEHpxUTNDomugJ435F+9JdOx+y5W9Cl3GLteILYkJb
X6ummGK+Fxo9J3PP5Colv9p+vgZ5J/zMsblGJy2Ogo6TLn5BHUFeaPM06esjwTIW
oL6GnfF5yd4U3pPCMnkv1L/lRY0WySvGJRIbL5ERdCyYoBDPcJXNQp6Ztw+DakX/
mwIEAAEAAQ==
-----END PUBLIC KEY-----
Re: Updated maps not working in new build
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
newest ERCC version can be gotten here https://github.com/tttppp/oratools/tree ... s/ercc-bcc
Re: Updated maps not working in new build
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.
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.