Daemonjax Posted October 28, 2012 Author Share Posted October 28, 2012 (edited) I am positive now that it's number 2, the game does use the files, but they just aren't checked. So apparently XSHAPE isn't needed to swap meshes. Thank's for your help DaemonJax :thumbsup: Cool. I'm glad this resolved in way that's satisfactory for you, while also requiring no additional work from myself. ;) Edited October 28, 2012 by Daemonjax Link to comment Share on other sites More sharing options...
leejonnymr Posted October 28, 2012 Share Posted October 28, 2012 (edited) fix'd Edited October 28, 2012 by leejonnymr Link to comment Share on other sites More sharing options...
BlackAlpha Posted October 29, 2012 Share Posted October 29, 2012 (edited) Nice job creating this program! Today I began looking through the UPK files (I'm probably late to the party) and it seems that thanks to your program we can now change a lot more of the game. The problem is just finding the interesting files, UE explorer doesn't seem to have a good search function, which makes it hard to browse through all the data. Well, anyway... It seems your tool has been out for a while now and I'm wondering why no one released any mods using it? It seems fairly simple to use if you put everything inside an archive that the user can extract. Extract contents to game directory, run the .bat file. Done. No? EDIT: And tell them to install Java. Edited October 30, 2012 by BlackAlpha Link to comment Share on other sites More sharing options...
nobody4422 Posted October 30, 2012 Share Posted October 30, 2012 (edited) So somebody asked earlier what does it mean when it returns with "Could not find the main class: Xshape". I'd like to know how he fixed it or what anyone thinks can fix this because I'm currently stuck! Thanks for releasing this btw daemonjax, even if I'm a total nub with unsupported modding... EDIT OK! Figured it out like the last guy. And this time I'll share what I figured out. I had set the path to java to the wrong java folder. I had set it to Java 6 instead of Java 7. Haha silly me. All good now I think. Learning lots of new things today! ;P Ok, I'm getting the same error, but I don't quite understand your solution. I didn't see anything in the instructions about setting the path to the Java folder, nor can I find a reference to it in any of the files. A bit more of an explanation would be appreciated. Edit: Admittedly at first I only had Java 1.6 installed, despite saying in the instructions I needed 1.7. So I installed Java 1.7 from Oracle, restarted my PC, and extracted XShape again. But the same error message is still coming up. I'm at a loss here. Edited October 30, 2012 by nobody4422 Link to comment Share on other sites More sharing options...
bokauk Posted October 30, 2012 Share Posted October 30, 2012 (edited) Ok, I'm getting the same error, but I don't quite understand your solution. I didn't see anything in the instructions about setting the path to the Java folder, nor can I find a reference to it in any of the files. A bit more of an explanation would be appreciated. Edit: Admittedly at first I only had Java 1.6 installed, despite saying in the instructions I needed 1.7. So I installed Java 1.7 from Oracle, restarted my PC, and extracted XShape again. But the same error message is still coming up. I'm at a loss here. Try this: http://java.com/en/download/help/path.xml :) or Google: set java path Edited October 30, 2012 by bokauk Link to comment Share on other sites More sharing options...
nobody4422 Posted October 30, 2012 Share Posted October 30, 2012 Thanks that did the trick. For anyone else in the future with this same error you have to modify both PATH and CLASSPATH to point to jre7\bin and jre7\lib respectively Link to comment Share on other sites More sharing options...
goemonchan Posted November 1, 2012 Share Posted November 1, 2012 (edited) Hi I have a problem running XSHAPE.bat file. A window pops up conatining the msg "No Files Found" I set up the PATH and CLASSPATH to pointing at \bin and \lib directories, respectively. I placed all the files in the correct folders. I'm trying again and again but I'm still not able to figure it out what is the cause of such error. The XCOM exe file seems to be modified but when I run it I got a ctd just after the XCom logo appears. THis is the msg I got setting verbose in the batch file xcomgame.upk Found 28419584 bytes in Binaries\Win32\XComGame.exeStarting at byte number: 0Buffer size: 28419584 xcomgame.upk entry found at: 26415212Found Hash.: 02 87 BE 4E 6B 98 AB ED C7 FE 6C 61 7F F9 DC 9F 07 92 C3 23Actual Hash: 68 A3 89 D8 48 AD ED 95 AA 74 3E C0 94 19 E0 0C 8D EB BA 08xcomgame.upk SHA hash updated.1 SHA hash(es) updated. Installation done!If you don't see any errors here, then everything went well. Probably.Premere un tasto per continuare . . . Thanks for yr help!!! PS: this is the content of the log file: 13:3:5 Startup13:3:5 steampath c:/program files (x86)/steam13:3:5 steampath c:/program files (x86)/steam13:3:5 checkcp return false13:3:5 steampath c:/program files (x86)/steam13:3:5 steampath c:/program files (x86)/steam13:3:7 File not found13:3:7 steampath c:/program files (x86)/steam13:3:7 steampath c:/program files (x86)/steam13:3:7 File not found13:3:7 path vars org: no way no way13:3:7 steampath c:/program files (x86)/steam13:3:7 steampath c:/program files (x86)/steam13:3:7 File not found13:3:7 updateres var: no way13:3:7 getmodfile: .\Binaries\Win32\DefaultGameCore.mod13:3:7 done Edited November 1, 2012 by goemonchan Link to comment Share on other sites More sharing options...
Daemonjax Posted November 1, 2012 Author Share Posted November 1, 2012 (edited) It seems your tool has been out for a while now and I'm wondering why no one released any mods using it? Well, all this does is patch the exe to load modified upk files. What you're talking about is a mod installation program, which I am currently working on here: http://forums.nexusmods.com/index.php?/topic/811448-mod-distributionautomation-program/ Thanks that did the trick. For anyone else in the future with this same error you have to modify both PATH and CLASSPATH to point to jre7\bin and jre7\lib respectively The installation of java 7 over 6 should automatically update your environment variables. If not, well, that's something you have to take up with Oracle. I know Sun's installer had issues with that, but Oracle installer of Java 7 has been smart enough for me. It's cool you found a fix, though. ...popup... <STUFF> That output from XSHAPE looks correct. What were you expecting to see? The popup you're getting has nothing to do with XSHAPE, and I don't know what's doing it. Edited November 1, 2012 by Daemonjax Link to comment Share on other sites More sharing options...
BlackAlpha Posted November 1, 2012 Share Posted November 1, 2012 That output from XSHAPE looks correct. What were you expecting to see? The popup you're getting has nothing to do with XSHAPE, and I don't know what's doing it. Nevermind that. The issue has been resolved. Link to comment Share on other sites More sharing options...
BlackAlpha Posted November 2, 2012 Share Posted November 2, 2012 (edited) XCOM SHA Patcher for Executable (XSHAPE) v0.13b ERROR(5) USAGE: java -jar XSHAPE.jar -<verbose> <starting byte> More information: http://code.google.com/p/xshape I know this error code can show up when the ".uncompressed_size" files haven't been removed. Are there other situations that could result in this error code? Edited November 2, 2012 by BlackAlpha Link to comment Share on other sites More sharing options...
Recommended Posts