yashsingh1/xdaforums huggingface dataset:
[Windows RT Development and Hacking] samco08:
Hello.

I'm trying to launch "Don't starve" but I receive an error message :(

[ 2512]W: 048E0000-04A83000 : E:\Don't starve\Don't starve\bin\dontstarve_steam.exe

[ 2512]W: 04A90000-04B64000 : E:\Don't starve\Don't starve\bin\libGLESv2.dll

[ 2512]W: 00E90000-00EA4000 : C:\x86node\Windows\System32\d3d9.86.dll

[ 2512]W: 00EB0000-00EE3000 : C:\x86node\Windows\System32\KERNEL32.86.dll

[ 2512]W: 00EF0000-00F09000 : C:\x86node\Windows\System32\supp.86.dll

[ 2512]W: 04B70000-04B93000 : C:\x86node\Windows\System32\ADVAPI32.86.dll

[ 2512]E: PeLdr can't open file: MSVCP90.dll

[ 2512]E: Import dll MSVCP90.dll not found

[ 2512]E: Import dll libGLESv2.dll not found

[ 2512]E: Error loading program: 1168

Can you help me please ?
[Windows RT Development and Hacking] SixSixSevenSeven:
Don't starve will be too demanding for this emulator anyway
[Windows RT Development and Hacking] downloaderintruder:
Hey I don't suppose you could run FFVII or FFVIII with this?

System Req:

Operating system

Windows 95/98

CPU

Pentium 200 MHz or Pentium II 366 MHz

Memory

32 MB or 64 MB

Hard drive space

302 MB of free space

Graphics hardware

DirectX 6.1 compliant card with 8 MB RAM

Sound hardware

DirectX 6.1 compliant card
[Windows RT Development and Hacking] SixSixSevenSeven:
That you could try, it may not work but its not entirely unrealistic. Speed of the emulator is still perhaps too low but its worth a shot if anyone has an RT and a copy of the game lying around.
[Windows RT Development and Hacking] GoodDayToDie:
The DirectX 6 support could be problematic, depending on what portions of DX the games need. RT has limited legacy DirectX support, never mind the emulator.
[Windows RT Development and Hacking] varioguy:
problem with running program

Can someone help me with getting my TAX program to work?

this program works fine without the nullsoft setup. I used 7-zip to extract all the files. When I run the exe file it starts ok in W7 and XP. The emulator gives me an error : "program cannot be started" "program may not be correctly installed" I assume that either it tries to access the registry, local users settings / temp setting or tries to use a shared library that is in a windows xp/7 installation.

I posted the zip file on my g-drive https://docs.google.com/file/d/0B3pFylYkVNDrRkhNZFBZdklZMUk/edit?usp=sharing
[Windows RT Development and Hacking] BIade:
Hey mates :)

I cannot get Heroes III to work. I tried a lot of diffrent versions including copying a fully working from my desktop and even installing from the ISO via network (mounted on desktop). I tried 1000 diffrent No-CD-cracks. But all I can get is that the CD is not inserted. (the game itself starts correctly) If someone can point me to the right direction, it would be fantastic...

Keep up this good project!!! It is awesome :D

EDIT: I just got it to work!! At all with that No-CD problem. Just open the ISO with the Windows Explorer, and our wonderful device willl mount it in a virtual CD-Drive, just like that, out of the box :D then install and play

THANK YOU soo much for this wonderful piece of app
[Windows RT Development and Hacking] MaXmeOliver:
Is there anyone who could try installing and running this program and then please get back to me? :)

http://www.firstclass.com/Resources/WinDownload

And if you feel like being a little extra helpful, could you please log in to the default server as a guest and just click around a little and tell me if it works? :)
[Windows RT Development and Hacking] SixSixSevenSeven:
they claim to require a pentium 4 CPU which significantly outclasses this emulator, doesnt mean it won't work though, the system requirements could be exaggerated. Do you have an RT tablet? try it yourself
[Windows RT Development and Hacking] hahyun6:
So I would love to read visual novel games on this thing, can anyone confirm if any visual novels play (patched or unpatched)

Ever17

Umeniko When they cry (english patched)

Basically the only requirements I see for this game is Windows xp. Most of it is images, text and sound only (hence, visual novels). However, some of them require jpaanes unicode when patched with english patches, not sure how that will work.

etc.

