# Mgba emulator standalone

**URL:** https://forum.clockworkpi.com/t/mgba-emulator-standalone/3908
**Category:** Emulators
**Tags:** mgba
**Created:** [June 27, 2019, 8:35am UTC](https://forum.clockworkpi.com/t/mgba-emulator-standalone/3908 "2019-06-27T08:35:56Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![littlehui](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/littlehui/32/2865_2.png) [@littlehui](https://forum.clockworkpi.com/u/littlehui)
#### Post date: [June 27, 2019, 8:35am UTC](https://forum.clockworkpi.com/t/mgba-emulator-standalone/3908/1 "2019-06-27T08:35:56Z")

</div>

I compiled a standalone gba simulator called mgba.  
Based on sdl2, opengles2

> **[littlehui/mgba-gameshell](https://github.com/littlehui/mgba-gameshell)**
>
> Contribute to littlehui/mgba-gameshell development by creating an account on GitHub.

---

<div class="post-metadata">

### Author: ![cjv123](https://avatars.discourse-cdn.com/v4/letter/c/b2d939/32.png) [@cjv123](https://forum.clockworkpi.com/u/cjv123)
#### Post date: [June 27, 2019, 8:46am UTC](https://forum.clockworkpi.com/t/mgba-emulator-standalone/3908/2 "2019-06-27T08:46:54Z")

</div>

oh,good job! I have a try…

---

<div class="post-metadata">

### Author: ![guu](https://avatars.discourse-cdn.com/v4/letter/g/7ab992/32.png) [@guu](https://forum.clockworkpi.com/u/guu)
#### Post date: [June 27, 2019, 8:49am UTC](https://forum.clockworkpi.com/t/mgba-emulator-standalone/3908/3 "2019-06-27T08:49:24Z")

</div>

yeah  
teach me how to compile it  
🙂

---

<div class="post-metadata">

### Author: ![cjv123](https://avatars.discourse-cdn.com/v4/letter/c/b2d939/32.png) [@cjv123](https://forum.clockworkpi.com/u/cjv123)
#### Post date: [June 27, 2019, 9:18am UTC](https://forum.clockworkpi.com/t/mgba-emulator-standalone/3908/4 "2019-06-27T09:18:11Z")

</div>

miss same library，can you provide compiled files?

---

<div class="post-metadata">

### Author: ![littlehui](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/littlehui/32/2865_2.png) [@littlehui](https://forum.clockworkpi.com/u/littlehui)
#### Post date: [June 27, 2019, 9:30am UTC](https://forum.clockworkpi.com/t/mgba-emulator-standalone/3908/5 "2019-06-27T09:30:12Z")

</div>

sudo apt-get install --no-install-recommends libavcodec-dev libavformat-dev libavresample-dev libavutil-dev libedit-dev libelf-dev libmagickwand-dev libpng-dev libqt5opengl5-dev libsdl2-dev libsqlite3-dev libswscale-dev libzip-dev

```
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
make
```

---

<div class="post-metadata">

### Author: ![littlehui](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/littlehui/32/2865_2.png) [@littlehui](https://forum.clockworkpi.com/u/littlehui)
#### Post date: [June 27, 2019, 9:32am UTC](https://forum.clockworkpi.com/t/mgba-emulator-standalone/3908/6 "2019-06-27T09:32:12Z")

</div>

[https://github.com/littlehui/mgba-gameshell/releases/download/v0.7.2/mgba-gameshell-0.7.2.zip](https://github.com/littlehui/mgba-gameshell/releases/download/v0.7.2/mgba-gameshell-0.7.2.zip)  
binaryfile: sdl/mgba  
also contain mgba\_libretro.so can run with retroarch

---

<div class="post-metadata">

### Author: ![Rebusmind](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/rebusmind/32/2713_2.png) [@Rebusmind](https://forum.clockworkpi.com/u/Rebusmind)
#### Post date: [June 27, 2019, 1:10pm UTC](https://forum.clockworkpi.com/t/mgba-emulator-standalone/3908/7 "2019-06-27T13:10:48Z")

</div>

Would be cool to know how it compares performance-wise to the standalone gpsp emulator cjv123 postet here some days ago.

---

<div class="post-metadata">

### Author: ![Micro007](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/micro007/32/745_2.png) [@Micro007](https://forum.clockworkpi.com/u/Micro007)
#### Post date: [June 27, 2019, 2:47pm UTC](https://forum.clockworkpi.com/t/mgba-emulator-standalone/3908/8 "2019-06-27T14:47:05Z")

</div>

I know mGbA is a more complete and realistic emulator in general it would be sweet if it ran full pop

---

<div class="post-metadata">

### Author: ![littlehui](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/littlehui/32/2865_2.png) [@littlehui](https://forum.clockworkpi.com/u/littlehui)
#### Post date: [June 28, 2019, 1:37am UTC](https://forum.clockworkpi.com/t/mgba-emulator-standalone/3908/9 "2019-06-28T01:37:30Z")

</div>

try : mgba -f \*\*\*.gba

---

<div class="post-metadata">

### Author: ![cjv123](https://avatars.discourse-cdn.com/v4/letter/c/b2d939/32.png) [@cjv123](https://forum.clockworkpi.com/u/cjv123)
#### Post date: [June 28, 2019, 5:42am UTC](https://forum.clockworkpi.com/t/mgba-emulator-standalone/3908/10 "2019-06-28T05:42:28Z")

</div>

It works, there is no setup menu?  
CPU usage 80%

---

<div class="post-metadata">

### Author: ![littlehui](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/littlehui/32/2865_2.png) [@littlehui](https://forum.clockworkpi.com/u/littlehui)
#### Post date: [June 28, 2019, 6:58am UTC](https://forum.clockworkpi.com/t/mgba-emulator-standalone/3908/11 "2019-06-28T06:58:26Z")

</div>

I also hava not found.  
anothe frontend is QT5 and QT5 need opengl support, gameshell have not support opengl  
Adbantages of mgba is supportfor more complete functionality  
See detail [http://www.mgba.io/](http://www.mgba.io/)  
[https://github.com/mgba-emu/mgba](https://github.com/mgba-emu/mgba)

---

<div class="post-metadata">

### Author: ![Dowdheur](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/dowdheur/32/1368_2.png) [@Dowdheur](https://forum.clockworkpi.com/u/Dowdheur)
#### Post date: [June 28, 2019, 1:45pm UTC](https://forum.clockworkpi.com/t/mgba-emulator-standalone/3908/12 "2019-06-28T13:45:45Z")

</div>

I tested with Advance Wars and it’s not great …

Slowdowns, jerky sound. And, how am i supposed to quit ?
