Giter VIP home page Giter VIP logo

Comments (8)

rdurfee avatar rdurfee commented on June 9, 2024 3

This is strongly not recommended.

The information in rpyc files is needed for upgrades and loading save files built with previous versions of your scripts. Deleting the files will break compatibility with save games and should only be done as a last resort. Force compile in the launcher is the preferred way to fix issues with rpyc files.

https://www.renpy.org/doc/html/build.html#the-old-game-directory
https://patreon.renpy.org/rpyc.html

from vscode-language-renpy.

a2937 avatar a2937 commented on June 9, 2024 2

Hello. May I take on adding the command that migrates old .rpyc files to the old game directory?

from vscode-language-renpy.

duckdoom4 avatar duckdoom4 commented on June 9, 2024 1

In that case I think it would be best not to include this in the plugin. As to not give the idea to the user this is something that should be done.

from vscode-language-renpy.

KiloOscarSix avatar KiloOscarSix commented on June 9, 2024 1

How about a middle ground, a command that detects unlinked .rpyc files (rpyc files that don't have a corresponding rpy file) and automatically creates/moves the old game directory ?

from vscode-language-renpy.

LuqueDaniel avatar LuqueDaniel commented on June 9, 2024 1

@a2937 Sure! There is no one working on this feature. Thank you for contributing!

from vscode-language-renpy.

duckdoom4 avatar duckdoom4 commented on June 9, 2024

Sounds cool. Not sure where you would place such a button though. One thing you can do for sure is add a command for it.

(Let me know if you need some info on how you would implement such a command)

from vscode-language-renpy.

LuqueDaniel avatar LuqueDaniel commented on June 9, 2024

Yes, a command is the best option.

from vscode-language-renpy.

pjpollina avatar pjpollina commented on June 9, 2024

I disagree, as long as it's documented with that message in mind there's no reason not to include it for people who face far more issues manually having to clear out old rpyc files than loading old saves. I doubt many people who use the VSCode command palette are types that would do something like that without understanding the implications.

Of course, that's just my opinion, I'll respect whatever Jelle and Luque decide is best for the plugin.

from vscode-language-renpy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.