{utility BETA} harpo's Sins Stringer

a sins str file edit & add utility that can also help translators

Friday, May 29, 2009 by harpo99999 | Discussion: Sins Modding

I am currently starting the design phase of the next utility that I will write

the outline of the program is check all of the entries in the str files against the nameStringID & descStringID lines in the entity files, showing and orphans and missing entries in each of the str files in the mod which might help the multilingual mods and also make it easier for modders to translate between languages.

if any non-english playing sinners could email me a copy of their *.str file(s) from  entrenchment to me at 'harpo99999 at hotmail.com', so that I can test the program against the different language str files, and also allow the program to work with as many languages as possible

edit I am going to make do with the english,frensh and german strs that I have found in various mods

I am pauseing the development for another utility for updating mods and copying then to the new mod folder finished

and the entity check was the MAJOR PROBLEM I have removed the entity file checking and added addingcapital & starbase names up to the apparent limit of 511 entries per race(stars & planets have a 511 limit) in each and re-designing the user interface to better fit it's new role( might re-add in future , but not in at present)

and I might be able to add string file merging( with any differences for the same value as a different entry. this is mostly to help with mod merging) (not added at present)

harpo

First Previous Page 1 of 2 Next Last
harpo99999
Reply #1 Monday, June 1, 2009 9:26 AM

ok sinners, here is the first concept screenie for the sins stringer. it is intended to be able to find missing strings and orphan strings and help translators to translate the string files without having to edit the actual str files as the program when fininshed will take the identification info from the entities and the entered info and create the str files for you

harpos sins strnger concept 1

Jednou
Reply #2 Monday, June 1, 2009 9:31 AM

Well I don't have sins in a foreign language but I would be happy to translate your programe to czech language.

Nuttygamer
Reply #3 Monday, June 1, 2009 11:59 AM

I don't get it, why not get a IDE, turn on the line numbering option, and then look at the (last line number - 2)/3 that would give you the number of string line there are. BTW, the link to you image doesn't work.

harpo99999
Reply #4 Monday, June 1, 2009 5:16 PM

mooster here is a link directly to the screenie http://www.mediafire.com/imgbnc.php/89486fe7dd31ac43f20699f6befd66764g.jpg

harpo

harpo99999
Reply #5 Saturday, June 6, 2009 4:30 AM

just anothe little teaser update

the program is now able to read in the string files for ALL languages present in the mod  and  expansions and of course sins, and I have written the code that will output the final strings, I just have to write the read the entity's, then compare the entity's to strings  and the code for the error correcting ui.

this looks like it might be a bit slower to create than the previous utilities, but I want to finish it to help ALL modders and translators of sins & mods

oh and mooster the program will find each error in the strings like missing values & ids AND orpan id's and values A LOT QUICKER than by hand as you suggest which is the way at present for ALL people working on sins , expansions and mods ( I am stateing this as I have heard from blair that they even use the developer to find missing strings and he sounds interested in this utility)

harpo

 

harpo99999
Reply #6 Saturday, June 6, 2009 8:49 AM

just a couple of teaser screenies that show the language selection display based upon the number of STR files in the folders

http://www.mediafire.com/file/dwzz5iymmmu/harpo's sins stringer alpha 2.jpg just 5 different name str's found and

http://www.mediafire.com/file/1lma4yzf2my/harpo's sins stringer alpha.jpg with 11 different name str's found

harpo99999
Reply #7 Sunday, June 7, 2009 7:59 PM

just another teaser,

I have the program now reading in the entitys and skipping the ones that are NOT in TXT.

the next section is the compare the entity id's & values against the language.strs id's & strings and the editing interface.

so there are two major modules to finish before I can start testing actual mods, and when that is working properly then I will offer it as a beta & would then want modders to help with the beta of a modding and translation tool

harpo

 

harpo99999
Reply #8 Tuesday, June 9, 2009 8:13 PM

ok another status report

the program is now displaying all the id and display strings, and I can browse through the strings for several languages ata a view (up to 11 on screen and I picked eleven as i thought that it was unlikly that ANYBODY would have more than eleven language files in in any mod), and I developing the error checking code

harpo

 

harpo99999
Reply #9 Wednesday, June 10, 2009 10:00 PM

just another status report.

I have reduced the number of languages displayed to 8 so that the names AND descriptions for each of the entity files is displayed in each language

harpo

 

harpo99999
Reply #10 Wednesday, June 10, 2009 10:18 PM

a new screenie for the stringeralpha 3 of harpos sins stringer

harpo99999
Reply #11 Tuesday, June 16, 2009 2:09 PM

folks I am pauseing the development of sins stringer for another utility to copy mods to a new version mods folder & update entity files in the mods with the changes in the entity files.

when the mod updater is working I will get back to the stringer

