Joker's patch and the "All in One" installer

You can talk about anything. (please read forum rules before posting)

Moderator: thunderchero

Post Reply
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7934
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Joker's patch and the "All in One" installer

Post by thunderchero »

Hi Everyone,

I was doing some testing with new version of DxWnd, Using previous setting most versions/mods would not even load.

It took a lot of comparison before I realized the mods that were working did not use jokers patched trek.exe. :shock:

So, this makes me wonder if Joker's patch is helping any more or needed?, and is it hurting when using DxWnd?

My problem is I never understood what the code changes jokers patch made to the trek.exe to make it playable on XP sp3

Jokers patch edits 3 areas of the trek.exe
1. at 0x0000007c changes were made replacing section names with "[Tbc]"
2. at 0x00172a78 section filled with 00 00 00 (this was causing crash on DxWnd)
3. at 0x001730e0 the "dll"s use all caps (not all mods had this code change)

any technical reasons for changes?

here is a patch to remove jokers patch just copy to text document and save as remove_joker.patch to patch folder

Code: Select all

NAME: remove joker patch
AUTHOR: thunderchero


>> 0x0000007c 63 91 3f 50
>> 0x00000178 5b 54 62 63 5d
>> 0x000001a0 5b 54 62 63 5d 00
>> 0x000001c8 5b 54 62 63 5d 00
>> 0x000001f0 5b 54 62 63 5d
>> 0x00000218 5b 54 62 63 5d 00
>> 0x00000240 5b 54 62 63 5d
>> 0x000003d4 42 6f 47 5f 20 2a 39 30 2e 30 26 21 21 20 20 59 79 3e
>> 0x000003f4 01
>> 0x000003f8 0b
>> 0x00172a78 00 00 00
>> 0x00172a8c 00 00 00
>> 0x00172b80 00 00 00
>> 0x00172b84 00 00 00
>> 0x00172b88 00 00 00
>> 0x00172b8c 00 00 00
>> 0x00172b90 00 00 00
>> 0x00172b94 00 00 00
>> 0x00172b99 00 00
>> 0x00172b9c 00 00 00
>> 0x00172ba0 00 00 00
>> 0x00172ba4 00 00 00
>> 0x00172ba8 00 00 00
>> 0x00172bac 00 00 00
>> 0x00172bb0 00 00 00
>> 0x00172bb4 00 00 00
>> 0x00172bb8 00 00 00
>> 0x00172bbc 00 00 00
>> 0x00172bc0 00 00 00
>> 0x00172bc4 00 00 00
>> 0x00172bc8 00 00 00
>> 0x00172bcc 00 00 00
>> 0x00172bd0 00 00 00
>> 0x00172bd4 00 00 00
>> 0x00172bd8 00 00 00
>> 0x00172bdc 00 00 00
>> 0x00172be0 00 00 00
>> 0x00172be4 00 00 00
>> 0x00172be8 00 00 00
>> 0x00172bec 00 00 00
>> 0x00172bf0 00 00 00
>> 0x00172bf4 00 00 00
>> 0x00172bf8 00 00 00
>> 0x00172bfc 00 00 00
>> 0x00172c00 00 00 00
>> 0x00172c04 00 00 00
>> 0x00172c08 00 00 00
>> 0x00172c0c 00 00 00
>> 0x00172c10 00 00 00
>> 0x00172c14 00 00 00
>> 0x00172c18 00 00 00
>> 0x00172c1c 00 00 00
>> 0x00172c20 00 00 00
>> 0x00172c24 00 00 00
>> 0x00172c28 00 00 00
>> 0x00172c2c 00 00 00
>> 0x00172c30 00 00 00
>> 0x00172c34 00 00 00
>> 0x00172c38 00 00 00
>> 0x00172c3c 00 00 00
>> 0x00172c40 00 00 00
>> 0x00172c44 00 00 00
>> 0x00172c48 00 00 00
>> 0x00172c4c 00 00 00
>> 0x00172c50 00 00 00
>> 0x00172c54 00 00 00
>> 0x00172c58 00 00 00
>> 0x00172c5c 00 00 00
>> 0x00172c60 00 00 00
>> 0x00172c64 00 00 00
>> 0x00172c68 00 00 00
>> 0x00172c6c 00 00 00
>> 0x00172c70 00 00 00
>> 0x00172c74 00 00 00
>> 0x00172c78 00 00 00
>> 0x00172c7c 00 00 00
>> 0x00172c80 00 00 00
>> 0x00172c84 00 00 00
>> 0x00172c88 00 00 00
>> 0x00172c8c 00 00 00
>> 0x00172c90 00 00 00
>> 0x00172c94 00 00 00
>> 0x00172c98 00 00 00
>> 0x00172c9c 00 00 00
>> 0x00172ca0 00 00 00
>> 0x00172ca4 00 00 00
>> 0x00172ca8 00 00 00
>> 0x00172cad 00 00
>> 0x00172cb0 00 00 00
>> 0x00172cb4 00 00 00
>> 0x00172cb8 00 00 00
>> 0x00172cbc 00 00 00
>> 0x00172cc0 00 00 00
>> 0x00172cc8 00 00 00
>> 0x00172ccc 00 00 00
>> 0x00172cd0 00 00 00
>> 0x00172cd4 00 00 00
>> 0x00172cd8 00 00 00
>> 0x00172cdc 00 00 00
>> 0x00172ce0 00 00 00
>> 0x00172ce4 00 00 00
>> 0x00172ce8 00 00 00
>> 0x00172cec 00 00 00
>> 0x00172cf0 00 00 00
>> 0x00172cf4 00 00 00
>> 0x00172cf8 00 00 00
>> 0x00172cfc 00 00 00
>> 0x00172d00 00 00 00
>> 0x00172d04 00 00 00
>> 0x00172d08 00 00 00
>> 0x00172d0c 00 00 00
>> 0x00172d10 00 00 00
>> 0x00172d14 00 00 00
>> 0x00172d18 00 00 00
>> 0x00172d1c 00 00 00
>> 0x00172d20 00 00 00
>> 0x00172d24 00 00 00
>> 0x00172d28 00 00 00
>> 0x00172d2c 00 00 00
>> 0x00172d30 00 00 00
>> 0x00172d34 00 00 00
>> 0x00172d38 00 00 00
>> 0x00172d3c 00 00 00
>> 0x00172d40 00 00 00
>> 0x00172d44 00 00 00
>> 0x00172d48 00 00 00
>> 0x001730e0 4f 4c 45
>> 0x001730e6 44 4c 4c
>> 0x001730f1 44 4c 4c
>> 0x001730fb 44 4c 4c
>> 0x001730ff 4d 53 53
>> 0x00173105 44 4c 4c
>> 0x00173112 44 4c 4c
>> 0x0017311e 44 4c 4c
>> 0x0017312b 44 4c 4c
>> 0x00173136 44 4c 4c
>> 0x0017313a 4d 50 52
>> 0x00173140 44 4c 4c



