Building a Pale Moon fork for Windows XP

Talk about code development, features, specific bugzilla bugs, enhancements, patches, and other highly technical things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific referenced Bugzilla bugs, mercurial, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Most "bug reports" do not belong in this board and should initially be posted in Community Support or other relevant support boards.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
User avatar
Fedor2
Astronaut
Astronaut
Posts: 703
Joined: 2016-04-11, 01:26

Re: Building Palemoon 27 for XP

Post by Fedor2 » 2017-09-29, 01:45

Well i think you should not post here about that. This is for development only. For support go to my page.
Off-topic:
But i do answer once: assuming you not on winxp right now, you can switch to it of course, but is there a point of h264 on your machine? I think not
h264 in my not so old AMD cpu 3.5 hz, radeon2400, no acceleration.
360p - 38% cpu
720p - 75% cpu

roytam1
Fanatic
Fanatic
Posts: 169
Joined: 2015-03-11, 07:01
Location: Hong Kong

Re: Building Palemoon 27 for XP

Post by roytam1 » 2017-09-29, 06:26

Fedor2 wrote:Well i think you should not post here about that. This is for development only. For support go to my page.
Off-topic:
But i do answer once: assuming you not on winxp right now, you can switch to it of course, but is there a point of h264 on your machine? I think not
h264 in my not so old AMD cpu 3.5 hz, radeon2400, no acceleration.
360p - 38% cpu
720p - 75% cpu
What about posting binaries?
Posting binaries in github issue page doesn't seem making sense.

roytam1
Fanatic
Fanatic
Posts: 169
Joined: 2015-03-11, 07:01
Location: Hong Kong

Re: Building Palemoon 27 for XP

Post by roytam1 » 2017-09-29, 11:17

roytam1 wrote:
Fedor2 wrote:It can be done the same way as was for 26. Only more code editing. You will have the same Palemoon as original with New moon name.

1. First read there a general build instruction.
viewtopic.php?f=19&t=13556
Unfortunately VS2013 wont install on XP, so you must have newer windows. That why i want make it bulding under mingw.
2. Get source code from github
3. Do editting, according following entries, probably you can make and apply them as patch.
4. Compile, mozconfig is regular as of [1]. And i added new option too --disable-skia, use it if you know why.
I opened a ticket asking for H264 video support in https://github.com/Feodor2/Mypal/issues/1 as you don't include it in your patch but it exists in your binary! :)
I see your XP H264 MSE patch on github now, but it seems disabling H264 MSE on newer windows. (which has no K-Lite codec pack or LAV Filters installed, i.e. only windows-bundled codecs available)

petrus

Re: Building Palemoon 27 for XP

Post by petrus » 2017-09-29, 13:18

Someone should mention: https://github.com/Feodor2/Mypal/releases

Or the direct link for: newmoon-27.5.0.win32.installer.exe
https://mega.nz/#!0OJAiCoL!gMHDffJ8Ha6vMJGErohEkZFraDnPfFHx7FlDZCUXLXM

And the mentioned law filters: https://github.com/Nevcairiel/LAVFilters/releases

