PDA

View Full Version : Network game problems with saturn's patches



GFRay
02-04-19, 09:43 PM
Okay so here's the deal.

To play network games you need to set your CM .exe to Windows 95 compatibility (when you're on Windows 10) or Windows 4.0/NT compatibility (when you're on Windows 7) to be able to create network games. Up until saturn patch v5 that was no problem and I've played many games on those patches.

But with the release of the v6 patch it was no longer possible to create a network game. With my Win 95 compatibility the game would crash and on Windows XP (SP2 or SP3) the network game could not be created. Since there was no time to sort this out, I let it be but I was sad that I couldn't play network games anymore on the best patch since Tapani's.

So for the v7 I decided to make a thread where I (and others) can do testing to help saturn find the problem and hopefully fix it! :ok:

GFRay
02-04-19, 09:46 PM
Saturn, I tested with the .exe you created for me tonight. Settings were Windows 95 compatibility and run as admin.

Game crashed at the start of the "Creating shortlists" phase.

So I ran it again, but this time through Olly. Game crashed again, but here's the Olly screenshot of where it went wrong:


https://i.postimg.cc/SNWt7cr3/Olly-crash-v7.png (https://postimg.cc/BXngJLRB)


Hopefully this can give you some pointers. :ok:

saturn
02-04-19, 09:56 PM
Interesting, I think somebody reported something similar when they were trying to create a single player game on Windows Vista.

Try changing JLE SHORT 0083A237 to JMP SHORT 0083A237 in Olly (skips the Creating Shortlist part of a new game).

GFRay
02-04-19, 10:00 PM
Interesting, I think somebody reported something similar when they were trying to create a single player game on Windows Vista.

Try changing JLE SHORT 0083A237 to JMP SHORT 0083A237 in Olly (skips the Creating Shortlist part of a new game).

I can't find the JLE SHORT on offset 0083A237.


https://i.postimg.cc/fLfJf2Vk/Olly-crash-v7-1.png (https://postimages.org/)

saturn
02-04-19, 10:17 PM
Sorry, I never even gave you the address for the line:
At 0083A1D5 try changing JLE SHORT 0083A237 to JMP SHORT 0083A237.

GFRay
02-04-19, 10:39 PM
Sorry, I never even gave you the address for the line:
At 0083A1D5 try changing JLE SHORT 0083A237 to JMP SHORT 0083A237.

It now crashes at the end of the Creating shortlists phase:


https://i.postimg.cc/Vv7Tnw1g/Olly-crash-v7-2.png (https://postimg.cc/y3ZvCwD3)

saturn
02-04-19, 11:31 PM
A few last attempts for tonight (try one at a time):
1. Try not selecting Spain if you are selecting it.
2. Try deleting everything after the last Preset Tactics line in the player_setup.cfg file.
3. At 008CED79 in Olly, try changing JE 008CEE5A to JMP 008CEE5A.

GFRay
02-04-19, 11:52 PM
A few last attempts for tonight (try one at a time):
1. Try not selecting Spain if you are selecting it.

Crashed at same point, after creating shortlists


https://i.postimg.cc/3xS3ZMrk/Olly-crash-v7-3.png (https://postimg.cc/xXmr04zQ)



2. Try deleting everything after the last Preset Tactics line in the player_setup.cfg file.

Crashed after creating shortlists, but it got stuck on 'creating network game' at the end.


https://i.postimg.cc/SKnkTZjD/Olly-crash-v7-4.png (https://postimg.cc/5HWhjSBC)



3. At 008CED79 in Olly, try changing JE 008CEE5A to JMP 008CEE5A.

Crashed after creating shortlists.


https://i.postimg.cc/3w0QCdbq/Olly-crash-v7-5.png (https://postimg.cc/R3mYvVm1)

saturn
03-04-19, 12:45 AM
Thanks for the help GFRay. From your instructions in post#1 I was able to recreate the problem on my end (I had never heard of using Windows 4.0 compatibility to create Network Games before).

I went back to a v5 install and began adding the new .patches introduced in v6 one by one. It turns out it's the removal of the French Joker Window patch that is the problem patch. Could you try doing the following changes please?

005C15EA PUSH 18 --> 24
005C15EC MOV BYTE PTR DS:[ESI+8],2 --> 3
-
005C16A9 MOV BYTE PTR DS:[EAX+4],0 --> 8
005C16C4 MOV BYTE PTR DS:[EAX+4],0 --> 0B
-
005C19C8 JMP 005C1968 --> JLE 005C1968
005C19E8 JMP 005C1968 --> JLE 005C1968
-
005C1A96 CMP BYTE PTR DS:[ESI+1],2 --> 1
-
005C1BEE JNZ 005C1BF0 --> JNZ 005C1C25
005C1C5A PUSH 0098A148 --> PUSH 009CCF60
005C1C6E JNZ 005C1C70 --> JNZ 005C1CA3
005C1C9C PUSH 009CCE90 --> PUSH 009CCEE0
005C1D39 JNZ 005C1D3B --> JNZ 005C1D6E
005C1D67 PUSH 009CCDE0 --> PUSH 009CCE30
005C1E03 JNZ 005C1E05 --> JNZ 005C1E37
005C1E30 PUSH 009CCD2C --> PUSH 009CCD80