<< 0x0000007c 00 00 00 00
<< 0x00000178 41 55 54 4f 00
<< 0x000001a0 2e 69 64 61 74 61
<< 0x000001c8 44 47 52 4f 55 50
<< 0x000001f0 2e 62 73 73 00
<< 0x00000218 2e 72 65 6c 6f 63
<< 0x00000240 2e 72 73 72 63
<< 0x000003d4 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
<< 0x000003f4 00
<< 0x000003f8 00
<< 0x00172a78 80 41 17
<< 0x00172a8c c8 42 17
<< 0x00172b80 9a 4a 17
<< 0x00172b84 a8 4a 17
<< 0x00172b88 b8 4a 17
<< 0x00172b8c c6 4a 17
<< 0x00172b90 d8 4a 17
<< 0x00172b94 e8 4a 17
<< 0x00172b99 4b 17
<< 0x00172b9c 0e 4b 17
<< 0x00172ba0 26 4b 17
<< 0x00172ba4 3e 4b 17
<< 0x00172ba8 4c 4b 17
<< 0x00172bac 5a 4b 17
<< 0x00172bb0 72 4b 17
<< 0x00172bb4 8c 4b 17
<< 0x00172bb8 a4 4b 17
<< 0x00172bbc b0 4b 17
<< 0x00172bc0 c2 4b 17
<< 0x00172bc4 d2 4b 17
<< 0x00172bc8 e6 4b 17
<< 0x00172bcc f0 4b 17
<< 0x00172bd0 fc 4b 17
<< 0x00172bd4 0e 4c 17
<< 0x00172bd8 20 4c 17
<< 0x00172bdc 32 4c 17
<< 0x00172be0 4a 4c 17
<< 0x00172be4 60 4c 17
<< 0x00172be8 76 4c 17
<< 0x00172bec 8a 4c 17
<< 0x00172bf0 9a 4c 17
<< 0x00172bf4 b2 4c 17
<< 0x00172bf8 c8 4c 17
<< 0x00172bfc d6 4c 17
<< 0x00172c00 ea 4c 17
<< 0x00172c04 fa 4c 17
<< 0x00172c08 0a 4d 17
<< 0x00172c0c 20 4d 17
<< 0x00172c10 36 4d 17
<< 0x00172c14 4a 4d 17
<< 0x00172c18 56 4d 17
<< 0x00172c1c 68 4d 17
<< 0x00172c20 78 4d 17
<< 0x00172c24 92 4d 17
<< 0x00172c28 a0 4d 17
<< 0x00172c2c b6 4d 17
<< 0x00172c30 d2 4d 17
<< 0x00172c34 e2 4d 17
<< 0x00172c38 f2 4d 17
<< 0x00172c3c 02 4e 17
<< 0x00172c40 1a 4e 17
<< 0x00172c44 2a 4e 17
<< 0x00172c48 44 4e 17
<< 0x00172c4c 50 4e 17
<< 0x00172c50 66 4e 17
<< 0x00172c54 7a 4e 17
<< 0x00172c58 86 4e 17
<< 0x00172c5c 96 4e 17
<< 0x00172c60 ae 4e 17
<< 0x00172c64 c0 4e 17
<< 0x00172c68 d8 4e 17
<< 0x00172c6c f2 4e 17
<< 0x00172c70 0c 4f 17
<< 0x00172c74 18 4f 17
<< 0x00172c78 2a 4f 17
<< 0x00172c7c 3a 4f 17
<< 0x00172c80 4a 4f 17
<< 0x00172c84 5e 4f 17
<< 0x00172c88 7c 4f 17
<< 0x00172c8c 84 4f 17
<< 0x00172c90 94 4f 17
<< 0x00172c94 a0 4f 17
<< 0x00172c98 aa 4f 17
<< 0x00172c9c b8 4f 17
<< 0x00172ca0 c6 4f 17
<< 0x00172ca4 e2 4f 17
<< 0x00172ca8 f2 4f 17
<< 0x00172cad 50 17
<< 0x00172cb0 0e 50 17
<< 0x00172cb4 1e 50 17
<< 0x00172cb8 34 50 17
<< 0x00172cbc 4a 50 17
<< 0x00172cc0 5a 50 17
<< 0x00172cc8 66 50 17
<< 0x00172ccc 74 50 17
<< 0x00172cd0 88 50 17
<< 0x00172cd4 9a 50 17
<< 0x00172cd8 ac 50 17
<< 0x00172cdc be 50 17
<< 0x00172ce0 ce 50 17
<< 0x00172ce4 e2 50 17
<< 0x00172ce8 ee 50 17
<< 0x00172cec fc 50 17
<< 0x00172cf0 0a 51 17
<< 0x00172cf4 1e 51 17
<< 0x00172cf8 2e 51 17
<< 0x00172cfc 44 51 17
<< 0x00172d00 52 51 17
<< 0x00172d04 66 51 17
<< 0x00172d08 72 51 17
<< 0x00172d0c 80 51 17
<< 0x00172d10 8c 51 17
<< 0x00172d14 9a 51 17
<< 0x00172d18 a8 51 17
<< 0x00172d1c b6 51 17
<< 0x00172d20 c6 51 17
<< 0x00172d24 d6 51 17
<< 0x00172d28 e8 51 17
<< 0x00172d2c fa 51 17
<< 0x00172d30 14 52 17
<< 0x00172d34 24 52 17
<< 0x00172d38 34 52 17
<< 0x00172d3c 40 52 17
<< 0x00172d40 4e 52 17
<< 0x00172d44 5c 52 17
<< 0x00172d48 70 52 17
<< 0x001730e0 6f 6c 65
<< 0x001730e6 64 6c 6c
<< 0x001730f1 64 6c 6c
<< 0x001730fb 64 6c 6c
<< 0x001730ff 6d 73 73
<< 0x00173105 64 6c 6c
<< 0x00173112 64 6c 6c
<< 0x0017311e 64 6c 6c
<< 0x0017312b 64 6c 6c
<< 0x00173136 64 6c 6c
<< 0x0017313a 6d 70 72
<< 0x00173140 64 6c 6c
note; some mods may show red in Qd patcher, this is due to they use lower case in 3rd section.

