Search found 17 matches

by emcee
Fri Oct 28, 2005 6:38 pm
Forum: ZSNES Talk
Topic: Text to .CHT?
Replies: 30
Views: 19738

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 CT...
by emcee
Fri Oct 28, 2005 5:25 pm
Forum: ZSNES Talk
Topic: Text to .CHT?
Replies: 30
Views: 19738

I haven't gone through all of 'em, but at least one of the Actraiser .cht'sre busted. 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...
by emcee
Fri Oct 28, 2005 5:03 pm
Forum: ZSNES Talk
Topic: Text to .CHT?
Replies: 30
Views: 19738

Aerdan wrote:The .cht files themselves.

Really? Which ones?
by emcee
Fri Oct 28, 2005 9:02 am
Forum: Controller Help
Topic: Save pick with gamepad?
Replies: 3
Views: 3708

JoyToKey

There is great little program called JoyToKey , that converts joystick input to keyboard. You can either set the st+/- keys to keyboard keys, then assign a joystick button to each of them within JoyToKey. Or, you can assign all the keyboard keys to nessicary to navigate the ZSNES menu to joystick bu...
by emcee
Fri Oct 28, 2005 3:43 am
Forum: ZSNES Talk
Topic: Text to .CHT?
Replies: 30
Views: 19738

i'm just gonna ask this stupid ass question knowing that i might be flamed... *sigh* is there a way to compile this into an exe file, or does activeperl run it as if it were an exe file? It's real easy: Step 1: Go here and download the package appropriate for your system (you'll probably want the W...
by emcee
Fri Oct 28, 2005 3:13 am
Forum: ZSNES Talk
Topic: 18 bytes
Replies: 17
Views: 5713

All the more reason to do things the right way the first time. Ok, I guess I didn't really make my intentions clear. I never claimed to be a great programmer, and my only reason for writing this program was to get a better understanding of the way gg codes and cht files are set-up. I only posted it...
by emcee
Thu Oct 27, 2005 3:45 am
Forum: ZSNES Talk
Topic: 18 bytes
Replies: 17
Views: 5713

People who don't know Perl are going to come across this code and wonder what the fuck you're doing. Comment appropriately. I'm not interested in explaining how perl works in my comments. Also, that code is a mess of shit. It needs to be spaced properly to promote readability. use strict;# or else ...
by emcee
Thu Oct 27, 2005 3:18 am
Forum: ZSNES Talk
Topic: 18 bytes
Replies: 17
Views: 5713

Commenting involves describing the logic, not just what something does. Try again. [EDIT: Linebreaks > you.] um, no. First of all the logic should be obvious if you read the comments AND the code. Secondly, I'm not going to 'try again'. It's good enough, if you don't like it, than I didn't post it ...
by emcee
Thu Oct 27, 2005 2:42 am
Forum: ZSNES Talk
Topic: ZSNES All of the suddent not working
Replies: 6
Views: 2527

Re: ZSNES All of the suddent not working

Hello all first off im not a n00b i have een in the emulation game for a while well thats not the point Normally i would just play my zsnes (I left my brains in the womb) like normal and it would work but a few days ago it just not started to work all i see is a black box wich is in place of the zs...
by emcee
Thu Oct 27, 2005 2:14 am
Forum: ZSNES Talk
Topic: 18 bytes
Replies: 17
Views: 5713

Aerdan meant.. comment the damn code. It's bad to read code w/o knowing wtf it does... I know what he meant. If I was writing the code for people to read I would have added comments. I was writing it for people to run. However if you want to read it here is a commented version (also, I added a line...
by emcee
Thu Oct 27, 2005 1:03 am
Forum: ZSNES Talk
Topic: 18 bytes
Replies: 17
Views: 5713

Aerdan wrote:COMMENTS, MOTHERFUCKER, PLEASE FUCKING USE THEM.
Wow, what's your problem? Get a grip. I figured if someone was interested in analyzing the code they would say so, and I would provide them with comment, otherwise I wouldn't waste my time.
by emcee
Thu Oct 27, 2005 12:18 am
Forum: ZSNES Talk
Topic: 18 bytes
Replies: 17
Views: 5713

18 bytes

Ok this version supports cht files with 18 byte chunks of data for each code. (If you try it tell me what you think): edit: Ah, darnit, meant to post this as a reply to TXT to CHT. use Tk; open(LD,'ld'); $rd=<LD>; close(LD); $b=chr(0); %bin=('D'=>'0000','6'=>'1000','F'=>'0001','B'=>'1001', '4'=>'001...
by emcee
Wed Oct 26, 2005 3:15 am
Forum: ZSNES Talk
Topic: Text to .CHT?
Replies: 30
Views: 19738

Ok, got it

Well, here it is. Operation is fairly simple, when you first run it, type the directory you keep your snes roms in the box on at the upper left and hit the button, a list of the roms (well anything with a .smc, .swc, .fig or .zip extension) in that directory will appear below. When you select one th...
by emcee
Mon Oct 24, 2005 2:04 am
Forum: ZSNES Talk
Topic: Text to .CHT?
Replies: 30
Views: 19738

Ok, now I got it

Ok, I think I got this whole gg to hex business figured out.
by emcee
Mon Oct 24, 2005 1:39 am
Forum: ZSNES Talk
Topic: Text to .CHT?
Replies: 30
Views: 19738

Please be aware that ZSNES doesn't know/mind/care whether a given code is or isn't a GG code [there's no magic bit that tells it OMG THATS A GG CODE]. It seems that regardless of what type of code you give zsnes it stores it in the cht file as an address and value, so to create a cht code from a gg...
by emcee
Mon Oct 24, 2005 12:22 am
Forum: ZSNES Talk
Topic: Text to .CHT?
Replies: 30
Views: 19738

Just did that

Aerdan wrote:Read the sources to a .cht to text application.
Actually I just did that and I was coming back to say I figured it out. What was harder was figuring out the specs for decoding game genie codes, but I got that now too, so I guess I'll see what I can throw together.
by emcee
Sun Oct 23, 2005 11:16 pm
Forum: ZSNES Talk
Topic: Text to .CHT?
Replies: 30
Views: 19738

I'll make one.

I know this is an old post but I came here looking for the specs for zsnes cht files, but couldn't find it. However if someone to gives me the specs or a link them, I'll write a program to do this right now. P.S. And yes it will be a perl script, but also a "real program" with a GUI and ev...