Jump to content

Project updates


Rick
 Share

Recommended Posts

Do we have any ideas on what can be done with the little annoyances that come with updating a project? I feel like there should be a difference between critical files (maybe shaders) vs MyGame files that aren't so critical. I dislike files that I delete coming back. I dislike files getting overwritten and backed up. There must be something to do to make LE updates 100% annoyance free. I'm always terrified to update my LE project in fear of it breaking my game.

  • Upvote 3
Link to comment
Share on other sites

For sure update the MyGame template project with your changes so new projects get the fixes, but some kind of "blank" project that would only include the bare minimum (shaders and app.lua maybe) would be nice. These project types wouldn't get updates to anything else (for sure LE C++ updates though as those don't break things). That might be nice for the more advanced users who don't want 90% of the MyGame template stuff. A lot of changes are around these MyGame scripts which are nice for beginners but people who aren't using them deal with some annoyances with them.

 

Maybe an option when creating a new project to pick what we want and don't update these at all. We can do it ourselves if we want to. I feel like a middle ground of beginner users vs experienced users would be nice.

 

I don't know, but the current process just seems clumsy.

Link to comment
Share on other sites

Updating the exe is generally not the annoyances people have been complaining about though. The complaint is generally around the MyGame scripts that get put into every project. When LE C++ stuff gets updated it doesn't cause any issues. So yeah, just have the Lua game exe's in the template folder. That part should be fine.

Link to comment
Share on other sites

There must be something to do to make LE updates 100% annoyance free

It's not possible otherwise it would not be major updates. Take a look at UE4 updates, some major ones really breaks compatibility sometimes, i got a map totally lost also. I create my your own folders for model,script,textures ... so they won't be impacted by updates.

Stop toying and make games

Link to comment
Share on other sites

When I create a new build of the Lua interpreter your project needs to get it. C++ projects do not have a provided EXE, so you just recompile it.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

I don't use Lua. I only use C++. I see in the Project Manager that my project needs an update. So I update it. And my project folder is repopulated with files I removed. All I'm trying to do is not have this happen. If it's easier for me to not update the project and copy over two or three files manually insetad from some other folder, I'm fine with that. I just don't know which ones.

 

Edit: for that matter why replace the App.cpp file? Even if it's backed up, why overwrite what I created?

Link to comment
Share on other sites

For LUA the way I'd do it is to have a "system" folder where everything Josh update goes, for us its read only.

 

Then the game folder which structurally mirrors the system folder, these are the two top level folders.

 

Anything we want our own copies of to modify we just copy/import from system -> game

 

The search path is game then system. If we never modify one of Josh's components then it always gets updated and we use the updated one. If we play with it then it goes into the game folder and tnat has precedence.

 

We could even have a check in things like the script editor.

 

"Cannot save a System folder entity. Do you want to copy this to the Game folder?"

content over form, game play over all.

Link to comment
Share on other sites

Why not have a Mods folder, into which you can copy and modify any of the standard scripts. Make the Leadwerks engine search path, check the Mods folder, like the addons folder, before looking in the normal folders. If you use the Mods folder and you want to add in the changes, use notepad++ to find the differences and make the changes to your private code base manually. This would protect you from having your amended code overwritten.

If you don't use the Mods folder, then you are allowing the "Updates Required" to work as they do now.

Link to comment
Share on other sites

To get the core LE library & shader updates. I assume those come along with these other MyGame script updates? If we could pick and choose when updating between core LE library & shader updates vs MyGame script updates (or both) then that would be great because 99% of the time I don't need MyGame script updates for an existing project. I don't need a fix in my existing project for FPSPlayer.lua because it's most likely I've already fixed it or heavily modified it so I don't need it updated. Or if push comes to shove I can see on the forums what code changed and make the change myself if I want it, but asking that we copy off the base scripts to make our own copies and use those because of the update process works today just seems like a clumsy flow. It's not intuitive and nobody does it and then when they make a change to a script and update their game they come to the forums and ask what happened to their script in which case you explain the update and backup process that happens. It's just a clumsy process.

  • Upvote 3
Link to comment
Share on other sites

a simple file list between with a checkbox and the possibility of rename before start update would help.

PC : Win 10 Pro 64 Bit , 4x cores ~2 GHz , 8 GB RAM , AMD R7 265

2D : Photoline , Zooner Photo Studio 13 , Art Rage Studio 3.5.4 , Ashampoo Snap 7 , ...

3D : Shade 15 Basic , Carrara 8.5 & DAZ Studio 4.8 , Cheetah 3D 6.3.2 , Via Cad 8

Music : Samplitude Music Studio , Music Creator 7

IDE : Leadwerks Engine 3.x , Unity 5.x , (Unreal 4.8.x) , AGK v2.x , Construct 2 , (Clickteam Fusion 2.5) , ShiVa 1.9 , Game Maker Studio , MS Visual Studio .Net , Android Studio , Monkey , ...

Link to comment
Share on other sites

  • 1 month later...

So when is this going to be fixed? I've already updated my project 5 or 6 times and takes time to find what was updated. Its a very silly process. To get a fix for a shader or two I spend minutes restoring other files it overwritten. Mainly App.lua. why the hell that gets updated, I've never seen a change in it for ages.

Intel Core i7 Quad 2.3 Ghz, 8GB RAM, GeForce GT 630M 2GB, Windows 10 (x64)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...