Phone app setup
Install the CoilCab app by hand on JPR Phone or RoadPhone Pro.
Every supported phone gets the CoilCab app automatically through gg_lib. Only JPR Phone and RoadPhone Pro cannot add another resource's app by themselves, so you install it into them once, by hand.
The files are in gg_coilcab/!SETUP/Manual Phone Setup/, one folder per phone.
JPR Phone
Use the files in !SETUP/Manual Phone Setup/JPR Phone/. Every JPR file you edit is in its escrow_ignore, so you can redo these edits after a JPR update.
-
Open
jpr-phonesystem/configs/main_config.lua. Paste the three blocks from1. main_config.txtinto the matching tables: the entry intoConfig.AppStoreApps, and one line each intoConfig.AppLabelsandConfig.AppSizes. Keep the other entries. -
Copy
gg_coilcab.pngintojpr-phonesystem/html/img/apps/. -
Open
jpr-phonesystem/html/index.htmland find the block that starts<div class="app-calculadora">. Directly above it, paste the contents of2. index.html, at the same level as the otherapp-blocks. -
Paste the contents of
3. main.cssat the end ofjpr-phonesystem/html/css/main.css. -
Run these in your server console:
Textrestart jpr-phonesystem restart gg_coilcab -
Open the phone and install CoilCab from the App Store, under Custom Apps.
To have it on new phones without a store download, also add gg_coilcab to Config.DefaultApps with a free home-screen slot. Phones that already exist keep their saved home screen, so on those it stays in the store until installed once.
RoadPhone Pro
Use the files in !SETUP/Manual Phone Setup/RoadPhone Pro/.
-
Copy
gg_coilcab/phone/dist/icon.svgto both of these, renamed:Textroadphone/public/img/Apps/light_mode/gg_coilcab.svg roadphone/public/img/Apps/dark_mode/gg_coilcab.svg -
Open
roadphone/public/static/config/config.json. Add the object fromapp.jsonas one more element of itsAppStorearray, with a comma between elements. Do not replace the whole file. -
In
server.cfg, startroadphonebeforegg_libandgg_coilcab. Restart all three after saving. -
Open RoadPhone. CoilCab is already installed for every player.
If the app opens to a black screen
The app is in place but its page did not load. Check that gg_coilcab is started and that gg_coilcab/phone/dist/index.html exists. In the pasted code, keep ?phone=jpr-phonesystem or ?phone=roadphone at the end of the address: the app needs it for live ride updates.
