Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user tomek ! (Registered 2024-11-24) You are not logged in - nap
CSDb User Forums


Forums > CSDb Discussions > Bugfixed petcat?
2006-11-27 21:48
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.
2006-11-27 23:17
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/
2006-11-28 08:23
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.
2006-11-28 09:26
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.
2006-11-28 10:41
chatGPZ

Registered: Dec 2001
Posts: 11351
i fixed a couple of things in petcat a while ago, will be in next vice release.
2006-11-28 11:31
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?
2006-11-28 11:51
chatGPZ

Registered: Dec 2001
Posts: 11351
http://hitmen.c02.at/temp/petcat.c

drop into vice source, recompile
2006-11-28 19:10
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...

2006-11-28 21:39
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
2006-11-29 03:27
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 =)
2006-11-29 18:18
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.
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Mojzesh/TGR🇬🇧
grass/LETHARGY
Sasq
doZe
Vent
WVL/Xenon
bugjam
psych
wacek/arise
lotus_skylight
Perff/No Name
chesser/Blazon
Linus/MSL
Magnar
Paladin/G★P
Devia/Ancients
zscs
mutetus/Ald ^ Ons
Grue/Extend
Guests online: 133
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 Uncensored  (9.6)
7 The Demo Coder  (9.6)
8 Wonderland XIV  (9.6)
9 Comaland 100%  (9.6)
10 No Bounds  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Libertongo  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Morph  (9.5)
9 Dawnfall V1.1  (9.5)
10 It's More Fun to Com..  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Nostalgia  (9.3)
5 Censor Design  (9.3)
Top Graphicians
1 Mirage  (9.7)
2 Archmage  (9.7)
3 Mikael  (9.6)
4 Carrion  (9.6)
5 Sulevi  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.056 sec.