Questions about data.txt - Printable Version +- Little Fighter Empire - Forums (https://lf-empire.de/forum) +-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7) +--- Forum: Data Changing (https://lf-empire.de/forum/forumdisplay.php?fid=11) +--- Thread: Questions about data.txt (/showthread.php?tid=9276) |
Questions about data.txt - TheRoot - 06-20-2014 My game when this loading gives an error for not finding a certain sprite. However this sprite in this folder and it worked smoothly before the last character I made. The game has limitations on the amount of id's? because when I remove one. dat even the data.txt file the game works normally. Please, help me RE: Questions about data.txt - Dragon5 - 06-20-2014 1.9 has about a 100-item limit, but 2.0 I think has 500. You must be packing a lot of content for it to be breaking LF2 if you're on 2.0. RE: Questions about data.txt - A-Man - 06-20-2014 I don't think it's about the id limit thing. I don't remember LF2 throwing the a "couldn't create art surface error" for that. The problem, I guess, is that you're running out of memory. You're loading a lot of screen sized sprites which result in the error. Can you confirm that? Is that your case? RE: Questions about data.txt - TheRoot - 06-20-2014 (06-20-2014, 04:30 AM)Bat Tamer Wrote: 1.9 has about a 100-item limit, but 2.0 I think has 500. You must be packing a lot of content for it to be breaking LF2 if you're on 2.0. I changed my executable by the 2.0a and he continues to give problems :/ RE: Questions about data.txt - A-Man - 06-21-2014 Well.. You did not answer my question, but since you were using a 1.9 exe and changing to 2.0 didn't work, I can be sure it is not an id limit problem. Solution: Make your bigger sprite grids smaller in size. You might have to go through all your sprite grids, redo them, replace the sprites in the smaller squares, and reset the centers, bdys, itrs in the .dat for all the grids you've clipped. A faster solution is to just get the A-Grid Clipper: http://www.lf-empire.de/forum/showthread.php?tid=8902 It is still going to take a while, specially if you're going to clip the sprites of the whole mod, but it is 1000x faster than if you would do it manually. Just place all your .dat files and sprites in the "input" folder, run the program, wait until it's done, and copy all the new generated .dats and sprites in the "output" folder to your mod. RE: Questions about data.txt - TheRoot - 06-21-2014 (06-20-2014, 10:31 AM)A-MAN Wrote: I don't think it's about the id limit thing. I don't remember LF2 throwing the a "couldn't create art surface error" for that. The problem, I guess, is that you're running out of memory. You're loading a lot of screen sized sprites which result in the error. Can you confirm that? Is that your case? Yes, I use giant tables! Sorry for not having answered before RE: Questions about data.txt - A-Man - 06-21-2014 (06-21-2014, 05:12 PM)TheRoot Wrote:Then I can say that the A-GC will 100% fix your problem. Good luck.(06-20-2014, 10:31 AM)A-MAN Wrote: I don't think it's about the id limit thing. I don't remember LF2 throwing the a "couldn't create art surface error" for that. The problem, I guess, is that you're running out of memory. You're loading a lot of screen sized sprites which result in the error. Can you confirm that? Is that your case? |