Text to .CHT?
Moderator: ZSNES Mods
I just tried, that actraiser cht. Its one of those 18 byte based files. The first version I wrote didn't support them (I didn't know they existed), but I fix it so it does, so that cht file loads up fine. When you save it it will convert to 28 byte.Aerdan wrote:I haven't gone through all of 'em, but at least one of the Actraiser .cht'sre busted.
Ah, ok, that explains it.Aerdan wrote:It's because they were made at a time when ZSNES didn't properly save .cht's. It does now, of course, but..
Good point. Unfortuately, the perl/tk entry widget doesn't have its own cut and paste context menu. However this should help. Put this at the very beginning of the code:jhguitarfreak wrote:well i've been testing it on various games
which include FF3, Super Mario World, And Mortal Kombat
and i gotta say this is a nifty little program you got here.
the only pet peeve i have about it is it won't let me right click to paste in the boxes. so i basicall had my left hand sitting over the CTRL key while switching back and forth from text files and webpages while adding cheats.
but this is really cool, now i don't have to have a big printout of cheats to type in with every game i get.
Code: Select all
use WIN32::Clipboard;
Code: Select all
$dlist->bind('<1>'=>sub{$dlist->focus();&rdcht($dlist->get('anchor'));});
Code: Select all
$mw->bind('<3>'=>sub{eval{($mw->focusCurrent)->configure('-text'=>Win32::Clipboard->Get());}});
-
- New Member
- Posts: 9
- Joined: Tue Oct 25, 2005 11:52 am
cool, i'll get right on thatemcee wrote:Good point. Unfortuately, the perl/tk entry widget doesn't have its own cut and paste context menu. However this should help. Put this at the very beginning of the code:jhguitarfreak wrote:well i've been testing it on various games
which include FF3, Super Mario World, And Mortal Kombat
and i gotta say this is a nifty little program you got here.
the only pet peeve i have about it is it won't let me right click to paste in the boxes. so i basicall had my left hand sitting over the CTRL key while switching back and forth from text files and webpages while adding cheats.
but this is really cool, now i don't have to have a big printout of cheats to type in with every game i get.
Then find the line like this:Code: Select all
use WIN32::Clipboard;
And right after it put this:Code: Select all
$dlist->bind('<1>'=>sub{$dlist->focus();&rdcht($dlist->get('anchor'));});
Now when you right click in a entry box it should put whatever is on the clipboard in that box.Code: Select all
$mw->bind('<3>'=>sub{eval{($mw->focusCurrent)->configure('-text'=>Win32::Clipboard->Get());}});
.:: EDIT ::.
Thats a pretty cool trick