MegaGlest Forum
Archives (read only) => Glest Advanced Engine => General discussion => Topic started by: Tununias on 8 May 2011, 23:54:08
-
I've been trying to add more tech trees to GAE, but when I try to use them I get an error message.
"Crash!
Exception: The techtree could not be loaded. See glestadv-error.log"
I can't find the file. I scanned my computer for it, but says it's not there.
Is there something I need to do in GAE differently to add tech trees than MG? The tech trees work find in MG, and I heard that mods made for MG work in GAE.
Removed unnecessary smilies. -Ultifd
-
By default:
~/.glestadv/glestadv-error.log
To use mods in GAE, read here: https://forum.megaglest.org/index.php?topic=5911.0
-
By default:
~/.glestadv/glestadv-error.log
To use mods in GAE, read here: https://forum.megaglest.org/index.php?topic=5911.0
I have no idea how to use ~/.glestadv/addons (I know where the folder is, I just can't figure out how to use it.)
The only thing I can think of is the magitech tree has lang folders and lng files and the tech tree I tried to add didn't.
-
If you go 'one folder up' from addons you'll be in the 'config' dir, this is where the error log can be found, you probably just missed a new resource maybe?
-
It might also be that the add-on isn't packaged for "just drop it in" functionality. It needs to replicate the right folder structure in order to work. What add-on(s) is/are giving you trouble?
-
It might also be that the add-on isn't packaged for "just drop it in" functionality. It needs to replicate the right folder structure in order to work. What add-on(s) is/are giving you trouble?
I don't know what you mean. I'm trying to copy my techtree from MG to GAE. I copied the techtree folder into the techs folder for GAE. The only thing I can think of is it doesn't have lang folders or lng files. Also, glestadv-error.log only says "Glest Advanced Engine: Error log file."
-
Those lng files are largely irrelevant. They're nice to have, but not necessary (they merely provide language text).
If you're copying the Megapack over to GAE, create a new folder in ~/.glestadv/addons, and put MG's techs folder inside of it, so then the folder structure should look like this:
~/.glestadv/addons/<call_it_whatever_you_like>/techs/megapack/factions/
Make sense?
-
Those lng files are largely irrelevant. They're nice to have, but not necessary (they merely provide language text).
If you're copying the Megapack over to GAE, create a new folder in ~/.glestadv/addons, and put MG's techs folder inside of it, so then the folder structure should look like this:
~/.glestadv/addons/<call_it_whatever_you_like>/techs/megapack/factions/
Make sense?
the tech tree won't show up when I start GAE.
-
Since people can't see what's on your computer you might want to paste the output of this command to a pastebin (http://glest.pzt.me):
ls -lLR ~/.glestae/addons/
Note also that it may also be ~/.glestae/ - not ~/.glestadv/ - where per user configuration and data is stored on your system (depends on how GAE was compiled).
-
Since people can't see what's on your computer you might want to paste the output of this command to a pastebin (http://glest.pzt.me):
ls -lLR ~/.glestae/addons/
Note also that it may also be ~/.glestae/ - not ~/.glestadv/ - where per user configuration and data is stored on your system (depends on how GAE was compiled).
It said "ls: cannot access /home/andrew/.glestae/addons/: No such file or directory" with the original code. When I changed glestae to glestadv, it worked. But I'm not able to paste it all. The tech tree has 49 factions total.
(update)
I figured out how to paste it all but I got the error "Invalid POST request. Pasted text must be between 10 characters and 256 Kb" I could always compress it and upload it somewhere else, but I don't know how helpful it would be.
-
The tech tree has 49 factions total.
49?! Are you sure? Glest doesn't even have nearly that many factions in every mod ever made so far.
I figured out how to paste it all but I got the error "Invalid POST request. Pasted text must be between 10 characters and 256 Kb" I could always compress it and upload it somewhere else, but I don't know how helpful it would be.
The file is too large for pastebin. If under 50k characters, post it here inside a [code] tag. Otherwise, upload save the output of the command and upload it to a site like Mediafire (http://mediafire.com/).
-
The tech tree has 49 factions total.
49?! Are you sure? Glest doesn't even have nearly that many factions in every mod ever made so far.
I figured out how to paste it all but I got the error "Invalid POST request. Pasted text must be between 10 characters and 256 Kb" I could always compress it and upload it somewhere else, but I don't know how helpful it would be.
The file is too large for pastebin. If under 50k characters, post it here inside a [code] tag. Otherwise, upload save the output of the command and upload it to a site like Mediafire (http://mediafire.com/).
africa egypt japanese plant_life
armies of the wastes elves magic romans
aztec elves of ulthuan and lorien man_10 science
barbarians european mario tech
boss garden martians the empire
british gauls moon undead
bugs girls mushrooms weather
canadians glestTW norsemen Western
china goths orcs winter_men
circus greece PC woodsmen
Cool_Magic humans penguin
crusaders imperial persian
dwarves indian pirates
I think it's 3.1GB altogether.
the glestadv-error.log file is http://glest.pzt.me/4mk6
and this is the output http://www.mediafire.com/?stiwb3kc8x4sosd
-
Are they edited properly then? Those factions are not all compatible if combined together, and some of those factions are poorly made and not recommended by the Glest community. Does GAE work with the default Magitech?
-
Are they edited properly then? Those factions are not all compatible if combined together, and some of those factions are poorly made and not recommended by the Glest community. Does GAE work with the default Magitech?
I've modified them all to work in one tech tree.(I never liked the idea of separating factions into tech trees) The Magitech tech tree works fine in GAE.
-
Glest Advanced Engine: Error log file.
No files found: techs/everything/factions/Western/units/*.
No files found: techs/everything/factions/Western/upgrades/*.
No files found: techs/everything/factions/european/units/*.
No files found: techs/everything/factions/european/upgrades/*.
No files found: techs/everything/factions/japanese/units/*.
No files found: techs/everything/factions/japanese/upgrades/*.
XML Error in techs/everything/resources/food_morphlings/food_morphlings.xml:
Missing or wrong name of XML file.
XML Error in techs/everything/resources/food_nikir/food_nikir.xml:
Missing or wrong name of XML file.
XML Error in techs/everything/resources/food_rifemorean/food_rifemorean.xml:
Missing or wrong name of XML file.
XML Error in techs/everything/resources/grace/grace.xml:
Missing or wrong name of XML file.
XML Error in techs/everything/resources/souls/souls.xml:
Missing or wrong name of XML file.
XML Error in techs/everything/factions/Western/Western.xml:
File missing or wrongly named.
XML Error in techs/everything/factions/british/units/cannon/cannon.xml:
Error opening wav file: techs/everything/factions/british/units/cannon/sounds/catapult_attack.wav
PHYSFS_openRead failed: techs/everything/factions/british/units/cannon/sounds/catapult_attack.wav
Error: Permission denied
XML Error in techs/everything/factions/european/european.xml:
File missing or wrongly named.
XML Error in techs/everything/factions/japanese/japanese.xml:
File missing or wrongly named.
Did you transfer over the resources as well? Because those seem to be missing. Try removing the offending factions and see what happens: Western, European, Japanese, Morphlings, Nikir, Rifemorean, British, and Elves. Then if that works, we can start adding them back and fixing the problems.
-
Glest Advanced Engine: Error log file.
No files found: techs/everything/factions/woodsmen/units/*.
No files found: techs/everything/factions/woodsmen/upgrades/*.
XML Error in techs/everything/resources/food_morphlings/food_morphlings.xml:
Missing or wrong name of XML file.
XML Error in techs/everything/resources/food_nikir/food_nikir.xml:
Missing or wrong name of XML file.
XML Error in techs/everything/resources/food_rifemorean/food_rifemorean.xml:
Missing or wrong name of XML file.
XML Error in techs/everything/resources/grace/grace.xml:
Missing or wrong name of XML file.
XML Error in techs/everything/resources/souls/souls.xml:
Missing or wrong name of XML file.
XML Error in techs/everything/factions/canadians/units/cannon/cannon.xml:
Error opening wav file: techs/everything/factions/canadians/units/cannon/sounds/catapult_attack.wav
PHYSFS_openRead failed: techs/everything/factions/canadians/units/cannon/sounds/catapult_attack.wav
Error: Permission denied
Error loading techs/everything/factions/canadians/units/maple_tree/models/foilage.tga
PHYSFS_openRead failed: techs/everything/factions/canadians/units/maple_tree/models/foilage.tga
Error: Permission denied
Error loading techs/everything/factions/canadians/units/maple_tree/models/bark.tga
PHYSFS_openRead failed: techs/everything/factions/canadians/units/maple_tree/models/bark.tga
Error: Permission denied
Error loading techs/everything/factions/canadians/units/maple_tree/models/foilage.tga
PHYSFS_openRead failed: techs/everything/factions/canadians/units/maple_tree/models/foilage.tga
Error: Permission denied
Error loading techs/everything/factions/canadians/units/maple_tree/models/bark.tga
PHYSFS_openRead failed: techs/everything/factions/canadians/units/maple_tree/models/bark.tga
Error: Permission denied
Error loading techs/everything/factions/canadians/units/maple_tree/models/bark.tga
PHYSFS_openRead failed: techs/everything/factions/canadians/units/maple_tree/models/bark.tga
Error: Permission denied
Error loading techs/everything/factions/canadians/units/maple_tree/models/foilage.tga
PHYSFS_openRead failed: techs/everything/factions/canadians/units/maple_tree/models/foilage.tga
Error: Permission denied
Error loading techs/everything/factions/canadians/units/maple_tree/models/maple_leaf.tga
PHYSFS_openRead failed: techs/everything/factions/canadians/units/maple_tree/models/maple_leaf.tga
Error: Permission denied
Error loading techs/everything/factions/canadians/units/maple_tree/models/bark.tga
PHYSFS_openRead failed: techs/everything/factions/canadians/units/maple_tree/models/bark.tga
Error: Permission denied
Error loading techs/everything/factions/canadians/units/maple_tree/models/foilage.tga
PHYSFS_openRead failed: techs/everything/factions/canadians/units/maple_tree/models/foilage.tga
Error: Permission denied
XML Error in techs/everything/factions/woodsmen/woodsmen.xml:
File missing or wrongly named.
This is what I got after I removed the factions. I already removed Morphlings, Nikir, Rifemorean before, since they were too weak compared to the other factions.
-
Err... maybe a silly question, but did you somehow change the owner of the files to someone other than you (root, perhaps)?
-
Err... maybe a silly question, but did you somehow change the owner of the files to someone other than you (root, perhaps)?
I'm not sure.
I typed sudo nautilus to use nautilus with root access, and placed the tech tree in /usr/share/glestae/techs.
-
Trying to merge 50 seperate factions into one techtree is gonna take ALOT of work :confused: Any factions which rely on a changed resource set (other than gold/stone/wood) will need to be modified.
-
Err... maybe a silly question, but did you somehow change the owner of the files to someone other than you (root, perhaps)?
I'm not sure.
I typed sudo nautilus to use nautilus with root access, and placed the tech tree in /usr/share/glestae/techs.
Oh... that's why. In that case, I think you probably did scramble your permissions. sudo has a bad habit of doing that. Since it's a root operation, the end product (in this case, the new files) are under root's ownership, which means they can only be executed under root's permission. ~/.glestadv/addons is there basically so that you don't have to use root to add mods, and so all your permissions stay intact. Just for clarity, I'm talking about /home/<your_name>/.glestadv, not /usr/share/glestae.
Here is what I would do:
1. Check who owns usr/share/glestae/techs/everything/ (or whatever you called the new folder). http://yfrog.com/n3screenshot3qtsp
2. Play GAE as root. If it works, it will assure that it is actually a permission problem and not something else.
3. As yourself (not root), move the relevant tech tree files to ~/.glestadv/addons/. Since you're doing it as yourself, it should make you the owner of the new files.
4. After that, you should be able to (as root) remove the unneeded remnant in /usr/share/glestae. This should not be strictly necessary, but you don't really need an extra couple gigs of clutter lying around.
5. Instead of 3 and 4, you may be able to change the owner of all the files in /usr/share/glestae/techs/everything/ from root to yourself, but I don't exactly know how to do that or if it would actually work.
-
Leaning towards Wciow here. It's a lot of work to merge that many factions and simply copying and pasting as you probably did is not going to cut it.
-
5. Instead of 3 and 4, you may be able to change the owner of all the files in /usr/share/glestae/techs/everything/ from root to yourself, but I don't exactly know how to do that or if it would actually work.
Don't change the ownership, just fix the permissions. World/others needs to be able to read.
$ sudo find /usr/share/glestae -type f -exec chmod 644 '{}' +
$ sudo find /usr/share/glestae -type d -exec chmod 755 '{}' +
Should fix the permissions. But John.d.h is right. Don't mess up your system folders, use the addons folder!
-
Trying to merge 50 seperate factions into one techtree is gonna take ALOT of work :confused: Any factions which rely on a changed resource set (other than gold/stone/wood) will need to be modified.
Yeah, but it's worth the extra effort. And I added the gradually over several months. For most factions, you just need to check the mod's tech tree for any extra attack and armor types, and add them.
-
Ok It works now. Thank you for your help. :)
-
You're probably not replicating the folder structure.
~/.glestadv/addons/<this is your addon>/techs/<put your tech tree here>/factions(http://img90.imageshack.us/img90/5001/screenshot4y.png) (http://img90.imageshack.us/i/screenshot4y.png/)
Don't get the addon and the tech tree confused. They are related but disparate things!
-
Trying to merge 50 seperate factions into one techtree is gonna take ALOT of work :confused: Any factions which rely on a changed resource set (other than gold/stone/wood) will need to be modified.
Yeah, but it's worth the extra effort. And I added the gradually over several months. For most factions, you just need to check the mod's tech tree for any extra attack and armor types, and add them.
Also, there's resource's too, and sometimes the resources are modified in different techtrees.
-
You're probably not replicating the folder structure.
~/.glestadv/addons/<this is your addon>/techs/<put your tech tree here>/factions(http://img90.imageshack.us/img90/5001/screenshot4y.png) (http://img90.imageshack.us/i/screenshot4y.png/)
Don't get the addon and the tech tree confused. They are related but disparate things!
I've done that but I won't work. For now I'll just add it manually.
-
Trying to merge 50 seperate factions into one techtree is gonna take ALOT of work :confused: Any factions which rely on a changed resource set (other than gold/stone/wood) will need to be modified.
Yeah, but it's worth the extra effort. And I added the gradually over several months. For most factions, you just need to check the mod's tech tree for any extra attack and armor types, and add them.
Also, there's resource's too, and sometimes the resources are modified in different techtrees.
For those, I just converted them back into gold, wood, and stone. :scientist:
I've got lots of experience with stuff like that. :cheesy: