Staredit Network

Staredit Network -> Concepts -> OMG! I just broke the string limit!
Report, edit, etc...Posted by Carlsagan43 on 2005-04-15 at 18:35:53
QUOTE
The CHK format consists of many sections, all sections start with the same header: 

4 chars - Name of section
1 long - Length, in bytes, of the section(excluding this 8 byte header)


right. One long is more like a little over 4 billion bytes, not 65k
Report, edit, etc...Posted by LegacyWeapon on 2005-04-16 at 00:43:37
QUOTE
x: Section 'STR ' - strings section
beta57 * 1.00 * 1.04 * Brood REQUIRED

1 int - Number of strings in the section(this will be 1024, regardless of how many strings are actually used, and cannot exceed 1024)

1024 ints - 1 int for each string specifying the offset from the beginning of this section of where the string starts. If there are less that 1024 strings, the unused entries will point to string #0 (the null string). Important Note: String #0 should have an offset of 2050, etc. (1025 ints for this table)

Here is where all the strings go, one right after another; and all of them null terminated. Note: string #0 (the very first one) is ALWAYS the null string. All other strings start at #1

Noteworthy Note: Strings are not limited to a single color. The color can be changed to your liking. See Colored Text, for more info on this
Only ints can tell the offset of the location of the string in the file. The max size of an int is 65535.
Therefore the max offset would be less than 65535 in order to fit in the last string.
Report, edit, etc...Posted by Puni(F) on 2005-04-16 at 01:15:48
Wow... 2500? Now I'am thinking of making a map that uses all of them.. Hmm.. Maybe...
Report, edit, etc...Posted by scwizard on 2005-05-01 at 17:32:02
Wait a second...
I opened the map in SF and it was sniped to 1024 strings.......
I opened it in SCMDraft, and it had all it's strings. I was able to create 1 more string, but when I tried to create a second, SCMDraft crashed.

So how do you break the string limit without using the programing language mentioned in the first post.....

There are some people who really need to know how to pratically break the string limit.
Report, edit, etc...Posted by chuiu on 2005-05-01 at 20:44:06
Send SI the dumb file, he'll be able to find out why it crashed and possibly fix it so that you can continue to create more strings.
Next Page (2)