Author Topic: Errors adding new factions  (Read 1870 times)

marco222

  • Guest
Errors adding new factions
« on: 4 June 2011, 12:30:19 »
I added some new factions to megapack tech, I did it copping downloaded files into megapack folder:
I coppied all files i saw, and some factions present errors when i try to play with them
Coppied files:

http://s2.subirimagenes.com/imagen/6488088screenshot.png

http://s2.subirimagenes.com/imagen/6488102screenshot.png

http://s2.subirimagenes.com/otros/6488133screenshot.jpg
Error:

http://s2.subirimagenes.com/imagen/6488064glesterror.png
« Last Edit: 4 June 2011, 13:09:18 by marco222 »

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Errors adding new factions
« Reply #1 on: 4 June 2011, 18:23:10 »
Hi, you should not add extra data to Megapack or the MegaGlest program directory. Instead, work in the directory which contains user specific data ("UserDataRoot"). There, you can either create a copy of Megapack and add to that or just create a new techtree which only includes your new factions. Since Windows users have often trouble identifying and accessing the UserDataRoot directory (because Windows uses a complex and, by default, partially hidden location there), our Installers do, since MegaGlest 3.5.2, add a start menu shortcut to make accessing this directory easier.

The errors you are showing in the last screenshot are caused by bugs in the XML files of the factions you added. You should ask the modder who developed them for help about this. If you prefer to look into this yourself you can use the --validate... command line options to megaglest.exe to get more information on what is going wrong there.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Errors adding new factions
« Reply #2 on: 4 June 2011, 18:31:13 »
It seems to me you copied all the techtrees into megapack. You cannot do this! Each techtree (which has its own xml, resources and upgrades) needs to go into its own properly names techtree folder. You can however copy individual factions into the factions folder of megapack IF they are 100% compatible with the resources and upgrades of megapack.

Thanks

Mr War

  • Guest
Re: Errors adding new factions
« Reply #3 on: 4 June 2011, 22:32:17 »
Imperial_MG, good choice :)

marco222

  • Guest
Re: Errors adding new factions
« Reply #4 on: 5 June 2011, 00:51:26 »
Problem solved, I modified the megapack.XML. I added all the armor and other things, now all the factions run perfectly. I've got 28 factions in one tech tree to choose :D
A last doubt, where can i download other packs and factions?

Thanks!!

John.d.h

  • Moderator
  • Airship
  • ********
  • Posts: 3,757
  • I have to go now. My planet needs me.
    • View Profile
Re: Errors adding new factions
« Reply #5 on: 5 June 2011, 00:53:44 »
A last doubt, where can i download other packs and factions?
There are some links on the wiki: https://docs.megaglest.org/Mods/List
« Last Edit: 18 June 2016, 14:56:39 by filux »

marco222

  • Guest
Re: Errors adding new factions
« Reply #6 on: 5 June 2011, 00:56:34 »
Thanks!! i've not any more doubts at this moment

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Errors adding new factions
« Reply #7 on: 5 June 2011, 02:06:53 »
I do hope that you kept a copy of the original, unmodified MegaPack though too, as you will not be able to play multiplayer with your edited version (not to mention all the balance problems).

i've not any more doubts at this moment
Just a side mention that I think the word you are looking for is "question", not "doubt".
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

marco222

  • Guest
Re: Errors adding new factions
« Reply #8 on: 5 June 2011, 02:19:18 »
I do hope that you kept a copy of the original, unmodified MegaPack though too, as you will not be able to play multiplayer with your edited version (not to mention all the balance problems).

i've not any more doubts at this moment
Just a side mention that I think the word you are looking for is "question", not "doubt".
I'm not used to play multiplayer, but i will download the original megapack and when i want to play multiplayer, i will replace the modified megapack with the original one.
Thanks for the info!!

I'm from Spain. I don't speak english very well  :)

 

anything