1
Troubleshooting / Re: Linux error:game cant open files for ticked mods so openxcom refuses to start
« on: August 30, 2017, 04:54:05 pm »
ok that sounds better. i think i figured out what the issue was, but it doesnt seem to be related to anything that needs a nightly build, and the reason i say that is because i tried activating a mod that even says nightly in the mod window and it just gives a nice error in the game explaining why it wont activate, but the game still plays. the mod that was actually stopping it from loading once i did the permissions was the drones mod. so i just removed all those mod files and it loaded fine again. bummer, but maybe installing the nightly will allow the drones mod to work right? or maybe moving the install directory will, not sure yet.
this is kind of a leap from playing the old xcom in dos, but i am slowly figuring out the ins and outs of it, all except hex editing which i failed miserably at, but luckily i had a backup, but i am not too far into the game yet so no huge loss. it was really easy to get working and open xcom is not plagued with bugs that make it crash constantly like other ports or even the wine install of it. so kudos for making it reliable.
i will try out moving it to the home folder after uninstalling and installing the nightly build, since i think the approach to mods is a little more polished just from the fact there is a dedicated mods folder. should not be an issue if i move the folder and just point the icons to the correct location.
still trying to figure out a few other things too though, like how to get optimal resolution and mouse behavior since adjusting the config didnt help much and the mouse seems to not function near the borders as well. wont respond to clicking buttons on the edge sometimes or moving things in iventory if they are too close to the bottom of the screen. but maybe those things will iron out with the nightly build.
i noticed i can add the ppa and it should install like the repository version with little hassle.
EDIT: ok, this is going to be an issue i guess, because it still installs the openxcom files to a root folder, the permissions in user/games/openxcom are once again root permissions, and moving it did not help, since it looks like it behaves like dosbox and is looking for the game in C:/user/games/openxcom per the error when i attempted to load it. i tried making openxcom folder a dot folder to hide it which works, but the executable does not recognize the home directory as a valid location, and from reading the wiki i was under the impression it would recognize it as valid (hard coded)
so it is an issue with the executable still insisting on pointing to the root permission folder? not sure, but running it from the terminal wont help that, since the openxcom executable binary is not in the game folder itself, but in another location. (it installs it somewhere else)
anyway, at least the mods folder is in a non root permissions location so i guess there is a silver lining.
EDIT2: ok, the mod folder being where it is by default actually solved the issue. so that was a good move on the devs part. all mods are working except a couple of them and thankfully it just deactivates them if they dont work for whatever reason. before i would have to manually delete nonworking mods.
side note, is there a terrain mod for xcom1 or is it only for TFTD? that one complained about not finding the correct resources for TFTD and i was not aware that it was only for TFTD. if it is for both then do i need to install TFTD as well to get the features of the additional terrain?
and how does one get multiple sound mods to work together in a custom fashion? i was thinking of modifying the one that actually nullifies the others by copying the same file names over to the specific mod folders and overwriting with the music or sounds i prefer.
this is kind of a leap from playing the old xcom in dos, but i am slowly figuring out the ins and outs of it, all except hex editing which i failed miserably at, but luckily i had a backup, but i am not too far into the game yet so no huge loss. it was really easy to get working and open xcom is not plagued with bugs that make it crash constantly like other ports or even the wine install of it. so kudos for making it reliable.
i will try out moving it to the home folder after uninstalling and installing the nightly build, since i think the approach to mods is a little more polished just from the fact there is a dedicated mods folder. should not be an issue if i move the folder and just point the icons to the correct location.
still trying to figure out a few other things too though, like how to get optimal resolution and mouse behavior since adjusting the config didnt help much and the mouse seems to not function near the borders as well. wont respond to clicking buttons on the edge sometimes or moving things in iventory if they are too close to the bottom of the screen. but maybe those things will iron out with the nightly build.
i noticed i can add the ppa and it should install like the repository version with little hassle.
EDIT: ok, this is going to be an issue i guess, because it still installs the openxcom files to a root folder, the permissions in user/games/openxcom are once again root permissions, and moving it did not help, since it looks like it behaves like dosbox and is looking for the game in C:/user/games/openxcom per the error when i attempted to load it. i tried making openxcom folder a dot folder to hide it which works, but the executable does not recognize the home directory as a valid location, and from reading the wiki i was under the impression it would recognize it as valid (hard coded)
so it is an issue with the executable still insisting on pointing to the root permission folder? not sure, but running it from the terminal wont help that, since the openxcom executable binary is not in the game folder itself, but in another location. (it installs it somewhere else)
anyway, at least the mods folder is in a non root permissions location so i guess there is a silver lining.
EDIT2: ok, the mod folder being where it is by default actually solved the issue. so that was a good move on the devs part. all mods are working except a couple of them and thankfully it just deactivates them if they dont work for whatever reason. before i would have to manually delete nonworking mods.
side note, is there a terrain mod for xcom1 or is it only for TFTD? that one complained about not finding the correct resources for TFTD and i was not aware that it was only for TFTD. if it is for both then do i need to install TFTD as well to get the features of the additional terrain?
and how does one get multiple sound mods to work together in a custom fashion? i was thinking of modifying the one that actually nullifies the others by copying the same file names over to the specific mod folders and overwriting with the music or sounds i prefer.