ZT Creator Patcher

Need help editing the game? Check for help here!
Post Reply

ZT Creator Patcher

User avatar
JeremyaFr
Commander
XWAU Member
Posts: 2476
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Thu Jul 09, 2020 4:44 pm

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.

marcop000
Cadet 2nd Class
Posts: 57
Joined: Fri Dec 27, 2019 7:08 pm

Post by marcop000 » Thu Jul 09, 2020 6:06 pm

Hi JeremyaFr,

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

User avatar
JeremyaFr
Commander
XWAU Member
Posts: 2476
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Thu Jul 09, 2020 6:15 pm

Hello,
Currently, Zt Creator and Zt Patcher are generic and can work for any target file.
Zt Blank is an XWA only tool.

marcop000
Cadet 2nd Class
Posts: 57
Joined: Fri Dec 27, 2019 7:08 pm

Post by marcop000 » Thu Jul 09, 2020 6:27 pm

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 !

User avatar
JeremyaFr
Commander
XWAU Member
Posts: 2476
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Thu Jul 09, 2020 6:49 pm

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

marcop000
Cadet 2nd Class
Posts: 57
Joined: Fri Dec 27, 2019 7:08 pm

Post by marcop000 » Thu Jul 09, 2020 6:57 pm

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.

User avatar
JeremyaFr
Commander
XWAU Member
Posts: 2476
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Fri Jul 10, 2020 2:59 pm

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.

marcop000
Cadet 2nd Class
Posts: 57
Joined: Fri Dec 27, 2019 7:08 pm

Post by marcop000 » Fri Jul 10, 2020 5:50 pm

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 ?
You do not have the required permissions to view the files attached to this post.

Post Reply