carljohanjensen
Posts: 6
Joined: Fri Aug 05, 2016 12:51 pm

Exagear x86 code simulatior

Mon Nov 23, 2020 4:58 pm

Hello forum,

I have a small simple Windows application that I have to run on the Raspberry pi. In 2017 I made a perfect working disk image using debian + Exagear + Wine + my Windows application.
Now I'd like to make another batch and like to order new licenses from Eltech, but company seems to be closed ?
Does anyone know a way through ? Either to Eltech and Exager or to an alternative x86 simulator + Wine.

Highly appreciate if anyone could help ?

Kind regards
Carl Johan

PiGraham
Posts: 4268
Joined: Fri Jun 07, 2013 12:37 pm
Location: Waterlooville

Re: Exagear x86 code simulatior

Mon Nov 23, 2020 5:03 pm


User avatar
DougieLawson
Posts: 40501
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Exagear x86 code simulatior

Mon Nov 23, 2020 5:03 pm

Your best bet is an upgrade to TwisterOS which includes some stuff for running X86 crap programs with a slower emulator than Exagear's.
Any language using left-hand whitespace for syntax is ridiculous

Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.

Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

jj_0
Posts: 123
Joined: Wed Jul 11, 2012 7:07 am

Re: Exagear x86 code simulatior

Mon Nov 23, 2020 5:48 pm

