Pleevy
Member
- Nov 23, 2024
- 285
- 850
- 103
I shall attempt to clarify:I don't think I fully understand what you mean.
How my workflow on Cubsitting Simulator looks:
- I start the ren'py sdk launcher
- I click open project, that opens vscode
- I click 'launch game' in the sdk launcher
- generally, if I make a change in vscode and save, it loads the changes automatically.
- if the changes aren't automatically applied, I press shift + r in the game to reload.
- when I'm satisfied I tested everything, I build my win / linux / mac / android distributions.
(Then there are generally two more steps: - I get told I forgot to test X obvious thing and it doesn't work, - I hurriedly fix the bugs I should've caught during developing, but you can skip those last steps with proper testing)
What's not working with your new project / what do you mean with "function like this one does"?
So...with BSC...I have a set of files...If I am not mistaken its the same files you can download "as the game" via Xaverion's post/link etc. (Ill reconfirm that...I have of course also been working with files that have been deposited in PMs...but I know at some point, the core files had to be downloaded.) I can navigate to those game files and in the directory is an executable that starts the game...and some folders, one of which is game. In said game folder, there are LOTS of .rpy files. These are the code files. These are the files I have been working from/on directly. I open any of there files in notepad+, make the change, save the file and then when I load the main exe in the main directory, the game loads (or not if I make an egregious error, but then it tells me immediately) and the new changes are live in the code, no muss...no fuss...no recompiling into stand alone files...if something is wrong, I just reopen the the .rpy file and can reload the main game executable after fixing it. I don't have to run the ren'py sdk launcher. I don't even have that on any computer I have been using since this whole thing began...
I only just got it on one system now to use with the new project I am talking about, where, when starting from scratch, and using some AI generated boilerplate code and the generic stuff the SDK generates if you make a project that way, is in rpy files and I can mess with it, except the only way to "run the game" is THROUGH the sdk...not a stand alone executable specifically for the game itself...to get to THAT, I have to recompile it (build a distribution.) I have never had to build a distribution for any of the sutff I have been doing here...yet everything I do directly effects the files that are the game itself. (And most of the time..the stuff I have been writing works fine.)
That is what I want to achieve with the new project. I will be working in an environment where I do not neetd to protect the files, they will only be run on an isolated system where i have complete control over "everything else." I want a core executable, that does what BSC does...loads the game, and directly reads the .rpy files, even if its just a custom stand-alone like isolated/miniaturized version of the ren'py sdk that you never see, despite it performing its function. That way I can edit the .rpy files quickly, and likely remotely, to change or add the parts of the game on the fly and just have them work immediately as I make the changes, without needing to recompile (build a new distribution.)
Side note: I am wondering if this is why some of the changes to thing I am doing are not working as expected....despite not throwing total game breaking errors (stops the exe at launch level) but throws it up when the code is actually accessed (meaning some of my older code might not work either...more testing might be needed...I think I have kept decent patch notes so at least if someone has to fix it they will know where to look in general, even if not always line by line)