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

Can't write/edit es_systems.cfg #107

Closed
BertrandHustle opened this issue Jul 10, 2013 · 22 comments
Closed

Can't write/edit es_systems.cfg #107

BertrandHustle opened this issue Jul 10, 2013 · 22 comments

Comments

@BertrandHustle
Copy link

I installed RetroPie on my raspberry pi and it worked great, save for roms loading in 480x640 resolution. I tried to go into es_systems.cfg through WinSCP to edit it and fix the resolution problem, but every time I make an edit and save it saves a blank file. I've also tried deleting the original and moving a copy over to the .emulationstation folder, and it saves the copy as blank too. Any ideas?

@Aloshi
Copy link
Owner

Aloshi commented Jul 10, 2013

Have you tried copying the file over to your local machine, editing it there, then copying it back with WinSCP (I'm not sure how reliable WinSCP's editor is)? Does it work if you edit it directly on the Pi (press F4 to close EmulationStation)?

Also might be able to fix the tiny resolution thing by either changing your TV's display mode to something like "stretch fullscreen."

@BertrandHustle
Copy link
Author

I haven't tried it directly on the pi yet, mostly because it's now blank so I'd have to rewrite the whole thing. But I did try editing it on my local machine and copying it back and ran into the same issue.

@HorstBaerbel
Copy link

See #78. Check if you have a problem with your SD card. This is pretty common on the RPI.

@BertrandHustle
Copy link
Author

Got it, I'll give it a test shortly. Although I should say that I edited other files on the card just fine, it's JUST es_systems.cfg that's giving me the issue.

@HorstBaerbel
Copy link

If that file is in an area where the card is b0rked, that is possible. You should check your permissions etc. too!

@BertrandHustle
Copy link
Author

Ah, I see. The permissions for the file are 777, so that shouldn't (key word, shouldn't) be the issue. If the card's borked is it just done for completely? I'd need to get a new card?

@HorstBaerbel
Copy link

Mine started crapping out when editing boot/config.txt, I could edit the hell out of the file, it was never changed. Then Raspbian failed to apt-get update/upgrade... I had to send the card in. Usually they have 3-5 years of warranty. Got a brand new card back some weeks later.

@BertrandHustle
Copy link
Author

Yup, EXACT same thing that happened to me. Well shoot...at least there's a warranty

@HorstBaerbel
Copy link

So the tools reported the card has bad sectors?

@BertrandHustle
Copy link
Author

I just meant the editing problem was the same. I just tested it and it finished the test without errors.

@BertrandHustle
Copy link
Author

I should mention as well that I've wiped/reinstalled RetroPie twice on this same card, and came up with the exact same issue both times

@HorstBaerbel
Copy link

I'm not sure where to problem is then. It might be the encoding or something. Where is the file showing as empty? In the editor started from WinSCP or on the Pi? Did you make sure ES is not running?

@BertrandHustle
Copy link
Author

I haven't tried to go into the file on the Pi yet, but on startup it comes back with an error like "unable to start EmulationStation, systems not found", because the .cfg file is empty. So there's no way it could be running even if I wanted it to.

@BertrandHustle
Copy link
Author

How would I go about going into the file on the Pi?

@BertrandHustle
Copy link
Author

Er, editing it.

@Aloshi
Copy link
Owner

Aloshi commented Jul 10, 2013

nano ~/.emulationstation/es_systems.cfg from the command line. Ctrl-O to save within nano, Ctrl-X to close.

@HorstBaerbel
Copy link

@BertrandHustle
Copy link
Author

I figured out the issue, just needed to expand the partition on the SD card. Now...would you happen to know where I can get a copy of the retroarch.cfg and es_systems.cfg files? They both got wiped.

@BertrandHustle
Copy link
Author

Or even just the text from those files so I could copy them over, that would work.

@Aloshi
Copy link
Owner

Aloshi commented Jul 13, 2013

You can re-run RetroPie-Setup, do source-based install, then only select (with the Space key) "Generate es_systems.cfg" for that.

@BertrandHustle
Copy link
Author

How do I re-run the setup?

@BertrandHustle
Copy link
Author

Nvm, I think I found it. This?
cd RetroPie-Setup
chmod +x retropie_setup.sh
sudo ./retropie_setup.sh

@Aloshi Aloshi closed this as completed Jul 23, 2013
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

3 participants