Re:Running Windows Software on ARM Devices with Wine
by mivanchev on Sunday November 18, 2018 @08:23AM
(#18480244)
Imagine being able to play these games on ARM without emulation? This is also one of my goals, but as stated in the article, the effort to port them without source code is substantial.
[ Parent
| on HN ]
Re:Running Windows Software on ARM Devices with Wine
by JoeAltmaier on Sunday November 18, 2018 @08:24AM
(#18480250)
Isn't it possible to do a static translation of the machine code to ARM, and run native?
Re:Running Windows Software on ARM Devices with Wine
by mivanchev on Sunday November 18, 2018 @08:32AM
(#18480278)
Quite possible. In the article I mention that a Lithuanian hacker by the name of notaz statically recompiled StarCraft, Diablo 1 & 2. But it's a huge effort, of course. Even better would be to (partially) decompile to, say, C for better performance.
Re:Running Windows Software on ARM Devices with Wine
by JoeAltmaier on Sunday November 18, 2018 @09:13AM
(#18480444)
It should be possible to automate translation of the machine code? I've disassembled pure binary with a tool before. How much more work to re-emit ARM? Especially with modern executable formats including debug info, identification of code and data segments etc. which was problematic with pure binary
Re:Running Windows Software on ARM Devices with Wine
by mivanchev on Sunday November 18, 2018 @10:02AM
(#18480639)
I'm not an expert on the topic, but the way from a x86/x64 disassembly to an ARM binary is very long. The identification of segments is not 100% accurate, manual corrections will be required, addresses have to updated etc. I'd say fully automatic translation is not really feasible, but I expect to be contradicted :)