DonationCoder.com Forum

DonationCoder.com Software => Coding Snacks => Post New Requests Here => Topic started by: scriptkid on September 12, 2019, 12:27 AM

Title: [Request] - Windows Title Change ( Permanent )
Post by: scriptkid on September 12, 2019, 12:27 AM
Hello Coders!

This is my 1st day here in this forum and i've been seeing some good codes here so why not try to request :)

Request:

A new DLL to change the default windows title for the .exe since the developer doesn't want to remove their branding even we paid for the files and services.

Must be:
    • Permanent
    • .DLL to hook to .exe

Here's the screenshot of the default windows title that they don't want to remove

[ You are not allowed to view attachments ]

Thank you so much and if this is a paid one just let me know the price.

God bless!
   
Title: Re: [Request] - Windows Title Change ( Permanent )
Post by: publicdomain on September 20, 2019, 02:25 AM
Welcome to the forum @scriptkid, I'm in!

Please paint a bit more of the scenario to see if the best use-case is a DLL, a "launcher" program or perhaps a direct EXE change at the binary file level.



It can be accomplished via creating a single-purpose program for starting the application hidden, changing the title using the windows API, then making the windows visible.

This would be the "soft" approach and a good starting point which doesn't require anything further other than the .exe name you have there.

Let's try this first!

What's the exact .EXE file name?

Cheers!
Title: Re: [Request] - Windows Title Change ( Permanent )
Post by: KodeZwerg on September 20, 2019, 02:37 AM
"Permanent" aint a hook.... permanent = patching .exe file.
In general you can use any "WinSpy" program thats avail to change application caption, so no need to invent something new.
Title: Re: [Request] - Windows Title Change ( Permanent )
Post by: scriptkid on September 20, 2019, 06:45 AM
Welcome to the forum @scriptkid, I'm in!

Please paint a bit more of the scenario to see if the best use-case is a DLL, a "launcher" program or perhaps a direct EXE change at the binary file level.



It can be accomplished via creating a single-purpose program for starting the application hidden, changing the title using the windows API, then making the windows visible.

This would be the "soft" approach and a good starting point which doesn't require anything further other than the .exe name you have there.

Let's try this first!

What's the exact .EXE file name?

Cheers!

Can i send it here?
Title: Re: [Request] - Windows Title Change ( Permanent )
Post by: publicdomain on September 20, 2019, 07:03 AM
Can i send it here?

Wait! Please allow me to finish a window title changer generator so YOU can use it on your own...

(This way it can help the most)

Repo: https://github.com/publicdomain/title-changer-launcher-generator

Cheers!
Vic
Title: Re: [Request] - Windows Title Change ( Permanent )
Post by: scriptkid on September 20, 2019, 07:40 AM
Can i send it here?

Wait! Please allow me to finish a window title changer generator so YOU can use it on your own...

(This way it can help the most)

Repo: https://github.com/publicdomain/title-changer-launcher-generator

Cheers!
Vic

Sorry to ask since i'm not really good with coding, this will just change the tile by opening it?

Thanks!
Title: Re: [Request] - Windows Title Change ( Permanent )
Post by: publicdomain on September 20, 2019, 01:26 PM
this will just change the tile by opening it?

Yes, a new standalone "launcher.exe" is compiled/generated to be placed in the same folder as the target program.

When the user opens this launcher file, it starts the target program (hidden), monitors in a loop while it loads, then changes title bar text to whatever you configured it to be.

Once it's changed, the target program is finally made visible; this way the user never gets to see the original title message.

It should be finished during the weekend, as I've done user-initiated compilation before. No prob.

[ You are not allowed to view attachments ]
Title: Re: [Request] - Windows Title Change ( Permanent )
Post by: KodeZwerg on September 23, 2019, 06:00 AM
But this is not permant, it is for local usage / systems with your app only....
Title: Re: [Request] - Windows Title Change ( Permanent )
Post by: publicdomain on September 23, 2019, 07:49 PM
Hi there! Making the process reversible so it's taking a bit longer.

[ You are not allowed to view attachments ]

(Does make usage smoother since the user avoids file renaming by hand)

But this is not permant, it is for local usage / systems with your app only....

Correct! In this particular approach for title change, this may be a plus; since there's no messing with the target exe file, it's akin to a file-replacement job, keeping the original as a live backup :)
Title: Re: [Request] - Windows Title Change ( Permanent )
Post by: scriptkid on September 23, 2019, 07:53 PM
Hi there! Making the process reversible so it's taking a bit longer.

