Pages: « 313233343536
Posted on 05-28-19, 03:44 am (rev. 1 by  BeingAwesom on 05-28-19, 03:49 am)
Paragoomba
Kab-omb for life

Karma: 61
Posts: 46/71
Since: 11-22-17
"Ground Pounds don't do extra damage to tower Bowser Jr." is asking for this hex: B8 18 D0 01 30 10 81 02 in overlay9_28. When searching overlay9_28, I cannot find this hex. The other hex listed worked, but this one didn't.

EDIT: After checking, the hex "B8 18 D0 01 48 10 81 02", the one right before this one, actually appears two times within overlay9_28 (0x4190 and 0x41D0). Perhaps I need to change the second?
_________________________
Check out "New-ISH" Super Mario Bros. DS HD*!!
Renewed Super Mario Bros. still exists, though.

Deprecated: Function create_function() is deprecated in /app/webroot/plugins/sourcetag/geshi.php on line 4736
Posted on 06-01-19, 04:21 am
Buzzy Beetle


Karma: 1957
Posts: 390/398
Since: 08-17-15
Something I did to make it easier to patch for a thing I'm writing for Super Mario: Endless Earth

Save Anytime from Worldmap (template version)
@Save anytime from the worldmap.
repl_020D0200_ov_08:
MOV R0, #1
BX  LR

repl_020D0204_ov_08:
STRB R0, [R1]
BX   LR

_________________________
tre3 z0N3

Posted on 07-20-19, 01:04 am
Goomba
hopefully non-existent

Karma: 28
Posts: 9/20
Since: 07-15-19
I got an issue trying to use luigi physics:

