Topic: Compiling WinXShell to new Architecture  (Read 779 times)

Compiling WinXShell to new Architecture
« on: April 07, 2019, 03:16:41 AM »

MathSilva

  • Apprentice
  • *
  • Date Registered: Apr 2019
  • Posts: 5
So first of all, good morning, good afternoon, good evening whenever You

Re: Compiling WinXShell to new Architecture
« Reply #1 on: April 07, 2019, 03:25:40 AM »

MathSilva

  • Apprentice
  • *
  • Date Registered: Apr 2019
  • Posts: 5
So first of all, good morning, good afternoon, good evening whenever You're reading this.
I'm working to make Winddows 10 PE (arm32) work on Windows Phone devices (Lumias been more specific) and
as You may Imagine, lots of things simply doesn't exists for arm32 architecture (other Lumias than 950/XL) and this includes
some of the files that would make Windows Explorer work on it so, the solution found was a third party shell. The only shell I could
compile to ARM32 was WinXShell (I found it here: https://github.com/slorelee/PExplorer/tree/WinXShell_shellpart) but the problem is,
this source code seems to be very outdated and lots of things doesn't work like
  • Black desktop (No wallpaper)
  • No File Explorer
  • .jcfg file Cannot be used to load setting (it simply refuses to find the file)
So, my Question is, where is the most recent source code avalible
Bonus: A sneak peak of WinPE on a Lumia 930
https://imgur.com/tvxYTeL

Re: Compiling WinXShell to new Architecture
« Reply #2 on: April 07, 2019, 03:47:12 AM »

slore

  • WimBuilder
  • Sr. Chef
  • ****
  • Date Registered: Jun 2016
  • Posts: 664
  • Black desktop (No wallpaper)
  • No File Explorer
  • .jcfg file Cannot be used to load setting (it simply refuses to find the file)

Do you build a x86/x64 version for testing?

File Explorer is in:
https://github.com/slorelee/PExplorer/blob/WinXShell_shellpart/shell/fileexplorer.cpp

wallpaper is in:
https://github.com/slorelee/PExplorer/blob/WinXShell_shellpart/desktop/desktop.cpp
DesktopShellView::StretchWallpaper();
DesktopShellView::LoadWallpaper();
DrawDesktopWallpaper();

.jcfg file Cannot be used to load setting
change workdirectory to where WinXShell is, then call
WinXShell.exe

or add after g_Globals.init(hInstance); @ explorer.cpp

SetCurrentDirectory(JVAR("JVAR_MODULEPATH").ToString().c_str());

Or the json library is not work-well in ARM32.

WinXShell.exe didn't deal with ARM32, and tested on it. for ARM32, you need modify/improve the source code for support the architecture.

If you finish it, you can commit a pullrequest.

Re: Compiling WinXShell to new Architecture
« Reply #3 on: April 07, 2019, 05:32:12 AM »

MathSilva

  • Apprentice
  • *
  • Date Registered: Apr 2019
  • Posts: 5
Thanks for reply, I'll do some tests with it tomorrow morning.
I didn't build it neither for x86 or x64. I just builded it directly to ARM
(just downloaded source code, opened with VS 2017, added the necessary libs and simply compiled),
but with these comments, I'll try to get something new.

 

Powered by EzPortal