I can create Network Games on a v7 exe with the above changes and with Windows 4.0 compatibility on. I'm hopeful that this might solve the single player issue for Windows Vista users too.

GFRay
03-04-19, 07:11 AM
Thanks for the help GFRay. From your instructions in post#1 I was able to recreate the problem on my end (I had never heard of using Windows 4.0 compatibility to create Network Games before).

I went back to a v5 install and began adding the new .patches introduced in v6 one by one. It turns out it's the removal of the French Joker Window patch that is the problem patch. Could you try doing the following changes please?

005C15EA PUSH 18 --> 24
005C15EC MOV BYTE PTR DS:[ESI+8],2 --> 3
-
005C16A9 MOV BYTE PTR DS:[EAX+4],0 --> 8
005C16C4 MOV BYTE PTR DS:[EAX+4],0 --> 0B
-
005C19C8 JMP 005C1968 --> JLE 005C1968
005C19E8 JMP 005C1968 --> JLE 005C1968
-
005C1A96 CMP BYTE PTR DS:[ESI+1],2 --> 1
-
005C1BEE JNZ 005C1BF0 --> JNZ 005C1C25
005C1C5A PUSH 0098A148 --> PUSH 009CCF60
005C1C6E JNZ 005C1C70 --> JNZ 005C1CA3
005C1C9C PUSH 009CCE90 --> PUSH 009CCEE0
005C1D39 JNZ 005C1D3B --> JNZ 005C1D6E
005C1D67 PUSH 009CCDE0 --> PUSH 009CCE30
005C1E03 JNZ 005C1E05 --> JNZ 005C1E37
005C1E30 PUSH 009CCD2C --> PUSH 009CCD80

I can create Network Games on a v7 exe with the above changes and with Windows 4.0 compatibility on. I'm hopeful that this might solve the single player issue for Windows Vista users too.

I will try this tonight, but the Windows 4.0 compatibility was only selectable for Windows 7 and below. I'm on Windows 10 where Windows 4.0 is removed as selectable compatibility and thus I use Windows 95 compatibility.

But I will try it nonetheless! :ok:

saturn
03-04-19, 08:41 AM
Well, I'm hopeful that the fix will still be the same regardless of whether you run Windows 7 or 10 (or Vista) and their respective compatibility modes.

jacobclear
03-04-19, 12:16 PM
Yeah, I'm all in on a 7.01 as I'm on Vista so I'll keep posted

GFRay
03-04-19, 05:58 PM
Thanks for the help GFRay. From your instructions in post#1 I was able to recreate the problem on my end (I had never heard of using Windows 4.0 compatibility to create Network Games before).

I went back to a v5 install and began adding the new .patches introduced in v6 one by one. It turns out it's the removal of the French Joker Window patch that is the problem patch. Could you try doing the following changes please?

005C15EA PUSH 18 --> 24
005C15EC MOV BYTE PTR DS:[ESI+8],2 --> 3
-
005C16A9 MOV BYTE PTR DS:[EAX+4],0 --> 8
005C16C4 MOV BYTE PTR DS:[EAX+4],0 --> 0B
-
005C19C8 JMP 005C1968 --> JLE 005C1968
005C19E8 JMP 005C1968 --> JLE 005C1968
-
005C1A96 CMP BYTE PTR DS:[ESI+1],2 --> 1
-
005C1BEE JNZ 005C1BF0 --> JNZ 005C1C25
005C1C5A PUSH 0098A148 --> PUSH 009CCF60
005C1C6E JNZ 005C1C70 --> JNZ 005C1CA3
005C1C9C PUSH 009CCE90 --> PUSH 009CCEE0
005C1D39 JNZ 005C1D3B --> JNZ 005C1D6E
005C1D67 PUSH 009CCDE0 --> PUSH 009CCE30
005C1E03 JNZ 005C1E05 --> JNZ 005C1E37
005C1E30 PUSH 009CCD2C --> PUSH 009CCD80

I can create Network Games on a v7 exe with the above changes and with Windows 4.0 compatibility on. I'm hopeful that this might solve the single player issue for Windows Vista users too.

Testing... and it worked!!!

I changed all the offsets you mentioned and even on Win 10 with Win 95 compatibility the game got created!!!

You are a freaking legend mate. Thank you very much for saving my beloved network gaming with your amazing patches! :hail:

jacobclear
03-04-19, 08:51 PM
Great work Ray, Saturn.

I am most excited about playing a network game this weekend on this wonderful patch, so hats off to the both of you for making this right.

The people at SI are getting VERY jealous of your skills lads, I can tell without looking :eyebrows: