Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project Load: Allow .yyp filename to differ from internal project resource name #2890

Closed
KormexGit opened this issue Oct 18, 2023 · 5 comments
Assignees
Labels
feature request New feature (or a request for one)
Milestone

Comments

@KormexGit
Copy link

KormexGit commented Oct 18, 2023

Is your feature request related to a problem?

A problem I have to help beginners with not infrequently is when they attempt to rename their project by changing the name of the .yyp file directly in the file browser. This causes the project to do all sorts of weird things when next opened, like objects placed in the room editor turning into completely different objects, and new code added to the project not being compiled at all. The problem happens even if gamemaker is closed at the time of renaming.

Another common cause of this sort of project corruption is having the project stored in a folder being backed up by Microsoft Onedrive (or other cloud backup services). Onedrive does all sorts of horrible nasty things to the project, since it likes to replace the files with dummy files of sorts.

Describe the solution you'd like

Give a warning in the IDE when first opening a project that has had it's .yyp renamed, or that has had it's files tampered with incorrectly in some other way (like if Onedrive did it's thing). The problems can usually be fixed by doing a save as of the project, so perhaps it could suggest that to the user.

Describe alternatives you've considered

No response

Additional context

No response

@meseta
Copy link

meseta commented Dec 22, 2023

I like this, but would add: would be great if the IDE had an option somewhere in game settings specifically for "rename project"

@YYDan
Copy link
Collaborator

YYDan commented Dec 28, 2023

@meseta That would be a completely different feature - if you haven't already, please file a new request yourself for that to be considered.

To actually "rename the project" that's File > Save As and exists already, but of course I am assuming you mean a new tool to mass edit all the product name strings throughout all sections of Game Options.

@YYDan YYDan changed the title Add some sort of warning in the IDE if it detects that project files were incorrectly tampered with Project Load: Add warning on detecting that the project .yyp file was incorrectly tampered with outside GameMaker Dec 28, 2023
@iampremo iampremo transferred this issue from another repository Jan 9, 2024
@stuckie stuckie modified the milestones: 2024.2, 2024.4 Jan 17, 2024
@stuckie
Copy link

stuckie commented Apr 1, 2024

The OneDrive portion has been actioned as of #2859

@stuckie
Copy link

stuckie commented Apr 10, 2024

This should now be fixed so that we do not tie the project name to the project file name... which'll allow you to rename the .yyp as necessary.

@stuckie stuckie closed this as completed Apr 10, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in Team Workload Apr 10, 2024
@gurpreetsinghmatharoo gurpreetsinghmatharoo added the documentation Improvements or additions to documentation are required by this issue label Apr 11, 2024
@YYBartT YYBartT assigned YYBartT and unassigned YYBartT Apr 12, 2024
@stuckie stuckie changed the title Project Load: Add warning on detecting that the project .yyp file was incorrectly tampered with outside GameMaker Project Load: Allow .yyp filename to differ from internal project resource name Apr 15, 2024
@YYBartT YYBartT removed the documentation Improvements or additions to documentation are required by this issue label Apr 15, 2024
@YYBartT YYBartT moved this from Done to Ready for QA in Team Workload Apr 15, 2024
@alicemoretti
Copy link
Contributor

Verified fixed on IDE v2024.400.0.541 Runtime v2024.400.0.560.

Renaming the .yyp does not corrupt the project. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature (or a request for one)
Projects
Archived in project
Development

No branches or pull requests

7 participants