Your best option is to install binfmt-support, qemu-user-static and Wine and/or Mono (if it's a .NET program)
You can even configure binfmt to automatically use Wine or Mono and chmod +x your executable. See
https://en.m.wikipedia.org/wiki/Binfmt_misc section Common Usage.

It's not necessarily fast but not necessarily slow perhaps on a Pi 4. I've only done this on a TheC64 Mini which is much less capable than most Pi's.

There are a couple of related threads in the forum, and there's also a YouTube video that probably describes the same process: https://www.novaspirit.com/2019/04/15/run-x86-arm/

User avatar
scruss
Posts: 3636
Joined: Sat Jun 09, 2012 12:25 pm
Location: Toronto, ON
Contact: Website

Re: Exagear x86 code simulatior

Mon Nov 23, 2020 6:11 pm

carljohanjensen wrote:
Mon Nov 23, 2020 4:58 pm
Does anyone know a way through ?
Run it on a x86 board in the same form factor, such as a ROCK PI X Model B?

(I have one of these. It's… okay, I guess. Radxa can ship them with a super-cheap Windows 10 licence, if that works for you.)
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.
Pronouns: he/him

ptitSeb
Posts: 213
Joined: Tue May 19, 2015 2:49 pm

Re: Exagear x86 code simulatior

Tue Nov 24, 2020 9:04 am

DougieLawson wrote:
Mon Nov 23, 2020 5:03 pm
Your best bet is an upgrade to TwisterOS which includes some stuff for running X86 crap programs with a slower emulator than Exagear's.
My emulator is open source, so maybe it is slower now, but you can help make it faster.

(I also wonder from what benchmark you base your assumption that box86 is slower than exagear)
Last edited by ptitSeb on Tue Nov 24, 2020 10:08 am, edited 1 time in total.

ptitSeb
Posts: 213
Joined: Tue May 19, 2015 2:49 pm

Re: Exagear x86 code simulatior

Tue Nov 24, 2020 9:05 am

jj_0 wrote:
Mon Nov 23, 2020 5:48 pm
Your best option is to install binfmt-support, qemu-user-static and Wine and/or Mono (if it's a .NET program)
You can even configure binfmt to automatically use Wine or Mono and chmod +x your executable. See
https://en.m.wikipedia.org/wiki/Binfmt_misc section Common Usage.

It's not necessarily fast but not necessarily slow perhaps on a Pi 4. I've only done this on a TheC64 Mini which is much less capable than most Pi's.

There are a couple of related threads in the forum, and there's also a YouTube video that probably describes the same process: https://www.novaspirit.com/2019/04/15/run-x86-arm/
Box86 also work with binfmt. And with wine too.

jj_0
Posts: 123
Joined: Wed Jul 11, 2012 7:07 am

Re: Exagear x86 code simulatior

Tue Nov 24, 2020 9:15 am

ptitSeb wrote:
Tue Nov 24, 2020 9:05 am
jj_0 wrote:
Mon Nov 23, 2020 5:48 pm
Your best option is to install binfmt-support, qemu-user-static and Wine and/or Mono (if it's a .NET program)
You can even configure binfmt to automatically use Wine or Mono and chmod +x your executable. See
https://en.m.wikipedia.org/wiki/Binfmt_misc section Common Usage.

It's not necessarily fast but not necessarily slow perhaps on a Pi 4. I've only done this on a TheC64 Mini which is much less capable than most Pi's.

There are a couple of related threads in the forum, and there's also a YouTube video that probably describes the same process: https://www.novaspirit.com/2019/04/15/run-x86-arm/
Box86 also work with binfmt. And with wine too.
Thanks, I wasn't aware of it, I'll have to try it out.

PiGraham
Posts: 4268
Joined: Fri Jun 07, 2013 12:37 pm
Location: Waterlooville

Re: Exagear x86 code simulatior

Tue Nov 24, 2020 9:22 am

scruss wrote:
Mon Nov 23, 2020 6:11 pm
carljohanjensen wrote:
Mon Nov 23, 2020 4:58 pm
Does anyone know a way through ?
Run it on a x86 board in the same form factor, such as a ROCK PI X Model B?

(I have one of these. It's… okay, I guess. Radxa can ship them with a super-cheap Windows 10 licence, if that works for you.)
As I read it they don't offer a Windows licence at all, let alone super cheap. It's described as "pre-installation service", not "Win10 licence"
We pre-load Windows10 (English only) on your device. You only need to add the serial number and do the typical updates once the device is online.
https://shop.allnetchina.cn/products/ro ... 6290485350
Sounds to me like they clone the unlicensed OS and you have to provide a licence code, which you presumably have to pay MS for.

It seems you cn use a computer with a an un-activated Windows OS but you get nagged to activate it with a valid product key.
https://www.howtogeek.com/182847/htg-ex ... tion-work/

fruitoftheloom
Posts: 25175
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Exagear x86 code simulatior

Tue Nov 24, 2020 9:29 am

PiGraham wrote:
Tue Nov 24, 2020 9:22 am
scruss wrote:
Mon Nov 23, 2020 6:11 pm
carljohanjensen wrote:
Mon Nov 23, 2020 4:58 pm
Does anyone know a way through ?
Run it on a x86 board in the same form factor, such as a ROCK PI X Model B?

(I have one of these. It's… okay, I guess. Radxa can ship them with a super-cheap Windows 10 licence, if that works for you.)
As I read it they don't offer a Windows licence at all, let alone super cheap. It's described as "pre-installation service", not "Win10 licence"
We pre-load Windows10 (English only) on your device. You only need to add the serial number and do the typical updates once the device is online.
https://shop.allnetchina.cn/products/ro ... 6290485350
Sounds to me like they clone the unlicensed OS and you have to provide a licence code, which you presumably have to pay MS for.

It seems you cn use a computer with a an un-activated Windows OS but you get nagged to activate it with a valid product key.
https://www.howtogeek.com/182847/htg-ex ... tion-work/

You can buy a license key on eBay for £3
The information is out there....you just have to let it in.

PiGraham
Posts: 4268
Joined: Fri Jun 07, 2013 12:37 pm
Location: Waterlooville

Re: Exagear x86 code simulatior

Tue Nov 24, 2020 9:36 am

fruitoftheloom wrote:
Tue Nov 24, 2020 9:29 am

You can buy a license key on eBay for £3
No doubt you can buy a key. It isn't a Microsoft license though, is it?
MS sells those for $139

fruitoftheloom
Posts: 25175
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Exagear x86 code simulatior

Tue Nov 24, 2020 9:39 am

PiGraham wrote:
Tue Nov 24, 2020 9:36 am
fruitoftheloom wrote:
Tue Nov 24, 2020 9:29 am

You can buy a license key on eBay for £3
No doubt you can buy a key. It isn't a Microsoft license though, is it?
MS sells those for $139

They have always worked for me to have a W10 which does not complain it is not activated.

YMMV
The information is out there....you just have to let it in.

PiGraham
Posts: 4268
Joined: Fri Jun 07, 2013 12:37 pm
Location: Waterlooville

Re: Exagear x86 code simulatior

Tue Nov 24, 2020 9:55 am

fruitoftheloom wrote:
Tue Nov 24, 2020 9:39 am


They have always worked for me to have a W10 which does not complain it is not activated.

YMMV
I wasn't suggesting it wouldn't work, or indeed that what you get from Rock Pi doesn't work, but that what you pay under a fiver for isn't "A Windows 10 license".
You can buy downloads of thousands of music tracks on ebay for under a tenner. No doubt what you get is playable music, but you know you aren't paying anything to the performers / right holders for legal right to use it, right?

fruitoftheloom
Posts: 25175
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Exagear x86 code simulatior

Tue Nov 24, 2020 10:09 am

PiGraham wrote:
Tue Nov 24, 2020 9:55 am
fruitoftheloom wrote:
Tue Nov 24, 2020 9:39 am


They have always worked for me to have a W10 which does not complain it is not activated.

YMMV
I wasn't suggesting it wouldn't work, or indeed that what you get from Rock Pi doesn't work, but that what you pay under a fiver for isn't "A Windows 10 license".
You can buy downloads of thousands of music tracks on ebay for under a tenner. No doubt what you get is playable music, but you know you aren't paying anything to the performers / right holders for legal right to use it, right?

I object for paying an extremely high price for an Operating System 35 years in the making which is barely fit for purpose, if it was $25.00 then would not seek an alternative solution.
The information is out there....you just have to let it in.

PiGraham
Posts: 4268
Joined: Fri Jun 07, 2013 12:37 pm
Location: Waterlooville

Re: Exagear x86 code simulatior

Tue Nov 24, 2020 10:12 am

fruitoftheloom wrote:
Tue Nov 24, 2020 10:09 am

I object for paying an extremely high price for an Operating System 35 years in the making which is barely fit for purpose, if it was $25.00 then would not seek an alternative solution.
Raspberry Pi OS is free,
There are ways to run Win10 on the cheap.
Box86 (mentioned earlier) is free
Just don't mislead anyone into thinking they can buy legit Win10 licences for $5
Last edited by PiGraham on Tue Nov 24, 2020 11:06 am, edited 1 time in total.

pjh64
Posts: 4
Joined: Tue Sep 11, 2018 3:10 pm

Re: Exagear x86 code simulatior

Tue Nov 24, 2020 10:44 am

Now I'd like to make another batch and like to order new licenses from Eltech, but company seems to be closed ?
Does anyone know a way through ? Either to Eltech and Exager or to an alternative x86 simulator + Wine.

Highly appreciate if anyone could help ?
This solution is outdated by now. Exagear went out of business. The software was tied with an online verification service that isn't up anymore. So you're pretty much out of luck here if you want to run it on a recent RPI board with Buster.

There is however a solution that should be well suited to handle simple Win32 applications.(As well as HW accelerated graphics)
Other than Exagear it is developed open source and is supported by its developer.

You can find it on Github:
https://github.com/ptitSeb/box86

It is able to run wine(x86) which should enable you to run your windows application.
If you got issues or questions about setting up box86+wine there is support on github and discord.

I hope this helps you getting your program up again.

Greetings,
Pjh64
Last edited by pjh64 on Tue Nov 24, 2020 11:58 am, edited 3 times in total.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 27726
Joined: Sat Jul 30, 2011 7:41 pm

Re: Exagear x86 code simulatior

Tue Nov 24, 2020 11:38 am

fruitoftheloom wrote:
Tue Nov 24, 2020 10:09 am
PiGraham wrote:
Tue Nov 24, 2020 9:55 am
fruitoftheloom wrote:
Tue Nov 24, 2020 9:39 am


They have always worked for me to have a W10 which does not complain it is not activated.

YMMV
I wasn't suggesting it wouldn't work, or indeed that what you get from Rock Pi doesn't work, but that what you pay under a fiver for isn't "A Windows 10 license".
You can buy downloads of thousands of music tracks on ebay for under a tenner. No doubt what you get is playable music, but you know you aren't paying anything to the performers / right holders for legal right to use it, right?

I object for paying an extremely high price for an Operating System 35 years in the making which is barely fit for purpose, if it was $25.00 then would not seek an alternative solution.
The fact you don't like the price is irrelevant. It's the same argument some thieves use - "I couldn't afford it so I stole it".
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

Phoenixbyrd
Posts: 70
Joined: Wed Jun 19, 2019 4:12 pm

Re: Exagear x86 code simulatior

Tue Nov 24, 2020 11:45 am

DougieLawson wrote:
Mon Nov 23, 2020 5:03 pm
Your best bet is an upgrade to TwisterOS which includes some stuff for running X86 crap programs with a slower emulator than Exagear's.
I've have over 200+ games running on my pi 4 largely thanks to box86 being able to run x86 linux and wine. Also having used both exagear and box86, I find box86 to be the better option for most people and it's certainly NOT slower, I'd like to see some hard benchmarks on that.

Here's some of the crappy x86 programs that have a playable 30+ fps on the Pi 4.

Image
Image
Image
Image
Check outTwister OS: https://twisteros.com/
Join the Twister OS Discord Server: https://discord.gg/Fh8sjmu

jj_0
Posts: 123
Joined: Wed Jul 11, 2012 7:07 am

Re: Exagear x86 code simulatior

Tue Nov 24, 2020 12:12 pm

Phoenixbyrd wrote:
Tue Nov 24, 2020 11:45 am
DougieLawson wrote:
Mon Nov 23, 2020 5:03 pm
Your best bet is an upgrade to TwisterOS which includes some stuff for running X86 crap programs with a slower emulator than Exagear's.
I've have over 200+ games running on my pi 4 largely thanks to box86 being able to run x86 linux and wine. Also having used both exagear and box86, I find box86 to be the better option for most people and it's certainly NOT slower, I'd like to see some hard benchmarks on that.

Here's some of the crappy x86 programs that have a playable 30+ fps on the Pi 4.

Image
Image
Image
Image
It certainly looks great but might be overkill for the OP's single simple Windows application - depending on how easy it is to install.

Phoenixbyrd
Posts: 70
Joined: Wed Jun 19, 2019 4:12 pm

Re: Exagear x86 code simulatior

Tue Nov 24, 2020 12:16 pm

jj_0 wrote:
Tue Nov 24, 2020 12:12 pm
It certainly looks great but might be overkill for the OP's single simple Windows application - depending on how easy it is to install.

I understand that, but I wasn't replying OP.

As for OP... Would be easier to address OP's specific needs when OP decides to provide more specificity. It's hard for anyone to properly address vagueness.
Check outTwister OS: https://twisteros.com/
Join the Twister OS Discord Server: https://discord.gg/Fh8sjmu

hippy
Posts: 8882
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: Exagear x86 code simulatior

Tue Nov 24, 2020 12:23 pm

I got Windows notepad.exe running on my Pi under Raspberry Pi OS after building and installing Box86 and installing the WINE intended for Twister OS -

Code: Select all

cd ~
wget https://twisteros.com/wine.tgz
tar zxvf wine.tgz
box86 /home/pi/wine/bin/wine notepad.exe
Other things haven't worked quite so well but it's a start.

pjh64
Posts: 4
Joined: Tue Sep 11, 2018 3:10 pm

Re: Exagear x86 code simulatior

Tue Nov 24, 2020 12:28 pm

Other things haven't worked quite so well but it's a start.
You're welcome to ask on github or join our discord. I'm sure we can help you out running more than notepad if you want.

https://discord.gg/4qFZz9J5

Greetings,
Pjh64

relayman357
Posts: 3
Joined: Mon Nov 06, 2017 3:28 pm

Re: Exagear x86 code simulatior

Thu Dec 17, 2020 7:40 pm

This won’t help you with new seats, but the Exagear license servers are still up. With your key file in lic folder you can activate with:
sudo -E /opt/exagear/bin/actool

Return to “General discussion”