Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Hey, this is really useful for my Godot project! It works pretty great for the low resolution images I use, but i found that when I try to load higher resolution images it tends to crash very quickly.

 It doesn't really affect my work at all, since I only discovered this by messing around trying to add normal maps to memes and desktop backgrounds, and I use pixel art in my game, but it might be annoying to people using some high-resolution textures.

Depending on how large the image is, it either crashes the moment I try to load it, or after I try to change one of the sliders or checkboxes, or after loading multiple high-res images.

Hi!

Well, i never intended Laigter for very high resolution images, cause is mainly for sprites and tiles. I guess that the problem is that currently every process and image is loaded in memory, and perhaps it runs out of it. Could you share me one of the images causing the crash? Also, could you run it from a comman line and see if any error appears when crashing?

(1 edit)

Running through the command line doesn't seem to raise any error messages, but here's the first image I experienced the issue with. After loading it in and changing any of the sliders it will crash. Like i said, I was just messing around with random images to see what they would look like, so this isn't a realistic use case. I figured some people might want to use the software with very high resolution sprites, so I thought you might want to pick up and fix the issue, but I suppose if you only intended the software for small images it's no big deal. Either way, it doesn't affect me directly lol. 

I also did test it with a few other generic texture images (like wood and stone textures you would use in 3D software), and found that loading more than three 1024x1024 textures would crash it. Here's an example of one of the images I used.Once again, if this is outside of the use you intended for the software, it's no big deal, just though I'd let you know :D

Thanks a lot! I'm very grateful for your feedback.  Even it wasn't intendeed at first, it doesn't mean it wont be intendeed in the future! So i must fix it if i can. Tests like the one you did really helps me make Laigter better!! When i have some free time, i'll try and see what happens. If it happens with that big images it also may be a bug in index. 

Thanks a lot and i hope Laigter to be very useful for you! 

P.D: would you show me your current project where you are using Laigter? I always like to see the tool in action in real use cases!

Hi!

I've tried with both images and in my pc it did not crash. I've even tried with tile mode (that is more memory hungry). May be it's system or platform specific bug? would you please tell me on what system you are trying? I'm using linux, with 6GB RAM, 2th gen i5.

Thanks again!

I'm using windows 10 with 8GB of ram and 7th gen i5, so i don't think it's a problem with my hardware. Perhaps there's a problem with memory allocation in windows?

Here's a quick peek at what i'm working on. Right now most of the assets are placeholders, since i'm mostly focusing on the code to begin with, but you'll play as the robot that's currently floating, instead of the pair of jeans holding the gun, once i add legs and animate it. The normal map isn't good because I didn't use a "height map" style image to make it.

Cool Project!!

Surely is not a hardware issue, but memory allocation could be the problem. Some time ago i found some bugs with big images in windows when using Laigter.. i'll try on windows when i get a PC with it installed. I'll let you know if i can fix it!

Thanks again for your help!