Unic?
Unic?
OK i have a few ideas for my main menu but there is just one thing stoping me, the unic tag. I can only use certain strings from a unic for text for options and what not and i wan to know if its possable to add more strings to a unic so things like spawn times can have proper lables.

"Before you criticize someone, walk a mile in their shoes. That way after you make fun of them, you still have their shoes."-Dranciel ಠ_ಠScottyGee wrote:Smokers suck >_< (to avoid someone saying it later, both literally and in the derogatory way)
correct me if im wrong but the unic points to strings in the string table in which cause you cant add strings but you can reuse unused strings

Halo 2 Plugins | Lock-on To Just About Anything | My Sites | Snow Hog
Old Plugins you have, upgrade you must...
Always Maintain a High Quality-To-Crap Ratio.
Append your extra strings to the bottom of the string table, then link'em. Don't think any released program has that ability though.
Halo 2 Prophet - Skin with ease with the simple 3D point and click interface.
Halo 3 Research Thread - Contribute to the research into Halo 3.
Halo 3 Research Thread - Contribute to the research into Halo 3.
Nah it wont work you need to add the string at its proper location in the unicode table then update the [unic] tag that points to that section of the table to include the new string. you would also have to shift the offsets in every other unic tag after the one you updated to make up for the added space.Prey wrote:Append your extra strings to the bottom of the string table, then link'em. Don't think any released program has that ability though.


"Before you criticize someone, walk a mile in their shoes. That way after you make fun of them, you still have their shoes."-Dranciel ಠ_ಠScottyGee wrote:Smokers suck >_< (to avoid someone saying it later, both literally and in the derogatory way)
Yea your right shade, each unic points to only a block of strings, so instead of appending you would have to do some inserting 
Your not completely out of luck turk. If you first go to the end of the english unicode table and count up the space(padding) to the beginning of the next unicode index(if your not sure where it starts just check the uberanalyzer), then go to the end of the block of strings referenced by the unic tag in question, and add your string in (making sure you don't go over the size of the padding you just counted), and then go back to the padding and delete the length of the string you just wrote, then go to the english unicode index and add your string offset in the table to the end of it (overwriting the index's padding), and then go into entity and through every unic tag and if it's english offset is larger than the unic tag your editing, increment that offset by the length of the string you just inserted.
Not really that hard to do, your only problem is there may not be much padding
..gl anyway 

Your not completely out of luck turk. If you first go to the end of the english unicode table and count up the space(padding) to the beginning of the next unicode index(if your not sure where it starts just check the uberanalyzer), then go to the end of the block of strings referenced by the unic tag in question, and add your string in (making sure you don't go over the size of the padding you just counted), and then go back to the padding and delete the length of the string you just wrote, then go to the english unicode index and add your string offset in the table to the end of it (overwriting the index's padding), and then go into entity and through every unic tag and if it's english offset is larger than the unic tag your editing, increment that offset by the length of the string you just inserted.
Not really that hard to do, your only problem is there may not be much padding


Halo 2 Prophet - Skin with ease with the simple 3D point and click interface.
Halo 3 Research Thread - Contribute to the research into Halo 3.
Halo 3 Research Thread - Contribute to the research into Halo 3.
havent even looked yet but i can already guess there isnt enough for what i want to do cause i need to add several new strings to the unics used for gametype options so there are things like 0 second arm time on assault bombs and what not with proper lables.

"Before you criticize someone, walk a mile in their shoes. That way after you make fun of them, you still have their shoes."-Dranciel ಠ_ಠScottyGee wrote:Smokers suck >_< (to avoid someone saying it later, both literally and in the derogatory way)
True, the most padding you'll ever get is 511 bytes, and thats being optimistic.
What you could do though is find the last string in the block that is referenced, open up Blu and find that string, add in a bunch of spaces, then back in hex overwrite the spaces with your new strings, insert the offsets into the english index, delete away the padding of the index that you 'overwrite' (as in one offset takes 4 bytes, so subtract 4 bytes) and then increase the english string count in the unic tag your editing by how many you entered (forgot to mention that part before).
EDIT: You'll have to go through the unic tags and fix their offset if its larger again as well actually, Blu doesn't do that so you'll have to increment by the number of spaces you added.
Your only problem though is there may not be enough padding at the end of the english index to fit all the new offsets. GL again though
What you could do though is find the last string in the block that is referenced, open up Blu and find that string, add in a bunch of spaces, then back in hex overwrite the spaces with your new strings, insert the offsets into the english index, delete away the padding of the index that you 'overwrite' (as in one offset takes 4 bytes, so subtract 4 bytes) and then increase the english string count in the unic tag your editing by how many you entered (forgot to mention that part before).
EDIT: You'll have to go through the unic tags and fix their offset if its larger again as well actually, Blu doesn't do that so you'll have to increment by the number of spaces you added.
Your only problem though is there may not be enough padding at the end of the english index to fit all the new offsets. GL again though

Halo 2 Prophet - Skin with ease with the simple 3D point and click interface.
Halo 3 Research Thread - Contribute to the research into Halo 3.
Halo 3 Research Thread - Contribute to the research into Halo 3.
you dont understand the issue. Some strings are links to specific UNIC's. The live ones arent part of the game varient unic so i cant use them.

"Before you criticize someone, walk a mile in their shoes. That way after you make fun of them, you still have their shoes."-Dranciel ಠ_ಠScottyGee wrote:Smokers suck >_< (to avoid someone saying it later, both literally and in the derogatory way)
Well I guess you could delete the unneeded string, insert a string with the same char count in the block referenced by the unic tag, fix the other unic's, and the unicode index, and your good to go.
Halo 2 Prophet - Skin with ease with the simple 3D point and click interface.
Halo 3 Research Thread - Contribute to the research into Halo 3.
Halo 3 Research Thread - Contribute to the research into Halo 3.
that sounds like that kinda thing that needs an app reallyPrey wrote:Well I guess you could delete the unneeded string, insert a string with the same char count in the block referenced by the unic tag, fix the other unic's, and the unicode index, and your good to go.

Halo 2 Plugins | Lock-on To Just About Anything | My Sites | Snow Hog
Old Plugins you have, upgrade you must...
Always Maintain a High Quality-To-Crap Ratio.