# Changelog (22)

## <mark style="color:$primary;">**Cronus Zen Firmware**</mark>

***

{% hint style="info" %}

### v2.1.0 Beta.43 - November 10th 2022

<mark style="color:purple;">**Fixed**</mark>

Xbox Wireless Adapter bug fixed.
{% endhint %}

***

{% hint style="info" %}

### v2.1.0 Beta.41 - November 2nd 2022

<mark style="color:purple;">**Fixed**</mark>

Back Button issue.
{% endhint %}

***

{% hint style="info" %}

### **v2.1.0 Beta.35 -** July 12th 2022

<mark style="color:blue;">**Added**</mark>

get\_ipolar (POLAR, RADIUS/ANGLE)

Various minor fixes.

<mark style="color:purple;">**Fixed**</mark>

get\_polar

Bug police lights.

Bug in stickize for analog indexes.
{% endhint %}

***

{% hint style="info" %}

### **v2.1.0** Beta.22 - May 2nd 2022

<mark style="color:blue;">**Added**</mark>

Support for PS5 DualSense volume control.

GPC\_OP\_SWITCH to interpreter.

Bluetooth Clear function (see Device Tab in Zen Studio).

<mark style="color:purple;">**Fixed**</mark>

Elites S2 Paddles mapped with the Xbox are now working with the new controller firmware (Note: You can longer use GPC script to independently control the paddles. If you still wish to use GPC scripting for the paddles, you need to revert the Elite S2 controller firmware back to 4.8.1908.0).

Issue with PS5 DualSense Mic in crossover.

Issue where PS5 DualSense controller in A2/A3 with no headset would not pull audio from a DualShock 4 v2 in A1 with headset.

DualShock 4 (Bluetooth) always switching Switch Emulator to audio mode even with no headset.

Issue with Build & Run GPC\_OP\_GPOLAR is now working correctly.

GPC\_OP\_GRUMBLE is now working correctly.

<mark style="color:green;">**Improved**</mark>

Boosted Xbox One audio volume to DualShock 4 and DualSense controllers.
{% endhint %}

***

{% hint style="info" %}

## v2.1.0 Beta.16 - Feb 25th 2022

<mark style="color:blue;">**Added**</mark>

GPC errors will no longer display E2XXX error codes. You will now be returned to slot 0 where it will display the error message. Your Zen will not crash and you will be able to continue playing without having to reset.

<mark style="color:purple;">**Fixed**</mark>

XB1 Share button spamming when using MK.\
General stability improvements.
{% endhint %}

***

***

{% hint style="info" %}

### **v**2.1.0 Beta.6 - Feb 11th 2022

<mark style="color:blue;">**Added**</mark>

random(min,max) will now work also in case of random(max,min)\
ResetDevice command.

Navcon and Joycon left to MK cfg activation.

<mark style="color:purple;">**Fixed**</mark>

Issue with Joycon left not working with MK on Bluetooth.

brtime being capped to INT16\_MAX

<mark style="color:green;">**Improved**</mark>

Stability improvements.
{% endhint %}

***

{% hint style="info" %}

### **v**2.1.0 Beta.1 - Feb 7th 2022

<mark style="color:blue;">**Added**</mark>

Official PS Remote Play Support (PS5 & PS4).

New 32bit GPC interpreter!

Support for PowerA Fusion Pro 2 Xbox Series X/S controller.

Support for PowerA Spectra Xbox Series X/S controller.

Support for Razer Wolverine v2 Xbox Series X/S controller.

Path to rumble on Switch controllers from the interpreter.

Toggle to activate MK profiles.

PS5 DualSense Adaptive Triggers support with official PS Remote Play.

Block XB1 share for a non 1914 controller.

<mark style="color:purple;">**Fixed**</mark>

Several Xbox One controller issues.

DualShock 4 Audio now supported over Bluetooth.

Xbox One Audio on Nintendo Switch.

<mark style="color:green;">**Improved**</mark>

Support for 2 channel mics on the PS4.

Mouse & Keyboard detection.
{% endhint %}

***

## <mark style="color:$primary;">Zen Studio Updates</mark>

***

{% hint style="info" %}

## v1.2.1 Beta 119 - November 2nd 2022

<mark style="color:blue;">**Added**</mark>

A check to allow paste into the currently opened Compiler Tab via SendMessage by prepending a "#" to the pasted code.

ASCII\_OPEN\_BRACKET constant.

SET\_POLAR2(POLAR, ANGLE, RADIUS), anticlockwise Angle, Radius max 15000

POLAR\_GHOST, ANALOG\_GHOSTX, ANALOG\_GHOSTY a virtual stick to help in math/trigonometry functions.

Tools->Restart ZenStudio.

