News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Strange behavior on Retron5 (NES, Super Mario Bros Romhack)  (Read 2655 times)

darklighter

  • Jr. Member
  • **
  • Posts: 12
    • View Profile
Strange behavior on Retron5 (NES, Super Mario Bros Romhack)
« on: April 07, 2017, 07:16:03 pm »
Hi,

I'm new to romhacking and currently working on a romhack of Super Mario Bros (NES).

I'm using SMB Utility to redesign Levels. Everything is working fine so far.
In FCEUX my game runs with no problems.
Even after writing my PRG and CHR on EPROMs, placing them on a SMB donor cart and testing it in a real NES (front loader) everything is great.

But when I put my cart into my Retron 5 to play the game on my LCD TV the screen seems to be "cut vertically in half" and the background elements are out of place and appear like from nowhere.

I made a video of that because it's hard for me to explain.
https://youtu.be/fAEpYsESNqk

What do you think? What is the problem.
Since the Retron is just a kind of emulator that rips the Rom temporarily from the cart to play the game I don't think that bad contacts are the reason. I also cleaned them and the games plays -as said - fine on my original NES and the .nes Rom file also plays fine in FCEUX.

This is how the game looks like in FCEUX: https://youtu.be/XcB2wOAjN0U
« Last Edit: April 07, 2017, 07:24:48 pm by darklighter »

Chronosplit

  • Hero Member
  • *****
  • Posts: 1527
    • View Profile
Re: Strange behavior on Retron5 (NES, Super Mario Bros Romhack)
« Reply #1 on: April 07, 2017, 08:10:49 pm »
Me and my wife love the Retron 5!

This sounds like it's an error specially with the Retron 5, perhaps with it's emulator.  They're rarer on the R5 than other clone consoles, but they can happen with hacks IIRC.

darklighter

  • Jr. Member
  • **
  • Posts: 12
    • View Profile
Re: Strange behavior on Retron5 (NES, Super Mario Bros Romhack)
« Reply #2 on: April 08, 2017, 04:53:52 am »
Mmmh, when playing the game on the R5 from the cartridge itself, I get this weird glitches.
But when loading the .nes / .ips file (exactly the same as on the cartridge) it runs fine.

So there Must be an R5 issue when reading from the cart

assassin

  • Full Member
  • ***
  • Posts: 153
    • View Profile
    • My Barren Webpage
Re: Strange behavior on Retron5 (NES, Super Mario Bros Romhack)
« Reply #3 on: April 08, 2017, 06:08:12 am »
no information you've provided rules out Chronosplit's theory that the Retron 5's emulator has issues.

But when loading the .nes / .ips file (exactly the same as on the cartridge) it runs fine.

if "it" still means FCEUX, you are pointlessly repeating your first post, and making a nonsensical deduction.

if "it" now means the Retron 5's emulator, then you might be onto something, but your ambiguous pronoun usage isn't going to secure you any help.

from here forward in this thread, don't use any more pronouns.

darklighter

  • Jr. Member
  • **
  • Posts: 12
    • View Profile
Re: Strange behavior on Retron5 (NES, Super Mario Bros Romhack)
« Reply #4 on: April 08, 2017, 01:22:11 pm »
If you read my last post carefully, you will notice that "it" relates to "the game".

Retron 5 behavior::
- The game runs fine when I load the .nes / .ips file from a SD card.
- The game runs glitchy when I start it directly from the physical  cartridge.

assassin

  • Full Member
  • ***
  • Posts: 153
    • View Profile
    • My Barren Webpage
Re: Strange behavior on Retron5 (NES, Super Mario Bros Romhack)
« Reply #5 on: April 08, 2017, 01:42:23 pm »
If you read my last post carefully, you will notice that "it" relates to "the game".

right; "the game" in which context was the question.

Quote
Retron 5 behavior::
- The game runs fine when I load the .nes / .ips file from a SD card.
- The game runs glitchy when I start it directly from the physical  cartridge.

much better.  what firmware version do you have?

darklighter

  • Jr. Member
  • **
  • Posts: 12
    • View Profile
Re: Strange behavior on Retron5 (NES, Super Mario Bros Romhack)
« Reply #6 on: April 08, 2017, 04:33:46 pm »
Application version is 2.2 (build 1789)
System software v0.2.2
Hardware revision: v1.0

This should be the newest available stable releases (afaik)

assassin

  • Full Member
  • ***
  • Posts: 153
    • View Profile
    • My Barren Webpage

darklighter

  • Jr. Member
  • **
  • Posts: 12
    • View Profile
Re: Strange behavior on Retron5 (NES, Super Mario Bros Romhack)
« Reply #8 on: April 09, 2017, 04:49:08 am »
You are right!
I will update today and try again

April 09, 2017, 07:26:41 am - (Auto Merged - Double Posts are not allowed before 7 days.)
I just updated the Firmware and Application software... but still the same glitches - nothing changed :(
« Last Edit: April 09, 2017, 07:26:41 am by darklighter »

AWJ

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: Strange behavior on Retron5 (NES, Super Mario Bros Romhack)
« Reply #9 on: April 09, 2017, 10:38:04 am »
That looks like incorrect nametable mirroring. The Retron5 probably uses a hash database to determine the mirroring for cartridges in which it's hardwired (e.g. all mapper 0/2/3 cartridges) and since your cartridge is a ROM hack its hash isn't in the device's database. The reason the hack works when run from a .nes file is that the .nes header specifies the mirroring.

I think it would be possible for a Retron5-like device to detect the correct mirroring for a cartridge that's plugged in, but that capability would have to be designed into the hardware from the outset--it's not something a firmware update could add retroactively.

darklighter

  • Jr. Member
  • **
  • Posts: 12
    • View Profile
Re: Strange behavior on Retron5 (NES, Super Mario Bros Romhack)
« Reply #10 on: April 09, 2017, 01:26:17 pm »
Ah, that sounds plausible.

So I won't ever be able to directly run my game from the cart, because the Retron can't recognize the mirroring...?