After you install those on XP, H.264 and MSE & H.264 will work!
(you can check on https://www.youtube.com/html5)

Thanks Feodor

btw. how do you apply those patches, Portable.patch for example?

KingsMan

Re: Building Palemoon 27 for XP

Post by KingsMan » 2017-09-29, 14:38

Thank you . People will be so happy

roytam1
Fanatic
Fanatic
Posts: 169
Joined: 2015-03-11, 07:01
Location: Hong Kong

Re: Building Palemoon 27 for XP

Post by roytam1 » 2017-09-29, 14:38

roytam1 wrote:
roytam1 wrote:
Fedor2 wrote:It can be done the same way as was for 26. Only more code editing. You will have the same Palemoon as original with New moon name.

1. First read there a general build instruction.
viewtopic.php?f=19&t=13556
Unfortunately VS2013 wont install on XP, so you must have newer windows. That why i want make it bulding under mingw.
2. Get source code from github
3. Do editting, according following entries, probably you can make and apply them as patch.
4. Compile, mozconfig is regular as of [1]. And i added new option too --disable-skia, use it if you know why.
I opened a ticket asking for H264 video support in https://github.com/Feodor2/Mypal/issues/1 as you don't include it in your patch but it exists in your binary! :)
I see your XP H264 MSE patch on github now, but it seems disabling H264 MSE on newer windows. (which has no K-Lite codec pack or LAV Filters installed, i.e. only windows-bundled codecs available)
anyway I created a ticket as well.
https://github.com/Feodor2/Mypal/issues/3

and for my newer binaries, I posted in msfn.

KingsMan

Re: Building Palemoon 27 for XP

Post by KingsMan » 2017-09-29, 14:54

Newmoon x64 is saying not a valid win32 application under Windows xp x64 professional
Seems to be a Subsystem version issue .
H264 doesnt work for me . I searched many test page over google.co.uk

roytam1
Fanatic
Fanatic
Posts: 169
Joined: 2015-03-11, 07:01
Location: Hong Kong

Re: Building Palemoon 27 for XP

Post by roytam1 » 2017-09-29, 15:19

KingsMan wrote:Newmoon x64 is saying not a valid win32 application under Windows xp x64 professional
Seems to be a Subsystem version issue .
H264 doesnt work for me . I searched many test page over google.co.uk
try adding following in your .mozconfig:

Code: Select all

LDFLAGS+="-SUBSYSTEM:WINDOWS,5.02"

KingsMan

Re: Building Palemoon 27 for XP

Post by KingsMan » 2017-09-29, 15:23

roytam1 wrote:
KingsMan wrote:Newmoon x64 is saying not a valid win32 application under Windows xp x64 professional
Seems to be a Subsystem version issue .
H264 doesnt work for me . I searched many test page over google.co.uk
try adding following in your .mozconfig:

Code: Select all

LDFLAGS+="SUBSYSTEM:WINDOWS,5.02"
Great Thanks I will give it a try . Apologize for all this trouble .

roytam1
Fanatic
Fanatic
Posts: 169
Joined: 2015-03-11, 07:01
Location: Hong Kong

Re: Building Palemoon 27 for XP

Post by roytam1 » 2017-09-29, 15:23

KingsMan wrote:Newmoon x64 is saying not a valid win32 application under Windows xp x64 professional
Seems to be a Subsystem version issue .
H264 doesnt work for me . I searched many test page over google.co.uk
You may try my build: goo.gl/5Dj6VL
which doesn't require a LAV filters installation, only placing 3 DLLs to same place as palemoon.exe.

KingsMan

Re: Building Palemoon 27 for XP

Post by KingsMan » 2017-09-29, 15:33

roytam1 wrote:
KingsMan wrote:Newmoon x64 is saying not a valid win32 application under Windows xp x64 professional
Seems to be a Subsystem version issue .
H264 doesnt work for me . I searched many test page over google.co.uk
You may try my build: goo.gl/5Dj6VL
which doesn't require a LAV filters installation, only placing 3 DLLs to same place as palemoon.exe.
Your majesty Thanks A lot your build is 32bit but works very well. h264 video works
I manually patched newmoon.exe x64 with hex editor . Set subsystem version 5.2 now browser is running like a charm .

roytam1
Fanatic
Fanatic
Posts: 169
Joined: 2015-03-11, 07:01
Location: Hong Kong

Re: Building Palemoon 27 for XP

Post by roytam1 » 2017-09-29, 23:06

And yes it works in ReactOS! (SSE(2) required)
pm27-ros.png

petrus

Re: Building Palemoon 27 for XP

Post by petrus » 2017-09-30, 08:32

I don't wanna be a one-upper, but, Palemoon on Windows 2000:
Image

It even looks like the official build, he must have got it running just with the KernelEx extension (which adds missing calls).
Found here, on the ultimate Windows 2000 site: http://blog.livedoor.jp/blackwingcat/archives/1956200.html

The google translation of this post says:
"It still seems to work with Win 2000 (extended Kernel), it is necessary to start up in Vista compatible mode but it still operates."

roytam1
Fanatic
Fanatic
Posts: 169
Joined: 2015-03-11, 07:01
Location: Hong Kong

Re: Building Palemoon 27 for XP

Post by roytam1 » 2017-09-30, 09:47

KingsMan wrote:
roytam1 wrote:
KingsMan wrote:Newmoon x64 is saying not a valid win32 application under Windows xp x64 professional
Seems to be a Subsystem version issue .
H264 doesnt work for me . I searched many test page over google.co.uk
You may try my build: goo.gl/5Dj6VL
which doesn't require a LAV filters installation, only placing 3 DLLs to same place as palemoon.exe.
Your majesty Thanks A lot your build is 32bit but works very well. h264 video works
I manually patched newmoon.exe x64 with hex editor . Set subsystem version 5.2 now browser is running like a charm .
my 64bit build is here: goo.gl/GdYbtR

roytam1
Fanatic
Fanatic
Posts: 169
Joined: 2015-03-11, 07:01
Location: Hong Kong

Re: Building Palemoon 27 for XP

Post by roytam1 » 2017-09-30, 09:49

petrus wrote:I don't wanna be a one-upper, but, Palemoon on Windows 2000:
Image

It even looks like the official build, he must have got it running just with the KernelEx extension (which adds missing calls).
Found here, on the ultimate Windows 2000 site: http://blog.livedoor.jp/blackwingcat/archives/1956200.html

The google translation of this post says:
"It still seems to work with Win 2000 (extended Kernel), it is necessary to start up in Vista compatible mode but it still operates."
Yes he use official build.
He had to use Vista compatible mode because there is code that denies running by checking windows version in palemoon.exe.
Last edited by roytam1 on 2017-09-30, 09:53, edited 1 time in total.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29336
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Building Palemoon 27 for XP

Post by Moonchild » 2017-09-30, 09:51

petrus wrote:It even looks like the official build, he must have got it running just with the KernelEx extension (which adds missing calls).
Important:
I see official branding here, this is NOT ALLOWED without clearing this with me first! Do NOT use official branding on these builds.
Do NOT use officially branded binaries supplied by us in packages that have been modified or include additional components. See the redist licence for binaries.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

roytam1
Fanatic
Fanatic
Posts: 169
Joined: 2015-03-11, 07:01
Location: Hong Kong

Re: Building Palemoon 27 for XP

Post by roytam1 » 2017-09-30, 09:55

Moonchild wrote:
petrus wrote:It even looks like the official build, he must have got it running just with the KernelEx extension (which adds missing calls).
Important:
I see official branding here, this is NOT ALLOWED without clearing this with me first! Do NOT use official branding on these builds.
Do NOT use officially branded binaries supplied by us in packages that have been modified or include additional components. See the redist licence for binaries.
for blackwingcat's screenshot (i.e. the Japanese UI screenshot), he uses official binaries.

There is nothing to do with your binaries, he changes his Windows 2000 system binaries for running your official binaries.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29336
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Building Palemoon 27 for XP

Post by Moonchild » 2017-09-30, 10:42

Ah so that's off-topic for this thread then.
Still the side note never to redistribute the browser and whatever tool used to extend the kernel as a single package.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

KingsMan

Re: Building Palemoon 27 for XP

Post by KingsMan » 2017-09-30, 12:07

roytam1 wrote:
Fedor2 wrote:Well i think you should not post here about that. This is for development only. For support go to my page.
Off-topic:
But i do answer once: assuming you not on winxp right now, you can switch to it of course, but is there a point of h264 on your machine? I think not
h264 in my not so old AMD cpu 3.5 hz, radeon2400, no acceleration.
360p - 38% cpu
720p - 75% cpu
What about posting binaries?
Posting binaries in github issue page doesn't seem making sense.
Those old beasts will outshine if you add 4GB Ram, A SSD and A GT730 GFX card

roytam1: Your x64 build does work on XPx64

KingsMan

Re: Building Palemoon 27 for XP

Post by KingsMan » 2017-09-30, 12:22

Image
Speed is flawless . Outstanding Browser

Locked