The import doesn't really need to be edited to do that, it is easy to do with notepad. You should be able to simply paste in all spells from SoF past 8446 into your Titanium spells_us.txt file and then import that. Even though they don't have the same number of fields between the 2 versions, I think import will just fill in the Titanium ones with 0s automatically.
Then, you can do an export of that newly modified table and you will have a spells file that has all of the fields required for SoF and will work with both clients. SoF cannot work with a default Titanium spell file because it lacks the extra fields. But, Titanium works just fine with having the extra fields from SoF, because it just ignores them. So, by doing that, you could offer a custom spell file download that works for both SoF and Titanium at the same time.
The nice thing is that by adding the extra SoF spells in there, it should make all items in the database that have effects on them so that the server at least knows what those effects are. Using items that have spell effects on them that the server is not aware of will crash zones, but this corrects that problem. Though, I haven't heard about that crash happening in a while, so maybe someone added a null pointer check in to fix it at some point.
The spell file limitation of Titanium was one of the reasons why I decided to start work on SoF in the first place. I don't know what the limitation is for SoF, but it must be at least 13k or higher. Wouldn't hurt to find out for sure at some point. If the limitation is set high enough (30k or so), it would be possible to add in a bunch of spells to the end of the SoF spell file for custom spells or just for adding in SoF spells that would normally overlap with Titanium ones, but have been changed.
|