File Management

Standard options for handling GPC and GPJ files.

Document image

File Types:

.GPC is the scripting language for all Cronus devices. .GPJ is a project file that includes a collection of GPC scripts.

New

To create a new file, select File ๐Ÿ‘‰ New and a sub-menu will open offering a number of options including templates of sample scripts to illustrate some basic structures of the GPC programming language.

Empty File

As the name implies, this option creates a blank file that opens as a new TAB in the Compiler window.

Document image

GPC Script

Create a blank GPC Script by generating the main function which opens as a new TAB in the Compiler window.

Document image

Remap Sample

Create a sample Remap GPC Script which opens as a new TAB in the Compiler window.

Document image

Combo Rapid Fire

Create a sample Combo Rapid Fire GPC Script which opens as a new TAB in the Compiler window.

Document image

Open...

To open a GPC Script or GPJ Project file, select File ๐Ÿ‘‰ Open (CTRL + O). An 'Open Script or Project' dialog will appear and you can select one or multiple files to open. Each file will be opened in an individual compiler tab, if a file was already opened, its corresponding compiler tab will auto select.

Document image

Add File To Project

All opened GPC scripts can be saved into a single project file (GPJ). A project file is an easy way to recall the currently opened GPC files. To add a gpc file to a project, an existing project must first be open in the compiler (see image below).

Document image

Select File ๐Ÿ‘‰ Add File To Project and a 'Add a File To The Current Project' dialog will appear asking you to select a .gpc script file. You can also click on the 'Add File' button.

Save

To save a GPC Script file, select File ๐Ÿ‘‰ Save (CTRL + S). If the script has not been previously saved, a 'Save Script As' dialog will appear asking you to choose a destination and filename. If the file exists, it will be overwritten.

Important: Make sure you select the TAB or click inside the compiler window to focus on the script you wish to save. If the script is not selected, the Save & Compile options will not be available.

Document image

Info: To indicate that a GPC file was changed and has not yet been saved, an asterisk(*) will be displayed in its tab, after the filename.

Document image

Save As...

To save an existing GPC Script or GPJ Project file to a different file or location, select File ๐Ÿ‘‰ Save As... A 'Save Script As' dialog will appear asking you to choose a destination and filename.

Save All

To save all open GPC Scripts, select File ๐Ÿ‘‰ Save All. A 'Save Script As' dialog will appear asking you to choose a destination and filename for each of the scripts that are open in Compiler.

Save Project

All opened GPC scripts can be saved into a single project file (GPJ). A project file is an easy way to recall the currently opened GPC files.

To save a GPJ Project file, first, make sure all the scripts you wish to include in the project are saved, then select File ๐Ÿ‘‰ Save Project. If the project has not been previously saved, a 'Save Project As' dialog will appear asking you to choose a destination and filename. If the file exists, it will be overwritten.

Document image

Save Project As...

To save an existing GPJ Project file to a different file or location, select File ๐Ÿ‘‰ Save Project As... A 'Save Project As' dialog will appear asking you to choose a destination and filename.

Close

To close a GPC Script, highlight the TAB in the Compiler that you wish to close and select File ๐Ÿ‘‰ CLOSE. You can also click on the X in the right corner of the TAB.

If you have any unsaved data in a GPC file, Zen Studio will always ask if you'd like to save those changes before closing any file.

Document image

Close All

To close all files in the Compiler, select File ๐Ÿ‘‰ Close All.

Close Project

To close the open project file in the Compiler, select File ๐Ÿ‘‰ Close Project.

Recent Files

Zen Studio keeps a list of the 10 most recently opened files in the File ๐Ÿ‘‰ Recent Files menu, so you can reopen them quickly by simply clicking on the file name.

Relaunch as Admin

Zen Studio requires full Windows Administrator permissions. If a Windows install has a restricted or corrupt profile, it can prevent the software from functioning correctly. A solution to this is to open Zen Studio in Admin Mode, this is easily done by selecting File ๐Ÿ‘‰ Relaunch as Admin

If you have any open TABS in the Compiler, you will get a warning message to close those TABS.

Document image

If Zen Studio has started in Admin Mode successfully, you will see [ADMIN] displayed in the Title Bar.

Document image

Exit

Close the Zen Studio Software. ๐Ÿ˜œ

๏ปฟ