GJC - Grims Job Creator  v1.0.9
American Truck Simulator freight market job creator for the LLCC packs
and the LLCC Left Lane Custom Chrome dedicated server.
======================================================================

BEFORE YOU START - UNBLOCK THE ZIP (Windows 11 Smart App Control)
  Right-click the downloaded GJC zip > Properties > tick "Unblock" > OK,
  THEN extract it. If you extracted first, delete that folder,
  unblock the zip and extract again. Otherwise Windows blocks
  Install-GJC.bat ("Smart App Control blocked a file...").

WHAT'S IN THIS FOLDER
  Install-GJC.bat     Run this first. Installs GJC, creates shortcuts.
                      (First install downloads the ~105 MB app runtime
                      from the official Electron GitHub release.)
  GJC\                The GJC Dispatcher app (GJC.exe).
  Plugin\GJC.dll      The ATS telemetry plugin (GJC can install it for you).

REQUIREMENTS (one-time setup)
  1. LLCC packs active in the ATS Mod Manager:
       LLCC_P0.scs, LLCC_P1.scs, LLCC_P2.scs, LLCC_P3.scs, LLCCv157_P4.scs
     GJC reads them from Documents\American Truck Simulator\mod.
     (Packs stored somewhere else: GJC > Mods > Add pack...)
  2. Steam Cloud synchronisation DISABLED on your profile.
       ATS > Profile > Edit Career > untick "Steam cloud synchronisation".
     Steam replaces edited cloud saves with its own copy, so GJC
     refuses to write to cloud profiles.
  3. Text saves enabled. Close ATS, then GJC > Settings > Save format >
     "Enable text saves". Make a fresh save in-game afterwards.
  4. Plugin installed. GJC > Settings > Install plugin, restart ATS and
     accept the "Advanced SDK features" message the game shows.
  5. Run ATS in Borderless / Windowed mode so the CTRL+G overlay can
     draw on top of the game.
  6. In GJC > Settings, set the Quick Save / Quick Load keys to the ones
     in ATS Options > Keys & Buttons (GJC defaults to F5 / F9).

SINGLE-PLAYER
  CTRL+G  -> pick Source city/company, LLCC Cargo, Trailer,
            Destination city/company -> Dispatch Job.
  GJC quick-saves, writes the job into the quick save (making a backup
  first), then quick-loads. Open the Freight Market at the source
  company and the job is there.
  If the keys don't reach the game, press Quick Save yourself. GJC waits
  for the save, then asks you to Quick Load.

LLCC SERVER (dedicated ATS server)
  You can't quick save or quick load while you're in a multiplayer
  session, so on the server it works like this:
  1. CTRL+G, switch the top toggle to "LLCC Server", build the job and
     press "Prepare for server".
  2. Leave the server. ATS saves your profile, and GJC writes the job
     into that save straight away. You'll get a Windows notification.
  3. Rejoin the LLCC server. The job is in your Freight Market.
  You can cancel a prepared job from the banner on the Dispatch page.

CUSTOM LOADS
  GJC > Loads: design your own cargo from an LLCC template (name,
  weight, pay, trailer body types, companies). GJC writes
  Documents\American Truck Simulator\mod\GJC_Custom_Loads.scs.
  Enable "GJC Custom Loads" in the Mod Manager and restart ATS.
  On the LLCC server, the server and every player need the same
  GJC_Custom_Loads.scs.

SAFETY
  - Every write is backed up first to %LOCALAPPDATA%\GJC\backups
    (newest 30 are kept). GJC > History > Restore puts a save back.
  - "Accepting companies only" (on by default) only offers cargo,
    trailers and destinations that your own freight market already
    pairs together, so the game accepts the job. Cargo marked
    UNVERIFIED is built from the LLCC mod definition alone. It should
    work, but restore from History if the game rejects it.
  - The plugin only reads telemetry. It never changes the game.

TROUBLESHOOTING
  Overlay doesn't appear over ATS -> use Borderless/Windowed mode.
  "This save is binary"           -> step 3 above, then save again.
  Economy reset / job missing     -> History > Restore, keep
                                     "Accepting companies only" on.
  CTRL+G does nothing              -> another app owns CTRL+G; close it
                                     and restart GJC (tray icon > Quit).
  Windows SmartScreen warning     -> GJC isn't code-signed. Choose
                                     "More info > Run anyway".

UPDATES
  GJC updates itself from the LLCC server. Optional updates show an
  "Update" button; required updates install automatically within
  about 10 minutes (never in the middle of a dispatch).

FILES GJC USES
  Settings / history   %APPDATA%\GJC
  Telemetry + backups  %LOCALAPPDATA%\GJC
  Installed app        %LOCALAPPDATA%\Programs\GJC
