Shop  •   Avatar  •   FAQ  •   Search  •   Memberlist  •   Usergroups  •   Profile  •   Log in to check private messages  •   Log in  •  Register 

Revised Program file
Post new topic   Reply to topic     Forum Index -> Customization & Modding
View previous topic :: View next topic  
Author Message
Salty Dog
Sailing Master
Posts: 10063



192187 Gold -

more...
PostPosted: Sun Jun 07, 2020 3:47 pm    Post subject: Revised Program file Reply with quote

fleetp, were you the person who came up with a revised Pirates.exe file that changed a bunch of cities to Dutch? I just tried it on my PC and it would not let me run it. Says Windows Defender is blocking it. I had to put the original program file back in to play the game.
Back to top
View user's profile Send private message Send e-mail
corsair91
Sailing Master
Posts: 10372



296929 Gold -

more...
PostPosted: Sun Jun 07, 2020 5:09 pm    Post subject: Reply with quote

you may be getting a false positive on the hex edited
program file executable

Fleetp may not be using Windows Defender but an alternate Anti-Virus
instead, so may not have come across this issue.


Development Thread
How do I change a bunch of Spanish cities to other nations?
http://www.hookedonpirates.com/forums/viewtopic.php?t=8112


Reserved for Game MODS Release Thread
Changed nationalities of some Spanish cities to Dutch
http://www.hookedonpirates.com/forums/viewtopic.php?t=8116


couple of ways to add a Defender exclusion depending on your Windows 10 build version



Avoiding false positives

Add an exclusion to Windows Security

https://support.microsoft.com/en-ie/help/4028485/windows-10-add-an-exclusion-to-windows-security


If you trust a file, file type, folder, or a process that Windows Security has detected as malicious, you can stop Windows Security from alerting you or blocking the program by adding the file to the exclusions list.


Go to Start > Settings > Update & Security > Windows Security > Virus & threat protection.

Under Virus & threat protection settings, select Manage settings, and then under Exclusions, select Add or remove exclusions.

Select Add an exclusion, and then select from files, folders, file types, or process. The exclusion will apply to subfolders within a folder as well.

Last Updated: 4 Jan 2019




How to exclude files and folders from Windows Defender Antivirus scans

Are you getting false positives with Windows Defender Antivirus? Here are the steps to exclude files, folders, and other items from getting scanned on Windows 10.

6 Jul 2018

https://www.windowscentral.com/how-exclude-files-and-folders-windows-defender-antivirus-scans

see link for screenshots


On Windows 10, the Windows Defender Antivirus is your default anti-malware engine to protect your device and data from viruses, roolkits, ransomware, and other security threats.

Although for the most part the built-in Windows 10 antivirus does a pretty good job, it may flag a file or folder that you trust as malicious. If you want to prevent this type of behavior from happening, Windows Defender Antivirus includes an option to exclude files and folders, as well as file types and processes from getting scanned and blocked.

In this Windows 10 guide, we walk you through the steps to exclude specific items and locations from Windows Defender Antivirus scans.

How to prevent Windows Defender from scanning specific files

If you have certain files, folders, file types, and processes that you want to exclude from Windows Defender Antivirus scans, use the following steps:


Open Windows Defender Security Center.

Click Virus & threat protection.

Click the Virus & threat protection option.

Under "Exclusions," click the Add or remove exclusions option.

Click the Add an exclusion button.

Select the content you want to exclude from Windows Defender Antivirus, such as:

File — Excludes only one file per exclusion.
Folder — Excludes a folder and its content, including sub-folders.
File type — Instead of excluding files and folder locations, you can configure the antivirus to ignore files with a specific extension no matter their location.
Process — Excludes background processes by name.

Continue with the on-screen directions to add the new exclusion depending on your selection. (For example, if you select File, you simply need to browse and select the file you want to exclude. Or if you select the File type option, you only need to enter the extension of the file format to skip during scans.)


Once you complete these steps, you may need to repeat the instructions to exclude other items you don't want the antivirus to scan to avoid false positives.

At any time, you can remove an exclusion using the same instructions, but on step No. 5, make sure to select the item and click the Remove button.


Last edited by corsair91 on Sun Jun 07, 2020 5:55 pm; edited 4 times in total
Back to top
View user's profile Send private message
corsair91
Sailing Master
Posts: 10372



296929 Gold -

more...
PostPosted: Sun Jun 07, 2020 5:37 pm    Post subject: Reply with quote

How to disable Windows 10 Defender, if you want too,
and only if using another anti-virus software


https://www.windowscentral.com/how-permanently-disable-windows-defender-antivirus-windows-10

Windows 10 Home via the Registry
Windows 10 Pro via Group Policy Editor

Using the Security Center is a more recently added option
on later Windows 10 Builds


https://winbuzzer.com/2015/08/17/turn-off-turn-windows-defender-windows-10-xcxwbt/

Includes Registry file downloads to disable/enable Defender

A .reg file is a renamed text file in a specific format
and contains registry key settings.
simply double click to import the changes to your registry


Last edited by corsair91 on Mon Jun 08, 2020 2:54 pm; edited 3 times in total
Back to top
View user's profile Send private message
fleetp
Helmsman
Posts: 4600



26028 Gold -

PostPosted: Sun Jun 07, 2020 11:36 pm    Post subject: Reply with quote

Salty,
I made the modified exe file. I disabled Windows Defender when I installed Windows 10, as I prefer Comodo as my antivirus program.
Corsair91 has given you the solutions to get the modified program to run. I'm sorry you had troubled using the modified exe file.

Very respectfully,
fleetp
Back to top
View user's profile Send private message Send e-mail
Salty Dog
Sailing Master
Posts: 10063



192187 Gold -

more...
PostPosted: Sat Jun 13, 2020 10:08 pm    Post subject: Reply with quote

After replacing the Pirates.exe file with the one you modded, I got the file to run by going to Programs folder, Firaxis, Sid Meier's Pirates, then I found the Pirates.exe file and right clicked on it and opened "Properties" and there was a box that said the file came from another computer - click here to allow it to run. I checked that box and fired the program up and it now runs perfectly. Thanks!!!!
Back to top
View user's profile Send private message Send e-mail
fleetp
Helmsman
Posts: 4600



26028 Gold -

PostPosted: Sat Jun 13, 2020 11:25 pm    Post subject: Reply with quote

I'm glad you got it to work!
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Customization & Modding All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group