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

Author Topic: Help with smb1 hack  (Read 4256 times)

DANGER X

  • Full Member
  • ***
  • Posts: 166
  • Nes hacker & player
    • View Profile
    • Deadpool Nes
Help with smb1 hack
« on: May 11, 2013, 07:03:06 pm »
I've already maked the incredibly hard "extreme danger bros." hack .Now i need help to make an even harder game.Is someone there who knows how to put spikes in the game (i mean blocks that kills you)?
« Last Edit: May 18, 2013, 12:57:48 pm by DANGER X »

Jeville

  • Sr. Member
  • ****
  • Posts: 368
    • View Profile
Re: Help with smb1 hack
« Reply #1 on: May 12, 2013, 03:38:19 am »
idk about adding spikes but this video should give you some ideas:

http://www.youtube.com/watch?v=dqog-br6nhY

DANGER X

  • Full Member
  • ***
  • Posts: 166
  • Nes hacker & player
    • View Profile
    • Deadpool Nes
Re: Help with smb1 hack
« Reply #2 on: May 12, 2013, 06:24:07 am »
This is the hardest smb1 hack i've ever saw,it really gives my some ideas.
« Last Edit: May 18, 2013, 12:58:05 pm by DANGER X »

Pikachumanson

  • Hero Member
  • *****
  • Posts: 607
    • View Profile
Re: Help with smb1 hack
« Reply #3 on: May 12, 2013, 01:52:38 pm »
Maybe you can use the data from those rotating fireball obstacle in bowsers castle. Find a way to shorten it to one fireball then change the graphics to spikes or a deathblock.

LostTemplar

  • Hero Member
  • *****
  • Posts: 906
    • View Profile
    • au-ro-ra.net
Re: Help with smb1 hack
« Reply #4 on: May 13, 2013, 06:00:51 am »
Could you give my more information about this 'idk',where do i find it how do i use it...

"idk" is the abbreviation of "I don't know", it's not the name of anything.

DANGER X

  • Full Member
  • ***
  • Posts: 166
  • Nes hacker & player
    • View Profile
    • Deadpool Nes
Re: Help with smb1 hack
« Reply #5 on: May 13, 2013, 09:54:50 am »
Thats a god idea 'Pikachumanson' but i don't know any program for hacking this game except insectduel util,I tried mario improvement but it didn't worked.Is there someone who knows more programs.

Pikachumanson

  • Hero Member
  • *****
  • Posts: 607
    • View Profile
Re: Help with smb1 hack
« Reply #6 on: May 13, 2013, 11:08:18 am »
No level editing program I know of will do what I described. You'd have to find the data in a hex editor and work your magic from there. Have you tried looking at the rom map in data crystal?
 

DANGER X

  • Full Member
  • ***
  • Posts: 166
  • Nes hacker & player
    • View Profile
    • Deadpool Nes
Re: Help with smb1 hack
« Reply #7 on: May 14, 2013, 01:13:43 pm »
Wow i didn't' saw this section before,is quite useful.Thanks.
But i didn't find any spike code there.Is there someone who knows more?
« Last Edit: May 18, 2013, 12:58:55 pm by DANGER X »

snarfblam

  • Submission Reviewer
  • Hero Member
  • *****
  • Posts: 590
  • CANT HACK METROID
    • View Profile
    • snarfblam
Re: Help with smb1 hack
« Reply #8 on: May 14, 2013, 05:36:40 pm »
But i didn't find any spike code there.Is there someone who knows more?
It would need to be written from scratch for this specific game. There are complete SMB disassembles out there, which is hugely useful, but you would still need to know assembly to make use of the disassembly and write new code.

altoiddealer

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
Re: Help with smb1 hack
« Reply #9 on: May 15, 2013, 10:30:08 am »
I've already maked the incredibly hard "extreme danger bros." hack 8).Now i need help to make an even harder game.Is someone there who knows how to put spikes in the game (i mean blocks that kills you)?

Just putting it out there; I know Extra Mario Bros hack uses spike blocks (Quite a lot of them in Area 3, Area 4 and "Boss levels")

w7n

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
Re: Help with smb1 hack
« Reply #10 on: May 17, 2013, 12:46:55 am »
Solution is pretty simple.
If you look at the code at ROM Address $5FB1 (CPU $DFA1):

$DFA1: CMP #$C2
$DFA3: BEQ $DFAB
$DFA5: CMP #$C3
$DFA7: BEQ $DFAB
$DFA9: CLC
$DFAA: RTS

This is a 'check for coin block' routine. What you have to do is to insert the spike block judgement code into this routine.
So this is what you have to do:

1: Jump to some free space. Remain the coin block judgement unchanged. That is, if you jumped from $DFA7 you need to write the rest of the coin block judgement code there.
2: If the block isn't a coin block, do not write CLC RTS immediately. Instead write your own spike code.

Example:
;Coin judgement fails
CMP #$69       ;Which is the spike block in one of my hacks, in personal projects
BNE CLCRTSCode
LDX #$00
JSR $D958      ;Instant death if one touches it. Of course you can make changes here.
PLA
PLA
RTS            ;Immediately jump out of the previous routine. After all, as the player's dead, there's no point of continuing the block judgement routine. Probably PLA-PLA-LDX-JMP is also okay, but that doesn't matter much.
CLCRTSCode:
CLC
RTS

DANGER X

  • Full Member
  • ***
  • Posts: 166
  • Nes hacker & player
    • View Profile
    • Deadpool Nes
Re: Help with smb1 hack
« Reply #11 on: May 19, 2013, 05:22:59 pm »
What program do i have to use?...more information...




Pikachumanson

  • Hero Member
  • *****
  • Posts: 607
    • View Profile
Re: Help with smb1 hack
« Reply #12 on: May 19, 2013, 07:18:33 pm »
You can use FCEUX debugger to look at the code
Well, you find an nes assembler and turn the code W7n gave to hex or you learn your opcodes and do it that way. I like ASM6 as an assembler.
« Last Edit: May 19, 2013, 07:56:32 pm by Pikachumanson »