I have already created RC5 and started testing with Jokers patch removed and newer version of DxWnd and I have had no issues at all.

thunderchero
User avatar
Flocke
BORG Trouble Maker
BORG Trouble Maker
Posts: 3246
Joined: Sun Apr 27, 2008 2:00 am
Location: Hamburg, Germany
Contact:

Re: Joker's patch and the "All in One" installer

Post by Flocke »

if I remember correct, the zeros change some window or cursor flags, check ida and the windows api
[Tbc] I think is some leftover from the no-cd crack and just some useless signature of the author
changing dlls to caps should not have any effect at all since windows doesn't care and the actual dll files are lower case or mixed

HTH
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7934
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Re: Joker's patch and the "All in One" installer

Post by thunderchero »

this is what interests me the most
Flocke wrote:if I remember correct, the zeros change some window or cursor flags, check ida and the windows api
0x00172a78 does not convert to botf assembly offset (out of range) and can not find the sequence of bytes in ida database. :mad:

I would really like more info on jokers changes from this area.
Flocke wrote:[Tbc] I think is some leftover from the no-cd crack and just some useless signature of the author
changing dlls to caps should not have any effect at all since windows doesn't care and the actual dll files are lower case or mixed
That is exactly my thoughts also. strange thing though jokers patched exe was not "no-cd" patched
User avatar
cleverwise
Captain
Captain
Posts: 608
Joined: Sun Jul 28, 2013 3:09 pm
Location: 127.0.0.1