[ You are not allowed to view attachments ]

(Does make usage smoother since the user avoids file renaming by hand)

But this is not permant, it is for local usage / systems with your app only....

Correct! In this particular approach for title change, this may be a plus; since there's no messing with the target exe file, it's akin to a file-replacement job, keeping the original as a live backup :)

Hi thanks for doing it, but question by the way. That's only for local and not a hooking app right? like the player should click that so that they can change the title? can it be a permanent title change if thats possible?

God Bless!
Title: Re: [Request] - Windows Title Change ( Permanent )
Post by: KodeZwerg on September 24, 2019, 01:46 AM
Hi there scriptkid, there is no secure way to change an applications caption/title except by "WinSpy" things like publicdomain does.

Example:
File has crc checks inside = file would become corrupted.
File is packed (exe packer) = you cant find proper offset.

Another limitation by exe patching would be, caption/title (yes, there are two of them) new name must be same length or shorter, but never longer than original.

Sorry to kill your dream/wish for a permanent patching mechanism.
Title: Re: [Request] - Windows Title Change ( Permanent )
Post by: scriptkid on September 24, 2019, 01:51 AM
Hi there scriptkid, there is no secure way to change an applications caption/title except by "WinSpy" things like publicdomain does.

Example:
File has crc checks inside = file would become corrupted.
File is packed (exe packer) = you cant find proper offset.

Another limitation by exe patching would be, caption/title (yes, there are two of them) new name must be same length or shorter, but never longer than original.

Sorry to kill your dream/wish for a permanent patching mechanism.

Thank you,

The main.exe is not protected and secondly the provider allows us to hook a .dll so im 100% sure it's unpacked and CRC check we have control on what files to include

Cheers!
Title: Re: [Request] - Windows Title Change ( Permanent )
Post by: publicdomain on September 24, 2019, 04:48 AM
This solution can be deemed "permanent" as long as you don't revert to the original file names...

Let's give this one a try scriptkid. We can grow in complexity as the situation demands it.

We're going to accompany you all the way for achieving this; going from simpler to more complex solutions until one fits :Thmbsup:

Cheers!
Title: Re: [Request] - Windows Title Change ( Permanent )
Post by: publicdomain on September 26, 2019, 02:17 AM
UPDATE: main functionality is complete :) Only small details such as about box remain... (I'm devoting to it)

In-place allows for launchers to replace target programs in disk so start menu + other shortcuts continue to work smoothly.

It also got easier since the "previous title" field is not needed any longer.

[ You are not allowed to view attachments ]

If you want to peek at the code, MainForm.cs (https://github.com/publicdomain/title-changer-launcher-generator/blob/master/TitleChangerLauncherGenerator/MainForm.cs)

Formal release for fellow users in the making! Cheers (https://www.donationcoder.com/forum/esmileys/gen3/3Smileys/icon14.gif)
Title: Re: [Request] - Windows Title Change ( Permanent )
Post by: publicdomain on September 30, 2019, 09:58 AM
Formal release for fellow users in the making!

It's uploaded :Thmbsup:

Release: Title Changer Launcher Generator v0.1.0 (https://www.patreon.com/posts/title-changer-v0-30361573)



Usage video:



Enjoy!
Vic
Title: Re: [Request] - Windows Title Change ( Permanent )
Post by: publicdomain on March 01, 2023, 10:37 AM
BTW, there's a request to add batch processing to this program... think it'll be better to create a dedicated separate command-line or single-dialog program as it will be a more straightforward experience (currently working on it @ https://github.com/publicdomain/batch-title-changer).
Title: Re: [Request] - Windows Title Change ( Permanent )
Post by: ibay770 on May 22, 2023, 08:18 PM
Hello Coders!

This is my 1st day here in this forum and i've been seeing some good codes here so why not try to request :)

Request:

A new DLL to change the default windows title for the .exe since the developer doesn't want to remove their branding even we paid for the files and services.

Must be:
    • Permanent
    • .DLL to hook to .exe

Here's the screenshot of the default windows title that they don't want to remove

[ You are not allowed to view attachments ]

Thank you so much and if this is a paid one just let me know the price.

God bless!
   

I know a solution has been found but if you want the file patched directly, I don't mind giving it a shot.