| |
Tao
Registered: Aug 2002 Posts: 115 |
Bugfixed petcat?
Anyone out there with a bugfixed version of petcat (or a similar tool)? The version shipped with vice does not provide a 1:1 mapping; converting a basic-file to text, and then converting it back causes several incorrect mappings, even when using the control code-flag. |
|
| |
iAN CooG
Registered: May 2002 Posts: 3186 |
Dunno if you like petcat better, but I prefer Bastext by Softwolves.
I've made some mods and fixes to it, grab it on my site.
http://iancoog.altervista.org/ |
| |
Tao
Registered: Aug 2002 Posts: 115 |
Thanks for the tip, although your modified version of bastext was impossible to use since you'd packed it with rar (there is no free depacker for rar version 3 for Linux).
Anyway, I'll try Peter's version instead. |
| |
Compyx
Registered: Jan 2005 Posts: 631 |
The depacking worked on my Gentoo box, but the Makefile didn't work because of the capitalization of the sourcefiles. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11351 |
i fixed a couple of things in petcat a while ago, will be in next vice release. |
| |
Tao
Registered: Aug 2002 Posts: 115 |
Quote: i fixed a couple of things in petcat a while ago, will be in next vice release.
Care to email me the fixed version? |
| |
chatGPZ
Registered: Dec 2001 Posts: 11351 |
http://hitmen.c02.at/temp/petcat.c
drop into vice source, recompile |
| |
Tao
Registered: Aug 2002 Posts: 115 |
Quote: http://hitmen.c02.at/temp/petcat.c
drop into vice source, recompile
Hmmm. Just tried it. It seems that your modified version breaks in the following situation:
"[<control-code>", since [ gets translated to {, and the control-code to {something}, the parser gets confused...
|
| |
iAN CooG
Registered: May 2002 Posts: 3186 |
omfg!1 ok like this? =)
http://iancoog.altervista.org/C/bastext-1.04.4_teh_linux.tar.gz |
| |
chatGPZ
Registered: Dec 2001 Posts: 11351 |
tao: fix it (or atleast, report the bug) =) it worked for what i needed, and i dont need it anymore =) |
| |
Tao
Registered: Aug 2002 Posts: 115 |
OK, I think I've managed to fix at least the worst bugs now; I can at least convert the entire C*Base source to and from text files now, and get identical results before and after. |