Page 1 of 1

ZT Creator Patcher

Posted: Thu Jul 09, 2020 4:44 pm
by JeremyaFr
Hello,

Zt Creator and Zt Patcher are tools to create and apply a patch to a file.
Zt Blank is a tool to create a patch for a specific craft.

Download link:
ZtCreatorPatcher

You can also download this tool via XwaToolsDownloader.

Re: ZT Creator Patcher

Posted: Thu Jul 09, 2020 6:06 pm
by marcop000
Hi JeremyaFr,

This is a generic patcher ? or is XWA patcher only ?

Re: ZT Creator Patcher

Posted: Thu Jul 09, 2020 6:15 pm
by JeremyaFr
Hello,
Currently, Zt Creator and Zt Patcher are generic and can work for any target file.
Zt Blank is an XWA only tool.

Re: ZT Creator Patcher

Posted: Thu Jul 09, 2020 6:27 pm
by marcop000
Thank you for your response jeremy.

To be honest in this moment I seaching for a generic patcher.

Please let me known if you patcher can be good for what I need:

In short I searching for a tool (patcher) that accept as input:

- The game exe to patch (ex. xwing vs tie fighter).
- An external Dll that contain a generic function to execute.
- the offset point inside the exe where execute the DLL function.

do you think is possible do it ?

Thanks at advance !

Re: ZT Creator Patcher

Posted: Thu Jul 09, 2020 6:49 pm
by JeremyaFr
It seems that what you need is more a hook system rather than only apatcher.

Mine hooks are XWA only.
But the hook system has been ported to the older games.

You can take a look to xwa_xvt_tie_xw_hooks

Re: ZT Creator Patcher

Posted: Thu Jul 09, 2020 6:57 pm
by marcop000
Hi Jeremy,

You have right , I serching for a generic hook system, I see you have done many specific xwa hook system.

For my opinion can be very usefull if is possible do a generic hook system, that actually I don't see in your repository.

For example a hook system that execute a function to an external dll at a specifc offset position. Ex:

When a ship fire a gun, execute this function on this dll.

Re: ZT Creator Patcher

Posted: Fri Jul 10, 2020 2:59 pm
by JeremyaFr
UPDATE

Hello,
I've updated ZtPatcher.

In the content tab, next to the patch offsets, there is now the exe section, with the table index and entry offset.

Re: ZT Creator Patcher

Posted: Fri Jul 10, 2020 5:50 pm
by marcop000
Hi Jeremy,

Many many thanks !!

I have a question about, follow the screenshot (IDA) of the entry offset that I like to do the dll call:

if my function have a paramater like this psoudo code

Code: Select all

int __cdecl sub_43AC70(char *a1, int a2)
{
  call my_function(a1) from mylibrary.dll <-------------------------- my call --------------->

  int i; // [esp+0h] [ebp-4h]

  for ( i = sub_43BC50(); i; i = *(_DWORD *)i )
  {
    if ( *(_DWORD *)(i + 88) == a2 && (!a1 || !stricmp((const char *)(i + 4), a1)) )
      return i;
  }
  return 0;
there is a way to do it ?