How to install FEG Legend
The first setup takes about 10 minutes. Go from top to bottom, then look up the handbook when you want to tune a feature.
Video guides
A quick walkthrough on video. It covers the same content as the text below.
1. Prepare the emulator and game
Do this before running the bot. The bot reads buttons and numbers at exactly this resolution; anything else and it misreads them.
Install MuMuPlayer
Download MuMuPlayer from the official site, mumuplayer.com, install it like any other program and open it. To run several accounts, click New to create more emulators.

The MuMuPlayer window: click New to add another emulator. Each emulator runs one account. Set the resolution
Open the MuMu emulator's Device Settings and go to Display. Under Resolution settings you must choose Custom; don't pick any of the preset sizes in the list. Enter Width 1600, Height 900 and DPI 240, save, then restart that emulator. Repeat for every MuMu emulator.

(1) The Display section. (2) Custom, Width 1600, Height 900, DPI 240. Set performance
Still in Device Settings, go to Performance and set it up as in the screenshot below: set Graphics renderer to Vulkan mode; set Performance settings to Custom with CPU 2 Cores and RAM 2 GB; turn off Smart Memory Optimization. If your PC has an NVIDIA graphics card, also turn on NVIDIA High Performance Mode. Save, then restart that emulator. Repeat for every MuMu emulator.
2 cores and 2 GB per emulator is enough for the game and lets your PC run several emulators at once. If your PC is on the weak side and the emulators lag, run fewer of them at the same time rather than giving each one more resources.

(1) The Performance section. (2) Vulkan mode. (3) Custom, CPU 2 Cores, RAM 2 GB. (4) Turn off Smart Memory Optimization. Download the game and drag it into the emulator
Download the Clash of Clans installer with the button below. Start a MuMu emulator, then drag and drop the downloaded file onto the emulator window; MuMu installs the game for you.
Download the Clash of Clans installer
The game download link is being updated. Message the support group to get it.
Sign in to the game
Open Clash of Clans in the emulator, sign in to your game account and wait until the game loads your village. Use one account per MuMu emulator.

Once the game reaches your village, you're done. The example shows the Builder Base, with the player name blurred.
| Emulator | MuMuPlayer. The app finds every MuMu emulator on your PC by itself, including ones that are turned off. Other emulators have not been tested. |
|---|---|
| Resolution | 1600 x 900, DPI 240, landscape. Set it in Device Settings, Display section, on each MuMu emulator: choose Custom (not a preset size), then restart that emulator. |
| Performance | Vulkan mode, CPU 2 Cores, RAM 2 GB, Smart Memory Optimization off. Set it in Device Settings, Performance section, on each MuMu emulator. |
| Game | Clash of Clans installed from the file downloaded in step 4, already signed in to an account. One account per MuMu emulator. |
| Control connection | The app uses the connection tool that comes with MuMu (ADB), so there is nothing extra to install. This means the emulator window can be small, covered or minimized to the taskbar, and the bot never takes over your mouse. |
| Clan Capital | If you use Clan Capital mode, open Edit Army in the game and pick a full army once for each account. The bot does not pick troops for you. |
2. Install and activate
The installer pulls the latest version and needs no admin rights. Reinstalling or updating keeps your settings.
Download and run the installer
Get the installer with the button below or on the download page, open the downloaded
FEGLegend-Setup.exefile and click Install. Windows may show a warning because the file is not digitally signed: choose "More info", then "Run anyway". The installer downloads the app and adds shortcuts to the Desktop and the Start menu.If you'd rather not install, download the standalone
FEGLegend.exefrom the same place and put it in its own folder, for exampleD:\FEG Legend, so the app replaces the right file when it updates itself.
The installer: leave the Desktop shortcut box ticked and click Install. Open the app
Click Open app in the installer, or double-click the FEG Legend icon on the Desktop. The app opens in its own window; if the window doesn't appear, the app opens in your browser instead.
Enter your key
No key yet? Go to Get a key. The first screen of the app is Activate: paste the key into the box and click Activate. You won't need to enter it again next time.
Windows keys look like
FEG-PC-XXXX-XXXX-XXXX-XXXX. A new PC works right away, with no approval. The period starts the first time the key works. New RAM, graphics card or drives, or reinstalling the app, are fine; a new motherboard makes the PC count as a new device.
(1) No key yet? Click Get a free key. (2) Paste the key into the box. (3) Click Activate. The Machine ID and key shown are examples.
3. First run
Pick an emulator, click Link, pick a mode, then click Start.
Open the tool, pick an emulator and click Link
Open FEG Legend and go to the Control page. MuMu emulators that are running show up in the Emulators column on the left. Click the emulator you want to run, then click Link in the top-right corner so the bot connects to it. Once linked, the emulator shows Ready and the button turns into Start. For several emulators, open the Emulator page, tick them and click Link once for all of them.