Re: Joker's patch and the "All in One" installer

Post by cleverwise »

TC: I was wondering if there is a way to show the coordinates of system when viewing the build screen? As empires grow it gets harder and harder to remember where systems are located.

Thus it would be very helpful when viewing a system's main screen to have a grid location shown some where. For example you might want to build new ships near your front lines or deep in your empire. When you have 60, 80, 100, etc systems you scroll around the screen like an animal going where the heck is xyz!

Thanks.
Hailing frequencies close,

Jeremy
Whether you rise or fall depends on... you!
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7934
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Re: Joker's patch and the "All in One" installer

Post by thunderchero »

who are you? what did you do with cleverwise?

A little off topic but,
cleverwise wrote:I was wondering if there is a way to show the coordinates of system when viewing the build screen?
no, best way would be to zoom in on the area on map you want to build. When double clicking on a system on map it will bring up that systems build screen.

sorry that is best solution I got.
User avatar
cleverwise
Captain
Captain
Posts: 608
Joined: Sun Jul 28, 2013 3:09 pm
Location: 127.0.0.1

Re: Joker's patch and the "All in One" installer

Post by cleverwise »

Well obviously this data is stored somewhere. To bad it can't be picked up and added to a screen on the system view and added to new installer.

I kept asking CW how many lights and he wouldn't say the right answer! So yeah well he has started new "training" and may or may not return.
Hailing frequencies close,

Jeremy
Whether you rise or fall depends on... you!
Post Reply

Return to “General Chat”