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

I can't run the game or make a rom... #1675

Open
ArthurZMhr opened this issue Jan 21, 2025 · 8 comments
Open

I can't run the game or make a rom... #1675

ArthurZMhr opened this issue Jan 21, 2025 · 8 comments

Comments

@ArthurZMhr
Copy link

Last week, I was using gb studio normally, making a cool game. But this week, gb studio stopped compiling my game, and I can't play it or make a ROM...

It shows this message:

'No such file or directory, open: C:/Users/Alex/app data/temp/gbtools/tools_version'

I checked this tools_version, but it was a useless file, there's nothing inside.

I hope someone can help me with this, I'm almost canceling my game...

@chrismaltby
Copy link
Owner

Hi, that’s very odd. Has anything changed with your computer since then, software updates anything like that?

Just to check, have you tried just rebooting your computer and reopening the app? I’ve seen a similar issue on Mac if the app was open for a long time, never seen it on Windows before, but rebooting might help.

Another thing you can try is in the Preferences window (I think that’s Edit/Preferences in menu for Windows version) you could try setting the temporary directory to something else, that sometimes fixes issues like this too.

Please let me know if any of these help at all.

@ArthurZMhr
Copy link
Author

ArthurZMhr commented Jan 21, 2025

Dude, thanks for trying to help me, but things seem to be getting weirder.

Now the app won't let me create a test game

It says: Error invoking remote method 'create-project': Error: ENOENT: no such file or directory, open 'C:Users\Alex\Documents\test2025\project.gbsproj'

I think it has to do with my security system, which is 360 Total Security

But I'm really confused about all this...

I also think I must be making some really stupid mistake, but since I have no idea what the mistake is, I can't fix it.

@doomer6699
Copy link

Something similar usually happens to me when I have the application open and I run a file cleaner like BleachBit, these applications delete temporary files, but once I close GBS and reopen it the temporary files come back and the application can be used normally, at least from Linux Debian that is the solution, maybe you should uninstall and reinstall GBS on Windows so that the files are reinstalled from 0

@maxoakland
Copy link

Something like that happens to me on MacOS if I leave GBStudio running overnight. The only way to fix it is restarting my computer

@joeledge
Copy link

This happens to me often on MacOS after leaving it running overnight too (most nights), but I can fix it by just exiting GB Studio and reopening and don't need to restart.

@nielsderijk
Copy link

nielsderijk commented Jan 22, 2025

Same issue as here: #1435
Indeed solvable by restarting GB Studio (and in some cases your OS)

@RichardULZ
Copy link
Contributor

@ArthurZMhr

'No such file or directory, open: C:/Users/Alex/app data/temp/gbtools/tools_version'

I checked this tools_version, but it was a useless file, there's nothing inside.

Please use the issue template when possible, it's helpful for reporting, even if it looks like overkill.
Gleaning from this, you're using windows 10 or 11, not MacOS,

Your most likely issues are,
Limited rights on the computer,
Windows defender or another antivirus blocking/deleting changes to the project directory and temp locations,
Microsoft OneDrive locking or protecting access to the documents folder.

Possible solutions,
Running gbstudio as administrator,
Restarting your computer (Never a bad idea! 🤷)
Changing the temp directory or project locations out of the documents folder (try C:/tmp)
Deleting the temp/gbtools/ folder for it to regenerate.
Excluding the temp/project folder from windows defender/your antivirus, sdcc/gbstudio makes many small files on compile/project creation that sometimes set off false, silent warnings,
Disabling or working somewhere away from OneDrive temporarily, Projects in 4.1.3 are a bit nicer to use with git,
Trying a different version of gbstudio, portable x64 OR installer, whichever you haven't tried.
Testing a different computer to make sure you're not crazy 😨

Sorry for the delay, I'm most active on the GBStudio discord, hope this windows centric advise helps.

@ArthurZMhr
Copy link
Author

ArthurZMhr commented Feb 3, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants