Open premultiply opened 5 years ago
There are some vestigial bits of code for other file formats already in the codebase which ought to be made functional or removed. I'm not sure whether it's better to try to make vbit2 support a whole bunch of formats, or to write a converter to bulk convert other formats to tti. Since vbit2 gets things like carousel cycle timings etc from the tti files importing other formats would leave you stuck with default values for any settings the format can't hold.
As an aside to this, I have been meaning to add ETT to my teletext editor but not got around to it. If you have a licensed copy of FAB that you could make certain test files for me that would be helpful!
Missing properties in some formats can be easily parsed from the filenames for these cases. Something like "PAGE_SUBPAGE_TIMING Some text.EXT". This is like some old commercial systems does it.
Yes, I have lots of these FAB files ;-)
I'll certainly put FAB support into wxTED. TTI was never designed with higher level teletext in mind although it is an easy format to add features to. If there is a better file format then I'd consider adding it. As for FAB, I wonder how much it is to get a one year license for the basic package?
yeah, this is the problem with adding stuff to vbit2 though, it's all very tied to each file being an entirely separate entity and I suspect would take quite a lot of reworking to support things like multiple files per page and metadata from separate files*. Not saying that that might not be a more flexible system, but it would be a lot of work compared to something that parses a directory of such files and generates the appropriate tti files from them.
* (If going down that road it would probably be better to start again and rewrite the entire thing to store pages in a database rather than a directory of files in a bunch of random formats anyway)
I only own the old ETTWIN FAB Teletext Editor with USB dongle. Most part of it is 16 bit... I am not shure if it is still sold. ;-)
The file folder system has many advantages over complex and heavy database systems. It is fast and efficient. Just drop, update or delete something there and teletext will be updated. Just run a few cronjobs to update the data. I wrote a large library to fully automate teletext page generation and full decoding (text console and web) with many features like text boxing, alignment, line breaking, formating, charset conversion, .... It just reads and write files from folder in the requested teletext file formats.
Maybe you are interested in adding support for the FAB ETT file format. This is the format description:
Each page file has a size of 2070 bytes. I can provide some sample files.
Here is some sample PHP code to read a ETT file:
Page number and Subpage number have to be parsed from the filename (like 100_00.ttp) or may be written to Row 0 as text like "100.00 Some Page Title here". Most systems parse it from the filename.
There is also a variant of this file format to support multiple subpages in one file but I did not have a look at it and do not have a format description yet.