Thx? I didn't get an RT machine yet, but placed an order. Depending on this I may get it or cancel :p;
[Windows RT Development and Hacking] Matth37:
Hello everybody, i would like know if we can compile program in C on my Surface RT. I am a padawan in C language and i would like practise it but i can't compile. I use Notepad++ which is very good for writting but for compiling, nothing.

I looked for mingw, codeblocks,... i don't find answer :crying:

Any idea ?

ps : i am french, i hope you will understand me :)
[Windows RT Development and Hacking] GoodDayToDie:
Wrong thread, really. A native compiler would be far more useful than an emulated x86 one.

You can learn how to compile C *for* RT here: http://xdaforums.com/showthread.php?t=2096820

Alternatively, you can write (and compile) C# on the tablet directly; it's actually built in although the jailbreak is good if you want to run the nicer dev tools.
[Windows RT Development and Hacking] SixSixSevenSeven:
You can use C to write programs *for* windows RT, but you can't compile C *on* the tablet. You use Visual Studio 2012 to do it. MinGW does not support Win32 on ARM (Or windows RT basically).

MinGW for RT was being worked on by the VLC media player team. If they give us something good, perhaps MinGW *for* RT *on* RT will be possible in the future. But not right now.

C#, python and perl can all be done *on* RT right now. The C# compiler like GoodDayToDie says is already built into RT (cant think why, but its a great thing that its there anyway). The python 2.7 interpreter is available for jailbroken devices (although some of its C interface is broken so a few libraries do not work). Perl for RT was actually done by microsoft, you do have to download it (its on these forums) but I think it might actually install fine on non jailbroken devices.
[Windows RT Development and Hacking] Matth37:
ok, but how do you do to install Visual Studio 2012 on RT ?

I have an other PC with Windows 7 but i haven't Windows 8. And when i try to install Visual Studio 2012, there is an error... :(

I don't find Visual Studio 2012 in the store and he isn't free (30 days).
[Windows RT Development and Hacking] scales11:
I will try my best to explain; but others, feel free to correct and add to my comments.

PROBLEM:

You CANNOT install Visual Studio on the Surface RT, nor can you RUN Visual Studio on the Surface RT. To be more clear, you cannot "install" ANY windows applications on the surface RT.

The Surface RT has a different type of processor that no (or at least a huge majority) of windows machines have. Because the processor is different, normal windows applications will NOT simply "run" on the RT. All available applications for the RT are found in the windows store.

EXPLANATION:

Now to address this thread and the contradict details that my previous statements overlook, mind you:

This thread discusses a work around for getting various applications to run on the Surface RT. I honestly don't know exactly how the emulator works, but I know that it takes the programs that were designed to run on the normal windows processor (x86) and interprets/or/ports/or/converts their "instructions?" so that they run on the RT platform (arm). Some programs are able to work this way, others are not. Because the RT does not have a powerful processor, CPU-heavy and graphically-intense programs, like Visual Studio, will NOT run at reasonable or manageable speeds.

SOLUTION:

You do not need Visual Studio to write and compile C# code (or may other languages for that example). Visual Studio is whats called an IDE (see wikipedia:http://en.wikipedia.org/wiki/Integrated_development_environment)

To write code you need an editor, and a compiler. Visual Studio is simply an interface that links the two. You can run each separately and still write perfect programs. It just will require a little more patience and all of the shortcuts and auto-complete add-ons are not there.

