I tried using the recommended method mentioned on the Bounty Hunting page: create a new project then from this project's "manage game" page you can overwrite it with a copy of the official project you want to work on.
I also clicked the link to get read-only access to the files through the link on the Bounty Hunting page, in part because I didn't see those instructions at first. I hope this wasn't a huge mistake - if so those links perhaps shouldn't be there. I'll explain why I'm worried it might be.
In any case I have one project named exactly the same as the real game - sqroomtwentyfive, with read-only access.
I also have another one with a different name - chroomtwofive because it seems to need to be unique. They both have the same files copied in, I believe.
I don't know if or how they might be modified. I wanted a second one because I needed one I could modify and test with, to try to fix the bug and confirm it is fixed. This system seems like it's designed to allow people who don't have write access to the main source to try to develop and test fixes. At least, the Bounty Hunting page gives that impression.
However, the code copied into the second project doesn't run as is. I get a Fatal error propagating from GS 1 (method: createGame): saying "Class Chroomtwofive not found". And then "Wrong table status (open): should be 'setup'". The game engine is looking for a class named the same as my project with my username prefix, but the code has a class and set of filenames named after the other prefix.
My short term goal here is just to get it to work and be able to fix bugs and learn. My slightly longer term goal, since it takes an unbounded amount of testing and re-fixing, is to submit these fixes.
Thanks in advance
I also clicked the link to get read-only access to the files through the link on the Bounty Hunting page, in part because I didn't see those instructions at first. I hope this wasn't a huge mistake - if so those links perhaps shouldn't be there. I'll explain why I'm worried it might be.
In any case I have one project named exactly the same as the real game - sqroomtwentyfive, with read-only access.
I also have another one with a different name - chroomtwofive because it seems to need to be unique. They both have the same files copied in, I believe.
I don't know if or how they might be modified. I wanted a second one because I needed one I could modify and test with, to try to fix the bug and confirm it is fixed. This system seems like it's designed to allow people who don't have write access to the main source to try to develop and test fixes. At least, the Bounty Hunting page gives that impression.
However, the code copied into the second project doesn't run as is. I get a Fatal error propagating from GS 1 (method: createGame): saying "Class Chroomtwofive not found". And then "Wrong table status (open): should be 'setup'". The game engine is looking for a class named the same as my project with my username prefix, but the code has a class and set of filenames named after the other prefix.
My short term goal here is just to get it to work and be able to fix bugs and learn. My slightly longer term goal, since it takes an unbounded amount of testing and re-fixing, is to submit these fixes.
- One possible solution here is, I could change the code, the filenames etc. to all refer to my new username and prefix. There are 39 instances of the name with prefix, but I suspect it might be more complex than a search and replace, and then renaming of files.
If I were to do this though, it would break the code. It could no longer function in the old prefix username for the same reason. I'd either be taking over the prefix, which would be pretty rude in my opinion, when I hadn't lifted a finger in the actual development; or I'd be submitting a bunch of code that didn't work anymore. So that doesn't seem very useful for submitting.
- I could maybe try to write a reusable forwarding main game class of my own (the one it's crashing and looking for) to try to forward function calls to the other code, while leaving it intact other than bug fixes. One issue is I don't think it's possible to do redirects in every necessary way - SQL files and folders for images, for example.
And when it's time to submit, again there is a mess to clean up - but at least it would be mostly an external mess that could be achieved almost entirely by deleting files, that could hopefully be slightly modified and re-used another time to do the same thing. It's a nice thought at least. I don't know if it's possible. There would have to be a shell script to delete the mess.
- Should I create a project with the exact same name as the original game - sqroomtwentyfive? If so, that's where I am worried getting the read-only access might have been a problem, because even if I delete the project with that name, so I can try to create an empty project with that name, I think it would re-create the read-only one. if I make another project with the same name - assuming I can create a project with that name at all. I might not be able to because a published game is named that, or perhaps because another developer has a project named that - I'm not sure if it's a user namespace or global namespace in order to be in a shared play now area. I'm still learning the rules here. I admit I could experiment further here, but It seems like I was discouraged from doing so by the BH page link. (Correction - I had mixed up where the Get Read Only Access link was, it was on the studio projects page, but I am still thinking getting read only access shouldn't prevent testing.)
Thanks in advance