Jump to content

XSHAPE


Daemonjax

Recommended Posts

  • Replies 129
  • Created
  • Last Reply

Top Posters In This Topic

What have you got so far that works Daemonjax? I'm still experimenting with it, but nothing simple to change with immediately apparent effects has popped up on my search.

 

 

So far I've been able to:

 

1) Reduce the delay on Overwatch/Hunkering down from 1.75 seconds to 0.25 seconds

2) Allow the changing of item build times besides just satellites

3) Fix the ratio of male/female soldiers to 1:1

 

I thought I did another that worked, but maybe not. ;)

 

About to put a new version up. There was a display problem with how I generated the human readable hashes if you've been using the -verbose switch. I padded the 0 to the wrong end, so if you wanted to search the exe by hex characters for the new hash, you'd not be able to find it. For most people it doesn't matter, it was just a display bug. The program actually functioned fine.

Edited by Daemonjax
Link to comment
Share on other sites

I don't know why but xshape always tell me that no changes are needed to be made no matter how i change the upk, and of course the exe crash

 

Modifying them by hand is a pain so:

 

1) Decompress original XComGame.upk

2) Find what to change in UE

3) Unpack upk

4) Modify the value via Hex edit

5) Repack upk

6) Check modified value with UE, all ok

7) Delete XComGame.upk.uncompressed_size, Replace XComGame.upk

8) Run xshape, tell me "no changes needed to be made"

9) Run exe, crash

 

I have used the original XComGame.upk uncompressed file without modification and everithing work fine....

 

What the hell i am doing wrong? Also i have used the procedure step by step in another post for changing Overwatch sleep value, same result, xshape dosen't change anything....

Link to comment
Share on other sites

Can you add the -v switch to xshape.jar in the batch file, and cut and paste the verbose output here? It may give us a clue.

 

@echo off
java -jar XSHAPE.jar -v 26444500
pause

I'd like to see the expected vs actual hash values.

 

I'm very curious, and I'm sure we'll get this straightened out :D

 

Did you modify the config file?

 

The default should work for you...

core.upk
xcomgame.upk
xcomstrategygame.upk

 

If you removed the line for xcomgame.upk, then it won't check that file at all. If that's not it, I'll need to see the verbose output.

Edited by Daemonjax
Link to comment
Share on other sites

Thanks for the quick answer, here is the xshape response:

 

xcomgame.upk

 

Found 28419584 bytes in Binaries\Win32\XComGame.exe

 

Starting at byte number: 26444500

 

No changes needed to be made.

 

 

Obviously the exe crash :wallbash:

 

I have left the default config as mentioned in your post

 

Is my pc turning on me? Is my 8 core cpu finally starting a revolt? :blink:

Link to comment
Share on other sites

Try changing 26444500 to 0 in the batch file.

 

It's acting like it's not finding the filenames in the exe... setting it to start at 0 will search the entire file.

 

Also, copy paste to here the contents of your \Documents\My Games\XCOM - Enemy Unknown\XComGame\Logs\Launch.log file.

 

 

Here's what yours should look like, even if no changes need to be made:

 

XCOM SHA Patcher for Executable (XSHAPE) v0.11b

xcomgame.upk
xcomstrategygame.upk

Found 28433408 bytes in Binaries\Win32\XComGame.exe
Starting at byte number: 26444500


xcomgame.upk entry found at: 26444932
Found Hash.: B8 2A 4C D3 E8 7B 7A 54 1A 41 51 E4 68 D4 8F 8D A7 20 DB 22
Actual Hash: B8 2A 4C D3 E8 7B 7A 54 1A 41 51 E4 68 D4 8F 8D A7 20 DB 22

xcomstrategygame.upk entry found at: 26444965
Found Hash.: 24 53 5F 9E 9D 21 95 14 79 9B 0F CA 6F B8 89 87 2E 16 53 B3
Actual Hash: 24 53 5F 9E 9D 21 95 14 79 9B 0F CA 6F B8 89 87 2E 16 53 B3

No changes needed to be made.

 

Obviously the hashes will be different from yours, but the point is it found and compared the ones in the exe to the ones in my folder.

 

It isn't doing that for you. Which is... weird. ;)

 

I chose 26444500 because I figured it would work for everyone, and would save some time for people with slow systems... but, 0 should probably work too. I say probably because the search algorithm isn't entirely complete :D hehe. That's why it's beta.

 

Trying to replicate your output... I was able to do it by changing the starting byte to be very near the end of the file:

 

XCOM SHA Patcher for Executable (XSHAPE) v0.11b

xcomgame.upk
xcomstrategygame.upk

Found 28433408 bytes in Binaries\Win32\XComGame.exe
Starting at byte number: 28433400


No changes needed to be made.

 

So, change yours to 0 and see what happens. :D

 

If that works, then your exe must be VERY different from mine. Why is that?

 

Found 28419584 bytes in Binaries\Win32\XComGame.exe

 

Your exe is much smaller than mine! Haha. How?

 

Don't answer that :D

 

I know.

 

Umm... I think 28405760 would work for you. If not, try a smaller number or 0.

Edited by Daemonjax
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...