Yes! But from PPA there’s a “trick” to add PPA on Debian and make it work:
1) First, in Debian things are a little different, so we need to install this first:
apt-get install software-properties-common python-software-properties
2)Than add the PPA:
add-apt-repository ppa:florian-rival/gdevelop
3) After that, you need to edit “sources.list” and change “wheezy” to “trusty”
The last step is the same…
apt-get update
apt-get install gdevelop
Yes, I’ll try to compile again in a few days, but it was not an error from gdevelop sources, but from my libraries to compile it. With no much time to try to discover the missing ones, I’ve decided to try from PPA.
with the WIndows Problem ddabrahim, have you tried to download it again, maybe it was not downloaded correctly. Another try could be rename the file before trying to extract it( cause you have two dots there and I do not know how windows read it ).
With the problem in LInux, blurymind, I use LInux here too, and for me, it happens when Try to preview. But after some minutes it decreases the cpu usage. But there is a “trick”… you can try to limit cpu usage by Gdevelop. Maybe it can help you until this bug can be correct( I khow it is not the right solution, but you can try to save yourself for now).
Yes, here on Linux I’ve extract files, and than recompressed using ZIP option, and the regenerated Zip file has 3x size than the original one. But it works.
If you want I can upload and create a link to download this one(the extracted and recompressed one ). Let me know.
cpulimit does not limit the cpu usage unfortunately.
When you run gdevelop, it actually runs another process called “GDIDE” which consumes the cpu when in the events tab.
I dont know for you, but for me it consistently eats over 50-57% of the cpu when in the events tab. It doesnt stop.
It is obviously the events tab.
EDIT:
Ok i was able to limit the cpu to 20% by editing the startup script:
[code][fox@darkstar ~]$ cat /opt/gdevelop/StartGDevelop.sh #Execute this file to launch GDevelop #If you can not launch GD, make sure that this file #as well as ‘GDIDE’ have the right to be executed
#(Right click on file > Properties)
export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
if [ -z ${1+x} ]; then
cpulimit -l 20 ./GDIDE
else
cpulimit -l 20 ./GDIDE “$1”
fi
if [ “$?” = “127” ]; then
mkdir -p ~/.GDevelop
./GDIDE 1> ~/.GDevelop/errorMsgWhileLoadingGD.txt 2> ~/.GDevelop/errorMsgWhileLoadingGD.txt
errorMsg=$(cat < ~/.GDevelop/errorMsgWhileLoadingGD.txt)
echo "$errorMsg" | grep "loading shared"
if [ "$?" == "0" ]; then
zenity --error --text="Unable to launch GDevelop! Here is the error message:\n\n <b>$errorMsg</b>\n\nMay be a <b>package is not installed</b>.\nCheck if you can find the package in the Software Center.";
else
zenity --error --text="Unable to launch GDevelop, a unknown error happened! Here is the full error message:\n\n <b>$errorMsg</b>\n\n.";
fi;
fi;
[/code]
However, then I get the problem where the events tab is super laggy!
And gdevelop is obviously running slower.
Also it leads to html5 games no longer working. You get this error in the browser
(So, optimize it better than ourselves…)
The problem is that I wasn’t able to figure out where the consumption comes. If GDevelop is much slower when its speed is limited, it might indicate that it needs to work at this speed and you still have one full core available for other tasks.
Out of curiosity, what CPU do you have? Sounds like you have dualcore which is seriously a no-go these days - you want at least quadcore to run complex applications.
Also, could you download Windows version of GD (it can be ran via Wine) and tell if the problem still occurs then?
//edit: As of optimizing, this is pretty much my guesswork, but first thing I’d suspect is event tab’s rendering function. Perhaps it contain some loops you could get rid of in favor of rendering it in a single pass?
Tested, (by putting a “Hey, the function is executed” message when the rendering is done) no related to this function (only called when something is changed inside the event tab).
blurymind you were right! I have not noticed because I use quadcores here, but you are right!
When events tab is opened, the cpu usage goes to the sky and do not stop.
Using ubuntu, xubuntu and Debian… all of then with the same problem.
Using Intel core i5 and i7
With these machines one core reaches 100% always and get fixed there.
In an old celeron with ubuntustudio( xfce, and low latency kernel ), the cpu reaches 50% when in events tab, but in scenes tab it gets about 13-14%.
Darkhog’s suggestion works fine on all of these machines: You can run( for now ) gdevelop via wine, without problems. The Cpu usage is about that 13-15%
The bug is already known (discussed some weeks ago with blurymind) and happens only on Linux (which can indicate that it’s not a GDevelop bug but rather a wxWidgets bug…).