Jump to content

Terra Magna - an 0 A.D. extension. Error!


gameboy
 Share

Recommended Posts

@s0600204  @niektbToday, I tested the latest Terra Magna, found the wrong information and found a bug: female farmer missing the walking animation. I chose a faction called Chinese.

https://github.com/0ADMods/terra_magna

ERROR: CCacheLoader failed to find archived or source file for: "art/variants/biped/female_base.xml"

ERROR: Could not open path biped/female_base.xml

ERROR: CCacheLoader failed to find archived or source file for: "art/variants/biped/female_carry_food_idle.xml"

ERROR: Could not open path biped/female_carry_food_idle.xml

ERROR: CCacheLoader failed to find archived or source file for: "art/variants/biped/female_carry_meat_idle.xml"

ERROR: Could not open path biped/female_carry_meat_idle.xml

ERROR: CCacheLoader failed to find archived or source file for: "art/variants/biped/female_carry_wood_idle.xml"

ERROR: Could not open path biped/female_carry_wood_idle.xml

ERROR: CCacheLoader failed to find archived or source file for: "art/variants/biped/female_carry_stone_idle.xml"

ERROR: Could not open path biped/female_carry_stone_idle.xml

ERROR: CCacheLoader failed to find archived or source file for: "art/variants/biped/female_carry_metal_idle.xml"

ERROR: Could not open path biped/female_carry_metal_idle.xml

Edited by gameboy
Link to comment
Share on other sites

5 hours ago, stanislas69 said:

make a pull request

I was seeking contact with Terra Magna developers about that topic. Looks like there are 15 rmgen commits since june that need to be accounted for in the two random map scripts of that mod. For 14 thereof there are adaptations. The 15th looks like @s0600204 might want to show how useful D900 is to mods.

  • Thanks 1
Link to comment
Share on other sites

Thanks  for investigating and your fixes so far !

57 minutes ago, elexis said:

I was seeking contact with Terra Magna developers about that topic. Looks like there are 15 rmgen commits since june that need to be accounted for in the two random map scripts of that mod. For 14 thereof there are adaptations. The 15th looks like @s0600204 might want to show how useful D900 is to mods.

 

Link to comment
Share on other sites

@s0600204 @niektb Today I tested the latest latest Terra Magna, and I chose Chinese (Han) again when I was in the building wall and found a mistake:

https://github.com/0ADMods/terra_magna

ERROR: [SetWallPlacementPreview] No WallPiece component found for wall set template 'structures/chin_fortress'

 

Edited by gameboy
Link to comment
Share on other sites

Also it didn't work with Regicide mode for the new civs.

mainmenu.xml should be deleted, I don't see any use for having it but a number of reasons to not have it (it being outdated in many places, most crucially for the mod selection page).

Spoiler

 


