Skip to content

Commit c662806

Browse files
authored
Revise README for clarity and detail improvements
Updated the README.md to improve clarity and detail about the ChromaScape framework, including changes to the description, setup instructions, and feature explanations.
1 parent ac06b03 commit c662806

File tree

1 file changed

+28
-10
lines changed

1 file changed

+28
-10
lines changed

README.md

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515

1616
---
1717

18-
ChromaScape is a low-level, colour-based automation framework designed for game clients like Old School RuneScape. Inspired by Kelltom's [OSBC](https://github.com/kelltom/OS-Bot-COLOR/tree/main), [SRL-dev](https://github.com/Villavu/SRL-Development/tree/master), Nick Cemenenkoff's [RuneDark](https://github.com/cemenenkoff/runedark-public) and [SlyAutomation](https://github.com/slyautomation/), it focuses on education, prototyping, and safe, human-like interaction using colour and pixel-based logic.
18+
ChromaScape is a colour-based automation framework designed for Old School RuneScape. Inspired by Kelltom's [OSBC](https://github.com/kelltom/OS-Bot-COLOR/tree/main), [SRL-dev](https://github.com/Villavu/SRL-Development/tree/master), Nick Cemenenkoff's [RuneDark](https://github.com/cemenenkoff/runedark-public) and [SlyAutomation](https://github.com/slyautomation/), it focuses on education, iterative prototyping, human like interaction using solely pixel based logic.
1919

20-
Whether you're just starting with bot development or building advanced automation systems, ChromaScape provides a modular, structured framework to help you prototype fast and learn by doing.
20+
Whether you're just starting out or building advanced automation systems, ChromaScape provides a modular, structured framework to help you create robust bots and learn by doing.
2121

2222
# Setup
23-
Check out a full step by step guide on how to get started [Pre-requisites](https://github.com/StaticSweep/ChromaScape/wiki/Pre%E2%80%90requisite-installations)
23+
Check out a full **step by step guide** on how to get started [Read the Installation Guide](https://github.com/StaticSweep/ChromaScape/wiki/Pre%E2%80%90requisite-installations)
2424

2525
# Documentation and Tutorials
2626
- Please visit the [Wiki](https://github.com/StaticSweep/ChromaScape/wiki) for detailed guides on writing scripts with this framework.
@@ -29,11 +29,29 @@ Check out a full step by step guide on how to get started [Pre-requisites](https
2929
# Features
3030

3131
## Architecture
32-
ChromaScape provides a highly modular colour botting framework that provides granular utilities to maximize flexibility and reusability across different automation tasks.
32+
ChromaScape provides a layered architecture with tightly scoped utilities that each serve a specific role.
3333

34-
Due to the separation of domain, core and actions utilities it provides a greater level of control and expansion.
34+
Due to the separation of domain, core and actions utilities it provides a greater level of control and expansion, the nature of these utilities is detailed in the wiki.
3535

3636
## Mouse input
37+
Here's a very simple scripting example from the [DemoMiningScript](https://github.com/StaticSweep/ChromaScape/blob/main/src/main/java/com/chromascape/scripts/DemoMiningScript.java) that you'll see working below.
38+
```java
39+
private void clickOre() {
40+
try {
41+
BufferedImage gameView = controller().zones().getGameView();
42+
Point clickLoc = PointSelector.getRandomPointInColour(gameView, "Cyan", 15);
43+
if (clickLoc == null) {
44+
stop();
45+
return;
46+
}
47+
controller().mouse().moveTo(clickLoc, "medium");
48+
controller().mouse().leftClick();
49+
} catch (Exception e) {
50+
logger.error(e);
51+
logger.error(e.getStackTrace());
52+
}
53+
}
54+
```
3755

3856

3957
https://github.com/user-attachments/assets/1267df86-db5c-4189-8c8d-e2f5fe047cab
@@ -57,25 +75,25 @@ To further reduce bot detection risks, ChromaScape uses an adapted version of [W
5775
https://github.com/user-attachments/assets/b1c601e9-b58a-4a54-865b-739a25ddf898
5876

5977

60-
The UI is built with Spring Boot, a mature industry framework, and served locally. This gives you a powerful way to view logs, manage scripts, see the bot's sensor information, and extend functionality. It's fully customizable with basic HTML/CSS/JS, so power users can tweak or overhaul it without modifying core bot code or needing to worry about tight coupling.
78+
The UI is built with Spring Boot, a mature industry framework, and served locally. This gives you a powerful way to view logs, manage scripts, see the bot's sensor information, and extend functionality. It's fully customizable with basic HTML/CSS/JS, so power users can tweak or overhaul it without modifying core framework utilities or needing to worry about tight coupling.
6179

6280
**Newly: you can now have runelite covered by other applications while the bot runs**
63-
> You can't minimise it or put it entirely offscreen yet, but you can open other applications and have it run in the background.
81+
> You can't minimise it or put it entirely offscreen yet, but you can place other applications on top and have it run in the background.
6482
6583
## Colour and Image Detection
6684

6785
### - Colour Picker
68-
This utility allows you to pick exact pixel colours directly from the screen. It’s useful for identifying precise colour values needed to detect specific game elements or interface components. The picker supports real-time sampling and stores these colours for use in detection routines. Inspired by ThatOneGuy's [BCD](https://github.com/ThatOneGuyScripts/BetterColorDetection)
86+
This tool allows you to pick exact pixel colours directly from the screen. It’s useful for identifying precise colour values needed to detect specific game elements or interface components. The colour picker supports real-time sampling and stores these colours for use in detection routines. Advanced users may choose to instantiate and store colours in code, per their preference. Inspired by ThatOneGuy's [BCD](https://github.com/ThatOneGuyScripts/BetterColorDetection)
6987

7088
<img width="1298" height="751" alt="Colour_Picker" src="https://github.com/user-attachments/assets/650deb75-97c1-46af-b2f7-414af9ce63e6" />
7189

7290
> Note: You will need all other colours except your desired one to be black.
7391
7492
### - Colour Detection
75-
Using the colours obtained from the picker, the framework scans defined screen regions to find matching outlines or clusters of pixels. This process enables the bot to recognise in-game objects, UI elements, or indicators by their unique colour signatures. The detection logic is optimized to handle slight variations in colour due to lighting or graphical effects by allowing for a lower and upper range of colours.
93+
Using the colours obtained from the picker, the framework scans defined screen regions to find matching outlines or clusters of pixels. This process enables the bot to recognise NPCs, static objects and or RuneLite's indicators by their unique colour signatures. The detection logic is optimized to handle slight variations in colour due to lighting or graphical effects by allowing for a lower and upper range of HSV colours.
7694

7795
### - Image and Sprite Detection
78-
ChromaScape includes functionality for identifying images or sprites by comparing pixel patterns against stored templates. This technique allows robust detection of complex objects like UI elements or Sprites.
96+
ChromaScape includes functionality for identifying images or sprites by comparing pixel patterns against stored templates. This technique allows detection of complex objects like UI elements, sprites, items, and RuneLite plugin additions.
7997

8098
## Optical Character Recognition (OCR)
8199
ChromaScape utilises template matching for accurate and fast OCR. This solution - as opposed to machine learning - provides for ocr at runtime. This was inspired by SRL and OSBC.

0 commit comments

Comments
 (0)