VOGONS


Replacing DOS/4GW with DOS32A

Topic actions

Reply 20 of 23, by sharangad

User metadata
Rank l33t
Rank
l33t

Doesn't work. There is an LE signature but it's not at offset 0x3C in the BW header:

C:\DOS\CR\CART. EXE
File size is 1247899
Exec 1
Signature: MZ
startVal as char
HeaderVal[0x18] : 0000001E, start val[0x3C]: 09B40000
Exec 2 is BW
HeaderVal[0x18] : 08183FFF, start val[0x3C]: 00009200
LE Signature missing

The LE signature occurs after a bunch of DOS4GW string later on.

[EDIT] I think I messed up the code translation.
[EDIT2] Nope, the exe defies analysis.

Developer of RReady - Rendition Verité Wrapper.
https://www.youtube.com/@sharangadayananda

Reply 21 of 23, by M-HT

User metadata
Rank Member
Rank
Member

Let's try more details.
In order to replace DOS/4GW from Indycar Racing 2 with Dos32A, first manually unbind the linear executable.
That means, make a copy of the original executable and remove first 0x28C9C (167068) bytes from the copy. The new file should begin with LE header.
Then bind Dos32A to the new file using "sb /b" or "sb /bs".

Reply 22 of 23, by sharangad

User metadata
Rank l33t
Rank
l33t
M-HT wrote on 2025-03-07, 15:46:
Let's try more details. In order to replace DOS/4GW from Indycar Racing 2 with Dos32A, first manually unbind the linear executab […]
Show full quote

Let's try more details.
In order to replace DOS/4GW from Indycar Racing 2 with Dos32A, first manually unbind the linear executable.
That means, make a copy of the original executable and remove first 0x28C9C (167068) bytes from the copy. The new file should begin with LE header.
Then bind Dos32A to the new file using "sb /b" or "sb /bs".

OK that makes sense.

Developer of RReady - Rendition Verité Wrapper.
https://www.youtube.com/@sharangadayananda

Reply 23 of 23, by sharangad

User metadata
Rank l33t
Rank
l33t
sharangad wrote on 2025-03-07, 15:57:
M-HT wrote on 2025-03-07, 15:46:
Let's try more details. In order to replace DOS/4GW from Indycar Racing 2 with Dos32A, first manually unbind the linear executab […]
Show full quote

Let's try more details.
In order to replace DOS/4GW from Indycar Racing 2 with Dos32A, first manually unbind the linear executable.
That means, make a copy of the original executable and remove first 0x28C9C (167068) bytes from the copy. The new file should begin with LE header.
Then bind Dos32A to the new file using "sb /b" or "sb /bs".

OK that makes sense.

That worked! Thanks!

Developer of RReady - Rendition Verité Wrapper.
https://www.youtube.com/@sharangadayananda