4d3
< 
8a8
> 
14c14
< 	<object>
---
> 	<object	name="mainMenuPage">
21c21
< 			<object name="background[n]"
---
> 			<object	name="background[n]"
27c27
< 
---
> 		
33c33,34
< 		<object name="pgToolTip"
---
> 
> 		<object	name="pgToolTip"
45a47
> 
69,74c71
< 				<action on="Press">
< 					Engine.PushGuiPage("page_manual.xml", {
< 						"page": "manual/userreport",
< 						"title": getTechnicalDetails()
< 					});
< 				</action>
---
> 				<action on="Press">Engine.PushGuiPage("page_manual.xml", {"page":"manual/userreport", "title":getTechnicalDetails()});</action>
88c85,94
< 			/>
---
> 			>
> 				<attribute id="caption">
> 					<keep>[font="sans-bold-16"]</keep>
> 					<translate>Thank you for helping improve 0 A.D.!</translate>
> 					<keep>[/font]\n\n</keep>
> 					<translate>Anonymous feedback is currently enabled.</translate>
> 					<keep>\n</keep>
> 					<translate>Status: $status.</translate>
> 				</attribute>
> 			</object>
96,101c102
< 				<action on="Press">
< 					Engine.PushGuiPage("page_manual.xml", {
< 						"page": "manual/userreport",
< 						"title": getTechnicalDetails()
< 					});
< 				</action>
---
> 				<action on="Press">Engine.PushGuiPage("page_manual.xml", {"page":"manual/userreport", "title":getTechnicalDetails()});</action>
117c118
< 
---
> 		
119c120
< 		<object type="button">
---
> 		<object	name="subMenuScreen" type="button">
140c141
< 				<object
---
> 				<object name="menuManualButton"
150,168c151,153
< 						Engine.PushGuiPage("page_manual.xml", {
< 							"page": "manual/intro",
< 							"title": getManual(),
< 							"url": "http://trac.wildfiregames.com/wiki/0adManual"
< 						});
< 					</action>
< 				</object>
< 
< 				<!-- START TUTORIAL BUTTON -->
< 				<object
< 					type="button"
< 					style="StoneButtonFancy"
< 					size="0 32 100% 60"
< 					tooltip_style="pgToolTip"
< 				>
< 					<translatableAttribute id="caption">Tutorial</translatableAttribute>
< 					<translatableAttribute id="tooltip">Start the economic tutorial.</translatableAttribute>
< 					<action on="Press">
< 						Engine.SwitchGuiPage("page_gamesetup.xml", { "type": "offline", "tutorial": true });
---
> 						<![CDATA[
> 							Engine.PushGuiPage("page_manual.xml", {"page":"manual/intro", "title":getManual(), "url":"http://trac.wildfiregames.com/wiki/0adManual"});
> 						]]>
173c158
< 				<object
---
> 				<object name="menuStrucTreeButton"
176c161
< 					size="0 64 100% 92"
---
> 					size="0 32 100% 60"
183c168,170
< 						Engine.PushGuiPage("page_structree.xml", {});
---
> 						<![CDATA[
> 							Engine.PushGuiPage("page_structree.xml", {});
> 						]]>
188c175
< 				<object
---
> 				<object name="menuHistoryButton"
191c178
< 					size="0 96 100% 124"
---
> 					size="0 64 100% 92"
198c185,187
< 						Engine.PushGuiPage("page_civinfo.xml");
---
> 						<![CDATA[
> 							Engine.PushGuiPage("page_civinfo.xml");
> 						]]>
203c192
< 
---
> 			
211c200
< 				<object
---
> 				<object name="subMenuSinglePlayerButton"
220c209
< 						Engine.SwitchGuiPage("page_gamesetup.xml", { "type": "offline" });
---
> 						Engine.SwitchGuiPage("page_gamesetup.xml", { type: "offline" });
224c213
< 				<object
---
> 				<object name="subMenuCampaignButton"
234c223,227
< 						closeMenu();
---
> 					closeMenu();
> 						<![CDATA[
> 							// Open Campaigns window.
> 							// NOT IMPLEMENTED YET
> 						]]>
238c231
< 				<object
---
> 				<object name="subMenuLoadButton"
248c241
< 						Engine.PushGuiPage("page_loadgame.xml", { "type": "offline" });
---
> 						Engine.PushGuiPage("page_loadgame.xml", { type: "offline" });
261c254
< 				<object
---
> 				<object name="subMenuMultiplayerJoinButton"
271c264,265
< 						Engine.PushGuiPage("page_gamesetup_mp.xml", { "multiplayerGameType": "join" });
---
> 						// Open Multiplayer connection window with join option.
> 						Engine.PushGuiPage("page_gamesetup_mp.xml", { multiplayerGameType: "join" });
275c269
< 				<object
---
> 				<object name="subMenuMultiplayerHostButton"
284a279
> 						// Open Multiplayer connection window with host option.
289c284
< 				<object
---
> 				<object name="subMenuMultiplayerLobbyButton"
299c294,295
< 						Engine.PushGuiPage("page_prelobby.xml");
---
> 						// Open Multiplayer game lobby.
> 						Engine.PushGuiPage("page_prelobby.xml", []);
318c314
< 				<object
---
> 				<object name="submenuOptionsButton"
328c324,327
< 						Engine.PushGuiPage("page_options.xml");
---
> 						<![CDATA[
> 							// Open Options window.
> 							Engine.PushGuiPage("page_options.xml");
> 						]]>
332c331
< 				<object
---
> 				<object name="submenuLocaleButton"
340a340
> 						<![CDATA[
342a343
> 						]]>
346c347
< 				<object
---
> 				<object name="submenuReplayButton"
360c361
< 				<object
---
> 				<object name="submenuEditorButton"
373c374
< 				<object
---
> 				<object name="submenuWelcomeScreenButton"
381a383
> 						<![CDATA[
383,386c385,386
< 						Engine.PushGuiPage("page_splashscreen.xml", {
< 							"page": "splashscreen",
< 							"callback": "SplashScreenClosedCallback"
< 						});
---
> 						Engine.PushGuiPage("page_splashscreen.xml", { "page": "splashscreen", callback : "SplashScreenClosedCallback" } );
> 						]]>
389c389
< 				<object
---
> 				<object name="submenuModSelection"
398c398
< 						Engine.SwitchGuiPage("page_modmod.xml");
---
> 						Engine.SwitchGuiPage("page_modmod.xml", {});
402c402
< 		</object>
---
> 		</object><!-- end of submenu -->
417c417
< 			<object name="MainMenuPanelRightBorderTop"
---
> 			<object	name="MainMenuPanelRightBorderTop"
423c423
< 			<object name="MainMenuPanelRightBorderBottom"
---
> 			<object	name="MainMenuPanelRightBorderBottom"
430c430
< 			<object
---
> 			<object	name="productLogo"
437c437
< 			<object
---
> 			<object name="mainMenuButtons"
441a442
> 
443c444
< 				<object
---
> 				<object name="menuLearnToPlayButton"
449,450c450,451
< 					<translatableAttribute id="caption">Learn to Play</translatableAttribute>
< 					<translatableAttribute id="tooltip">Learn how to play, start the tutorial, discover the technology trees, and the history behind the civilizations</translatableAttribute>
---
> 					<translatableAttribute id="caption">Learn To Play</translatableAttribute>
> 					<translatableAttribute id="tooltip">Learn how to play, discover the technology trees, and the history behind the civilizations</translatableAttribute>
453c454
< 						openMenu("submenuLearn", (this.parent.size.top+this.size.top), (this.size.bottom-this.size.top), 4);
---
> 						openMenu("submenuLearn", (this.parent.size.top+this.size.top), (this.size.bottom-this.size.top), 3);
458c459
< 				<object
---
> 				<object name="menuSinglePlayerButton"
473c474
< 				<object
---
> 				<object	name="menuMultiplayerButton"
488c489
< 				<object
---
> 				<object name="menuToolsAndOptionsButton"
503c504
< 				<object
---
> 				<object name="menuExitButton"
532c533
< 						<translate>Alpha XXIII: Ken Wood</translate>
---
> 						<translate>ALPHA XXII: Terra Magna</translate>
534c535
< 						<translate>WARNING: This is an early development version of the game. Many features have not been added yet.</translate>
---
> 						<translate>WARNING: This is an early version of the mod. Many features have not been added yet.</translate>
546c547
< 					<action on="Press">
---
> 					<action on="Press"><![CDATA[
548c549
< 					</action>
---
> 					]]></action>
558c559
< 					<action on="Press">
---
> 					<action on="Press"><![CDATA[
560c561
< 					</action>
---
> 					]]></action>
570c571
< 					<action on="Press">
---
> 					<action on="Press"><![CDATA[
572c573
< 					</action>
---
> 					]]></action>
580c581
< 					<translatableAttribute id="caption">Translate the Game</translatableAttribute>
---
> 					<translatableAttribute id="caption">Translate the game</translatableAttribute>
582c583
< 					<action on="Press">
---
> 					<action on="Press"><![CDATA[
584c585
< 					</action>
---
> 					]]></action>
595c596
< 						Engine.PushGuiPage("page_credits.xml");
---
> 						Engine.PushGuiPage("page_credits.xml", {});
608c609
< 				<object
---
> 				<object name="companyLogo"
626c627
< 			<object
---
> 			<object name="versionNumber"

 

 

