Preload a scene or picture?

  • #10, by afrlmeFriday, 29. January 2016, 20:53 8 years ago
    Check the wiki. http://wiki.visionaire-tracker.net/wiki/Image_Encoding

    I've linked the batch tool I use & how to use it.

    P.S: if you were to open up your ved file in a text editor like sublime text, atom or notepad++ then you would be able to do a search & replace of all instances containing ".png" & replace them with ".webp" in a matter of seconds. We do however recommend backing up your ved before opening them up in a text editor as it's very easy to mess something up in the xml code.

    Imperator

    7278 Posts


  • #11, by MachtnixFriday, 29. January 2016, 21:38 8 years ago
    Thank you. I did this ved-exchange for mp3-files to ogg-files. Of course I need the same file names as *.ogg. The same with *,png and *.webp either.

    ...as they are not supported by the large majority of image editing applications
    That's what I means... ;-) But I'm going to try it. I think I will work with png up to upload the final game, then I change the whole stuff into webp...

    Machtnix

    Thread Captain

    1097 Posts

  • #12, by afrlmeFriday, 29. January 2016, 23:13 8 years ago
    We keep the png & psd files for editing, but we convert & implement the converted webp files from the beginning.

    There is supposed to be a plugin for webp for photoshop (well for exporting to webp at least, not sure about opening & editing webp files).

    Imperator

    7278 Posts

  • #13, by PaupasiaFriday, 29. January 2016, 23:34 8 years ago
    Yes, there is a plugin for photoshop and you can "save as" webp and open/work on webp files. The best converter I've found to change lot of images in one single click is XnConvert from Irfanview.

    Forum Fan

    165 Posts

  • #14, by afrlmeSaturday, 30. January 2016, 00:01 8 years ago
    Yeah XnConvert is great. It's what I've recommended on the wiki page. So easy to use & can convert tons of files in record time. smile

    I think it's better to work / edit the original image files as opposed to the inferior webp files mind. The original files are going to be better no matter what.

    Imperator

    7278 Posts

  • #15, by MachtnixSaturday, 30. January 2016, 00:37 8 years ago
    I downloaded the converter and will try it. My Photoshop is an oldfashioned one - I don't think, I can get this plugin yet.

    But nevertheless which format is used - the problem of no-preloading is still there...

    Thread Captain

    1097 Posts

  • #16, by Simon_ASASaturday, 30. January 2016, 14:59 8 years ago
    I have found that, for me, the best tools are:
    - Irfanview to convert to webp (possible batch conversion)
    - Mediacoder to convert to mkv in vp8 or vp9 with ogg sound
    - Audacity to convert mp3 to ogg vorbis
    With these 3 free tools, I have all I need and my game works fine.

    Regarding the preloading issue, I think I will try something like Machtnix says, by loading the scene in a "hidden" way somehow.

    Great Poster

    321 Posts

  • #17, by afrlmeSaturday, 30. January 2016, 15:04 8 years ago
    Not heard of the first 2 apps you've mentioned. I like XnConvert for webp conversion - it's also free & supports batch conversion & macros. I'll check out the mediacoder app you mentioned as I don't have anything for video encoding / conversion - it's not something I know a right lot about.

    Imperator

    7278 Posts

  • #18, by Dandy_AnunuSunday, 31. January 2016, 02:53 8 years ago
    About XnConvert :

    After reading some documentation, I'd recommend to set the 'compression method' found in the webP output settings to 6.

    As a result you'll be able to get a better quality image and a lighter file, although it may take a little bit longer to convert.

    I set 'filter strenght' value to 50 or so, but we don't really care.

    I let 'filter sharpness' value to default 0.

    All is explained here : https://developers.google.com/speed/webp/docs/cwebp

    __________________


    There is a cool stuff for Windows that aims to let you see webP files into your File Explorer and open them with the default viewer. Here : https://developers.google.com/speed/webp/docs/webp_codec

    Newbie

    11 Posts

  • #19, by MachtnixSunday, 31. January 2016, 17:57 8 years ago
    There is also a Visionaire option to compress automatically before create the vis-file, but it doesn't work properly for all games. Sometimes some transparency disappears. But it's possible to get a size of 50%.

    I only need a tool for pictures and maybe movies, my sound tools make ogg-files.

    Machtnix

    Thread Captain

    1097 Posts

  • #20, by afrlmeSunday, 31. January 2016, 20:09 8 years ago
    Well you can't go wrong with XnConvert for the images. wink

    What sound apps you using?

    Imperator

    7278 Posts