General info
The LGR development kit
LGR as file
...
The Lgr directory
...
Making a LGR list
...
Managing LGR skins
As we already know, the LGR skins are stored in the "Lgr" directory.
But there is one problem in Elastomania concerning skins - I do not know a way to change
skins in the game. The only thing you can do is to make a LGR list file, where you set for each level
the skin you want to use in this level. Only for internal levels!
And you can use the LGRs in your own levels. There you can pre-set a skin for the level
(see Levels).
But if you want to use a certain skin instead of the default one, you have to exchange the default.lgr
with your lgr(rename). To make changing LGRs easier, you can use my ChanLgrs program.
If you are playing Elma on Linux, you can use instead of ChanLgrs a script made by my
friend (a new Elastomaniac!) Sharn.
ChanLgrs for Windows
What has to be done?
The only thing that has to be done is that you have to put all your LGRs into the Lgr directory
and make the "Actlgr.xdt" file which indicates the skin being used. It is a simple text file with the
name of the LRG with(!) extension.(e.g. style.lgr). And there is one more thing: If you are using the default skin, put "default.xlgr" into the Actlgr.xdt file.
If you are using a different skin and have somewhere saved the default skin, rename the
real default.lgr file to "default.xlgr".
How does it work?
It simply "exchanges" the actual default.lgr file with the chosen lgr.
It means that the default.lgr file is renamed to the name that is stored in the "Actlgr.xdt" file, which
should be the original name of the LGR. If the original default skin is being used, it is renamed to default.xlgr.
And then the chosen skin is renamed to "default.lgr" and the original name of the skin is written into the Actlgr.xdt file.
Using ChanLgrs?
Run the program and input the name, without extension(!), of the skin you want to use.
Problems?
It may happen, that you have no permission to change names of files or/and directories. In this case either get this permission, or try to change the file/directory attributes.
If you have any other problems using ChanLgrs that you are not able to work out, please contact me, and I'll try to help.
ChanLgrs for Linux
My LGRs
Download