:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::

Do you want to advertise at Project Perfect Mod. Find out how to do it HERE.

The time now is Thu Oct 29, 2020 4:15 pm
All times are UTC + 0
 Forum index » Featured Tools » OS SHP Builder
Compiling OS SHP Builder (Borland/Delphi)
Moderators: stucuk
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
Author Message
rca
Civilian


Joined: 05 Oct 2020

PostPosted: Mon Oct 05, 2020 5:29 pm    Post subject:  Compiling OS SHP Builder (Borland/Delphi) Reply with quote

Is Borland Developer Studio 4.0 (/Delphi 10) required to compile OS SHP Builder? Do you know where I can find a license for this software? Thanks for your help making this software. I want to upgrade the resize operation (interpolated MS Paint) to preserve background, blood and shadow color indices.

Back to top
View user's profile Send private message
Banshee
Supreme Banshee


Joined: 15 Aug 2002
Location: Brazil

PostPosted: Mon Oct 05, 2020 10:35 pm    Post subject: Reply with quote

I've used Borland Developer Studio 2006 to compile it. A very long time ago, Borland released a Turbo Delphi Explorer which used to be free and feature the same compiler than BDS 2006. If you find that edition, it works best for OS SHP Builder. If you can't find it, try the latest Delphi Community Edition:

https://www.embarcadero.com/products/delphi/starter

I don't know what kind of changes in the code will be necessary to make it compile on it, since I haven't tried it. But if you need any help with it, post it here and I'll try to help you.

Back to top
View user's profile Send private message Visit poster's website Skype Account
rca
Civilian


Joined: 05 Oct 2020

PostPosted: Tue Oct 06, 2020 3:18 am    Post subject: Reply with quote

Thanks Banshee - I have compiled it using Turbo Delphi Explorer 2006.

To install Turbo Delphi Explorer 2006 on Windows 10;

Part 1;
[resolves error: "Borland Developer Studio 2006 requires SP1 of Microsoft .NET Framework v1.1 to be installed on the machine."]
Install .NET 1.1 on Windows 10 (https://microengine.atlassian.net/wiki/spaces/MKB/pages/305004559/How+to+Manually+Install+Microsoft+.NET+Framework+1.1+on+Windows+10+Windows+8+Windows+7+Windows+Vista+and+Windows+Server+2008)
- download Microsoft .NET Framework 1.1 Redistributable Package; dotnetfx.exe (https://www.microsoft.com/en-us/download/details.aspx?id=26)
- download Microsoft .NET Framework 1.1 Service Pack 1; NDP1.1sp1-KB867460-X86.exe (https://www.microsoft.com/en-us/download/details.aspx?id=33)
- rename NDP1.1sp1-KB867460-X86.exe to dotnetfxsp1.exe
- copy files to C:\DotNet (create folder)
- open Command Prompt
Code:
cd C:\DotNet
dotnetfx.exe /c:"msiexec.exe /a netfx.msi TARGETDIR=C:\DotNet"
dotnetfxsp1.exe /Xp:C:\DotNet\netfxsp.msp
msiexec.exe /a c:\DotNet\netfx.msi /p c:\DotNet\netfxsp.msp

- run netfx.msi extracted in the same folder

Part 2;
- download .NET Framework SDK Version 1.1; setup.exe (https://www.microsoft.com/en-au/download/details.aspx?id=16217)
- install setup.exe

Part 3;
[resolves error: "Borland Developer Studio 2006 requires Microsoft Visual J# .NET v1.1 Redistributable to be installed on the machine."]
- download Microsoft Visual J# .NET v1.1 Redistributable; vjredist.exe (https://download.cnet.com/Microsoft-Visual-J-NET-Version-1-1-Redistributable-Package/3001-10250_4-10729866.html)
- install vjredist.exe

Part 4;
[resolves error "Borland Developer Studio 2006 requires MSXML (Microsoft XML Core Services) v4.0 SP2 to be installed on the machine."]
- download MSXML 4.0 Service Pack 2 (Microsoft XML Core Services); msxml.msi, msxml4msms.exe, msxmlcab.exe, msxmlsdk.exe (https://www.microsoft.com/en-us/download/details.aspx?id=19662)
- install msxml.msi (and click customise - install sdk)

Part 5:
- download and install Turbo Delphi 2006 Explorer

[EDIT: Turbo Delphi 2006 Explorer requires a license, so I recommend Delphi 10 Community Edition instead]

Back to top
View user's profile Send private message
rca
Civilian


Joined: 05 Oct 2020

PostPosted: Wed Oct 07, 2020 10:37 am    Post subject: Reply with quote

I have compiled it using RAD Studio Delphi 10.3 Community Edition;

https://www.embarcadero.com/products/delphi/starter/free-download

To get OS SHP Builder to compile on Delphi 10.3 Community Edition, a number of changes are required:

Patch Summary:
1. [gifimage.pas/pngimage.pas] replace every instance of;
Code:
Byte(q^)

with;
Code:
PByte(q)^


2. [gifimage.pas] replace every instance of;
Code:
with (Pal.palPalEntry[i]) do begin peRed := ...

with;
Code:
Pal.palPalEntry[i].peRed := ...



OSshpBuilder-RadStudiosDelphi10CommunityEditionPatch1-07Oct2020a.zip
 Description:

Download
 Filename:  OSshpBuilder-RadStudiosDelphi10CommunityEditionPatch1-07Oct2020a.zip
 Filesize:  234.9 KB
 Downloaded:  1 Time(s)


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
 Forum index » Featured Tools » OS SHP Builder
Jump to:  
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can 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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1262s ][ Queries: 12 (0.0052s) ][ Debug on ]