You can write the code in an editor, such as Notepad++ or Scite (both of which have been ported to the RT, see this thread:http://xdaforums.com/showthread.php?t=2092348) and then run a compiler, to compile the code. Perhaps start with this editor:

COMMENTS:

It sounds like you are new to coding. When I took my first programming course I was in the same boat. I thought that I needed the entire Visual Studio environment to get Fortran code working (we used some Fortran compiler that I guess was an add-on in Visual Studio). Only later on did I realize that Visual Studio sorta hides whats really going on. It is better to start with an editor and a compiler, two separate applications, and work from there.

Try installing this code editor app:http://apps.microsoft.com/windows/en-us/app/code-writer/5149f454-94a7-40bc-90ef-eafd38355079

Perhaps some one can help explain how to send the file to the compiler? I am not sure where to locate it.

Does that help?
[Windows RT Development and Hacking] SixSixSevenSeven:
You install visual studio 2012 on windows 7 or 8 (its meant to be for 8). NOT RT.

To compile C# on RT you dont need visual studio though. Visual studio is only the editor, you can compile from the command line (there is a tutorial for how).

Or jailbreak your RT and download SharpDevelop.
[Windows RT Development and Hacking] Matth37:
thanks, you helped me :good:

But there isn't an other compiler ""C"" *for* RT *on* RT ?

There isn't yet mingw but there isn't anything else ? :confused:

For #C, i saw on the forum there is csblock. For C, there is nothing ?
[Windows RT Development and Hacking] scales11:
That I am not sure of. I would suggest searching around the forums for that.

Is there a reason why you want to code with C? and not C#, Python, or Pearl?
[Windows RT Development and Hacking] SixSixSevenSeven:
Correct, there is nothing.

The only C compiler for RT is the microsoft compiler which of course doesnt run ON RT.

The only major C compilers for windows are the microsoft compiler (used in Visual studio 2012) and GCC nowadays, GCC for windows is only available in MinGW or Cygwin. The team behind the VLC media player are working on MinGW for windows metro applciations (including ARM support) so there is hope that it will work for windows RT desktop applications too, if it does, then MinGW can compile MinGW so they could then run MinGW on the RT, but thats not out, there is no clue when that will be out or if it will even work.

C#, the command line compiler is included in windows RT for some reason. SharpDevelop (or csblock) on RT can both use that. SharpDevelop is very much like an open source visual studio clone (actually it will open a visual studio solution file, although on RT it only supports C#).

Other thing I have thought of. A few .NET languages actually have compilers written in either C# or more bizarrely themselves (no doubt they used a C# compiler for the first version of the language and then wrote a compiler for the language again in the language). Wonder if any of those would also work on RT.... (they should). Shame there isnt a pure C to .NET bytecode compiler (I looked, the closest is managed C++, which isnt 100% .NET bytecode nor is it proper C, but .NET isnt made for unmanaged code :( )
[Windows RT Development and Hacking] GoodDayToDie:
Guys. WRONG THREAD! I'm not saying this isn't a good discussion, and I'd like to continue it myself, but it DOES NOT BELONG IN THE EMULATOR THREAD so take it elsewhere!
[Windows RT Development and Hacking] Matth37:
Huge thanks for all this help. :good:

I learn langage C because in my university (physics/chemistry), it's this language which choiced by profs for 2nd year :cyclops:

The first year, it was pascal (i had a mad prof. We make programs on a software which didn't function fine... without lessons ! :victory:).
[Windows RT Development and Hacking] :
First of all: thanks for this wonderful piece of emulation!

However, I have a problem installing an app via this. I download the Spotify setup file from their website and it just doesn't run using win86emu. When I choose the exe file to emulate in win86emu and run the setup, it just errors out saying "Spotify needs Windows XP SP3 or later". I checked the registry and it's set to the default emulation of emulating XP SP3.

Anyone can help me with this?
[Windows RT Development and Hacking] GoodDayToDie:
Anything new or fancy like Spotify is highly unable to work. The current version of this project, which has sadly not been updated in some time, lacks many of the newer OS interfaces because most of the apps that have been specifically targeted for support are quite old (from back when computers had about as much performance as the emulated machine).
[Windows RT Development and Hacking] :
Well, I dunno about Spotify for Windows, I'm new to Windows 8/RT. But on Ubuntu (which I've used since 2007 after switching from Vista) it doesn't have a fancy interface and AFAIK it's the same interface+toolkit as the Windows version so that shouldn't be the problem, I guess.
[Windows RT Development and Hacking] SixSixSevenSeven:
doesnt have to be fancy, if its compiled under modern microsoft tools there is no guarantee that its going to run on windows 95 for instance, which is essentially whats being emulated (not strictly true but you can't just expect anything new to run). Or it could have a UI limited to pressing 1 or 2 at a command prompt to do things but have some really complicated things going on under the hood.

Emulation as a general rule usually has a 10-20x performance impact. Now lets take the surface RT at 1.3ghz, lets say its a 10x performance hit from emulation. That gives you a 0.13ghz CPU speed. Without a fair set of benchmarks here we can't prove that to be a true estimate or not, plus different instructions will have different performance hits from emulation (some might be only 2x slower, some might be 42, both a bit extreme, just examples). Using a clock speed as a performance comparison is also incredibly unfair as 2 processors of the same instruction set at the same clock speed are not usually matched in performance, an ARM cortex A15 (as in the tegra 4) is said to have about a 50% increase in instruction throughput than an ARM cortex A9 (which is in the Tegra 3 in the surface) at the same clock speed. But the so called "general" rule does give you an idea of how slow we are talking at least.

A temporary solution is to use spotify in browser. If you make sure to run windows update the flash whitelist is removed. Spotify will then run. Otherwise if you are incredibly opposed to updating and would prefer to run with 8 month out of date firmware (at least) then you can use the flash whitelist tool to listen to spotify. The prior option is of course best.
[Windows RT Development and Hacking] :
Well, I've always had Wine running on Ubuntu for 1 program and I never ever experienced any performance drop. Even on a lower-end laptop I used to have (with an APU). So I guess it depends on what you're emulating...

And yes, I know, I'm using Spotify Play in the browser currently but it's slow as hell and it sometimes stutters or completely hangs. Even if I have only the metro Twitter app open and Spotify Play, nothing else. So it's not very usable.
[Windows RT Development and Hacking] SixSixSevenSeven:
you know wine actually stands for wine is not an emulator. Why would you emulate an x86 system on an x86 system. All wine does is translate win32 API calls to Unix api calls etc. No actual hardware emulation at all, hense why its got such a low performance hit.
[Windows RT Development and Hacking] jessenic:
You don't need the Spotify app, the web player works just fine. Just pin http://play.spotify.com to taskbar and voilá.
[Windows RT Development and Hacking] :
*ahum*

READ my previous post again (2 posts above yours), the web player doesn't work "just fine".
[Windows RT Development and Hacking] jessenic:
Ah sorry, did not see that. I have never had problems like that with it, I can play games and listen to Spotify just fine at the same time. I have Windows RT 8.1 RTM though, this has better performance than 8.0.
[Windows RT Development and Hacking] SixSixSevenSeven:
You do appear to be the only one having those issues.... For just about everyone else it works fine.
[Windows RT Development and Hacking] callmechewy:
I downloaded the replacement .dll file and replaced the current one with it...but nothing happens when I run the emulator from the start screen.

Suggestions?
[Windows RT Development and Hacking] SixSixSevenSeven:
From another thread. Your using 8.1. No jailbreak.
[Windows RT Development and Hacking] callmechewy:
I knew that was a problem with the jailbreak on 8.1, but what is the point of the .061 update if it can't be used without jailbreak in the first place?
[Windows RT Development and Hacking] mamaich:
This is a fix for people with an unlocked 8.1. There is a bug with this tool under 8.1 and there is a fix for that bug.

This thread is not for a discussion on unlocking 8.1. Just be patient until unlock would be published.
[Windows RT Development and Hacking] scjoao:
HI im using windows rt 8 and i did all like the instructions said but when i click the x86 app nothing happens what i do?

I suppose i have the 8 version because i have no start button and i did the jailbreak rigth
[Windows RT Development and Hacking] cphilip:
mamaich,

I am interested to know if by applying this method, is it possible to install and run either Truecrypt or FreeOtfe on the surface rt.

Thanks

cphilip
[Windows RT Development and Hacking] hisoft:
I didn't try yet. But I think it can't.

If you want to encrypt USB drive. You can use BitLocker with Windows RT. If you want to access BitLocker drive from Linux you can use this. => http://superuser.com/questions/376533/how-to-access-bitlocker-encrypted-drive-in-linux
[Windows RT Development and Hacking] mamaich:
Your question is answered in the first post:
[Windows RT Development and Hacking] cphilip:
Thanks mamaich and Hisoft,

Well, it is sad that truecrypt cannot be installed and run in the surfact rt. Freeofte used to run quite well in arm based windows mobile 5 and truecrypt (eds lite version) runs well in armed based android.

anyway, thanks for taking the time to reply my enquiries.

I was hoping to make the jump into windows rt but it looks like i must consider the full windows 8 tablet if i want a tablet with working msoffice as well as able to install truecrypt. (Now, i am beginning to wonder if true crypt can even be installed and run in the full windows8:crying:.)

cphilip
[Windows RT Development and Hacking] :
It was an issue with the Surface RT I had for a weeks and I can prove that because the problem is solved now on my Surface 2. Performance of Spotify Web Player is close to superb now, hardly any issues anymore.
[Windows RT Development and Hacking] BIade:
Hi master. Are .NET-apps still a nogo for your tool? I tried copying the mscoree.dll from my desktop, then he asks for mscorees.dll, after including that, he asks for Regestry-pointing to .NET, after giving him "DirectRegestry", he tells me he cannot load C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll alltough its there. And this is the point i got stuck.

Thank you soo much for your great app.

(Im just asking now, because its been a long time and prehaps you managed it. -Don't want to steal your 8.1-jailbreak-time :P)
[Windows RT Development and Hacking] Cotulla:
it can be global user mode or kernel mode CreateProcess hook, which checks architecture field and takes proper actions :)

doing same for LoadLibrary can be not really save and can be too complex: for example it can be hard to pass exception from emulated X86 code to ARM.
[Windows RT Development and Hacking] xsoliman3:
Nice. I was thinking of the same idea.

But your 10x further ahead
[Windows RT Development and Hacking] Harkunwar:
Now I am feeling like Windows RT tablets is not a waste

Amazing work

Thanks
[Windows RT Development and Hacking] xsoliman3:
"current version supports emulation only of x86 EXE files that contain relocations section"

How can we check if an x86 exe is like that ?

probably via

dumpbin /relocations c:\path\name.exe

shows some HIGHLOW entries if it is relocatable
[Windows RT Development and Hacking] mamaich:
The new build that can run HOMM3 demo version does not have this limitation. It is achieved by reserving memory at 0x400000 address immediately at my EXE start, and restarting if these addrs are already in use. Due to ASLR it typically takes several (not many) restarts until those addrs become available for us.
[Windows RT Development and Hacking] GoodDayToDie:
Well, this is certainly an impressive piece of engineering! I gotta say, when I saw the 3DO logo, all I could really do was stare at it and say maaaaaaad hax. Mind you, if you want a bug report... the game (or perhaps the emulator) crashed (repeatably) when I tried to visit the tavern. In any case, your choice of test app amuses and pleases me. I wonder if it would like my full version better? :D

If there's anything we can do to help (find high-priority system calls, test stuff, contribute to the code, anything) let us know. While I'd prefer to avoid the overhead of emulation, realistically there are probably more Windows apps runnable with this thing right now than will b ported in the next month.
[Windows RT Development and Hacking] eXecuter.bin:
This plus the jailbreak yields some very exciting potentials for the Windows RT. As a matter of fact, I just bought a RT tablet for this :D

Keep up the good work OP!

Also, are you willing to accept donations? I wouldn't want to see this project getting abandoned before it is completed
[Windows RT Development and Hacking] LastBattle:
Wow this is impressive..
[Windows RT Development and Hacking] mamaich:
One of the things that would help - is optimizing the DosBox dynamic core. I was managed to use the risc_armv4le-thumb-iw.h core, but it is not so fast as I've expected.

I've posted my thoughts here: http://xdaforums.com/showthread.php?t=2097372

At the time when I've ported heroes of might and magic 1&2 to WinMobile I've asked for donations - but their amount was too small to be noticeable. I don;t think that anything would be changed now :)

I've updated the first post with the newer build with a dynamic DosBox core. It is a bit faster, but HOMM3 are still slow to be playable. And this is a first test of dynamic core, so its RAM usage is not optimal, and it may crash.

Now I'll spend time on WinAPI, not on DosBox code, as implementing API has higher priotity in my plans than speed optimizations.
[Windows RT Development and Hacking] xsoliman3:
I assume the DosBox emulator can do 32bit x86 code as well as 16bit (DOS real mode) that its normally used for in DosBox

Update - looks like DosBox also has the 32bit DOS Externer (DOS4GW) stuff as well, so can handle 32bit code emulation ok

and only need to emulate 'user mode' (non priviledged) 386 instructions
[Windows RT Development and Hacking] GoodDayToDie:
Yes, DOSBox has been capable of emulating at least a 386 (which is 32-bit) for years, and I think can handle Pentiums or possibly higher today.
[Windows RT Development and Hacking] eXecuter.bin:
-misread-
[Windows RT Development and Hacking] WizardCM:
This is awesome, and the fact that you've got HOMM3 (one of my favourite games) running very close to lag free is amazing. Great work! :D

I'm excited to play HOMM3 on my Surface. One question though, would this emulation be eventually able to emulate proper touch events? As HOMM3 is basically a mouse only game, with touch it could definitely work as a proper game, just need to change the way the game reads touch events (rather than move the cursor, click). Would this be possible?
[Windows RT Development and Hacking] GoodDayToDie:
Touch actually does kind-of work, in that it is treated as a mouse click like any other Desktop-mode app. tap to click, tap-and-hold to right-click. Drag is a little funky but shouldn't be required (I can't think of a single place in the game that requires it).