Reflexions - How to edit scores, unlock levels and achievements
23 Apr 2013 16:00
The purpose of this guide is to explain how to edit a file created by the game Reflexions in order to modify the scores, the unlocked levels and the obtained achievements.
This guide has been written for Reflexions version 1.0.13 for Mac OS X. However it could be valid also for other versions of the game.
About the game
Reflexions is a game organized in levels. To complete each level you must move a ball in order to catch all the object on the screen, then you must move the ball toward an exit point.
The ball moves vertically or horizontally, when it reaches an obstacle it bounces. The only way to control the direction of the ball is flipping the obstacles, which are oblique rectangles.
You can't stop the ball.
Getting the game
You can download the game from MacUpdate.
Locate the right file
You should run and play the game at least one time to let it create the needed file.
Open the Terminal application (/Applications/Utilities/Terminal.app) and paste in its window the following command:
open -e ~/Library/Containers/com.yoyogames.reflexions/Data/Library/Containers/com.yoyogames.reflexions/Data/Library/Application\ Support/com.yoyogames.reflexions/reflexions.yyg
Then press enter. This will open the file created by Reflexions with TextEdit, so that you can edit it as you want.
Structure of the file
The file has at least four sections. Each of them start with a string like
In each section there are properties defined like this:
[achievement] section you can enable the achievements.
The value for each property is
0.000000 (disabled) or
Here you are the list of the properties for the achievements:
ach_world1seeing the light
ach_world4star in flight
ach_20stars1protostar world 1
ach_20stars2protostar world 2
ach_20stars3protostar world 3
ach_20stars4protostar world 4
ach_30stars1superstar world 1
ach_30stars2superstar world 2
ach_30stars3superstar world 3
ach_30stars4superstar world 4
ach_10restartspersistance of time
[levels] is the place where your data about completed levels is stored. When you complete a level 3 properties are written.
Each level has the following properties:
medalXHow many stars you got when you completed the level. The value can be
timeXThe score you got. Example:
progXTo enable the next level. The value can be
X is the number of the level.
So, if you want to complete the level number 15 with 3 stars you should write something like:
medal15=3.000000 time15=123.000000 prog15=1.000000
[options] section you can enable or disable the sounds and the music by setting the properties
music with the values
1.000000 for enabling or
0.000000 for disabling.
However this section is not interesting, because you can easily set that properties from the options menu of the game.
[stats] section you can edit the statistical data of the game.
Here you are a list of some stats properties:
bouncesHow many times the ball bounced against walls and obstacles.
completesHow many times you completed a level.
deathsHow many times you clicked the obstacles in order to rotate them.
pickupsHow many "blue diamonds" you collected in total. Example:
restartsHow many restarts you did. Example:
Here you can download an example file with all the completed levels and all the achievements: reflexions.yyg.zip
You should open the zip file and put the yyg file in the right folder. To open that folder execute the following command from the Terminal:
open ~/Library/Containers/com.yoyogames.reflexions/Data/Library/Containers/com.yoyogames.reflexions/Data/Library/Application\ Support/com.yoyogames.reflexions
If there is already a file called
reflexions.yyg you can replace it, but note that doing so you will lost the game scores and achievements that you currently have.
I suggest to rename the old file with a name like