Tools->Reset ZenStudio (deletes all files in AppdData\Roaming\CronusZenBeta).

<mark style="color:purple;">**Fixed**</mark>

Multidimensional array issue.

GPC Guide link.

Windows 11 GUI issue.

<mark style="color:green;">**Improved**</mark>

Changed app exit cmd from SendMessage moved to value 99

SET\_POLAR restored to its original behaviour alth0 GET\_POLAR now follows the new SET\_POLAR2 logic.
{% endhint %}

***

{% hint style="info" %}

## v1.2.1 Beta 105 - July 12th 2022

<mark style="color:blue;">**Added**</mark>

A check to allow paste into the currently opened Compiler Tab via SendMessage by prepending a "#" to the pasted code

SET\_POLAR2(POLAR, ANGLE, RADIUS), anticlockwise Angle, Radius max 15000

POLAR\_GHOST, ANALOG\_GHOSTX, ANALOG\_GHOSTY a virtual stick to help in math/trigonometry functions.

Downloaded script will show their name in the Compiler Tab.

Tooltip on downloaded script to read the full name in the Programmer Tab.

A better error message when failing to add a script to the slots.

Various GUI fixes

<mark style="color:purple;">**Fixed**</mark>

ASCII\_OPEN\_BRACKET constant.

Device Monitor long text labels animation overlapping index and value.

INV opcode.

An issue with nested if statement.

<mark style="color:green;">**Improved**</mark>

Some UI text to reflect new forum layout.
{% endhint %}

***

{% hint style="info" %}

## v1.2.1 Beta 85 - May 2nd 2022

<mark style="color:blue;">**Added**</mark>

Support for the continue keyword in loops.

Zen server status is now shown on status bar. Clicking the status bar label will perform the check again.

Button to copy current device/software details to clipboard (Help > About Zen Studio...).

Scrollable layout for low resolution monitors.

Append InGameSettingsFlyoutText when exporting M\&K .bin layout.

Switch Case statement - Check GPC sample below.

Enum data definition - Check GPC sample below.

Bluetooth clear button - Check instructions below.

Support for any keyword as an identifier.

<mark style="color:purple;">**Fixed**</mark>

Issue when GamePack/Scripts sync occurs.

Issue with GamePacks cached list.

Cached YouTube links not showing when clicking PRO Gamepacks.

The compiler will now track possible overflow or underflow errors.

Issue with inc/dec issue in if statement.

Issue with binary operators.

SPVARS not loading after GamePack sync occurs (on APPDATA delete or PC change).

GPC editor GOTO logic (finally).

Issue with flashing some GPC scripts.

MAX MAPPER not exiting API MODE on close causing no output to be sent.

<mark style="color:green;">**Improved**</mark>

Replaced Find Device Icon with a better one.

Multiple GUI fixes, enhancements and stability improvements.

Various compiler optimizations.

Ballistic Curve buttons order.

Updated the parser to treat : and ; as separate characters while maintaining the old syntax support for ending with : or ;
{% endhint %}

{% hint style="success" %}
**Special Thanks**

:thumbsup: :first\_place: :heart:  We'd like to give a special mention to ***Swizzy*** for his invaluable assistance with this release.
{% endhint %}

<figure><img src="https://2136520299-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa1t6RET8gDbZRwSCKi5I%2Fuploads%2Fevdkys9v8zGHAP5uQRsu%2Fzenbtdevicesclear.png?alt=media&#x26;token=ae57a39f-399f-4ffe-9964-2cf234b9de7a" alt=""><figcaption></figcaption></figure>

**Switch Case Statement Sample:**

{% file src="<https://2136520299-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa1t6RET8gDbZRwSCKi5I%2Fuploads%2FI2ftBHC34tcVrEYUo5xO%2FSwitchExample.gpc?alt=media&token=d2e9e8d8-e383-4abb-80b7-1c46122760de>" %}

```
int var = 1;

define FIVE = 5;

define SIX = FIVE + 1;

main {
	switch(var) {
		case 1 {
			set_val(TRACE_1, 1); // THIS HAS NO BREAK SO IT WILL EVALUATE NEXT CASE!
		}
		case 2 : {
			set_val(TRACE_1, 2);
			set_val(TRACE_2, 2);
			break;
		}
		case 0x3 {
			break;
		}
		case 0x4 : {
			break;
		}
		case FIVE {
			break;
	 	}
	 	case SIX : {
	 	
	 	}
		default {
			set_val(TRACE_3, 1);
		}
	}
	switch(get_rumble(RUMBLE_RT)) {
		case 0x10 {
			break;
		}
		case 40 : {
			break;
		}		
		case 60 {
			break;
		}
		case 80 : {
			break;
		}
	}
}
```

