Giter VIP home page Giter VIP logo

Comments (4)

Wintermute0110 avatar Wintermute0110 commented on August 16, 2024

I know what you mean... For most systems the artwork takes more space that the compressed ROMs. An this is only taking into account images... if you like video previews then the space occupied by the assets gets crazy.

The feature you propose could be OK for a future version, or maybe an utility in the Utilities menu.

from plugin.program.ael.dev.

Hybrid512 avatar Hybrid512 commented on August 16, 2024

I know what you mean... For most systems the artwork takes more space that the compressed ROMs. An this is only taking into account images... if you like video previews then the space occupied by the assets gets crazy.

The feature you propose could be OK for a future version, or maybe an utility in the Utilities menu.

Ok for a future version because it needs to do UI modifications taking care of new settings, ... I know it can be a lot of work but can't you just implement the conversion process ?
Don't resize but at least compress/convert files to JPEG/80%, that would already help a lot.

from plugin.program.ael.dev.

Wintermute0110 avatar Wintermute0110 commented on August 16, 2024

I can do it but it will require the PIL library and it will take time. I prefer to release soon because in the following months I won't have much free time.

In the mean time, you can use external tools for this. For example, in Linux it's very easy to use the command line tool ImageMagick and some shell script to convert all your files. In Windows you can use Cygwin which provides you with a Linux-like environment.

from plugin.program.ael.dev.

Hybrid512 avatar Hybrid512 commented on August 16, 2024

That's what I did.
For my personal case, I have a rom set of about 700+ roms (SNES), before resizing/compressing assets, my assets folder was >1.7Gb.
I resized boxfronts/boxback to 500px wide and fanarts to 2000px wide (I'm running Kodi on a 1080p screen resolution).
I also converted all those files to jpg (there were some png and I had to fix the assets names in the rom database).

Now, my assets folder is less than 200Mb.
Loading times are way faster and the ROM list UI is also a lot more responsive now.

I understand this can be delayed since this is not high priority and there are alternative ways to get the same results (like what I did) but please, keep that under your hand because this really gives a nice performance boost and this is way more enjoyable for end users.

Best regards.

from plugin.program.ael.dev.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.