LuigiPhysics.cpp
arm-none-eabi-g++ -MMD -MP -MF /home/PRIVATE/Desktop/ASMPatchTemplate-master/build/LuigiPhysics.d -g -Wall -Wno-unknown-pragmas -O2 -march=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -iquote /home/PRIVATE/Desktop/ASMPatchTemplate-master/include -I/opt/devkitpro/libnds/include -I/opt/devkitpro/devkitARM/include -I/opt/devkitpro/devkitARM/arm-none-eabi/include -I/home/PRIVATE/Desktop/ASMPatchTemplate-master/build -DARM9 -nodefaultlibs -I. -fno-builtin -c -fno-rtti -fno-exceptions -c /home/PRIVATE/Desktop/ASMPatchTemplate-master/source/LuigiPhysics.cpp -o LuigiPhysics.o
C:/Users/PRIVATE/Desktop/ASMPatchTemplate-master/source/LuigiPhysics.cpp:7:10: error: stray '#' in program
7 | CMP R2, #1
| ^
C:/Users/PRIVATE/Desktop/ASMPatchTemplate-master/source/LuigiPhysics.cpp:9:12: error: stray '#' in program
9 | MOVNE R5, #0x90
| ^
C:/Users/PRIVATE/Desktop/ASMPatchTemplate-master/source/LuigiPhysics.cpp:10:12: error: stray '#' in program
10 | MOVNE R6, #0xB0
| ^
C:/Users/PRIVATE/Desktop/ASMPatchTemplate-master/source/LuigiPhysics.cpp:11:12: error: stray '#' in program
11 | MOVNE R7, #0x80
| ^
C:/Users/PRIVATE/Desktop/ASMPatchTemplate-master/source/LuigiPhysics.cpp:12:12: error: stray '#' in program
12 | MOVNE R8, #0x60
| ^
C:/Users/PRIVATE/Desktop/ASMPatchTemplate-master/source/LuigiPhysics.cpp:13:12: error: stray '#' in program
13 | MOVNE R9, #0x180
| ^
C:/Users/PRIVATE/Desktop/ASMPatchTemplate-master/source/LuigiPhysics.cpp:15:12: error: stray '#' in program
15 | MOVEQ R5, #0x60
| ^
C:/Users/PRIVATE/Desktop/ASMPatchTemplate-master/source/LuigiPhysics.cpp:16:12: error: stray '#' in program
16 | MOVEQ R6, #0x78
| ^
C:/Users/PRIVATE/Desktop/ASMPatchTemplate-master/source/LuigiPhysics.cpp:17:12: error: stray '#' in program
17 | MOVEQ R7, #0x54
| ^
C:/Users/PRIVATE/Desktop/ASMPatchTemplate-master/source/LuigiPhysics.cpp:18:12: error: stray '#' in program
18 | MOVEQ R8, #0x40
| ^
C:/Users/PRIVATE/Desktop/ASMPatchTemplate-master/source/LuigiPhysics.cpp:19:12: error: stray '#' in program
19 | MOVEQ R9, #0x100
| ^
C:/Users/PRIVATE/Desktop/ASMPatchTemplate-master/source/LuigiPhysics.cpp:21:15: error: stray '#' in program
21 | STR R4, [R3, #0x40]
| ^
C:/Users/PRIVATE/Desktop/ASMPatchTemplate-master/source/LuigiPhysics.cpp:22:15: error: stray '#' in program
22 | STR R4, [R3, #0x80]
| ^
C:/Users/PRIVATE/Desktop/ASMPatchTemplate-master/source/LuigiPhysics.cpp:23:15: error: stray '#' in program
23 | STR R5, [R3, #0xE0]
| ^
C:/Users/PRIVATE/Desktop/ASMPatchTemplate-master/source/LuigiPhysics.cpp:24:15: error: stray '#' in program
24 | STR R5, [R3, #0x100]
| ^
C:/Users/PRIVATE/Desktop/ASMPatchTemplate-master/source/LuigiPhysics.cpp:25:15: error: stray '#' in program
25 | STR R6, [R3, #0xE4]
| ^
C:/Users/PRIVATE/Desktop/ASMPatchTemplate-master/source/LuigiPhysics.cpp:26:15: error: stray '#' in program
26 | STR R6, [R3, #0x104]
| ^
C:/Users/PRIVATE/Desktop/ASMPatchTemplate-master/source/LuigiPhysics.cpp:27:15: error: stray '#' in program
27 | STR R7, [R3, #0xE8]
| ^
C:/Users/PRIVATE/Desktop/ASMPatchTemplate-master/source/LuigiPhysics.cpp:28:15: error: stray '#' in program
28 | STR R7, [R3, #0x108]
| ^
C:/Users/PRIVATE/Desktop/ASMPatchTemplate-master/source/LuigiPhysics.cpp:29:15: error: stray '#' in program
29 | STR R8, [R3, #0xEC]
| ^
C:/Users/PRIVATE/Desktop/ASMPatchTemplate-master/source/LuigiPhysics.cpp:30:15: error: stray '#' in program
30 | STR R8, [R3, #0x10C]
| ^
C:/Users/PRIVATE/Desktop/ASMPatchTemplate-master/source/LuigiPhysics.cpp:31:15: error: stray '#' in program
31 | STR R9, [R3, #0xFC]
| ^
C:/Users/PRIVATE/Desktop/ASMPatchTemplate-master/source/LuigiPhysics.cpp:1:20: error: found ':' in nested-name-specifier, expected '::'
1 | repl_0215EAD4_ov_36:
| ^
| ::
C:/Users/PRIVATE/Desktop/ASMPatchTemplate-master/source/LuigiPhysics.cpp:1:1: error: 'repl_0215EAD4_ov_36' does not name a type
1 | repl_0215EAD4_ov_36:
| ^~~~~~~~~~~~~~~~~~~
C:/Users/PRIVATE/Desktop/ASMPatchTemplate-master/source/LuigiPhysics.cpp:3:2: error: 'MOV' does not name a type
3 | MOV R0, R5, LSL R9
| ^~~
make[1]: *** [/home/PRIVATE/Desktop/ASMPatchTemplate-master/Makefile:160: LuigiPhysics.o] Error 1
make: *** [Makefile:122: build] Error 2
Press any key to continue . . .
Posted on 07-20-19, 03:25 am
Buzzy Beetle


Karma: 1957
Posts: 396/398
Since: 08-17-15
because the LuigiPhysics is asm code, you need to put it in a file with an .s extension.
_________________________
tre3 z0N3

Posted on 07-24-19, 10:43 am
Goomba
hopefully non-existent

Karma: 28
Posts: 17/20
Since: 07-15-19
With removing the title screen cutscene iam having issue
I manually decompressed all overlays popped my rom in HxD (hex editing thing), searched for value 1 in the replace part of the window, tried both text string and hex value and it couldn't find the value I was searching for any ideas?
Posted on 10-15-19, 08:25 am


Karma: 457
Posts: 31/33
Since: 01-17-15

Signboard (sprite 93 / actor 77) "In front of Mario" setting


repl_02001CF4: @ with MeroMero hack
repl_02130C70: @ without MeroMero hack
    LDR     R1, [R4,#0x8]
    ANDS    R1, R1, #0x20000000
    MOVNE   R1, #0x200000
    MOVEQ   R1, #0
    STR     R1, [R4,#0x68]
    MOVNE   R1, #0
    BX      LR


And corresponding spritedata.xml field:

<field id="4" type="checkbox" name="In front of Mario" values="2" notes="" />

Compatible with MeroMero's signboard hack.
_________________________
The Newer Team
Posted on 10-15-19, 01:31 pm
Boomerang Brother


Karma: 3358
Posts: 1029/1037
Since: 11-29-11

Signboard (sprite 93 / actor 77) "In front of Mario" setting



Example:

Pages: « 313233343536