[SOFT] Universal XML Scraper V2
-
@screech The config.xml files that I have modified, have been in the compressed file of the mix, I have decompressed them, modified the config.xml and compressed it again but foolscreen does not compress the png. I say that I do not know if it is a foolscreen or UXS issue for that reason I mentioned @cotedeporc and you.
-
If it doesn't work, I think it's a UXS problem :S
Can you copy past your modification ?
normally, the standard thing is :
<Compression>
<use>yes</use>
<soft>pngquant.exe</soft>
<parameter>--force --verbose --ordered --speed=1 --quality=30-90 --ext .png</parameter>
</Compression>So, UXS transform that in :
xxxPathtoUXSxxx\Ressources\pngquant.exe --force --verbose --ordered --speed=1 --quality=30-90 --ext .png xxxfiletocompressxxxIf you take a look at the logx.txt in the log folder, you must see a line like :
[12:05:44] - > PNGQuant command: "C:\Developpement\Github\BIN\Ressources\pngquant.exe" --force --verbose --ordered --speed=1 --quality=30-90 --ext .png "C:\Developpement\Github\BIN\TEMP\MIX3\MIX\screenTEMP.png"
[12:05:45] - PNG Optimization (PNGQuant): C:\Developpement\Github\BIN\TEMP\MIX3\MIX\screenTEMP.png(416 KB -> 110 KB)(I just did it to have an exemple ^^)
-
Hello,
I think, but I can't verify it yet, that I disactivate the PNG compression for the FoolScreen Mix.
If you put, as @screech says:
<Compression>
<use>yes</use>
it will work. -
@cotedeporc, @screech I apologize for my poor eyesight. In effect compression is disabled in foolscreen Mixes. Corresponding with what I noticed that foolscreen was not compressing the png. I do not understand how I escaped that detail when I modified the compression factor in the mix. I am modifying the mix again to enable compression, when I have been able to scrape again, I will comment the result, which I hope is the correct one.
-
@Pepe said in [SOFT] Universal XML Scraper V2:
@cotedeporc On the other hand, in the animated gifs you show, there are mix images that do not exist in UXS: Vectrex, PSP, NGPC etc ...
-
-
Oups !! My fault...
I had added the MIX, but haven't updated the list and preview...
It's done
-
@cotedeporc Je me suis permis de modifier "légèrement" tes descriptions en y ajoutant un lien sur le sujet de ton Thème
Du coup quand on dl un des mix, dans la fenêtre de sélection, il y a un bouton "Link" en plus qui renvoi sur le fofo
J'ai aussi remis la "source d'inspiration Kent79" présente dans les previews mais plus dans la description... Meme si aujourd'hui ça en est loin, ça fait pas de mal de cité l'inspiration ^^ (l'image de la borne au minimum est de lui ^^)
(ça m'a d'ailleurs permis de voir qu'il y a un bug sur le module de download des MIX : pas de description et l'image empty est identique à la full... faut que je corrige ça :S )
-
Merci pour les modifs/ajout!
-
@cotedeporc, @screech, tested and working everything correctly, thank you guys.
-
@screech said in [SOFT] Universal XML Scraper V2:
As you see you can put your own parameter and even choose an other software like optipng as post action
@screech This comment makes me think that I could do a second pass on the images in this case with optipng. Have I understood correctly?
If so, what would be the way? Repeating the compression section in config.xml?, or just adding another compressor inside the compression section? -
Sorry @Pepe It's only one post traitment...
But you can choose... pngquant OR optipng OR what you want
But I think you can do pretty the same thing with optipng and pngquant... Only Algorythm are different. (I choose pngquant because it is a little faster than optipng)... But it's not my speciality ^^
If you found a nice "configuration" for one or the other, let me know. Maybe I can change the standard.
-
@screech Thanks.
It's better pngquant, especially in terms of speed and color reduction, but a combination of two would be perfect for what I'm looking for.
Pngquant does not eliminate / compresses metada what can be between 1% -5% of final weight reduction that added to the reduction of size obtained with pngquant already leaves an interesting file. The possibility of performing a second compression with optipng at the scraping time from uxs and not having to do it manually later, at least for me, would be helpful, it would be less painful to have all systems scraped with 1920x1080 images and an acceptable file size . Your comment made me see the light, but I see that I have misunderstood it, a pity, I will continue doing it manually. -
I'm just thinking :
Maybe you can make a BATCH file
something like :
pngquant --options %1
optipng --options %1And put your batch as the post traitment
never tested that but it may work
-
@screech It's a good idea, I'll try it. Thanks again.
-
@screech What a shame, the idea has not worked, I even converted the bat I created in exe in case uxs did not accept the .bat but it did not work.
-
Can you copy past your bat ? So I can make some test (and correct UXS if needed )
-
@screech The problem is not the bat itself, by itself it works as much as .bat and as .exe, works from the 2 ways, but when I put it in the config.xml and scrap it does not work. I have tried putting the bat or exe in $path, in ressources folder of uxs and also in the folder of the mix in the folder of the images, also i tried with absolute and relative paths but it have not worked in any of the tests whenever it is called from uxs, if I execute it Separately if it compresses the images well. The bat only contains what you gave me.
conversor.bat:
pngquant.exe 256 --force --verbose --ordered --speed=1 --ext .png %1 optipng -o7 -strip all %1
config.xml from fool mix:
<Compression> <use>yes</use> <soft>conversor.bat</soft> <parameter></parameter> </Compression>
-
normally the bat must be in the "ressources" folder (with pngquant.exe and optipng.exe)
Maybe try to put the absolute path of pngquant and optipng "in" the Batch.
the other thing seems good to me. (Maybe its the empty parameter UXS don't like, not sure...)
You can try this for the bat:
x:\xxx\ressources\pngquant.exe 256 --force --verbose --ordered --speed=1 --ext .png %2
x:\xxx\ressources\optipng -o7 -strip all %2and in the config.xml
<Compression>
<use>yes</use>
<soft>conversor.bat</soft>
<parameter>dummy</parameter>
</Compression>I can't test right now (I'm at work ) I will give it a try tonight
-
@screech
I have tried the absolute routes already as I commented and also the location of the bat or the exe that I created from the bat on different routes, the first was the logic, everything in the original location, the bat next to pngquant and optipng In resources. None of these situations is the cause, now I think from the first moment that the problem would be the config.xml and the parameter line, I tried with it as I put it before and completely eliminated it and it did not work for any The 2 ways, I will try with dummy as you tell me that I could go there the thing.Mmm i see %2 in your code, why second parameter?
Thanks again