Phantom games in list

I have a bunch of games showing up in the XMB that are not there. Specifically in the SNES list.

All the phantom games are showing “._Game Name.smb” They appear sorted at the top of the list.

Seems like this list is generated dynamically and that perhaps there is some corruption on the drive? I did have an aborted copy over the network.

(I’m running the 5-21 nightly)

Those are garbage files created by Mac OS X that it poops out all over any FAT-formatted drives it can get its hands on. They’re hidden from the Mac filesystem because they start with a period but Lakka sees them. You’ll have to delete them by connecting via ssh and then navigating to your content directory/directories and entering the command:

rm ._*

that’s rm-space-period-underscore-asterisk. That will delete any files that start with ._

Maybe we should ignore files beginning with a dot in the listing?

Yeah, I feel like we shouldn’t have to code around Apple’s stupidity, but it would indeed improve usability among Mac users.

Awesome. Thanks!

But since we are going to display those lists based on database query results now, this will fix this problem too, right?

Yes, I think so. Those garbage files won’t match the database hashes and should be ignored.

Hello there and thanks for all your help with this, I was trying to access the directory of roms also from a macbook in order to execute the command rm ._* in order to delete these ‘phantom files’ but since I’m very noob about this I couldn’t figure out a way to access the directory, I’m stuck at the point where I’ve entered the lakka box through ssh here

Lakka:~ #

Now I type

scp -r roms/* root@ip-of-your-lakka:roms/

But when I do this I get an endless loading of the roms and the ‘._’ files and I can’t execute this command, what am I skipping/doing wrong?

Thanks for your help.

Regards.

Try to access via ssh

I was under the impression that accessing via terminal was ssh? I repeat I’m kind of noob about all things linux and terminal, so what would be the best way to access the lakka directory and execute that command from a mac computer? Is there any step by step guide or maybe somewhere I could read about how to do all of this? Some kind of a “noob friendly” guide.

Thanks again.

If you’re already in a terminal in your Mac machine and are scp-ing ROMs over, you can delete them directly on your Mac just as well as you would in Lakka.

So, from the same place you were trying to copy from, type: rm -rf roms/.* This should get rid of all of them from your Mac, at least temporarily; it might recreate them at some point. However, you can tack that copying command onto the end of it to make sure it moves them before it even has a chance to remake them: rm -rf roms/.* && scp -r roms/* [email protected]:roms/ FYI, putting ‘&&’ in between commands tells it to ‘do the first thing and as soon as it finishes successfully do the next thing’.

[QUOTE=hunterk;23453]If you’re already in a terminal in your Mac machine and are scp-ing ROMs over, you can delete them directly on your Mac just as well as you would in Lakka.

So, from the same place you were trying to copy from, type: rm -rf roms/.* This should get rid of all of them from your Mac, at least temporarily; it might recreate them at some point. However, you can tack that copying command onto the end of it to make sure it moves them before it even has a chance to remake them: rm -rf roms/.* && scp -r roms/* [email protected]:roms/ FYI, putting ‘&&’ in between commands tells it to ‘do the first thing and as soon as it finishes successfully do the next thing’.[/QUOTE]

I will give this a try as soon as I get home, thank you very much for your help.

I updated our documentation. Instructions for scp are in “Accessing Lakka Filesystem” page, instructions for ssh are in “Accessing Command Line”