snesrev / smw

Smw
https://discord.gg/AJJbJAzNNJ
Other
406 stars 38 forks source link

smw (U) ! smc requires restool -f #41

Open arrowgent opened 7 months ago

arrowgent commented 7 months ago

Describe your bug here. And how to reproduce it.

according to the build: A Super Mario World rom (Make sure to rename it to smw.sfc) which does not specify Universal (US) Europe (E) or Japan (J)

my file: SMW (U) !.smc cdd3c8c37322978ca8669b34bc89c804 smw.sfc its possibly a very old file, SMC file versus SFC, im looking for a SFC (U) file to test against

USA: MD5 CDD3C8C37322978CA8669B34BC89C804 JAPAN: MD5 4E4F8F4CFDAABFFDDE20C8053202D4F0 EUROPE v1.1: MD5 7BB0487EACDB78D6635E89D797E5AB74 EUROPE v1.0: MD5 4F17A1A17A098D0A5312703B55AD134B

i also have smw (E) v1.1 d1c9b36495c7126ea2bc5b5b648faea5

Extracting game resources
/usr/bin/env python3 assets/restool.py
cc smb1/smb1_02.o smb1/smb1_00.o smb1/smb1_08.o smb1/smb1_cpu_infra.o smb1/smb1_spc_player.o smb1/smb1_01.o smbll/smbll_08.o smbll/smbll_cpu_infra.o smbll/smbll_01.o smbll/smbll_02.o smbll/smbll_00.o smbll/smbll_0b.o src/smw_cpu_infra.o src/smw_02.o src/smw_04.o src/smw_07.o src/lm.o src/smw_0c.o src/common_rtl.o src/smw_0d.o src/opengl.o src/smw_03.o src/main.o src/common_cpu_infra.o src/smw_spc_player.o src/smw_00.o src/util.o src/glsl_shader.o src/smw_01.o src/config.o src/tracing.o src/smw_rtl.o src/smw_05.o src/snes/dsp.o src/snes/spc.o src/snes/ppu.o src/snes/snes_other.o src/snes/cart.o src/snes/snes.o src/snes/cpu.o src/snes/apu.o src/snes/dma.o src/snes/ppu_old.o third_party/gl_core/gl_core_3_1.o -o smw  -lSDL2 -lm
cc: error: smb1/smb1_02.o: No such file or directory
cc: error: smb1/smb1_00.o: No such file or directory
cc: error: smb1/smb1_08.o: No such file or directory
cc: error: smb1/smb1_cpu_infra.o: No such file or directory
cc: error: smb1/smb1_spc_player.o: No such file or directory
cc: error: smb1/smb1_01.o: No such file or directory
cc: error: smbll/smbll_08.o: No such file or directory
cc: error: smbll/smbll_cpu_infra.o: No such file or directory
cc: error: smbll/smbll_01.o: No such file or directory
cc: error: smbll/smbll_02.o: No such file or directory
cc: error: smbll/smbll_00.o: No such file or directory
cc: error: smbll/smbll_0b.o: No such file or directory
cc: error: src/smw_cpu_infra.o: No such file or directory
cc: error: src/smw_02.o: No such file or directory
cc: error: src/smw_04.o: No such file or directory
cc: error: src/smw_07.o: No such file or directory
cc: error: src/lm.o: No such file or directory
make: *** [Makefile:22: smw] Error 1

editing Makefile:33 add restool.py -f allows compilation sed -i 's/restool.py/restool.py -f/g' Makefile

What is your build target?

x64 linux

arrowgent commented 7 months ago

without restool -f

4e4f8f4cfdaabffdde20c8053202d4f0 smw.sfc appears to work. (J) japan version.