**Switch Case Statement Sample:**

{% file src="<https://2136520299-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa1t6RET8gDbZRwSCKi5I%2Fuploads%2FEzKSlQm9Vh6V4FZZzGcg%2FEnumExample.gpc?alt=media&token=d92b3faf-1a5b-41e1-a8bb-67126ae2038e>" %}

```
enum {
  MYENUM_0 = 50,
  MYENUM_1,
  MYENUM_3,
  MYENUM_4
}

enum {
  MYENUM2_0,
  MYENUM2_1,
  MYENUM2_3,
  MYENUM2_4
}

main {

	set_val(TRACE_1, MYENUM_1); 	// THIS WILL OUTPUT 51 AS OUR ENUM STARTED FROM 50
	set_val(TRACE_1, MYENUM2_1);	// THIS WILL OUTPUT 1 AS DEFAULT ENUM START IS ALWAYS 0

}

```

***

{% hint style="info" %}

## v1.2.1 Beta 40 - Feb 26th 2022

<mark style="color:blue;">**Added**</mark>

Support for the continue keyword in loops.

<mark style="color:purple;">**Fixed**</mark>

Bug that may occur when flashing some scripts.

GO TO Gpc Editor when selecting start of line option.
{% endhint %}

***

{% hint style="info" %}

## v1.2.1 Beta 37 - Feb 25th 2022

<mark style="color:blue;">**Added**</mark>

Search device will now invoke FindDevice even if device is unresponsive.

Now you need to click the Refresh icon if you plug/unplug a device from Zen in order to update the connected devices tree.

<mark style="color:purple;">**Fixed**</mark>

Gpc compiler issue.

GpcScript GO TO column.

GpcScript GO TO window size not showing all options.

Connected BT devices not showing in DeviceMonitor.

General stability improvements.
{% endhint %}

***

{% hint style="info" %}

## v1.2.1 Beta 25 - Feb 15th 2022

<mark style="color:blue;">**Added**</mark>

Find Device button in Device Tab.

Zen Studio will now check for new beta updates. It'll prompt you to download from the Beta #resources channel.

<mark style="color:purple;">**Fixed**</mark>

Changed device status check method.

Changed logic for ResetDevice.

Various GUI and stability fixes.
{% endhint %}

***

{% hint style="info" %}

## v1.2.1 Beta 13 - Feb 11th 2022

<mark style="color:blue;">**Added**</mark>

Support for ResetDevice command.

ResetDevice icon in Device Tab.

Now when setting PS4 Speciality or PS Remote the device will be reset automatically.

<mark style="color:purple;">**Fixed**</mark>

Missing case for GENERIC label load when loading a profile. (This fixed the empty MOUSEKEY assignment when opening the M\&K Tab or loading a profile)

32bit SPVARS causing slot not to be loaded correctly

Issue when swapping slots

Missing keyboard buttons 1 to 0 not showing as assigned when viewing Keyboard Layout

Available flash size after synchronizing missing local scripts

Text overflow when listening to assignment

<mark style="color:green;">**Improved**</mark>

Communication retries in case of bad device response
{% endhint %}

***

{% hint style="info" %}

## v1.2.1 Beta 12 - Feb 7th 2022

<mark style="color:blue;">**Added**</mark>

New Mouse & Keyboard Settings Tab with a huge range of new & powerful features including Ballistic Curves, HIP & ADS profiles and 4 AUX profiles each with their own settings and keybinds.

Memory slots are now measured by memory space up to a massive 64k per script or GamePack - double the size that was previously available.

Added PIO\_SWITCH (Enum 6).

PS Remote Feature - Now supports the Sony PS Remote Play PC Software.

Added comand (CTRL / + and CTRL / -) to increase/decrease GPC editor font size (must be in an opened GPC script).

Added support to switch to a 16bit compiler with optimizations. All scripts must be closed to switch\
MK Settings ADS profile now accepts Deactivation Buttons. Example: Set Fire button to activate AUX1 which has a lower mouse sensitivity, set ADS deactivate button to Fire button. Now when you ADS and Fire, AUX1 will activate.

Recover unsaved GPC in case of Windows restart/crash.

Gamepack size displayed in GamePack details.

Device Monitor Shortcut (F3).

GPC Clean - Correctly format GPC layout with the touch of a button. Shortcut (F6) Undo (Ctrl+F6).

<mark style="color:purple;">**Fixed**</mark>

Disable Output Protocol when PS Remote Play is checked.

Multiple GUI fixes and tweaks.

<mark style="color:green;">**Improved**</mark>

Compiler font size is now 7 to 20.

Memory slot programming speed is now over 3x faster.
{% endhint %}

***
