Wallpaper Engine:壁纸引擎

Wallpaper Engine:壁纸引擎

Personal Slideshow
Six-Gun Samurai 2020 年 7 月 17 日 下午 9:30
Limits?
Is their any limit on the number of images in the directory?
< >
正在显示第 1 - 7 条,共 7 条留言
Squee  [开发者] 2020 年 7 月 18 日 上午 8:15 
Not that I know of. Why?
Six-Gun Samurai 2021 年 2 月 26 日 上午 11:05 
I just have a very large directory of travel images I want to use. Thanks for the reply. :) Enjoying the program.
Yohanes 2021 年 12 月 10 日 上午 10:29 
I have a large collection of images that I regularly add more into and it recently hit more than 40k images,
but then wallpaper engine crashed trying to load the slideshow with error code 0xC0000005 [Access violation: trying to write to address 0x00000000.]
Tried using another folder with a lot less image files in it and it works just fine.
Is there a way to fix this?
最后由 Yohanes 编辑于; 2021 年 12 月 10 日 上午 10:29
Squee  [开发者] 2021 年 12 月 10 日 下午 4:12 
I think that error is beyond my capabilities. From memory the 0xC0000005 points to a memory error within an executable ( which I often got when still writing c/c++ code ). The wallpaper however is only javascript and should never ( emphasis on should ) cause that issue and my guess is that it is within chromium that wallpaper engine uses.

I think my wallpaper folder is about 4000 images. I can see and try if I can reproduce the error by duplicating those to help solve it but can already say that I won't be able to solve it.

In theory that amount should not cause things to crash so I am clueless to why it might cause this memory issue. I mean 40k * 1000 characters for each file is still just 40Mb of memory, maybe 80 or worst case 160mb using a UTF8 character set. But it might be hitting some limitation that I am unaware of.

I do commend you for collecting that many background images haha.

I will reply here again after I have tested. But this is an error outside of javascript so not something I personally can solve. But I will test just in case I can figure something out that might lead to a solution.
Yohanes 2021 年 12 月 11 日 上午 11:45 
Thanks for replying.
Yeah I noticed that this might be a problem with wallpaper engine itself and not the script.
I'm thinking maybe there's a way to increase max memory usage for wallpaper engine and maybe that'll fix the memory error, though I don't know anything about memory management so I can' say for sure either.
As for the images I often find images that I like online and save it to my hard drive, it had become like a hobby for me to browse internet for images lol.
Squee  [开发者] 2021 年 12 月 11 日 下午 3:07 
Well I tried with up to 89.3k images and it seems to be working without problems. Does take 30 seconds or more before the wallpaper actually displays the first image as it is receiving the filenames in that time from wallpaper engine, but it works.

Would you have a full error message? I would suggest you post that under the bugs sub-forum on the community. The devs are pretty active and helpful when it comes to bugs. Not much I can do from here. If you want you could leave a link to the post here and I will check in to see if I can help though I doubt it.
Yohanes 2021 年 12 月 12 日 上午 5:14 
Turns out it was a problem with my hard drive.
Some of my images weren't showing in windows explorer so I ran chkdsk on it and I actually have around 49k of images.
Now my wallpaper engine runs just fine lol.
Thanks for the support, really great script.
< >
正在显示第 1 - 7 条,共 7 条留言
每页显示数: 1530 50