harpo

 

kyogre12
Reply #12 Tuesday, June 16, 2009 4:46 PM

folks I am pauseing the development of sins stringer for another utility to copy mods to a new version mods folder & update entity files in the mods with the changes in the entity files.

That would be unbelievably awesome! I can't wait for you to be finished with that!

harpo99999
Reply #13 Wednesday, August 12, 2009 10:46 PM

folks, I am going to re-write the entire design of the string editor to just work in the strings file WITHOUT accessing the entity files to simplify the design and debugging, and I might eventually add back in the cross-referencing of strings & entities.

the redesign will include adding planet names,ship names, and starbase names up to the actual limit of 511 of each and also editing/adding of other string entries

harpo

 

JTAYLORPCS
Reply #14 Wednesday, August 12, 2009 11:13 PM

harpo99999
folks, I am going to re-write the entire design of the string editor to just work in the strings file WITHOUT accessing the entity files to simplify the design and debugging, and I might eventually add back in the cross-referencing of strings & entities.

the redesign will include adding planet names,ship names, and starbase names up to the apparent limit of 99 of each and also editing/adding of other string entries

harpo

 

Hey harpo99999 would love to test this out for you when it is ready! Love your programs they help out alot!!!!!!!! 

harpo99999
Reply #15 Saturday, August 15, 2009 6:35 PM

here are the assumptions that I have based the string editor upon

1 all language files for a mod are in the SAME sequence (might not be true)

2 the entries do not have to be in any particular sequence ( confirmed by blair fraser)

3 new strings can be added to the end of the list without effecting performance ( confirmed by blair fraser)

4 altering the text in the display boxes before using the save or add functions is acceptable for entry of information to the program

5 NOT changing the string data (stored in a string array) until told to either add or save the data is acceptable

6 all button labels should be OBVIOUS(ie suggest what the button does) and with tool tips telling how to use the function

7 having the text for all(up to 6 at current size) of the language files for a mod on screen at the same time will help translators

8 no more than six languages(at curren t screen size in the program) will be worked upon at the same time(if more are wanted the program will want to have a higher resolution than 800 X 600. if you want a larger screen in this program please post stating the prefered screen resoution & I can re-design the program to fit with extra languages

9 stars & planets names have a limit of 511 ( 3 digit name counter in string file might actually be larger)confirmed by blair

10 caps & starbases names have a limit of 511 (2 digit counter in string file might actually be larger) confirmed by blair

11 users do not want to have to create all spacing and labels for each entry eg the stringinfo,id " & value " line headers.

if there are any comments please post.

personally number 11,2,3 are in my opinion are good ideas, 4& 5 are simple to program, 1 might be a significant problem, but do not know yet & could be altered in the program with indexes for each language(more fiddle in the program), 9 & 10 might not be real limits but could be,7 & 8 are more for translating mods between languages, but as I only speak english I do not know if this idea helps

harpo

 

 

harpo99999
Reply #16 Sunday, August 16, 2009 6:37 PM

the current status is the program can read & write str files (up to 6 different languages in a mod), can add planet & star names, can change existing strings, can delete strings, can add completely new strings, can determine the race names from string files and place them in a combo box for use in the ship & starbase name adding functions

functions not yet created

add starbase names (currently being worked on)

add ship names (currently being worked on)

compare entity files with str files to find orphan and missing strings ( I would like to have as a feature, but not included YET nor operational even in the first alpha with it was taking about 1 hour to load the strings and check the entities, and the current program loads ALL the string files including all the checking at present( which is count the number of star names , count the planet names, and count & list the names of races in the string) in only a few seconds).

harpo

 

harpo99999
Reply #17 Monday, August 17, 2009 9:06 AM

another update

the program now adds planet names, star names, capital ship names, starbase names, and other strings and can change and delete existing strings.

also have added one more language at a time so it can work with 7(seven) language files at a time

the next feature to be added is a search of strings for text ( intention is to search through all open language files to find wanted text and display the relevent entry in all the language files.

harpo

 

harpo99999
Reply #18 Monday, August 17, 2009 9:36 AM

a question for modders

would having a count of planet names,star names,capital ship names and starbase names for each of the races on the screen be desirable in a small table listing each type eg planet names 150, star names 230,tech caps 41, tech sb 10,psi caps 35,psi sb 10,phase caps 35,phase sb 10 in a table?

let me know if this is a good idea

harpo

 

JTAYLORPCS
Reply #19 Monday, August 17, 2009 1:37 PM

yes  yes yes !!!!!!!  you are the man !!!

Nuttygamer
Reply #20 Monday, August 17, 2009 1:53 PM

JTAYLORPCS
yes  yes yes !!!!!!!  you are the man !!!

not to be dirty but you sound like you are reaching your peak....

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01