yashsingh1/xdaforums huggingface dataset:
[Windows RT Development and Hacking] Mantenner:
DOOM Source Code

I dont know about you guys, but i think it would be pretty amazing to get doom running on surface rt, considering this new jailbreak, here is the source code for doom 1 https://github.com/id-Software/DOOM

The guy who wrote the code said that this is for linux only, so i dont know how easy it would be to port, it also says you need an official copy of the game, so im not sure if that will be an issue too, but i was just wondering about this so i thought i'd post it up, sorry if i wasted any time

---------- Post added at 12:35 PM ---------- Previous post was at 12:32 PM ----------

I dont know if this could be ported, i found some source code here, not sure if its right or not, but its a wonderful game and im sure everyone would have a lot of fun playing it at one point or another, i noticed not many games have been ported, hope its good code :P http://www.mpgh.net/forum/478-terraria-hacks/417105-terraria-1-1-2-source-code.html
[Windows RT Development and Hacking] GoodDayToDie:
@Mantenner: discussion of pirating software, or links to pirate downloads, are forbidden here on XDA-Devs. We're a community of builders, not of takers.

That said, porting DOOM might be interesting even though I don't have the assets to run it; I'm sure somebody does and I believe there may exist some freely available assets for the game. The original was of course 16-bit, which won't run on RT (no NTVDM) but if it runs on Linux (also 32-bit, when it's not 64-bit) it's probably possible to port... unlikely to be easy, though.

I believe Terraria may already be open source, although I might have it confused with another game. In any case, if somebody wants to compile some open-source games, that would be awesome. Getting the SDL built on RT would enable a bunch of games... it would be a ton of fun to play something like Wesnoth on the Surface. Please choose your links somewhat more carefully, though. Not everything on the Internet is free for the taking (in fact, the majority of it isn't) and quite aside from consequences to yourself, you could cause problems for XDA-Developers and the rest of the community if the site becomes associated with piracy.
[Windows RT Development and Hacking] dawmail333:
Terraria is commercial. I would advise that it should NOT be ported for that reason.

If you own a licence to the game, feel free to compile it yourself, but I'm not sure how XNA will perform on RT.
[Windows RT Development and Hacking] programabd:
any open source torrent apps?
[Windows RT Development and Hacking] netham45:
It was posted about not 10 posts ago, read the thread.
[Windows RT Development and Hacking] dawmail333:
I just took a hack at WinSCP, looks like the compiler can support ARM, based on the advertising, but I'm not quite able to gather all the components, pay for the compiler, and then try to port it. Maybe see if the developer is feeling nice? :)

In all seriousness though, what I see could be just the tip of the iceberg - the source base is much larger than anything I've tinkered with before.
[Windows RT Development and Hacking] Inadorel:
Firstly can I say how absolutely awesome this project is. You guys have turned what was already a great device into a super great one - so maximum kudos and thanks :) I think the best feature of all is that post exploit powershell actually works properly.... But having the other apps - putty in particular - makes the device far more useful as a sysadmin tool.

Just one question - I'd love to contribute to this and get some more programs done - but I am a bit of a noob (well actually a lot of a noob) as far as cross-compiling is concerned. Could anyone recommend an internet resource that I could look at (I've had a google about and I can find plenty on Linux but very little on Windows)? Even if it was just something that gave some clues I would be happy to write up a detailed guide from my experiences for anyone else who wants to help out but is new to this. Many thanks.
[Windows RT Development and Hacking] samco08:
+1