(1) Pick the emulator in the Emulators column. (2) Click Link to connect the bot to it. Choose a mode
Select an emulator in the Emulators column, then pick a mode in the mode bar at the top of the page: Home Village, Builder Base, Clan Capital or Rewards. The choice is saved separately for each emulator; greyed-out modes (War, Clan War League, Clan Games) aren't available yet.

The mode bar: click the mode you want to run. The outlined one is the selected mode. Click Start
Click Start and that's it: the bot runs the selected mode until you click Stop. To change modes, click Stop first. Minimum Gold and Elixir and the other settings live on the Settings page, one tab per mode; see the feature handbook.

(1) A linked emulator shows Ready. (2) Click Start in the top-right corner.
4. Feature handbook
What the bot does for each feature and how to set it. Click a group to filter.
Village search and loot filter Battles

The bot opens the match search and reads the Gold, Elixir and Dark Elixir of the village on screen. If the village qualifies, it stops or attacks; if not, it taps Next.
- Total, or both Gold and Elixir: qualifies when Gold + Elixir reaches the total, or when Gold and Elixir each reach their own minimum.
- Total only: looks only at Gold + Elixir combined.
- Total and each resource: must reach the total and also each minimum for Gold, Elixir and Dark Elixir.
- If the bot isn't sure it read a number correctly, it treats the village as not qualifying, so it never attacks a poor village by mistake.
Tip: with the first filter type, to really skip poor villages you need to set all three minimums high, not just the total. Every tap on Next costs Gold at the game's rate, so setting the bar too high spends a lot of Gold on searching.
Auto attack and troop deployment Battles

Before attacking, the bot reads the troop count on the army screen and waits until the army is full.
- Deploy mode: In a line, 4 map corners, or Random along the edge. The bot rotates through 4 directions from one battle to the next.
- The bot deploys troops, Siege Machines and Heroes from left to right, waits for Seconds before using abilities, activates every Hero ability at once, drops Rage, then casts the remaining spells.
- Cards are recognized by their frame and border color, so everything still gets deployed when you change your army or the card order. A Hero card that is already on the battlefield is never tapped again.
- If the game rejects a drop, the bot tries again on each of the other 3 sides in turn. If the troop bar is empty, the bot doesn't attack.
- With less than 1 minute left, the bot taps the fast-forward button once.
Tip: if the army still isn't full after 30 minutes, the bot stops and lets you know. This is usually because you've run out of Elixir for training or the training queue is stuck.
Surrender Battles

Choose how to end battles early to save time:
- Surrender after a set time: a number of seconds after troops start being deployed.
- Surrender at a destruction %: once destruction reaches roughly the percentage you set.
- Surrender when little loot is left: when the total loot left in the enemy village drops below the amount you set.
- Never surrender (fight to the end).
Tip: the condition has to be true on two readings in a row before the bot surrenders, so a single misread frame can't make it abandon a battle. If the surrender button can't be tapped, the bot tries again after 20 seconds.
Builder Base Battles

Choose Builder Base mode. The Builder Base has no village search step, so the loot filter doesn't apply.
- The bot goes to the Builder Base, reads your trophies, starts a battle and deploys every card from left to right at one of three corners: left, right or top.
- It uses Hero abilities after the wait time, then again every 13 seconds. Once the first village is destroyed, it deploys the surviving troops on the second village.
- Farm Gold and Elixir (push trophies): always attacks for real to push trophies.
- Farm Elixir only (drop trophies): deploys exactly 1 troop and then surrenders, losing 50 trophies per battle.
Tip: the game only adds or removes trophies once the opponent's side of the battle has finished, which can take a few minutes, so the trophy count the bot reads may not change right away. Leave some margin when you set the trophy limits.
Clan Capital Battles

Choose Clan Capital mode. The bot goes to the Clan Capital, opens the Raid map, picks the district that has taken the most damage so far, attacks until it runs out of attacks, then returns to the village.
- The deploy zone changes as the district is destroyed, so the bot tries tapping from the outside in and locks onto the right spot once the number on the card goes down.
- If it can't deploy any troops, the bot saves a screenshot, reports it and stops; this doesn't count as a battle.
Tip: the game won't let you attack until your army is full. On each account, open Edit Army and pick a full army once before turning this mode on.
Walls and upgrades Village

The bot handles village tasks as soon as it gets back to the village, before the next battle. All upgrades go through the Builder menu button; the bot doesn't hunt for buildings on the map.
- Home Village walls: upgraded when Gold or Elixir reaches the amount you set.
- Builder Base walls: upgraded when resources reach the amount you set.
- Upgrade is right on the Home Village and Builder Base tabs of the Settings page and is turned on separately for each village: buildings (including Heroes in the Home Village) and troops, using Game suggestions or From list.
- From list: upgrades in priority order and lowers the remaining count after each upgrade. Each village has its own share code for its list.
- The bot never spends gems, never uses Hammers or Wall Rings, and doesn't open the upgrade menu when no Builder is free.
Tip: set the wall threshold high enough to leave resources for important buildings; the bot only upgrades walls with resources above that amount.
Donate and request troops Village

