Graphical Glitch, Vertical Lines every time :(

Are you new to 6502, NES, or even programming in general? Post any of your questions here. Remember - the only dumb question is the question that remains unasked.

Moderator: Moderators

Post Reply
pinge80
Posts: 12
Joined: Mon Jan 25, 2010 1:30 pm
Location: Sweden

Graphical Glitch, Vertical Lines every time :(

Post by pinge80 »

I have tried to put a SMB-hack onto a cart now...
I have tried atleast 10 times, and every time I get graphical glitches, mostly vertical lines every inch or so across the screen, and sometomes also vertical ones...

Some one told me it´s bacuase of a bad solder-job on the chr-eprom... but I dont belive him.... I have tried more than 6different carts, and alot of different eproms.. the PRG always work fine.. but the graphics is fucked...

pelase help me! I know youn know this! :)

Game on!
User avatar
Bregalad
Posts: 8036
Joined: Fri Nov 12, 2004 2:49 pm
Location: Caen, France

Post by Bregalad »

I think there should be something wrong with one of your data lines - maybe the problem is just the *crappy* connector that is inside the NES. If all other games works fine and that this games never works fine, then it's likely a problem either your soldering or something, I can't think of anything else sorry.
Useless, lumbering half-wits don't scare us.
User avatar
koitsu
Posts: 4203
Joined: Sun Sep 19, 2004 9:28 pm
Location: A world gone mad

Post by koitsu »

Maybe the hack works fine on emulators but not a real console?

If you could put up photos of the TV/screen showing the problem that'd help narrow it down.
Celius
Posts: 2159
Joined: Sun Jun 05, 2005 2:04 pm
Location: Minneapolis, Minnesota, United States
Contact:

Post by Celius »

I think if you've tried 6 different carts, and different chips and the only thing that remains constant is the console itself, your problem is probably in the console. Have you tried testing it on another console? The vertical lines you describe sound to me like a problem I get a lot with pretty much any NES game that isn't making good contact within the connector. So I really think your problem lies in the NES not communicating correctly with the cart. This could be happening because of bad soldering (or perhaps bad solder? I don't even know if that's ever a real issue), but it could definitely be because of a bad connector, like Bregalad was saying. The NES connector is among the worst (if not the worst) in world history, so I wouldn't be surprised if that was it.

I don't believe your problem is a software issue (I'm sure the hack should work on real hardware), simply because it sounds way too much like something that always happens to me when games start to glitch on hardware. You should also make sure you've correctly dumped the graphical data to the CHR chip. Other than that, I'm not really a NES hardware expert at all, so I can't really think of anything.
User avatar
Memblers
Site Admin
Posts: 3902
Joined: Mon Sep 20, 2004 6:04 am
Location: Indianapolis
Contact:

Post by Memblers »

It depends on the hack, too. That's the only game I can ever recall seeing the iNES "trainer" get used on, and that's also what a lot of SMB hacks were based on - that same hacked ROM. I found that out because of Super ASCII Brothers. When put on a cart it sort of worked, but in a glitchy 'minus world' with no escape.
Last edited by Memblers on Fri Mar 26, 2010 12:40 pm, edited 1 time in total.
User avatar
Dwedit
Posts: 4470
Joined: Fri Nov 19, 2004 7:35 pm
Contact:

Post by Dwedit »

Starting at 0-1 means it was based on a "bad dump" ripped from a pirate cartridge that needs memory to be initialized to zero.
You can use the game's continue feature (A+START) to start at World 1-1 if that happens.
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!
pinge80
Posts: 12
Joined: Mon Jan 25, 2010 1:30 pm
Location: Sweden

Post by pinge80 »

Thank you all for your answers and speculations about my problem, I was just about to give up my project when.....
a good friend of mine asked to see my CHR-file... and when he checked the sprites they were all fucked up.. sort of!

So for som reason I have managed to do something wrong when repeating the Chr data :oops:

I used Notepad to do it, maybe I´ll have to use a hex-editor insetad! My friend repeated it for me and now it works all fine!

:)
User avatar
koitsu
Posts: 4203
Joined: Sun Sep 19, 2004 9:28 pm
Location: A world gone mad

Post by koitsu »

pinge80 wrote:So for som reason I have managed to do something wrong when repeating the Chr data ...

I used Notepad to do it ...
*facepalm*
User avatar
Jeroen
Posts: 1048
Joined: Tue Jul 03, 2007 1:49 pm

Post by Jeroen »

*handfacepalmdesk* But really don't worry about it we all make mistakes. Just don't do it again :evil: (Or i'll eat your soul :wink: )
User avatar
tokumaru
Posts: 12106
Joined: Sat Feb 12, 2005 9:43 pm
Location: Rio de Janeiro - Brazil

Post by tokumaru »

Yeah, Notepad was made to handle text, not binary data.
pinge80
Posts: 12
Joined: Mon Jan 25, 2010 1:30 pm
Location: Sweden

Post by pinge80 »

I told you I was a noob :oops:
User avatar
tokumaru
Posts: 12106
Joined: Sat Feb 12, 2005 9:43 pm
Location: Rio de Janeiro - Brazil

Post by tokumaru »

Don't worry. At least you learned something, right?
Post Reply