Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

34
LINES

< > BotCompany Repo | #1024912 // Chess Board Recognizer Main (packaged by #1024913)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (11699L/84K).

!7

set flag hotwire_here.
sS osID = #1016478;
sbool standalone = true;
sS programName = "Chess Board Recognizer";
sS backgroundID = #1102533;

mainClassName ChessBoardRecognizer p-pcall {
  ret if standalone && javaXStandalone_init(args, noConsole := true);
  
  autoVMExit();
  try {
    temp tempWindow(chessOCR_splashScreen(backgroundID));
    ret if standalone_start2(standalone, programName, osID);

    saveTextFile(stefansOS_backgroundFile(), backgroundID);
    standalone_runOSWithInitialModules(osID, tlftj([[
      #1024911/ChessBoardRecognizer
      #1018866/SystemPrintLog
      #1019954/TaskBar_dev
    ]]), osParams := litparams(
      onStart := voidfunc(O os) { setOpt(os, minLoadScreenShowingTime := 20.0); },
      hideFeatures := stefansOS_technicalFeatures(),
      standardModules := ll(
        "Chess Board Recognizer", "#1024911/ChessBoardRecognizer"
      ),
      botName := "",
      osName := programName,
      showTopInput := false,
      shutdownConsole := r { chessOCR_splashScreen(backgroundID, text := programName + " Shutting Down") },
    ));
  } catch print e { showConsole(); }
}

Author comment

Began life as a copy of #1024623

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024912
Snippet name: Chess Board Recognizer Main (packaged by #1024913)
Eternal ID of this version: #1024912/28
Text MD5: ecec13888c0ad404ee4396575d976048
Transpilation MD5: 619b731d27dccb4fc6096b8ba2752edd
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-31 17:12:54
Source code size: 1151 bytes / 34 lines
Pitched / IR pitched: No / No
Views / Downloads: 389 / 1586
Version history: 27 change(s)
Referenced in: #1024913 - Package Chess Board Recognizer