- Donate while farming: the bot opens Clan chat and donates to the open requests, up to 10 times per request.
- Donate only: pick it in the Mode box on the Home Village tab of the Settings page; the bot doesn't attack and only donates troops.
- Request troops: off by default because the request shows up in Clan chat. The bot only taps the button when it's in its normal state, not while it's on cooldown or when the Clan Castle is already full.
- On the donate screen the bot only taps cards paid with Elixir or Dark Elixir and never touches the gem-paid part.
Tip: set Pause between requests (seconds) to a reasonable value so you don't annoy the whole Clan.
Multiple emulators and profiles Controls

- Each running emulator gets a card, and each card has its own log, stats and errors. Starting, stopping or an error on one emulator doesn't affect the others.
- Ticking several emulators shows the selected bar: Link the ones not yet linked, pick a mode, then Run them together. An emulator that is off has a Start emulator button on its own row.
- Top buttons: Scan emulators finds your MuMu emulators again, Fix connection reconnects when the bot loses an emulator.
- The Settings page: a profile can be shared by many emulators, and editing it changes every emulator that uses it. Pick each emulator's profile in the profile box on its row. To experiment without touching the old profile, click Duplicate and edit the copy.
- To reuse your settings on another computer, use the Backup and share tab on the Settings page.
Tip: fine-tune one emulator, and once it runs well, export its settings to the others. While the bot is running, only the filters and delays can be changed; other settings need a Stop first.
Auto restart Controls

On the Settings screen:
- Auto restart: when the bot stops, it starts again after the number of seconds you set. It doesn't restart if you clicked Stop, and it gives up after 3 errors in a row.
- Skip restarting the game: untick this and the bot closes and reopens the game before running.
Log and statistics Controls
- Green lines are completed tasks, yellow lines are hiccups worth keeping an eye on, and red lines mean the bot had to stop.
- Each battle has a heading and a Result line, and each run ends with a Summary line. Filter by In village to see only troop requests, donations, wall upgrades and other upgrades.
- Each emulator's log is saved as one file per day and kept for 14 days. The Download button gets today's file, which includes every tap in detail.
- The Stats tab shows stars and loot for today and for all time for each village, and keeps them after you close the app.
Tip: when you message support about an error, attach today's log file. It makes finding the cause much faster.
Automatic updates Controls
- The app checks for a new version from time to time. When one is out, a bar appears at the top with an Update now button.
- Click it and confirm: any running bot stops, and the app downloads the new version, verifies it, closes, replaces its file and reopens.
- If the download is corrupted or the file can't be replaced, the app keeps the old version and shows an error.
Tip: see what's changed beforehand on the Updates page.
5. Troubleshooting
When the bot stops, the log almost always has a yellow or red line saying why. Read that line first.
No emulator cards show up
Only MuMu emulators that are running get a card. Start the emulator, then click Scan emulators. Still nothing? Click Fix connection to reconnect the emulators. This button is locked while any bot is running, because it cuts the connection of every bot.
The bot finds a good village but doesn't attack
The bot only attacks once the army is full. Check the log: the bot writes down the reason every time it holds off.
The bot misreads loot or doesn't recognize buttons
Make sure the emulator resolution is exactly 1600 x 900, landscape. The bot's reference images are captured at this resolution.
The bot stops at the Builder Base match search while running Home Village
In Home Village mode the bot deliberately doesn't start a Builder Base search, because entering that battle without deploying troops still costs you 50 trophies. Take the game back to the Home Village, or switch to Builder Base mode.
The bot stops and reports an "unknown screen"
The bot ran into a screen it doesn't recognize (a new event window, an in-game tutorial asking you to follow an arrow…). It waits a while, then saves a screenshot and stops rather than tapping at random. Deal with that screen in the game yourself, then click Start again. Screenshots are saved in the app's debug folder and deleted automatically after 14 days.
Clan Capital says the army isn't full
Open Edit Army in the game and pick a full army for that account once. The bot does not pick troops for you.
The app says the key can't be used on this PC
The key has expired, or this PC was removed from the key. If the key has expired, renew it on Get a key; if the PC was removed by mistake, message support.
The update failed
The app keeps the version you're using, so nothing is broken. This is usually antivirus software locking the file. Try again, or close the app and run the installer from the download page again: it installs the latest version and keeps your settings.
How do I uninstall FEG Legend?
Open Windows Settings, go to Apps, find FEG Legend and click Uninstall. The uninstaller asks whether to delete your settings and logs as well; choose No if you plan to reinstall later.
Where does the app keep its data?
In the %LOCALAPPDATA%\FEG Legend folder: settings, profiles, per-emulator data, error screenshots in debug, and the app.log file, which records the most recent launch. Error screenshots may show account names, so the app automatically clears out screenshots older than 14 days.