Map: Island Hopping Reloaded II - What causes its incompatibility?

Information and discussion for custom maps and mods.
Post Reply
Ronald
Posts: 94
Joined: Fri Aug 30, 2019 9:05 pm

Map: Island Hopping Reloaded II - What causes its incompatibility?

Post by Ronald »

Hello Mapmakers,
I want to play the map "Island Hopping Reloaded II (by Alpha =[RdT]=" in Skirmish mode:
https://resource.openra.net/maps/21563/

After loading it in OpenRA (version 20191117)
map_island_hopping.jpg
map_island_hopping.jpg (140.71 KiB) Viewed 1112 times
it came with this incompatibility error

QUESTIONS:
1. What exactly causes this incompatibility error
since the current version of OpenRA only tells the user:
- that a map is incompatible with it
- but not what causes the occurring incompatibility and why?
- (what needs to be done to make it compatible again)

2. How can I make this map compatible with the latest OpenRA version?
- Do I need to load it into the Map Editor and add/modify/delete map elements?
- Do I need to adapt the map's .YAML files?
- Do i need to adapt the map's LUA scripts that come with it?
- Option 4,5,n?

Thanks for your hints, tips and tricks to get me started fixing this map.

User avatar
Materianer
Posts: 195
Joined: Mon Jul 04, 2016 8:27 am

Re: Map: Island Hopping Reloaded II - What causes its incompatibility?

Post by Materianer »

The first thing what you can do when you have a map is incompatible is taking a look into the debug.log
At best you start openra load that map and close the game then to make the log shorter.

These messages are often in this file and have nothig to do with your error.

Code: Select all

MapCache.LoadAsyncInternal ended
--Tick: 0 (net)
--Tick: 0 (net)
--Tick: 0 (net)
Received unknown order with type Disconnect
--Tick: 0 (net)
--Tick: 0 (net)
Remote map query failed with error: File not found on remote server
URL was: https://resource.openra.net/map/hash/83f5e6194a87a3f3d372a,32398a710b7dce6140da9996c,24bb96bff83deaf2aace4f2551a9f8bfa05f34c9,31323395711f407ce4d7758248eec19c5c695cce,9eba8007b117/yaml
The error i found in the map was

Code: Select all

--Tick: 0 (net)
Failed to load rules for `Island Hopping Reloaded` with error :Cannot locate type: ExternalCapturableInfo
--Tick: 0 (net)
You should now know that the map has a modified code so the net step is to try load that map in the mapeditor and save it as a open file.
If that fails you can extract the .oramap and use the 3 files in it to copy them into another open folder saved map.
Just overwrite the files in it then and you should be able to get any old map work again.
But your map shold be loadable in mapeditor so just save it open and open the map.yaml if there are no other yaml files.
The modified rules should be at the bottom of the file then.

MISS: FCOM: and HOSP:
have some old traits and some doubled standard rules for them.
This code should be good for MISS:

Code: Select all

	MISS:
		Health:
			HP: 2500
		RevealsShroud:
			Range: 38c0
		Tooltip:
			Name: Advanced Radar
and just remove those lines.

Code: Select all

		ExternalCapturable: 
		ExternalCapturableBar: 
		EngineerRepairable:
hf
:D

Ronald
Posts: 94
Joined: Fri Aug 30, 2019 9:05 pm

Re: Map: Island Hopping Reloaded II - What causes its incompatibility?

Post by Ronald »

Waow.. Thanks Materianer, for your extended and very detailed explanation.

QUESTIONS:
1 - Where is that OpenRa debug.log located? I've found one in (on Windows 7 64 bits) over here:
C:\Users\Ronald\Documents\OpenRA\LOGS\debug.log

2 - This debuglog (the one I mentioned above) showed this lines:

Code: Select all

604 --Tick: 0 (net)
605 - Failed to load rules for `Island Hopping Reloaded` with error :Cannot locate type: AcceptsSuppliesInfo
606 --Tick: 0 (net)
3 - Where can I find a list with of the "types" which produced this error?
screenshot.0013.jpg
screenshot.0013.jpg (50.16 KiB) Viewed 1095 times
I've already searched for it on the OpenRA Github page, but came up empty. Is this a:
- map part?
- unit trait?
- weapon?
or something else?

User avatar
Punsho
Posts: 66
Joined: Wed Jul 18, 2018 2:56 pm
Location: Lithuania

Re: Map: Island Hopping Reloaded II - What causes its incompatibility?

Post by Punsho »

running --check-yaml is very helpful when modding or trying to update a mod https://github.com/OpenRA/OpenRA/wiki/Utility

Ronald
Posts: 94
Joined: Fri Aug 30, 2019 9:05 pm

Re: Map: Island Hopping Reloaded II - What causes its incompatibility?

Post by Ronald »

Punsho wrote:
Tue Jan 07, 2020 4:22 pm
running --check-yaml is very helpful when modding or trying to update a mod https://github.com/OpenRA/OpenRA/wiki/Utility
Thanks Punsho for pointing me to the OpenRA tool section.

User avatar
Materianer
Posts: 195
Joined: Mon Jul 04, 2016 8:27 am

Re: Map: Island Hopping Reloaded II - What causes its incompatibility?

Post by Materianer »

Ronald wrote:
Tue Jan 07, 2020 10:02 am
Waow.. Thanks Materianer, for your extended and very detailed explanation.

QUESTIONS:
1 - Where is that OpenRa debug.log located? I've found one in (on Windows 7 64 bits) over here:
C:\Users\Ronald\Documents\OpenRA\LOGS\debug.log

2 - This debuglog (the one I mentioned above) showed this lines:

Code: Select all

604 --Tick: 0 (net)
605 - Failed to load rules for `Island Hopping Reloaded` with error :Cannot locate type: AcceptsSuppliesInfo
606 --Tick: 0 (net)
Hehe that "Info" in this errormessage tricked me several times, i often just doubleclick on it and search for it on some places.
That means there is an unkonown trait named AcceptsSupplies if you search on github you can find the documentation to this old one.
https://github.com/OpenRA/OpenRA/search ... ype=Issues
If you search the yaml code for it you will find it under MISS:
Ronald wrote:
Tue Jan 07, 2020 10:02 am
3 - Where can I find a list with of the "types" which produced this error?
This map is from 2016
The Trait was renamed 2017
I think the 3 buidings in this yaml where inactive to that time so most of the stuff can be just removed now.

The 2 things i mostly work with is
+ to know how the original units use Traits the newest release yaml codes
https://github.com/OpenRA/OpenRA/tree/bleed/mods/ra
+ The Trait Wiki to know how the Traits work.
https://github.com/OpenRA/OpenRA/wiki/Traits

Ronald
Posts: 94
Joined: Fri Aug 30, 2019 9:05 pm

Re: Map: Island Hopping Reloaded II - What causes its incompatibility?

Post by Ronald »

Hehe that "Info" in this errormessage tricked me several times,
Don't get me started on the clarity of some error_messages...

Thanks for the pointers in the right direction(s) Materianer.

Post Reply