MoSs
23.07.2005, 21:11
Well the story goes like this:
Since there is not a single decent skilldata "set" out there that works properly I decided to make my own tool to make my life easier...
Since there are only a few days that I started writting this tool the features are still limited and in need of debugging :P
First of all is written in java.
The current features are:
- Parsing the skilldata.txt (pch & pch2 not needed).
- Reformats the file contents in a way that most syntax errors can be detected and NO STUPID exception errors when loading the file. (like other programs, "onomata den leme" <- that's greek :P).
- Checks for the following syntax errors: spaces in variables, spaces in values, if { & } brackets count are equal in a line, skill_end existence, comment /* and */ existence and checks for unknown variables (or misspelled ones).
- Parses the text and loads it to a table for ease of viewing (sorting and editing is available but still buggy) (also if it finds a duplicate variable definition, it takes the first one and ignores the rest)
After all that and after you have fixed the syntax errors that may occur you can reload the file and save CORRECTLY GENERATED skill_pch.txt and skill_pch2.txt based on skilldata.txt file and thanks to this post: https://postpacific.loc-online.com/forum/viewtopic.php?t=208
Future thinks to implement:
- More specific syntax and error checking, for instance effect values, operate_cond values. Check also if variables like operate_type, abnormal_effect etc use correct values
- Filtering of skills and search
- Easy addition of new skills.
I include only a screenshot cause its not ready to be released yet, i have to fix some things first :P
I would like you to make suggestions about anything you would like to include as a feature.
Thank you :)
Since there is not a single decent skilldata "set" out there that works properly I decided to make my own tool to make my life easier...
Since there are only a few days that I started writting this tool the features are still limited and in need of debugging :P
First of all is written in java.
The current features are:
- Parsing the skilldata.txt (pch & pch2 not needed).
- Reformats the file contents in a way that most syntax errors can be detected and NO STUPID exception errors when loading the file. (like other programs, "onomata den leme" <- that's greek :P).
- Checks for the following syntax errors: spaces in variables, spaces in values, if { & } brackets count are equal in a line, skill_end existence, comment /* and */ existence and checks for unknown variables (or misspelled ones).
- Parses the text and loads it to a table for ease of viewing (sorting and editing is available but still buggy) (also if it finds a duplicate variable definition, it takes the first one and ignores the rest)
After all that and after you have fixed the syntax errors that may occur you can reload the file and save CORRECTLY GENERATED skill_pch.txt and skill_pch2.txt based on skilldata.txt file and thanks to this post: https://postpacific.loc-online.com/forum/viewtopic.php?t=208
Future thinks to implement:
- More specific syntax and error checking, for instance effect values, operate_cond values. Check also if variables like operate_type, abnormal_effect etc use correct values
- Filtering of skills and search
- Easy addition of new skills.
I include only a screenshot cause its not ready to be released yet, i have to fix some things first :P
I would like you to make suggestions about anything you would like to include as a feature.
Thank you :)