sotn-decomp icon indicating copy to clipboard operation
sotn-decomp copied to clipboard

Sonicdcer EntityCSMoveAlucard

Open sozud opened this issue 2 years ago • 1 comments

I'm putting these back up so the work isn't lost. @Xeeynamo are you fine with merging this since we haven't come up with a solution for D_80097400?

sozud avatar Sep 07 '23 04:09 sozud

Rebased but needs this fixed

mipsel-linux-gnu-ld: build/us/asm/us/st/dre/data/118D0.rodata.s.o: in function `jtbl_801918D0':
(.rodata+0x0): undefined reference to `.L801962CC'
mipsel-linux-gnu-ld: (.rodata+0x4): undefined reference to `.L80196324'
mipsel-linux-gnu-ld: (.rodata+0x8): undefined reference to `.L801963D8'
mipsel-linux-gnu-ld: (.rodata+0xc): undefined reference to `.L80196470'
mipsel-linux-gnu-ld: (.rodata+0x10): undefined reference to `.L801964B8'
mipsel-linux-gnu-ld: (.rodata+0x14): undefined reference to `.L80196564'
mipsel-linux-gnu-ld: (.rodata+0x18): undefined reference to `.L80196594'
mipsel-linux-gnu-ld: (.rodata+0x1c): undefined reference to `.L801965D4'
mipsel-linux-gnu-ld: (.rodata+0x20): undefined reference to `.L80196604'

sozud avatar Sep 07 '23 04:09 sozud

Not sure if I'm doing it wrong but it seems like 0x80097400 is not in a struct? See C line 119 https://decomp.me/scratch/nEdAS

sozud avatar Jun 11 '24 19:06 sozud

Not sure if I'm doing it wrong but it seems like 0x80097400 is not in a struct? See C line 119 https://decomp.me/scratch/nEdAS

You need to also use g_unkGraphicsStruct.unkC instead of D_8009740C. See here: https://decomp.me/scratch/0msAo

bismurphy avatar Jun 11 '24 20:06 bismurphy

Thanks, does anyone see what I'm doing wrong with my file split?

https://github.com/Xeeynamo/sotn-decomp/compare/master...sozud:sotn-decomp:Ent21

mipsel-linux-gnu-ld: build/us/asm/us/st/dre/data/0.data.s.o: in function `PfnEntityUpdates':
(.data+0x448): undefined reference to `EntityUnkId21'
mipsel-linux-gnu-ld: (.data+0x450): undefined reference to `EntityUnkId23'
mipsel-linux-gnu-ld: build/us/asm/us/st/dre/data/118D0.rodata.s.o: in function `jtbl_801918D0':
(.rodata+0x0): undefined reference to `.L801962CC'
mipsel-linux-gnu-ld: (.rodata+0x4): undefined reference to `.L80196324'
mipsel-linux-gnu-ld: (.rodata+0x8): undefined reference to `.L801963D8'
mipsel-linux-gnu-ld: (.rodata+0xc): undefined reference to `.L80196470'
mipsel-linux-gnu-ld: (.rodata+0x10): undefined reference to `.L801964B8'
mipsel-linux-gnu-ld: (.rodata+0x14): undefined reference to `.L80196564'
mipsel-linux-gnu-ld: (.rodata+0x18): undefined reference to `.L80196594'
mipsel-linux-gnu-ld: (.rodata+0x1c): undefined reference to `.L801965D4'
mipsel-linux-gnu-ld: (.rodata+0x20): undefined reference to `.L80196604'
mipsel-linux-gnu-ld: build/us/asm/us/st/dre/data/118D0.rodata.s.o: in function `jtbl_801918F8':
(.rodata+0x28): undefined reference to `.L801966BC'
mipsel-linux-gnu-ld: (.rodata+0x2c): undefined reference to `.L8019671C'
mipsel-linux-gnu-ld: (.rodata+0x30): undefined reference to `.L8019683C'
mipsel-linux-gnu-ld: (.rodata+0x34): undefined reference to `.L80196888'
mipsel-linux-gnu-ld: (.rodata+0x38): undefined reference to `.L801968E4'
mipsel-linux-gnu-ld: (.rodata+0x3c): undefined reference to `.L8019692C'
make: *** [Makefile:274: build/us/stdre.elf] Error

sozud avatar Jun 11 '24 21:06 sozud

Thanks, does anyone see what I'm doing wrong with my file split?

My PR here: https://github.com/Xeeynamo/sotn-decomp/pull/1304 splits the files in DRE and should put the rodata for your file in good shape, maybe it makes sense to pull in my PR first and then that will open the door to this one?

bismurphy avatar Jun 11 '24 21:06 bismurphy

@bismurphy I still can't figure out the file splits, since you're working on DRE anyway would you mind reviving this?

sozud avatar Jun 11 '24 22:06 sozud

Fixed by https://github.com/Xeeynamo/sotn-decomp/pull/1307

sozud avatar Jun 12 '24 01:06 sozud