Hrafnagudh Posted April 12, 2021 Report Share Posted April 12, 2021 Hello, is there somewhere a list of the maps in which Iberian does have their starting walls? I was exploring a little and noticed that they are only in casual and not skirmish, and some even have the walls not completed or even just the cornerstones. Also, there is some balancing reason behind them not appearing in skirmish maps? I'm new and curious sorry if it is a stupid question 1 Quote Link to comment Share on other sites More sharing options...
Langbart Posted April 13, 2021 Report Share Posted April 13, 2021 I think it was a bug, it has been fixed in the development version (see wiki/BuildInstructions). The patch for this can be found here: D3616 - fix Iberian starting walls on skirmish maps (1/Mar/21). 1 Quote Link to comment Share on other sites More sharing options...
Freagarach Posted April 13, 2021 Report Share Posted April 13, 2021 Yes, there has indeed been a problem with the Iberian starting walls. But it is also true that not all maps have them in the first place. It is kind of trail and error (unless you dive into the map files) to find out which maps do have them and which don't. 1 Quote Link to comment Share on other sites More sharing options...
Player of 0AD Posted April 13, 2021 Report Share Posted April 13, 2021 I suggest that they always start with complete walls. They are the only civ which has no cavalry-counter in phase 1. 1 Quote Link to comment Share on other sites More sharing options...
Hrafnagudh Posted April 13, 2021 Author Report Share Posted April 13, 2021 Thanks 1 Quote Link to comment Share on other sites More sharing options...
Grapjas Posted April 14, 2021 Report Share Posted April 14, 2021 On 13/04/2021 at 7:34 AM, Player of 0AD said: I suggest that they always start with complete walls. They are the only civ which has no cavalry-counter in phase 1. It's up to the map maker, as it should be imo. Quote Link to comment Share on other sites More sharing options...
Hrafnagudh Posted April 16, 2021 Author Report Share Posted April 16, 2021 (edited) On 13/04/2021 at 2:35 AM, Langbart said: I think it was a bug, it has been fixed in the development version (see wiki/BuildInstructions). The patch for this can be found here: D3616 - fix Iberian starting walls on skirmish maps (1/Mar/21). I found the file with the error but I am unable to apply the patch to it Not a gigantic problem though, I will enjoy iberians on the casual maps meanwhile Edited April 16, 2021 by Hrafnagudh Quote Link to comment Share on other sites More sharing options...
Stan` Posted April 16, 2021 Report Share Posted April 16, 2021 43 minutes ago, Hrafnagudh said: On 13/04/2021 at 2:35 AM, Langbart said: I found the file with the error but I am unable to apply the patch to it What seems to be the problem? Quote Link to comment Share on other sites More sharing options...
Hrafnagudh Posted April 16, 2021 Author Report Share Posted April 16, 2021 6 hours ago, Stan` said: What seems to be the problem? I don't understand how to apply the patch (using Linux). I cannot modify directly the file as it is "only read" and I cannot made it modifiable. Quote Link to comment Share on other sites More sharing options...
nwtour Posted April 16, 2021 Report Share Posted April 16, 2021 sudo sed 's|skirmish/structures/iber/wall_|skirmish/structures/iber_wall_|' -i iber.json 2 Quote Link to comment Share on other sites More sharing options...
Hrafnagudh Posted April 17, 2021 Author Report Share Posted April 17, 2021 (edited) Thanks for the command. Problem is, I found iber.json inside a protected zip. I can extract the file from it (on the desktop or another folder, not the one it is in) but I cannot put the new file inside again (I think because it's from snap?) Edited April 17, 2021 by Hrafnagudh Quote Link to comment Share on other sites More sharing options...
Nescio Posted April 17, 2021 Report Share Posted April 17, 2021 (edited) On 13/04/2021 at 12:19 AM, Hrafnagudh said: Hello, is there somewhere a list of the maps in which Iberian does have their starting walls? I was exploring a little and noticed that they are only in casual and not skirmish, and some even have the walls not completed or even just the cornerstones. Also, there is some balancing reason behind them not appearing in skirmish maps? I'm new and curious sorry if it is a stupid question What version of the game are you using? As pointed out earlier, they're erroneously not placed on any skirmish map in A24, though they were in A23 and earlier versions; it's fixed in the development version (svn, A25). Whether or not the Iberians have starting walls is up to the map maker. They're present in some form on most (all?) random maps, several scenarios, and about half the skirmish maps: Spoiler [maps]$ grep -l iber.wall */*.xml scenarios/fast_oasis.xml scenarios/saharan_oases.xml scenarios/sahel.xml scenarios/sandbox_iberians.xml scenarios/serengeti.xml scenarios/siwa_oasis.xml skirmishes/alpine_mountains_3p.xml skirmishes/atlas_valleys_8p.xml skirmishes/belgian_bog_2p.xml skirmishes/butana_steppe_2p.xml skirmishes/caspian_sea_2pv2p.xml skirmishes/corinthian_isthmus_2p.xml skirmishes/corinthian_isthmus_4p.xml skirmishes/death_canyon_2p.xml skirmishes/deccan_plateau_2p.xml skirmishes/gambia_river_3p.xml skirmishes/golden_oasis_2p.xml skirmishes/greek_acropolis_2p.xml skirmishes/greek_acropolis_night_2p.xml skirmishes/libyan_oases_4p.xml skirmishes/lorraine_plain_2p.xml skirmishes/neareastern_badlands_2p.xml skirmishes/neareastern_badlands_4p.xml skirmishes/nile_river_4p.xml skirmishes/obedska_bog_4p.xml skirmishes/obedska_bog_night_4p.xml skirmishes/persian_highlands_4p.xml skirmishes/punjab_2p.xml skirmishes/saharan_oases_4p.xml skirmishes/sahel_4p.xml skirmishes/sahyadri_buttes_5p.xml skirmishes/skirmish_demo_2p.xml skirmishes/syria_2p.xml skirmishes/team_oasis_2pv2p.xml skirmishes/tuscan_acropolis_4p.xml skirmishes/two_seas_6p.xml skirmishes/vesuvius_6p.xml skirmishes/zagros_mountains_2p.xml Edited April 17, 2021 by Nescio exclude 0 counts 1 Quote Link to comment Share on other sites More sharing options...
nwtour Posted April 17, 2021 Report Share Posted April 17, 2021 Under root should always be overwritten # public.zip = Full path to public.zip cd /tmp unzip public.zip simulation/data/civs/iber.json sed 's|skirmish/structures/iber/wall_|skirmish/structures/iber_wall_|' -i simulation/data/civs/iber.json sudo zip public.zip simulation/data/civs/iber.json 1 Quote Link to comment Share on other sites More sharing options...
Hrafnagudh Posted April 17, 2021 Author Report Share Posted April 17, 2021 1 hour ago, nwtour said: Under root should always be overwritten # public.zip = Full path to public.zip cd /tmp unzip public.zip simulation/data/civs/iber.json sed 's|skirmish/structures/iber/wall_|skirmish/structures/iber_wall_|' -i simulation/data/civs/iber.json sudo zip public.zip simulation/data/civs/iber.json It still says zip I/O error: Read-only file system zip error: Could not create output file (/snap/0ad etc to public.zip) 1 hour ago, Nescio said: What version of the game are you using? As pointed out earlier, they're erroneously not placed on any skirmish map in A24, though they were in A23 and earlier versions; it's fixed in the development version (svn, A25). Whether or not the Iberians have starting walls is up to the map maker. They're present in some form on most (all?) random maps, several scenarios, and about half the skirmish maps: Reveal hidden contents [maps]$ grep -l iber.wall */*.xml scenarios/fast_oasis.xml scenarios/saharan_oases.xml scenarios/sahel.xml scenarios/sandbox_iberians.xml scenarios/serengeti.xml scenarios/siwa_oasis.xml skirmishes/alpine_mountains_3p.xml skirmishes/atlas_valleys_8p.xml skirmishes/belgian_bog_2p.xml skirmishes/butana_steppe_2p.xml skirmishes/caspian_sea_2pv2p.xml skirmishes/corinthian_isthmus_2p.xml skirmishes/corinthian_isthmus_4p.xml skirmishes/death_canyon_2p.xml skirmishes/deccan_plateau_2p.xml skirmishes/gambia_river_3p.xml skirmishes/golden_oasis_2p.xml skirmishes/greek_acropolis_2p.xml skirmishes/greek_acropolis_night_2p.xml skirmishes/libyan_oases_4p.xml skirmishes/lorraine_plain_2p.xml skirmishes/neareastern_badlands_2p.xml skirmishes/neareastern_badlands_4p.xml skirmishes/nile_river_4p.xml skirmishes/obedska_bog_4p.xml skirmishes/obedska_bog_night_4p.xml skirmishes/persian_highlands_4p.xml skirmishes/punjab_2p.xml skirmishes/saharan_oases_4p.xml skirmishes/sahel_4p.xml skirmishes/sahyadri_buttes_5p.xml skirmishes/skirmish_demo_2p.xml skirmishes/syria_2p.xml skirmishes/team_oasis_2pv2p.xml skirmishes/tuscan_acropolis_4p.xml skirmishes/two_seas_6p.xml skirmishes/vesuvius_6p.xml skirmishes/zagros_mountains_2p.xml The 24, in fact I was trying to apply the patch provided, but I'm still a noob at Linux and I'm having some difficulties xD Quote Link to comment Share on other sites More sharing options...
nwtour Posted April 17, 2021 Report Share Posted April 17, 2021 (edited) 20 minutes ago, Hrafnagudh said: zip I/O error: Read-only file system LOL. Then you need to create a mod mkdir ~/.local/share/0ad/mods/my_iberian_wall cd ~/.local/share/0ad/mods/my_iberian_wall unzip public.zip simulation/data/civs/iber.json sed 's|skirmish/structures/iber/wall_|skirmish/structures/iber_wall_|' -i simulation/data/civs/iber.json echo -ne '{\n\t"name": "my_iberian_wall",\n\t"version": "1",\n\t"label": "my_iberian_wall",\n\t"description": "my_iberian_wall",\n\t"dependencies": ["0ad"]\n}\n' > mod.json Edited April 17, 2021 by nwtour Quote Link to comment Share on other sites More sharing options...
Nescio Posted April 17, 2021 Report Share Posted April 17, 2021 1 hour ago, Hrafnagudh said: It still says zip I/O error: Read-only file system zip error: Could not create output file (/snap/0ad etc to public.zip) The 24, in fact I was trying to apply the patch provided, but I'm still a noob at Linux and I'm having some difficulties xD It might have to do with the fact you're using snap. I don't know, I don't use snap. However, rather than trying to apply a patch or manually change it in the public.zip or, it's probably easier to do it via a mod. @nwtour's command looks good. Mods can also be created without the command line. Quote Link to comment Share on other sites More sharing options...
Stan` Posted April 17, 2021 Report Share Posted April 17, 2021 By default snaps prevent apps from writing stuff to the user directory. So you need to enable that in the snap options. Quote Link to comment Share on other sites More sharing options...
Hrafnagudh Posted April 18, 2021 Author Report Share Posted April 18, 2021 Lol thanks a lot I'll try tweaking more with the permission ( I may be wrong but I setted the permission to write, but it still don't allow me to do so). Else I'll do the mod, and wait for the A25 xD Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.