Page 1 of 2

Game folders empty

Posted: 24 April 2017, 23:19
by atm2727
I am a new studio user. After connecting to my home folder with SFTP for the first time I realized that all game folders (reversi, gomoku, hearts and my 2 new projects) are EMPTY!

Re: Game folders empty

Posted: 24 April 2017, 23:28
by DrKarotte
These files have been removed for an unknown reason.
But the files should be available here, as far as I know:

https://www.dropbox.com/s/rsd5r4v49xudp ... o.zip?dl=0

Re: Game folders empty

Posted: 24 April 2017, 23:38
by atm2727
Should renaming the files and copying to my new project folders be enough?

Re: Game folders empty

Posted: 25 April 2017, 03:09
by Victoria_La
No renaming files is not enough, there is lot of other strings that needs to be renamed. There are previous posts that has been recently about it.
I also created a script available in sharedcode project to do the renaming which can be called in command line if you have php command line installed.
https://github.com/elaskavaia/bga-share ... rename.php

Call example if you project name is "heartsmyproject"
php7.0 git/bga-sharedcode/tools/bgaprojectrename.php remote/hearts/ remote/heartsmyproject/

after that you have to go to control panel and reload all configuration files and images for you new project

Don't actually use hearts from archive it has been trashed, but Een should have restored hearts to all account today (its gameoptions still has syntax errors though)

Re: Game folders empty

Posted: 25 April 2017, 21:44
by atm2727
Thanks, but it seems like a lot for trouble... Shouldn't the files be created automatically when a new project is started?

Re: Game folders empty

Posted: 25 April 2017, 22:17
by Een
atm2727 wrote:Thanks, but it seems like a lot for trouble... Shouldn't the files be created automatically when a new project is started?
Yes it should. The reason why the folders were empty is because we hit a system limit (maximum number of linux bind mounts for those interested).
It should be ok now, except for gomoku tutorial that is not mounted anymore, until we find a way to raise the limit or change the way to access tutorial folders.

Re: Game folders empty

Posted: 25 April 2017, 23:59
by Victoria_La
The template should be non-empty and Een fixed that, my script is for having a modifiable versions of existing games.

Re: Game folders empty

Posted: 26 April 2017, 11:53
by Een
Een wrote:It should be ok now, except for gomoku tutorial that is not mounted anymore, until we find a way to raise the limit or change the way to access tutorial folders.
We changed the way access is given to the tutorials. Access to projects and tutorials should be working fine again.

Re: Game folders empty

Posted: 19 August 2017, 17:54
by nolatall
Hi,
I have the same problem.
My folder is empty.
What should I do to learn how to develop a game please ?

Re: Game folders empty

Posted: 19 August 2017, 18:58
by Een
nolatall wrote:Hi,
I have the same problem.
My folder is empty.
What should I do to learn how to develop a game please ?
Should be good now!