Link to comment
Share on other sites

6 minutes ago, elexis said:

Also it didn't work with Regicide mode for the new civs.

mainmenu.xml should be deleted, I don't see any use for having it but a number of reasons to not have it (it being outdated in many places, most crucially for the mod selection page).

  Hide contents

 



4d3
< 
8a8
> 
14c14
< 	<object>
---
> 	<object	name="mainMenuPage">
21c21
< 			<object name="background[n]"
---
> 			<object	name="background[n]"
27c27
< 
---
> 		
33c33,34
< 		<object name="pgToolTip"
---
> 
> 		<object	name="pgToolTip"
45a47
> 
69,74c71
< 				<action on="Press">
< 					Engine.PushGuiPage("page_manual.xml", {
< 						"page": "manual/userreport",
< 						"title": getTechnicalDetails()
< 					});
< 				</action>
---
> 				<action on="Press">Engine.PushGuiPage("page_manual.xml", {"page":"manual/userreport", "title":getTechnicalDetails()});</action>
88c85,94
< 			/>
---
> 			>
> 				<attribute id="caption">
> 					<keep>[font="sans-bold-16"]</keep>
> 					<translate>Thank you for helping improve 0 A.D.!</translate>
> 					<keep>[/font]\n\n</keep>
> 					<translate>Anonymous feedback is currently enabled.</translate>
> 					<keep>\n</keep>
> 					<translate>Status: $status.</translate>
> 				</attribute>
> 			</object>
96,101c102
< 				<action on="Press">
< 					Engine.PushGuiPage("page_manual.xml", {
< 						"page": "manual/userreport",
< 						"title": getTechnicalDetails()
< 					});
< 				</action>
---
> 				<action on="Press">Engine.PushGuiPage("page_manual.xml", {"page":"manual/userreport", "title":getTechnicalDetails()});</action>
117c118
< 
---
> 		
119c120
< 		<object type="button">
---
> 		<object	name="subMenuScreen" type="button">
140c141
< 				<object
---
> 				<object name="menuManualButton"
150,168c151,153
< 						Engine.PushGuiPage("page_manual.xml", {
< 							"page": "manual/intro",
< 							"title": getManual(),
< 							"url": "http://trac.wildfiregames.com/wiki/0adManual"
< 						});
< 					</action>
< 				</object>
< 
< 				<!-- START TUTORIAL BUTTON -->
< 				<object
< 					type="button"
< 					style="StoneButtonFancy"
< 					size="0 32 100% 60"
< 					tooltip_style="pgToolTip"
< 				>
< 					<translatableAttribute id="caption">Tutorial</translatableAttribute>
< 					<translatableAttribute id="tooltip">Start the economic tutorial.</translatableAttribute>
< 					<action on="Press">
< 						Engine.SwitchGuiPage("page_gamesetup.xml", { "type": "offline", "tutorial": true });
---
> 						<![CDATA[
> 							Engine.PushGuiPage("page_manual.xml", {"page":"manual/intro", "title":getManual(), "url":"http://trac.wildfiregames.com/wiki/0adManual"});
> 						]]>
173c158
< 				<object
---
> 				<object name="menuStrucTreeButton"
176c161
< 					size="0 64 100% 92"
---
> 					size="0 32 100% 60"
183c168,170
< 						Engine.PushGuiPage("page_structree.xml", {});
---
> 						<![CDATA[
> 							Engine.PushGuiPage("page_structree.xml", {});
> 						]]>
188c175
< 				<object
---
> 				<object name="menuHistoryButton"
191c178
< 					size="0 96 100% 124"
---
> 					size="0 64 100% 92"
198c185,187
< 						Engine.PushGuiPage("page_civinfo.xml");
---
> 						<![CDATA[
> 							Engine.PushGuiPage("page_civinfo.xml");
> 						]]>
203c192
< 
---
> 			
211c200
< 				<object
---
> 				<object name="subMenuSinglePlayerButton"
220c209
< 						Engine.SwitchGuiPage("page_gamesetup.xml", { "type": "offline" });
---
> 						Engine.SwitchGuiPage("page_gamesetup.xml", { type: "offline" });
224c213
< 				<object
---
> 				<object name="subMenuCampaignButton"
234c223,227
< 						closeMenu();
---
> 					closeMenu();
> 						<![CDATA[
> 							// Open Campaigns window.
> 							// NOT IMPLEMENTED YET
> 						]]>
238c231
< 				<object
---
> 				<object name="subMenuLoadButton"
248c241
< 						Engine.PushGuiPage("page_loadgame.xml", { "type": "offline" });
---
> 						Engine.PushGuiPage("page_loadgame.xml", { type: "offline" });
261c254
< 				<object
---
> 				<object name="subMenuMultiplayerJoinButton"
271c264,265
< 						Engine.PushGuiPage("page_gamesetup_mp.xml", { "multiplayerGameType": "join" });
---
> 						// Open Multiplayer connection window with join option.
> 						Engine.PushGuiPage("page_gamesetup_mp.xml", { multiplayerGameType: "join" });
275c269
< 				<object
---
> 				<object name="subMenuMultiplayerHostButton"
284a279
> 						// Open Multiplayer connection window with host option.
289c284
< 				<object
---
> 				<object name="subMenuMultiplayerLobbyButton"
299c294,295
< 						Engine.PushGuiPage("page_prelobby.xml");
---
> 						// Open Multiplayer game lobby.
> 						Engine.PushGuiPage("page_prelobby.xml", []);
318c314
< 				<object
---
> 				<object name="submenuOptionsButton"
328c324,327
< 						Engine.PushGuiPage("page_options.xml");
---
> 						<![CDATA[
> 							// Open Options window.
> 							Engine.PushGuiPage("page_options.xml");
> 						]]>
332c331
< 				<object
---
> 				<object name="submenuLocaleButton"
340a340
> 						<![CDATA[
342a343
> 						]]>
346c347
< 				<object
---
> 				<object name="submenuReplayButton"
360c361
< 				<object
---
> 				<object name="submenuEditorButton"
373c374
< 				<object
---
> 				<object name="submenuWelcomeScreenButton"
381a383
> 						<![CDATA[
383,386c385,386
< 						Engine.PushGuiPage("page_splashscreen.xml", {
< 							"page": "splashscreen",
< 							"callback": "SplashScreenClosedCallback"
< 						});
---
> 						Engine.PushGuiPage("page_splashscreen.xml", { "page": "splashscreen", callback : "SplashScreenClosedCallback" } );
> 						]]>
389c389
< 				<object
---
> 				<object name="submenuModSelection"
398c398
< 						Engine.SwitchGuiPage("page_modmod.xml");
---
> 						Engine.SwitchGuiPage("page_modmod.xml", {});
402c402
< 		</object>
---
> 		</object><!-- end of submenu -->
417c417
< 			<object name="MainMenuPanelRightBorderTop"
---
> 			<object	name="MainMenuPanelRightBorderTop"
423c423
< 			<object name="MainMenuPanelRightBorderBottom"
---
> 			<object	name="MainMenuPanelRightBorderBottom"
430c430
< 			<object
---
> 			<object	name="productLogo"
437c437
< 			<object
---
> 			<object name="mainMenuButtons"
441a442
> 
443c444
< 				<object
---
> 				<object name="menuLearnToPlayButton"
449,450c450,451
< 					<translatableAttribute id="caption">Learn to Play</translatableAttribute>
< 					<translatableAttribute id="tooltip">Learn how to play, start the tutorial, discover the technology trees, and the history behind the civilizations</translatableAttribute>
---
> 					<translatableAttribute id="caption">Learn To Play</translatableAttribute>
> 					<translatableAttribute id="tooltip">Learn how to play, discover the technology trees, and the history behind the civilizations</translatableAttribute>
453c454
< 						openMenu("submenuLearn", (this.parent.size.top+this.size.top), (this.size.bottom-this.size.top), 4);
---
> 						openMenu("submenuLearn", (this.parent.size.top+this.size.top), (this.size.bottom-this.size.top), 3);
458c459
< 				<object
---
> 				<object name="menuSinglePlayerButton"
473c474
< 				<object
---
> 				<object	name="menuMultiplayerButton"
488c489
< 				<object
---
> 				<object name="menuToolsAndOptionsButton"
503c504
< 				<object
---
> 				<object name="menuExitButton"
532c533
< 						<translate>Alpha XXIII: Ken Wood</translate>
---
> 						<translate>ALPHA XXII: Terra Magna</translate>
534c535
< 						<translate>WARNING: This is an early development version of the game. Many features have not been added yet.</translate>
---
> 						<translate>WARNING: This is an early version of the mod. Many features have not been added yet.</translate>
546c547
< 					<action on="Press">
---
> 					<action on="Press"><![CDATA[
548c549
< 					</action>
---
> 					]]></action>
558c559
< 					<action on="Press">
---
> 					<action on="Press"><![CDATA[
560c561
< 					</action>
---
> 					]]></action>
570c571
< 					<action on="Press">
---
> 					<action on="Press"><![CDATA[
572c573
< 					</action>
---
> 					]]></action>
580c581
< 					<translatableAttribute id="caption">Translate the Game</translatableAttribute>
---
> 					<translatableAttribute id="caption">Translate the game</translatableAttribute>
582c583
< 					<action on="Press">
---
> 					<action on="Press"><![CDATA[
584c585
< 					</action>
---
> 					]]></action>
595c596
< 						Engine.PushGuiPage("page_credits.xml");
---
> 						Engine.PushGuiPage("page_credits.xml", {});
608c609
< 				<object
---
> 				<object name="companyLogo"
626c627
< 			<object
---
> 			<object name="versionNumber"

 

 

Well if doesn't break the the new theme I'd say nuke it.

Link to comment
Share on other sites

Amongst the 333 lines I didn't see this one indeed:

<translate>ALPHA XXII: Terra Magna</translate>

Mods shouldn't have to carry a copy mainmenu.xml just for that.

DE has the same issue and I wrote a patch for that.

It's even wrong for the public mod IMO, as we should only have to change a central file instead of multiple random GUI pages when releasing a new version (http://trac.wildfiregames.com/wiki/ReleaseProcessDraft).

A mod version string is also seen in the top panel of the ingame UI.

It could be useful in other places too, perhaps in the mod selection page.

Having it in the mod.json file would be a central place but would have the disadvantage that it would always display the version label of the topmost mod and also has the disadvantage of having had a flamewar discussion already, so meh.

Link to comment
Share on other sites

1 hour ago, gameboy said:

@s0600204 @niektb Today I tested the latest latest Terra Magna, and I chose Chinese (Han) again when I was in the building wall and found a mistake:

https://github.com/0ADMods/terra_magna

ERROR: [SetWallPlacementPreview] No WallPiece component found for wall set template 'structures/chin_fortress'

 

@niektb, @s0600204 Please fix it, thank you.

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...