libretro / libretro-thumbnails

Boxarts, titlescreen, and in-game screenshots for the no-intro DATs used by RetroArch
350 stars 350 forks source link

Truncate filenames? #4

Closed RobLoach closed 8 years ago

RobLoach commented 8 years ago

When checking out with git, some files cannot be created because they exceed filename length limit:

error: unable to create file Nintendo - Game Boy Advance/Named_Boxarts/2 Games in 1 - The SpongeBob SquarePants Movie + SpongeBob SquarePants and Friends in Freeze Frame Frenzy (Europe) (En,Fr,De,Es,It,Nl+En,Fr,De,Es,Nl).txt (File name too long)
error: unable to create file Nintendo - Game Boy Advance/Named_Snaps/2 Games in 1 - The SpongeBob SquarePants Movie + SpongeBob SquarePants and Friends in Freeze Frame Frenzy (Europe) (En,Fr,De,Es,It,Nl+En,Fr,De,Es,Nl).png (File name too long)
error: unable to create file Nintendo - Game Boy Advance/Named_Titles/2 Games in 1 - The SpongeBob SquarePants Movie + SpongeBob SquarePants and Friends in Freeze Frame Frenzy (Europe) (En,Fr,De,Es,It,Nl+En,Fr,De,Es,Nl).png (File name too long)
kivutar commented 8 years ago

So what are the filenames of those roms in the no-intro romset?

RobLoach commented 8 years ago

It's corectly named, it just appears to be too long for git to handle, at least on my system: http://datomatic.no-intro.org/?page=show_record&s=23&n=2593

kivutar commented 8 years ago

What is your system?

RobLoach commented 8 years ago

Linux Jarvis 4.2.0-35-generic #40-Ubuntu SMP Tue Mar 15 22:15:45 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux ext4

kivutar commented 8 years ago

Ah ok, I didn't know that git had a filename limit :o

RobLoach commented 8 years ago

I enabled core.longpaths = true in .gitconfig. Haven't seen any problems since... I'll close this for now.