WARNING: generateZipSet: Could not find 'gui-icons.dat'!

Ask for help with ScummVM problems

Moderator: ScummVM Team

Post Reply
User avatar
legluondunet
Posts: 51
Joined: Fri Jan 30, 2015 9:24 am

WARNING: generateZipSet: Could not find 'gui-icons.dat'!

Post by legluondunet »

Hello,
when I launch ScummVM, I can see in terminal this error message:

Code: Select all

WARNING: generateZipSet: Could not find 'gui-icons.dat'!
Could you tell me what that means? Is it very annoying that it could not find this file?
Thank you for your help.
User avatar
sev
ScummVM Lead
Posts: 2305
Joined: Wed Sep 21, 2005 1:06 pm
Contact:

Re: WARNING: generateZipSet: Could not find 'gui-icons.dat'!

Post by sev »

Looks like you built the ScummVM by yourself. Point themepath to your gui/themes directory of ScummVM.


Eugene
User avatar
legluondunet
Posts: 51
Joined: Fri Jan 30, 2015 9:24 am

Re: WARNING: generateZipSet: Could not find 'gui-icons.dat'!

Post by legluondunet »

I downloaded and compiled today's git.
I launch scummvm directly from git folder.
I already set themes path to /scummvm/gui/themes/ but error message is still present.
Last edited by legluondunet on Sun Feb 05, 2023 8:56 pm, edited 2 times in total.
User avatar
legluondunet
Posts: 51
Joined: Fri Jan 30, 2015 9:24 am

Re: WARNING: generateZipSet: Could not find 'gui-icons.dat'!

Post by legluondunet »

I joined tree of my scummvm folder, you can see gui-icons.dat is at the right place.
In config file scummvm.ini I have:
themepath=/run/media/legluondunet/JEUX/ScummVM/scummvm/gui/themes

So why it doesn't find the file?
scummvm-tree.log.zip
(96.64 KiB) Downloaded 336 times
User avatar
Praetorian
ScummVM Developer
Posts: 882
Joined: Tue May 08, 2007 8:54 am
Location: Greece
Contact:

Re: WARNING: generateZipSet: Could not find 'gui-icons.dat'!

Post by Praetorian »

I get this error (and also the missing themes, and shaders), if I built scummvm on Linux with a simple configure and a make command, and then directly run "./scummvm".

What I will typically do, which seems to resolve this issue as well is:

1. Run configure with a prefix to indicate where you will "install" scummvm (which will include its distribution files, like themes, shaders, icons and such). My commands look like this:

Code: Select all

mkdir -p ./scummvmDist
make clean && ./configure --enable-all-engines --disable-debug --enable-release --prefix=$(pwd)/scummvmDist
Obviously, you only have to create (mkdir) the output folder (scummvmDist) once, unless you delete it explicitly for some reason.

2. After configure completes successfully, run make to build ScummVM:

Code: Select all

make -j$(nproc)
3. Run make install, after make completes successfully:

Code: Select all

make install
4. Switch to the output folder (scummvmDist) where ScummVM got installed and run it from there. Like so:

Code: Select all

cd scummvmDist
bin/scummvm
That's it. You should no longer have the missing files issue, and you don't have to explicitly set a theme path or anything, at least not for the default stuff.
User avatar
legluondunet
Posts: 51
Joined: Fri Jan 30, 2015 9:24 am

Re: WARNING: generateZipSet: Could not find 'gui-icons.dat'!

Post by legluondunet »

Very nice method, works as expected, thank you very much Praetorian .
Post Reply