Fdm ?
[Windows RT Development and Hacking] GoodDayToDie:
@Inadorel: There's been some discussion of the cross-compiling around the last couple weeks, if you read this forum. The first thing to do is to change a VS configuration file that tries to prevent you from building desktop apps from RT. It's like a two-line edit, and posted on the .NET (here and at StackOverflow). Then, acquire some source code that's meant to be built in Visual Studio, Open the .SLN file in VS2012 (it'll ask you to upgrade it if the file was built by an older version, this should be fine), go to the Configuration Manager (the thing where you usually choose "Debug" vs. "Release"), select Release (not Debug; it might be possible to get it working on ARM but seems to be more difficult), and under Active Solution Platform, choose <New...> and select ARM from the drop-down (if ARM is not present, it's probably a managed project, in which case you should use "Any CPU" and set the framework to .NET 4.5). Sorry for the huge run-on sentence; believe me,it only takes a few seconds. Then, build as normal. If there isn't anything crazy like inline assembly or other CPU-specific stuff, it should build and give you a .EXE file you can copy onto a hacked Windows RT device to run.

You will find that VS2012 includes only a tiny portion of all the .LIB files that are needed for real programs. There are multiple people who have posted tools for "cutting" .LIBs from .DLLs (which you can extract from an RT device yourself) or who have uploaded a bunch of pre-cut LIBs. You may also need to manually specify some LIBs that are normally included automatically... I've found myself doing this with things like kernel32.lib.
[Windows RT Development and Hacking] netham45:
I still need to get the code cleaned up a bit before I post a binary.

Buglist so far in SDL:

DirectX support requires DirectX 5, which is ancient and doesn't seem to be in RT. Running in Software Rendering.

No joystick support (Requires DirectX)

No physical CdRom support (Libs seem to be missing on RT)

No Audio support (I haven't looked into this much, it may be an easy fix)

The only code changes I had to do in DosBox were to remove Joystick and CDRom support.
[Windows RT Development and Hacking] GoodDayToDie:
@netham45, you are a cross-compiling beast. Honest question: are you using the MSVC cross-compile tools, or are you using something else (like MinGW GCC)? If the latter, please let me know how (here, in a different thread, or in PM). There's a lot of stuff I'd like to port over that doesn't build under MSVC.

EDIT: I'm gonna play me some WarCraft: Orcs and Humans (as soon as I work around the lack of CD-ROM support) on the Surface. Hell yeah!.
[Windows RT Development and Hacking] netham45:
I'm just using MSVC.

As far as CDRoms go, getting ISO loading in DosBox -SHOULD- be possible, but I'll need to get a dummy driver going in SDL so I don't have to trash dosbox's CDRom support to get it compiling.

Edit: And as far as performance goes, it's actually running quite well. I'm able to play Duke Nukem 1 (the old sidescroller) at <7% CPU most of the time. No frameskip, default settings.

More edit: ISO mounting still works as-is. I'm honestly surprised it does.

Here are my bins if you want to play around with it, though note that it's literally the first build I got to compile and run, so it may not be stable, and I would prefer if it wasn't added to the RT app downloader just yet.

My end goal with SDL is to get a dummy driver for the joystick and a dummy driver for the CDRom made so apps can just be compiled against SDL's headers and run with it.
[Windows RT Development and Hacking] tycho:
I Would love to run Paint.NET on my Yoga. Hope someone can compile this? The source of the latest open source version can be found on google code under the name of openpdn . (can't post links)
[Windows RT Development and Hacking] netham45:
I actually e-mailed the developer about getting the full source a couple days ago, he gave me a rather blunt 'No source' response.

I'll see if I can find it on google code, though, I wanted PDN too
[Windows RT Development and Hacking] GoodDayToDie:
@netham45: Wow, that's some nice performance! I guess I shouldn't be too surprised - 7% of the Surface's CPU is still over 350MHz (yes, really!) and even with a 10x performance hit for the emulation, that's still an actually fairly powerful 386. 20x overhead would put it about mid-range, actually (I had a 386 SX 16 and a DX 25 when I was growing up - the latter was, together with its 5MB of RAM, a $4000 USD computer back in the early 90s). People forget just how outrageously powerful modern PCs are. My 2+ year old ARM smartphone can emulate an x86 CPU in non-JIT-compiled JS and run Linux on it within a web page (admittedly slowly, but still!)

Good luck on the SDL. It's required by a lot of non-games too; like DirectX of bygone days, it's a unified set of APIs which can be used for all kinds of interactive and/or multimedia software.
[Windows RT Development and Hacking] windowsrtc:
I cant run dosbox on my device.(Chinese version)
[Windows RT Development and Hacking] jonsnowboard:
Copying files to bochs

Thanks for this awesome work guys.

Does anyone know how to copy files over to WinXP SP3 running in bochs in the absence of network support? I can't see any way of sharing a folder or mounting via USB, for example. Can't find anything via Google either (maybe I'm searching for the wrong thing...).

[Edit] I'm checking to see if I can copy the files to transfer to an ISO file and mount that in bochs. Does anyone have any better ideas? Would be nice to have a read/write folder to transfer files between host and bochs.

[Edit2] After some further research on bochs soundforge site it looks like I need to use a "vvfat" disk which allows file sharing, although it can't be updated whilst the bochs machine is running. I'll give it a go.
[Windows RT Development and Hacking] netham45:
I'm not sure what that error says, but did you put SDL in the folder too? Try the version attached to this post. I had compiled SDL in debug mode in the previous post, that might be the cause of the issues.

On another note, I got DosBox building with nothing but configuration changes to DosBox, I also got audio working in SDL, and replaced the CDRom and Joystick handlers with dummies.

Here's DosBox + SDL + SDL's .libs, I'll get the source for SDL posted in a couple minutes.

Edit: Here's my SDL project folder. DirectX isn't working, and I was lazy and left a hardcoded path to .libs in the configs, but it should be easy enough to remove.

The main changes I did was replace all the functions in the CDRom and Joystick files with dummy functions, comment out all the DirectX handlers with giant #ifdefs, and change the configuration around.
[Windows RT Development and Hacking] windowsrtc:
still not work with the same error.Its strange.
[Windows RT Development and Hacking] netham45:
Can you translate the error into English for me?

Also, fun fact, DosBox and SDL run from within an appcontainer, this could be ran from a non-jailbroken WinRT tablet.

Edit: Looking at what I can read, it seems to be a localization issue. If you could translate it for me I could see about fixing it.

Also, try the one I uploaded to my previous post, if you haven't yet (The download counter for it is still at '0').
[Windows RT Development and Hacking] ZeroBudderz:
Yes, well sort of. I just discovered a way by a long bit of googling, but it's not perfect, and you can't see the cursor on this "secondary display". You have to download Splashtop Client on your computer (Windows 10) and then the splashtop app on the surface rt (from the microsoft store). You can use it to remote desktop your computer screen from the surface which by itself is very useful. Then you have to use a driver that tricks windows into thinking it has a secondary monitor connected when it really doesn't. This used to be something you could do in windows 8.1 and windows 10 but now it's patched for windows 10. Here is a link to a company that made a driver that is working for me to "create" a fake secondary monitor: https://www.amyuni.com/forum/viewtopic.php?t=3030

Go to your display settings on your computer after using the driver and you should see a second monitor detected. Click on the dropbox to select "extend these displays".

After doing that, just connect to your computer from the surface rt on splashtop, then click on switch display on the bottom taskbar to see the extended desktop, and boom a semi-usable secondary monitor.

Unfortunately you can't see the host computer's cursor on the surface display (please help me figure out how!), but other than that, it seems to work as a good 30fps secondary monitor if you have a good wifi connection. Usable enough for videos imo.
[Windows RT Development and Hacking] keepah:
Newby question but would it be possible to use this browser with Windows RT?

Compatible with ARM...

C Lite Browser : téléchargement et installation gratuits sous Windows | Microsoft Store

C Lite est simple navigateur web. Axée sur la rapidité et de l'espace.

www.microsoft.com
[Windows RT Development and Hacking] emanueldantas:
Yes! I use w10
[Windows RT Development and Hacking] jonshipman:
Noticed the 7ZIP link was dead:

7ZARM.zip

drive.google.com
[Windows RT Development and Hacking] aq3e:
You actually can install it through the Microsoft Store if youre using Windows 10 on the Surface RT. I tested it and quite a few sites work. It's slow but things do work.
[Windows RT Development and Hacking] HelioJS:
Can i play games in the cloud. In surface RT. Like xcloud, parsec, moolinght or steam link?
[Windows RT Development and Hacking] Prophetbaldur11:
any chance for microsoft teams?
[Windows RT Development and Hacking] Mandillaz:
This would be most usefull.
[Windows RT Development and Hacking] frylockk19:
Sorry to tell you all, no chance unless Android is working and even then it will probably not run on the version that will be running on there. Checked the support pages, Linux doesn't have ARM packages, otherwise you could use that, but it's still really 'early access' ATM (APX boot is a lot better than UEFI).
[Windows RT Development and Hacking] fukin.trees:
hey idk if this is asking too much from you all but is it possible to compile ppsspp for the surface rt i dont rly know how to go about doing so
[Windows RT Development and Hacking] frylockk19:
Already exists. Not sure where the link is, but it should be somewhere around on XDA's RT forums. RT 8.1 cannot use JIT, RT 10 can.
[Windows RT Development and Hacking] Werbogeek:
I recently found a guide on how to do this, everything works, new life for an old tablet!

I had to use a translator, but everything worked out.

How to connect Surface RT as a second monitor in Windows 11/10
[Windows RT Development and Hacking] zeka16:
AFAIK you don't need to have SurfaceRT with Windows 10 ARM as the link you provided asks for.

I've tried Splashtop before but I didn't like it. It streams your desktop to SurfaceRT an so it's dependent on a very good Internet connection. I have a good one and even so it lags so much.
[Windows RT Development and Hacking] Werbogeek:
I have been using SurfaceRT as a second display for more than a month, this is the only solution to us to use splashtop, since TeamViewer lags terribly, and I do not know other ways to do this. There is hope that Linux will be ported to SurfaceRT, but everything is not entirely smooth here.
[Windows RT Development and Hacking] frayes:
is there a way to run python3 runtime on the surface RT jailbreak?

I noticed the python 2.7 link only
[Windows RT Development and Hacking] Windows 11:
Good morning, the 7-zip link is not working and I need it to install Qupzilla. Can you fix it?
[Windows RT Development and Hacking] TheExileFox:
Please don't quote long posts.
[Windows RT Development and Hacking] Windows 11:
sorry
[Windows RT Development and Hacking] jwa4:
7-Zip is available direct from https://sourceforge.net/projects/sevenzip/files/7-Zip/21.07/7z2107-arm.exe/download
[Windows RT Development and Hacking] Typro:
How should I go about testing a software and compiling it if needed? The software is Synthesia if anybody was curious.
[Windows RT Development and Hacking] frylockk19:
Sorry for the painfully long wait for a reply, but Synthesia will not run at all. Not because it can't, but because it isn't FOSS. You can't compile it for RT.
[Windows RT Development and Hacking] easygone:
hwo 我可以在表面RT中重建月光

GitHub - moonlight-stream/moonlight-qt: GameStream client for PCs (Windows, Mac, Linux, and Steam Link)

GameStream client for PCs (Windows, Mac, Linux, and Steam Link) - moonlight-stream/moonlight-qt

github.com
[Windows RT Development and Hacking] frylockk19:
The chances this could be ported is pretty slim. It relies on OpenGL and for LLVM porters, MinGW is not supported, so...
[Windows RT Development and Hacking] hrips5:
can i start kerio vpn client on windows 8.1 RT?
[Windows RT Development and Hacking] N_S:
Сan anyone re upload it?
[Windows RT Development and Hacking] michael.santos:
Hi @frylockk19, do you think that this open source Playstation Remote Play client can be ported to arm32? It already exists for some platforms, including Windows. Thanks! :)

https://git.sr.ht/~thestr4ng3r/chiaki/
[Windows RT Development and Hacking] ponlorkh:
hello, i don't have a windows surface rt however i am interested in compiling windows arm32 apps to use with wine that was built for arm. this page talks about wine on arm and it has a link pointing to this thread: https://wiki.winehq.org/ARM

i was wondering if this method from 2013 still valid or is there a more updated way?

https://xdaforums.com/t/how-to-compile-and-port-win32-apps-to-windows-rt-arm.2096820

A few months ago I compiled wine for the playstation classic which uses linux and a lot of ports that i downloaded here works such as notepad++, otter browser, gimp, and supertux:

currently i'm working on a build of mkxp-z which lets us play RPG Maker XP VX and VX Ace games, however the linux version can't handle games with win32api scripts: https://github.com/mkxp-z/mkxp-z

I am told that if i build it for windows arm32 it might work with wine. maybe that might be a project you'll be interested in porting too? there's a ton of quality RPG Maker XP/VX/VXA and Pokemon Essentials games out there
[Windows RT Development and Hacking] frylockk19:
This actually looks very possible! However, I've not had a lot of time lately. So it may have to wait a while 😓
[Windows RT Development and Hacking] frylockk19:
Sure! Like said in my last reply though, I do not have a lot of time anymore.. So it may be a while 😓
[Windows RT Development and Hacking] N_S:
maybe

GitHub - simd-everywhere/simde: Implementations of SIMD instruction sets for systems which don't natively support them.

Implementations of SIMD instruction sets for systems which don't natively support them. - simd-everywhere/simde

github.com

Transitioning SSE/AVX code to NEON with SIMDe

Now that Apple has announced that they will be moving away from x86 to their own ARM-based CPUs, lots of people will be stuck with SIMD code targeting x86 ISA extensions like SSE, SSE2, AVX, etc., which won’t run on Apple’s new machines.

simd-everywhere.github.io

can be used to porting some desktop apps to woa32 woa64
[Windows RT Development and Hacking] frylockk19:
I'm not 100% sure on NEON/SIMD. WoA64 is way different than WoA32 though. It's got a much more developed and stable toolchain compared to WoA32. Although Clang for WoA32 works pretty decently, it can be quite unstable if just one line of code is wrong. But then again, it can be perfectly fine. It's weird 😂
[Windows RT Development and Hacking] testuser50010:
Are there any tuorials you recommend, for compiling things myself?
[Windows RT Development and Hacking] frylockk19:
If you want to use Windows, use MSVC 2015~2019 and go for standard CMake projects that don't rely on something like OpenGL. If you want to use Linux, you have a couple options: manual toolchain, or MXE. MXE is much easier on the user at the cost of waiting for updates on its maintained libraries if maintainers are busy, but a lot of libraries are not verified working or do not work as it is, due to instability of RT handling user built apps made by anything other than MSVC. It's nothing unfixable, but it does take time to get those updates out. Manual toolchain is well... all manual. So it just depends on your OS and wants.
[Windows RT Development and Hacking] frylockk19:
Will be looking at this soon, thankfully it relies on libraries that I know work (minus ffmpeg, it's just untested). Given it wants ffmpeg, it's likely it won't run very good, though. Also, the most I can do is make sure the app opens, I'll need you or somebody else to test it when the time comes as I do not own a PS4 or PS5 😂
[Windows RT Development and Hacking] nmac101:
The link's dead, could you update the list with a new download link?
[Windows RT Development and Hacking] DrBurkov:
Good afternoon! I tried to download the following engines to run games in Windows RT:

GemRG. Infinity game engine clone (used for games like Baldur's Gate, Icewind Dale, and Planescape: Torment). Runs pretty well although some of the newer games may stutter a little. Requires the game files from a standard install. http://xdaforums.com/showthread.php?t=2177954

ChocolateDuke3D. Duke Nukem 3D game engine. Requires game files. Has a known sound bug with workaround. http://xdaforums.com/showpost.php?p=38752618&postcount=561

FreeRA. Command & Conquer Red Alert (RTS game) engine. Requires game data files. http://xdaforums.com/showpost.php?p=38072727&postcount=468

Pentagram. Ultima VIII (game) engine. Required game files. http://xdaforums.com/showpost.php?p=38295828&postcount=518

CorsixTH. Engine for the game Theme Hospital. Includes demo, easy to use full version if you have it: http://xdaforums.com/showpost.php?p=38067653&postcount=466

All links don't work. These links were published by the user bartekxyz. Apparently he deleted them from the cloud.

Perhaps someone will be able to put the listed ports of games for Windows RT in this topic. It is possible to recompile and upload.

I will be very grateful.
[Windows RT Development and Hacking] albertolp:
Maybe I am asking a super n00b question, but I didn't find anything googling:

I tried to port some apps myself and I only managed to run a Hello World Win32 application compiled with VS2013. If I use anything higher than that (VS2015, 2019 or 2022) I get an error saying that the program cannot start because VCRUNTIME140.dll is missing.

Is there any config or anything else I have to do to make even the most basic Win32 application run in Windows RT when compiled with a more modern version of VS? I already installed vsredist_arm and no luck.

Thanks in advance!

Edit: I found something that worked for me, static link for libraries https://stackoverflow.com/questions/14172856/compile-with-mt-instead-of-md-using-cmake

In my case I was trying to port PuTTYNG and I had to add -DCMAKE_C_FLAGS_RELEASE="/MT /O2" to the first cmake command.
[Windows RT Development and Hacking] DrBurkov:
Could you tell me which command line parameters you used to compile the project for Windows RT?
[Windows RT Development and Hacking] albertolp:
Assuming that you have the following installed:

Git

Cmake

Visual Studio 2022 with Desktop development with C++ (I don't remember the exact name right now either that or Visual C++) and ARM components (for ARM I searched ARM in the list of components that are available to install and I installed latest version of all of them, it was 4 or 5 items, remember to select ARM and not ARM64).

git clone https://github.com/mRemoteNG/PuTTYNG.git
cd .\PuTTYNG\
cmake -G "Visual Studio 17 2022" -A ARM -S . -B buildARM -DCMAKE_C_FLAGS_RELEASE="/MT /O2"
cmake --build buildARM --config Release --target putty

After the last command the executable will be in buildARM\Release\putty.exe.

Before running it in your Windows RT device it has to be Jailbroken.

Also the executable has to be signed with Sign Tool if you are in test mode.

I ran all of this in a fully updated Windows 11 Pro x64 desktop computer using PowerShell 7.3.9.

I hope this helps you 😀