Download Jar. Uses 1955K of libraries. Click here for Pure Java version (14840L/80K).
1 | // WELCOME!! This is THE PROGRAM YOU ARE LOOKING FOR. |
2 | |
3 | // Latest development version: #1033860 |
4 | |
5 | !7 |
6 | |
7 | // INCLUDE THE MAIN MODULE |
8 | !include early #1033683 // Gazelle Screen Cam |
9 | replace MainModule with GazelleScreenCam. |
10 | |
11 | !include early #1033540 // include GazelleHost early for flags like PingV3 |
12 | |
13 | //set flag InCore. |
14 | set flag NoJavaXJar. |
15 | |
16 | sS windowTitle = "Gazelle 22"; |
17 | sS progIDForDBAndAutoUpdate = #1033636; |
18 | sbool pingSourceStrictMode; |
19 | |
20 | static GazelleHost host; |
21 | static MainModule client; |
22 | static ThreadPool threadPool; |
23 | |
24 | p {
|
25 | loadableUtils.utils.__setJavaX(main.class); |
26 | standaloneInit(); |
27 | |
28 | ping_v3_setPingSourceMaker(-> {
|
29 | System.out.println("pingSourceMaker");
|
30 | if (pingSourceStrictMode) |
31 | fail("Strict mode - make a ping source first!!");
|
32 | ret new PingSource(threadPool, "legacy"); |
33 | }); |
34 | |
35 | threadPool = new ThreadPool(findIntArg cores(args, numberOfCores())); |
36 | print(threadPool); |
37 | //threadPool.verbose = true; |
38 | PingSource ps = new(threadPool, print("Starting Gazelle"));
|
39 | ps.do(-> {
|
40 | System.out.println("Pinging");
|
41 | ping(); |
42 | //if (true) fail("error test");
|
43 | |
44 | print("Pinged");
|
45 | |
46 | programID = progIDForDBAndAutoUpdate; |
47 | |
48 | if (cic(args, "delete-session")) {
|
49 | print("Deleting session (" + programDir(programID) + ")");
|
50 | clearConceptsOf(programID); |
51 | } |
52 | |
53 | host = new GazelleHost(threadPool, -> {
|
54 | ret client = new MainModule; |
55 | }); |
56 | host.windowTitle = windowTitle; |
57 | host.run(args); |
58 | |
59 | if (!cic(args, "console")) {
|
60 | print("Stopping System.out");
|
61 | printAlsoToSystemOut = false; |
62 | } |
63 | }); |
64 | print("aha.");
|
65 | } |
66 | |
67 | static Map generalMap = syncMap(); |
Began life as a copy of #1033636
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): bhatertpkbcr, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1033892 |
| Snippet name: | Gazelle 22 Standalone [stable version backup] |
| Eternal ID of this version: | #1033892/1 |
| Text MD5: | 6be77a1cbb4d4afb78b29f3ea80a02e6 |
| Transpilation MD5: | 61e1bf3538bc8288464aa42418554bfe |
| Author: | stefan |
| Category: | javax / screen recognition |
| Type: | JavaX source code (desktop) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-01-09 03:52:53 |
| Source code size: | 1699 bytes / 67 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 845 / 1952 |
| Referenced in: | [show references] |