Code:
Problem description:
I finally figured it out, I should have did a savefile to text sooner and just read what was being saved. Anyway, its the icon file itself, totalling to around 250k per icon saved. If they have 4 characters saved in the file its over 1000k. I'm using deadron's characterhandling and I
also have multiple icon files. I switch the character's icon file at different times, it looks like the icon file itself is only saved if it has been switched.
How do you suggest solving this problem?
Use only one icon file for the entire game and only switch icon states? ALso if I do that will I run into any problems having one file thats so big and has so many different icon_states in it? Are there any bad side effects for having HUGE one HUGE icon file?
ID:145859
![]() Nov 19 2005, 10:25 am
|
|
![]() Nov 20 2005, 1:08 am
|
|
Um, besides from the major usr abuse, that didn't answer his question. He said he made the save files, but he didn't know how to reduce the size of them, I think.
|
Yeah, I already have the code. I edited the code used in deadron's library and managed to reduce the size a bit and then a bit more by making all objects variables tmp, the problem is that when a player's icon is diferent from that type's defined icon the icon itself is saved. The only way I know to fix this is to only use one icon, currently I use many and using only ne will require some changes. Does using only one sound like th eonly solution and do you know of any negative side effects for having over 100 icon_states on a single icon?
|