Jump to content

Long War for Mac OS/X - pointers / advice?


thither

Recommended Posts

Thanks Anderkent! Sorry, my last cry for help was before I saw the other comments. You said to drag the "directory containing the script" into the cd command, but I don't know what a directory is. I see files and documents in the unzipped download. Thanks for your patience.

Please, I am not being condescending when I say you need to learn some basics.

 

The "cd" (or "change directory") command is used to tell the OS which directory to make the current "default" directory. The OS always has a directory as it's "default" location where it initially looks for files when you do not provide the path to one. The "cd" command only works with directories (folders), so if you try to use the name of a file with the command, it will fail. Which is why it is important you know and can tell the difference.

 

See this article for the differences between a file and a folder (also known as a directory). This is essential information.

 

Then read this article about the differences and how to recognize packages, DMG files, and other executables. This is also essential information.

 

Then I suggest you read this article to understand the OS/X unique path notations. (They are a descendant of both Unix and previous Mac OS traditions.)

 

Files with the ".sh" extension are "shell" files, usually for the "bash shell". (There are other shells.) Also called "scripts". Similar to DOS/Windows ".bat" or ".cmd" files. All you should need to do is double click on it (or however you are configured to normally launch a program) and it will get launched like any other executable.

 

All that information should be in your owners manual. I know most people feel they can't be bothered to read the manual, but really they do provide information you absolutely need to know. Regardless, this article covers the basics of a bash shell script. (Having a basic understanding of scripts in general can be very useful for combining several steps into a single mouse click. They are not hard to put together and everyone (not just programmers) can learn to do so. Every OS I know of has some form of similar shell scripting, because it is such a useful tool.)

 

-Dubious-

Link to comment
Share on other sites

  • Replies 306
  • Created
  • Last Reply

Top Posters In This Topic

Hello again

 

I ran recently into a game-stopping bug during the loading screen of an alien base assault in Nigeria. I have this dialog box pop up at the start with no text and an OK in the corner that clicking does not make go away. Any clues and fixes? I have a possible Exalt base possible as well. I have two different saves with the same problem.

I can quit the game with cmd-q but that's all I can do

Link to comment
Share on other sites

No rage quitting of my part, yet :wink:

 

As for the uploads here they are:

 

https://drive.google.com/open?id=0B21fqhXFk545LUZJTXB4djRJVFk&authuser=0

 

https://drive.google.com/open?id=0B21fqhXFk545c1M0cEZxeUc1NmM&authuser=0

 

Please let me know if this works.

 

edit: just found a quick workaround, the freeze happens at the end of the base assault movie so just click to pass the movie and skip the crash altogether.

Edited by TelmoBJ
Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...

So ... y'know how the mod says "Steam version only", and "for the March 2014 patch"?

 

I'm trying to get LW working for an Amazon.com XCOM Elite Edition installation, with a build date of October 2014. I've a fair bit of previous modding experience, but primarily with games that were more mod-friendly than this.

 

I've sorted out all of the non-Steam directory locations, found the correct files and locations. For example, I can get the text string replacements in the loading menu, and the .INI file changes, in, correctly.

 

However, anytime I try to bring in the LW .UPK files, I get a CTD immediately after the splash screen.

 

a.) Has anybody previous to me solved this issue?

b.) If not, does anybody have any advice as to "next steps" I can try?

c.) Am I just hosed for having bought the wrong version?

 

Option c.) would be particularly annoying, as I intentionally did not buy the game on launch due to reviews, and bought it now explicitly with intent to play the LW mod of EW.

Edited by Amaroq81
Link to comment
Share on other sites

Crossposting from our Beta feedback thread

 

 

 

There is a small bug inside the installer script for the Mac version of LW if the install directory is not in its default location. I have patched it so it works. Here is the patch file:

--- install-LW-OSX_orig 2015-01-21 14:28:47.000000000 -0500
+++ install-LW-OSX.sh 2015-01-21 14:33:07.000000000 -0500
@@ -224,16 +224,12 @@ if [ "$#" -lt 2 ]; then
if [ -d "${INSTALLDIR}" ]; then
installdir="${INSTALLDIR}"
else
- echo "Can not find game files. Please specify xew dir location"
- read installdir
- installdir="${installdir%/}"
- if [ `basename "${installdir}"` != xew ]; then
- installdir="${installdir}/xew"
- fi
- if [ ! -d "${installdir}" ]; then
- echo "invalid directory specified."
- exit 1
- fi
+ echo "Can not find game files. Please specify XCom-Enenmy-Unknown location"
+ read installdir
+ if [ ! -d "${installdir}/${INSTALL_DATA_DIR}" ]; then
+ echo "invalid directory specified."
+ exit 1
+ fi
fi
else
installdir="$2"


Basically, the mac version uses another top level folder for the install that the installdir variable usually uses and drills down into afterwards but the detection when you input the installation folder adds that drilling down into the XEW directory twice. So, we remove that part, still make sure we selected the right folder and we go on our merry way.
Link to comment
Share on other sites

Help pls...

I have been playing xcom LW for quite sometime now on a PC. I also have a Mac but have not installed LW on it cause it's a little complicated for me, until, yesterday I found out a new version of LW for the Mac with an installer script! Woot!!!

 

So installed LW, using the nexus mod file for Mac with the installer script. Everything went well. Just opened the terminal and installed the patch. Choose Asia as my main base (new plot, I always use america for interceptor discounts, but while playing LW on pc, I think foundry discounts work better in my favor deep into the game, I could be wrong but hey, can always restart...lol). So I do first mission and when it's over and I come home to my new base, as soon as the squad promotion screen comes up and I select a soldier to "upgrade perks" the game just hangs and stops....

 

Any ideas? Help pls....

 

Thanks

Aji

Link to comment
Share on other sites

Help pls...

I have been playing xcom LW for quite sometime now on a PC. I also have a Mac but have not installed LW on it cause it's a little complicated for me, until, yesterday I found out a new version of LW for the Mac with an installer script! Woot!!!

So installed LW, using the nexus mod file for Mac with the installer script. Everything went well. Just opened the terminal and installed the patch. Choose Asia as my main base (new plot, I always use america for interceptor discounts, but while playing LW on pc, I think foundry discounts work better in my favor deep into the game, I could be wrong but hey, can always restart...lol). So I do first mission and when it's over and I come home to my new base, as soon as the squad promotion screen comes up and I select a soldier to "upgrade perks" the game just hangs and stops....

Any ideas? Help pls....

Thanks

 

 

So I try playing the Mac LW game I just installed. The game works fine. Took a second group of squaddies on the next mission. All went well. Returned to base and now, I have two squads that are up for promotions (perk upgrades) and I can't promote anyone because once I go to the barracks page and choose a soldier to promote his/her "perk", I get a CTD... 8(

 

Help pls...

Aji

Aji

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...