Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
  You are not logged in 
TxtToSeq 1.0   [2013]

Released by :

Release Date :
9 June 2013

Type :
Other Platform C64 Tool

Website :

User rating:awaiting 8 votes (8 left)

Credits :
Code .... King Durin of Avatar

Download :
http://csdb.dk/getinternalfile.php/117763/TxtToSeq.zip (downloads: 417)

Look for downloads on external sites:

User Comment
Submitted by King Durin on 12 June 2013
Just to be clear, this is wrong:

petcat -text -w2 -o out.seq in.txt

and it should be:

petcat -c -text -w2 -o out.seq in.txt

This would indicate that the help in PETCAT is wrong because doing --help indicates the following:

-c controls (interpret also control codes) <default if textmode>

So, if I use -text I should expect control codes to work, but obviously that's not the case. Perhaps if petcat reported it's options correctly I wouldn't have spent half an hour trying to figure out the secret combination and another hour writing TxtToSeq. However, it's done, it's released, and it works, so use it or not, I don't care. I do know I'll be using it in the future as I intend to expand it to do text to ATASCII and text to ANSI so there's value in it for me even if there's not any to anybody else.
User Comment
Submitted by Groepaz on 12 June 2013
-c if you want to use control codes in the input file....
and it accepts regular uppercase in the input file ofcourse - they appear as hexcodes in the output because petcat is primarily made for converting basic programs forth and back, and in that case it is very important that under all circumstances converting the file forth and back results in the exact same binary - and uppercase letters are ambigous (check your petscii tables).
User Comment
Submitted by King Durin on 11 June 2013
Enlighten me, what did I do wrong?
User Comment
Submitted by Groepaz on 11 June 2013
So, either petcat is borked or it doesn't do what you think it does.

ofcourse. PEBKAC is not an option.
User Comment
Submitted by King Durin on 11 June 2013
BTW, the petcat output using {xxx} for the upper case characters is ludicrous. Who in their right mind is going to type a text file using the ASCII codes for upper case? TxtToSeq allows free-form upper/lower text.
User Comment
Submitted by King Durin on 11 June 2013
Source: (made from petcat)

{red}{$62}ridge {$62}{$62}{$73} {$77}ait {$66}or {$63}all {$6d}enu

{rvon}{wht}{$66}1{rvof} {lred}{$6c}ocal {$6c}ogin
{rvon}{wht}{$66}3{rvof} {lred}{$73}ysop {$6c}ogin
{rvon}{wht}{$66}5{rvof} {lblu}{$65}dit {$75}ser
{rvon}{wht}{$66}7{rvof} {lblu}{$63}aller {$6c}og

Output: (using groepaz's options)
[RVON][WHT][$66]7[RVOF] [LBLU][$63]ALLER [$6C]OGN6]OR [$63]ALL [$6D]ENU

So, either petcat is borked or it doesn't do what you think it does.
User Comment
Submitted by Groepaz on 11 June 2013
petcat -text -w2 -o out.seq in.txt ?
User Comment
Submitted by King Durin on 9 June 2013
This utlitity is written in C++ and should be compatible with GNU/Linux and Mac OS X. You can download the source from Codeplex and reuse it under the BSD license.
Search CSDb
Prev - Random - Next
Detailed Info
· Summaries (1)
· User Comments (8)
· Production Notes
Fun Stuff
· Goofs
· Hidden Parts
· Trivia
· Discuss this release
Sponsored links
Support CSDb
Help keep CSDb running:

Funding status:

About this site:
CSDb (Commodore 64 Scene Database) is a website which goal is to gather as much information and material about the scene around the commodore 64 computer - the worlds most popular home computer throughout time. Here you can find almost anything which was ever made for the commodore 64, and more is being added every day. As this website is scene related, you can mostly find demos, music and graphics made by the people who made the scene (the sceners), but you can also find a lot of the old classic games here. Try out the search box in the top right corner, or check out the CSDb main page for the latest additions.
Home - Disclaimer
Copyright © No Name 2001-2021
Page generated in: 0.223 sec.