Alexandra Posted December 22, 2021 Report Share Posted December 22, 2021 I can't open the map in the new version of the game. What can I do, how can I fix it? This is a map with the possibility of naval battles. The map is called "Atlantis": https://github.com/forroll/serif0ad/tree/master/maps/skirmishes Quote Link to comment Share on other sites More sharing options...
Stan` Posted December 22, 2021 Report Share Posted December 22, 2021 Hi @Alexandra To be able to open it again, you need to convert it to the newer map format using a python script. You can find it here https://code.wildfiregames.com/P232 Let us know if you need help. See also: Quote Link to comment Share on other sites More sharing options...
nwtour Posted December 22, 2021 Report Share Posted December 22, 2021 I can convert and send a pull request. Need to? 1 Quote Link to comment Share on other sites More sharing options...
Alexandra Posted December 23, 2021 Author Report Share Posted December 23, 2021 16 hours ago, nwtour said: I can convert and send a pull request. Need to? oh, I want, I want! Please do! I like this card, it was a pity to lose it( Quote Link to comment Share on other sites More sharing options...
nwtour Posted December 23, 2021 Report Share Posted December 23, 2021 5 minutes ago, Alexandra said: oh, I want, I want https://github.com/forroll/serif0ad/pull/3 Quote Link to comment Share on other sites More sharing options...
nwtour Posted December 23, 2021 Report Share Posted December 23, 2021 (edited) https://raw.githubusercontent.com/nwtour/0ad_path_backward_capability/main/update_map.pl Script renames the old template names in the XML file to the new ones Edited December 23, 2021 by nwtour Quote Link to comment Share on other sites More sharing options...
andy5995 Posted December 26, 2021 Report Share Posted December 26, 2021 (edited) @AlexandraAlso, once your map is fixed, feel free to submit a PR to the community maps repo Edited December 26, 2021 by andy5995 Quote Link to comment Share on other sites More sharing options...
Alexandra Posted December 26, 2021 Author Report Share Posted December 26, 2021 2 hours ago, andy5995 said: @AlexandraAlso, once your map is fixed, feel free to submit a PR to the community maps repo At the moment I am finishing two more maps. Okay, now I know where to put them On 23/12/2021 at 3:34 PM, nwtour said: https://raw.githubusercontent.com/nwtour/0ad_path_backward_capability/main/update_map.pl Script renames the old template names in the XML file to the new ones Okay, I'll try to figure it out! 1 Quote Link to comment Share on other sites More sharing options...
nwtour Posted December 26, 2021 Report Share Posted December 26, 2021 (edited) 6 hours ago, Alexandra said: Okay, I'll try to figure it out! Я прислал необходимые изменения https://github.com/forroll/serif0ad/pull/3 Уже сейчас можно просто нажать кнопку "Merge" и они окажутся в вашем репозитории Ссылку на скрипт я указал для остальных участников, но если нужно самостоятельно конвертировать в будущем нужно запустить вот такой список последовательных команд: wget -O script.py https://code.wildfiregames.com/paste/raw/232/ python script.py 7 MAPNAME.xml python script.py 7 MAPNAME.pmp wget -O script.pl https://raw.githubusercontent.com/nwtour/0ad_path_backward_capability/main/update_map.pl perl script.pl MAPNAME.xml где MAPNAME - это имя карты, к примеру Atlantis. Команды либо сработают либо нет Edited December 26, 2021 by nwtour Quote Link to comment Share on other sites More sharing options...
Alexandra Posted December 26, 2021 Author Report Share Posted December 26, 2021 (edited) 28 minutes ago, nwtour said: Я прислал необходимые изменения https://github.com/forroll/serif0ad/pull/3 Несомненно, они окажутся кому-то полезны Но увы! Карта оказалась очень тяжёлая, при открытии в редакторе у меня завис ноут)) Это странно, но старые карты почему-то всегда "тяжелее", чем новые, сделанные в новом редакторе. Не знаю, с чем это связано! The map was very heavy; when working with it in the editor, the laptop freezes! Edited December 26, 2021 by Alexandra Quote Link to comment Share on other sites More sharing options...
nwtour Posted December 26, 2021 Report Share Posted December 26, 2021 (edited) 23 minutes ago, Alexandra said: the laptop freezes Can not reproduce. Disable "Water Effects" in the game settings and then try to open it. I easily ran on an old computer Это не карты "тяжелее" - это просто в игре добавляют разные графические эффекты с которыми ноутбук не справляется. Отключите водные эффекты в настройках игры - карта легко загрузится на любом железе. А затем понемножку включайте пока не найдете баланс красоты и производительности Edited December 26, 2021 by nwtour Quote Link to comment Share on other sites More sharing options...
Alexandra Posted December 26, 2021 Author Report Share Posted December 26, 2021 2 hours ago, nwtour said: Это не карты "тяжелее" - это просто в игре добавляют разные графические эффекты с которыми ноутбук не справляется Хм... Я открываю такие же карты и при достаточно средних настройках, и ноут не вылетает В общем, эта карта кажется мне подозрительной. Something I do not like this card, something is wrong with it. After all, the laptop does not hang, opening the same heavy cards. For example, as in the screenshot. Quote Link to comment Share on other sites More sharing options...
Stan` Posted December 26, 2021 Report Share Posted December 26, 2021 Maybe https://trac.wildfiregames.com/wiki/SwitchingToYourPCsDedicatedGPU would help Quote Link to comment Share on other sites More sharing options...
nwtour Posted December 26, 2021 Report Share Posted December 26, 2021 8 minutes ago, Stan` said: Maybe https://trac.wildfiregames.com/wiki/SwitchingToYourPCsDedicatedGPU would help @Alexandra actively promotes Ubuntu in the Russian-speaking community. The issue with Dedicated GPU is kind of Windows specific Quote Link to comment Share on other sites More sharing options...
Stan` Posted December 26, 2021 Report Share Posted December 26, 2021 Haha my bad kind of default assumption these days. Although it happens on linux. See https://code.wildfiregames.com/D3475 Quote Link to comment Share on other sites More sharing options...
nwtour Posted December 26, 2021 Report Share Posted December 26, 2021 34 minutes ago, Alexandra said: For example, as in the screenshot Try pressing F11 when the atlas slows down It will display a table, the second column of which displays on which component computer resources are spent Если в Атлас нажать F11 он покажет какой компонент больше всего тормозит (четвертый столбец). К примеру на моём скриншоте больше всего тратится на "transparent models" Если сфоткаете эту таблицу во время тормозов - можно будет догадаться где тормозит. К сожалению по Вашему скриншоту ничего не понятно - медведи купаются возле озера. Они молодцы 1 Quote Link to comment Share on other sites More sharing options...
nwtour Posted December 26, 2021 Report Share Posted December 26, 2021 6 hours ago, Alexandra said: the laptop freezes I found a bug in the Atlas - when you click Object, the graphics settings are set to an unknown value (Shadows appear in the screenshot).Maybe this is your case? At what moment does the editor freeze? Quote Link to comment Share on other sites More sharing options...
Stan` Posted December 26, 2021 Report Share Posted December 26, 2021 48 minutes ago, nwtour said: I found a bug in the Atlas - when you click Object, the graphics settings are set to an unknown value (Shadows appear in the screenshot).Maybe this is your case? At what moment does the editor freeze? Always have been? Quote Link to comment Share on other sites More sharing options...
nwtour Posted December 27, 2021 Report Share Posted December 27, 2021 (edited) 8 hours ago, Stan` said: Always have been? Unfortunately I did not understand the question. Here is the commit after which the shadows are auto-activated (I think this is the reason for Atlas GUI freeze): $ git bisect bad 2875dd364e5f65d28ba8d49f7645d1c4c79f70d5 2875dd364e5f65d28ba8d49f7645d1c4c79f70d5 is the first bad commit Author: Stan <Stan@3db68df2-c116-0410-a063-a993310a9797> Date: Wed Apr 28 11:09:16 2021 +0000 Fix enabling / disabling shadows in the actor viewer. Differential Revision: https://code.wildfiregames.com/D3896 git-svn-id: https://svn.wildfiregames.com/public/ps/trunk@25334 3db68df2-c116-0410-a063-a993310a9797 source/tools/atlas/GameInterface/ActorViewer.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Edited December 27, 2021 by nwtour Quote Link to comment Share on other sites More sharing options...
Alexandra Posted December 27, 2021 Author Report Share Posted December 27, 2021 4 hours ago, nwtour said: Here is the commit after which the shadows are auto-activated (I think this is the reason for Atlas GUI freeze): I'm already afraid to use this map! Can I just forget about her?)) 16 hours ago, Stan` said: Although it happens on linux. See https://code.wildfiregames.com/D3475 Quote Use a dual-gpu system with GNOME (common scenario: optimus laptop) Clicking 0 A.D. icon should launch the game straight on the dGPU Right-clicking 0 A.D. should let the game run on the iGPU Ubuntu offers a selection of the desired item in the menu when right-clicking. At least in my case. Quote Link to comment Share on other sites More sharing options...
Alexandra Posted December 27, 2021 Author Report Share Posted December 27, 2021 13 hours ago, nwtour said: I found a bug in the Atlas - when you click Object, the graphics settings are set to an unknown value (Shadows appear in the screenshot).Maybe this is your case? At what moment does the editor freeze? Сейчас закрою все окна и попробую ещё раз. I'm going to close all the windows, kick everyone out of the house and try to open the map again. Quote Link to comment Share on other sites More sharing options...
Stan` Posted December 27, 2021 Report Share Posted December 27, 2021 4 hours ago, nwtour said: Unfortunately I did not understand the question. Here is the commit after which the shadows are auto-activated (I think this is the reason for Atlas GUI freeze): $ git bisect bad 2875dd364e5f65d28ba8d49f7645d1c4c79f70d5 2875dd364e5f65d28ba8d49f7645d1c4c79f70d5 is the first bad commit Author: Stan <Stan@3db68df2-c116-0410-a063-a993310a9797> Date: Wed Apr 28 11:09:16 2021 +0000 Fix enabling / disabling shadows in the actor viewer. Differential Revision: https://code.wildfiregames.com/D3896 git-svn-id: https://svn.wildfiregames.com/public/ps/trunk@25334 3db68df2-c116-0410-a063-a993310a9797 source/tools/atlas/GameInterface/ActorViewer.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) I thought it always had been the case. If you have a fix that doesn't break the shadow button in the actor viewer let me know. I never noticed that bug before. (The fact shadows turn on and off depending on which tab you selected) Quote Link to comment Share on other sites More sharing options...
Alexandra Posted December 27, 2021 Author Report Share Posted December 27, 2021 17 hours ago, nwtour said: I found a bug in the Atlas - when you click Object, the graphics settings are set to an unknown value (Shadows appear in the screenshot). I also noticed this phenomenon. Even if the shadows are completely disabled in the game settings, it is impossible to work with objects in the editor without them. Why is this so? По карте: First, I removed all the objects and trees from the map, then opened the map in the editor and raised the water level. Then I will put all the items in their places again in a new way. Quote Link to comment Share on other sites More sharing options...
nwtour Posted December 27, 2021 Report Share Posted December 27, 2021 (edited) deleted Edited December 27, 2021 by nwtour 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.