omegadk1 Posted November 14, 2012 Share Posted November 14, 2012 (edited) Do you have the latest java installed? Run XSHAPE.bat Thank you for the reply. I double clicked the XSHAPE.bat after doing all the steps. After this, when I try running XCOM, it will not start up. I get the loading icon on the mouse, but nothing happens. And I do have latest Java 7 update 9 Update: I tried running it again, and I just got the error "xcom has stopped working" Edited November 14, 2012 by omegadk1 Link to comment Share on other sites More sharing options...
Drakous79 Posted November 14, 2012 Share Posted November 14, 2012 (edited) Did Selective recruitment finish with "Changes applied to XComGame.upk successfuly? Please try running xshape.bat from command line and post what is says. Edit: Should say 1 SHA hash(es) updated. Edited November 14, 2012 by Drakous79 Link to comment Share on other sites More sharing options...
omegadk1 Posted November 14, 2012 Share Posted November 14, 2012 Yes, it says "Changes applied to XComGame.upk successfully" When I double click XSHAPE.bat to run, it opens and closes quickly. - How do I run it from command line? in case it helps, here are the steps I did: 1. Decompress XComGame.upk and place in CookedPCConsole2. Run Selective recruitment and change to desired settings3. Apply settings (got message saying successful)4. extract XSHAPE into XCom-Enemy-unknown folder and double click XSHAPE.bat Link to comment Share on other sites More sharing options...
Drakous79 Posted November 14, 2012 Share Posted November 14, 2012 (edited) In windows - start - run - type cmd and hit enter. Then navigate to your XCOM game folder. X: where X is drive lettercd Steam\SteamApps\common\XCom-Enemy-Unknown\ where after cd is patch to the game root folderxshape Or right click xshape.bat and edit it, put one more line at the end: pauseSave and run it. Edit: So far I think you've done everything right, but not having XSHAPE extracted at the right place. Edit 2: Or this:16. Your exe is very different from mine for some reason. You'll need to edit the xshape.bat file, and use a lower starting byte number. 0 is guaranteed to work, but takes the longest amount of time to run (several seconds). java -jar XSHAPE.jar 0 Edited November 14, 2012 by Drakous79 Link to comment Share on other sites More sharing options...
bokauk Posted November 14, 2012 Share Posted November 14, 2012 I've replied in the Selective Recruitment thread, but I'll post this here as it might help other users of XSHAPE experiencing problems. The output message from XSHAPE is very important; it's not enough to just run XSHAPE.bat for the first time and hope it will run without error. Daemonjax, the developer of XSHAPE, did a good job of error handling and has provided a list of error codes to help users troubleshoot what might be causing the problem. There are 16 error codes which can be found on the first page of the XSHAPE thread :) It's a good idea to edit XSHAPE.bat by right clicking on it, then Edit and add the "pause" command at the bottom, so it reads something like:@echo off java -jar XSHAPE.jar -v 0 pauseYou'll then be able to see the output message of XSHAPE. It will let you know if it was successful and if not, it will give you an error code for you to look up as mentioned above :) Link to comment Share on other sites More sharing options...
Drakous79 Posted November 14, 2012 Share Posted November 14, 2012 Great info and great mod bokauk :) Maybe Daemonjax could add the pause in next release, as it's good for troubleshooting. Link to comment Share on other sites More sharing options...
omegadk1 Posted November 14, 2012 Share Posted November 14, 2012 Thanks for the help. So, I at least know the error now: Java is not recognized as an internal or external command, operable program or batch file I did not see this in the error list. Link to comment Share on other sites More sharing options...
Drakous79 Posted November 14, 2012 Share Posted November 14, 2012 (edited) I know you wrote you have it, but still, can you please http://www.java.com/en/download/testjava.jsp make sure? Also the error can be java entry is missing in system environment variables. You can try to reinstall java or google for how to fix it. Edited November 14, 2012 by Drakous79 Link to comment Share on other sites More sharing options...
BlackAlpha Posted November 14, 2012 Share Posted November 14, 2012 (edited) Note that the Java website usually installs the 32bit version. For 64bit Windows, this usually means it won't properly recognize Java. so you'll need to manually install the 64bit Java version to fix that. I'm sure Java does this for a good reason, but I can't help but think what a big fail that is... It completely kills user friendliness for people who don't know much about computers. Edited November 14, 2012 by BlackAlpha Link to comment Share on other sites More sharing options...
omegadk1 Posted November 14, 2012 Share Posted November 14, 2012 (edited) Again... thank you so much for all of your help! I did not have 64 bit verion installed. Now that I do, I get the error 5: You have files in the configuration file that are normally compressed, but then failed to remove/rename X.uncompressed_size file. Normally, this isn't fatal, except that there were no files left to check, so the program had nothing to do. I have all the steps down, so I am unsure as to why there is no files left to check. Maybe I am doing something wrong with the XComGame.upk step... I put the Decompressor in the CookePCConsole with in, run command and type in the command to decompress. I take the file named XComGame.upk from the unpacked folder and drag it into CookedPCConsole folder and overwrite the old one. Then run XSHAPE.bat UPDATE: OK, I was not deleting the uncompressed file... oops. deleted that and then got error 16 - edited bat as instructed, but game will not start. I did get a message that it was updated UPDATE 2: IT"S WORKING!!! thanks so much for all of your patience guys!!! To recap, my problems were: * Needed 64 bit version of java installed* Had to delete XComGame.upk.uncompressed_size (may sound strange, but this did not seem all that obvious... it sounded like I was to rename the XComGame.upk to this... I finally noticed a file already named this)* Had to edit XSHAPE.bat to hav a 0 after -V* Game ran when opened through steam, but not by manually opening through .exe I hope this helps any of those non expert users out there like me :-) Edited November 14, 2012 by omegadk1 Link to comment Share on other sites More sharing options...
Recommended Posts