Which games need a custom model
Only Fortnite has a prepackaged model that works out of the box. It is the default on every account and Ruby keeps it up to date.
Any other game needs a model trained to recognize its players. That covers most games where opponents are visible on screen: shooters like Valorant, Apex Legends, CS2, Rust or Warzone are the kind of game this approach suits. They are examples, not a supported list. Whether Ruby finds targets in a given game depends entirely on the model you load for it, and we do not ship or vouch for models for those titles.
This works because of how Ruby is built. It captures the screen, runs an object detection model on your graphics card, and moves your aim through a virtual input. Swap the model and the rest of the pipeline stays the same: your smoothing, aim point and field of view settings all carry over. How Ruby works covers that pipeline in more detail, and AI aimbot vs colorbot explains why a trained detector beats matching a color.
What a custom model is
A model is a single file containing a trained neural network. Ruby takes the area of the screen around your crosshair, scales it to a 320×320 image, and the model answers with a list of boxes: where it thinks each target is and how confident it is. Ruby picks a target from those boxes and aims at it.
A model trained on Fortnite has learned what Fortnite characters look like. Point it at a different game and it will mostly see nothing, or the wrong things. A custom model is simply one trained on screenshots of the game you actually play.
The format Ruby accepts
Ruby runs YOLO-style object detectors exported to ONNX. Every upload is checked before it is stored, and a file that does not match is rejected with a message saying what is wrong, so you never end up with a model that loads and then silently detects nothing. The requirements:
- File: a single
.onnxfile, up to 120 MB. - Input: one 320×320 RGB image, shaped
1×3×320×320(channels-last1×320×320×3is also accepted). A batch size of 1 or a dynamic batch dimension is fine; a different resolution is not. - Output: one three-dimensional detection head shaped
1×features×anchors, where features are four box values (centre x, centre y, width, height) followed by one score per class. A single-class model at 320 input gives1×5×2100. The transposed1×anchors×featureslayout is read too. - Classes: one or more. Ruby takes the best class score for each box, so every class you train counts as a target.
That is the layout modern YOLO exporters produce by default (for example the Ultralytics YOLOv8 family). Export the raw head without built-in non-maximum suppression: Ruby merges overlapping boxes itself. Older YOLO versions that add a separate objectness score use a different layout and will not decode correctly.
Uploading and selecting a model
Everything happens on the Model tab of your dashboard. Uploading needs an active license.
- Open your dashboard and go to the Model tab. The Active model list shows the default model and anything you have uploaded.
- Under Upload your own, give the model a name (up to 40 characters, otherwise the file name is used) and drop the
.onnxfile on the upload zone, or choose it. - Wait for the upload and check to finish. If the shapes are wrong, the error says what the model expects and what Ruby needs.
- Press Use this model next to it. The default stays one click away if you want to switch back.
You can keep up to five models at once, which is enough for a few games or a few versions of one. Uploaded models are private to your account. Uploading the exact same file twice is refused, and deleting the model you are using drops you back to the default. If Ruby publishes additional models for everyone, they appear in the same list and are selected the same way.
What happens on the next launch
Choosing a model changes which file your account is set to receive. The desktop app checks that once, when it starts, so a switch applies the next time you launch Ruby. If Ruby is running when you switch, the dashboard tells you and offers to close it.
On that launch the app sees a different model, downloads it, and prepares it for your graphics card. Prepared models are cached by the model's hash, so the first launch on a new model takes longer, and later launches with the same model start at the usual speed. Switching back to a model you used before works the same way.
If a selected model is ever unavailable, the account falls back to the default instead of leaving the app with nothing to run.
What makes a model work well
Ruby runs the model you give it faithfully. It cannot make a weak model accurate, so the quality of the training is what decides how well aim assist works in your game. The general rules for any YOLO detector apply:
Train on the real game
Collect screenshots from the game itself, at your own graphics settings, and label the players in them. Cover the situations you actually fight in: different maps, lighting, distances, skins, partial cover, and players close to the edge of the frame. A few hundred varied, carefully labelled images beat thousands of near-duplicates.
Match what Ruby sees
Ruby feeds the model the region around your crosshair that your field of view setting covers, scaled to 320×320, not your full screen. Training images that look like that region, with targets at the sizes they appear inside it, transfer best. Train at 320 input resolution and export at 320; the upload check rejects any other size.
Label what you want to aim at
Every class in the model is treated as a target. Do not add classes for things you would not shoot, such as teammates, vehicles or loot; leave them unlabelled instead, or the model will learn to point Ruby at them. A single "player" class is the simplest model that works.
Keep it small enough to be fast
Detection time is added to every frame. The smaller YOLO sizes (nano and small) are usually the right trade for real-time aim; a large model may score slightly better offline but runs slower on your card. The detection confidence setting on your dashboard then lets you tune how sure the model must be before Ruby acts.
Test before you rely on it
Check the model on gameplay clips it was not trained on before uploading. If it misses targets or flags scenery, add more examples of exactly those cases and train again.
Get started
Every license includes custom model support. Start with Fortnite out of the box, then load your own model for any other game from the Model tab. Check the system requirements first, read the Fortnite guide if that is your main game, or ask questions about training and exporting in our Discord. More answers are in the FAQ.