Jump to content

How do I open an old map?


Alexandra
 Share

Recommended Posts

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!

  • Like 1
Link to comment
Share on other sites

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. Команды либо сработают либо нет :P

Edited by nwtour
Link to comment
Share on other sites

28 minutes ago, nwtour said:

Я прислал необходимые изменения https://github.com/forroll/serif0ad/pull/3

Несомненно, они окажутся кому-то полезны ;) Но увы!

Карта оказалась очень тяжёлая, при открытии в редакторе у меня завис ноут)) Это странно, но старые карты почему-то всегда "тяжелее", чем новые, сделанные в новом редакторе. Не знаю, с чем это связано!

:lamo: The map was very heavy; when working with it in the editor, the laptop freezes!

Edited by Alexandra
Link to comment
Share on other sites

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
2110700069_2021-12-2615-35-05.thumb.png.65f46adebb18427c5d56fde75adcb09d.png

Это не карты "тяжелее" - это просто в игре добавляют разные графические эффекты с которыми ноутбук не справляется.
Отключите водные эффекты в настройках игры - карта легко загрузится на любом железе.  А затем понемножку включайте пока не найдете баланс красоты и производительности

Edited by nwtour
Link to comment
Share on other sites

2 hours ago, nwtour said:

Это не карты "тяжелее" - это просто в игре добавляют разные графические эффекты с которыми ноутбук не справляется

Хм... Я открываю такие же карты и при достаточно средних настройках, и ноут не вылетает :huh: В общем, эта карта кажется мне подозрительной.
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.

 

scr_4sd5.jpg

Link to comment
Share on other sites

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
676079577_2021-12-2618-31-35.thumb.png.4adae3d37da979fb1fd35679eb3c208d.png

Если в Атлас нажать F11  он покажет какой компонент больше всего тормозит (четвертый столбец).
К примеру на моём скриншоте больше всего тратится на "transparent models"
Если сфоткаете эту таблицу во время тормозов - можно будет догадаться где тормозит.
К сожалению по Вашему скриншоту ничего не понятно - медведи купаются возле озера. Они молодцы

  • Thanks 1
Link to comment
Share on other sites

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 by nwtour
Link to comment
Share on other sites

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&#x60; 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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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? :shrug:

По карте:

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...