Upload README.md
Browse files
README.md
CHANGED
|
@@ -1,13 +1,45 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Interface editor
|
| 2 |
+
|
| 3 |
+
This interface is useable for the 530+ revision of runescape cache, with some edits this will also be able to load osrs caches. I released this code to help the community, I wrote this code a long time ago and just recently started with refactoring it. It works but the code isn't the best (working on it :) )
|
| 4 |
+
|
| 5 |
+
|
| 6 |
+
# Usage
|
| 7 |
+
## Startup
|
| 8 |
+
Open the **config.properties** file. Chang the **cache_path** field to your cache path, make sure to use \\ or / and end with it aswell. After that you can launch the jar file or use your IDE to launch **InterfaceGUI.java**
|
| 9 |
+
> #Tool Properties
|
| 10 |
+
cache_path=D:\\server\\data\\cache\\
|
| 11 |
+
dump_path=dump/
|
| 12 |
+
sprite_path=dump/
|
| 13 |
+
version = 1
|
| 14 |
+
|
| 15 |
+
## Editing interfaces
|
| 16 |
+

|
| 17 |
+
You can select an interface on the left, once clicked on it you can selected a component from that interface on the right side.
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
## More info
|
| 24 |
+
### Font ids
|
| 25 |
+
List of current font ids I found
|
| 26 |
+
305 307 468 473 494 495 496 497 584 591 645 646 647 648 764 776 819 1591 2244 2710 3237 3793 3794 3795 4040 5419 5631 13120 13121
|
| 27 |
+
### Found script ids
|
| 28 |
+
Will update this later
|
| 29 |
+
### Script info
|
| 30 |
+
**How does those scripts work in the script tab ?**
|
| 31 |
+
|
| 32 |
+
example the transparency script : 1357;-2147483645;100;
|
| 33 |
+
The 'code' of the script. (not editable with this editor, you can also change the paramters it receives)
|
| 34 |
+
```
|
| 35 |
+
void script_1357(Widget widget0, int arg1) {
|
| 36 |
+
widget0.setTrans(arg1);
|
| 37 |
+
return;
|
| 38 |
+
}
|
| 39 |
+
```
|
| 40 |
+
**what do the numbers mean?**
|
| 41 |
+
|
| 42 |
+
> 1357: is the id of script, the first number in the array is ALWAYS the script id
|
| 43 |
+
> everything after 1357 are paremeters for that specific script.
|
| 44 |
+
> -2147483645 : means it's the widget itself refering to it's own hash, if you want to trigger another component use it hash.
|
| 45 |
+
> 100 : an extra parameter (so the trans will be 100% when hovered on the component)
|