- 7
- Posts
- 2
- Years
- Age 35
- he/him
- OR, USA
- Seen Jan 5, 2023
I'm working with a fork of GitHub's pokecrystal. In fact, it's my second fork, as I screwed the first one up so badly.
Trying to build the new one with Cygwin and getting the following error:
This is frustrating for a number of reasons:
- Most error messages give you a specific line of a specific file to find the source of the problem. No such luck here.
- I haven't tried doing anything with Dewgong's graphics in particular, so there's no reason why they should be acting up.
- There shouldn't be, and isn't, a file just called "a" in Dewgong's graphics folder, or any Pokemon's graphics folder. Each of them should have an "anim.asm" and an "anim_idle.asm", but not just "a".
With that said, "no rule to make" usually indicates a missing file. So the obvious thought is that, somewhere, what should be a request for gfx/pokemon/dewgong/anim.asm or gfx/pokemon/dewgong/anim_idle.asm somehow got accidentally backspaced to just read gfx/pokemon/dewgong/a, hence the error message of not being able to find the file. Well, let's look around.
https://github.com/hannabartpekopon/GrateCrystal/blob/master/data/pokemon/pic_pointers.asm:
https://github.com/hannabartpekopon/GrateCrystal/blob/master/gfx/pics.asm:
https://github.com/hannabartpekopon/GrateCrystal/blob/master/gfx/pokemon/anim_pointers.asm:
https://github.com/hannabartpekopon/GrateCrystal/blob/master/gfx/pokemon/anims.asm:
https://github.com/hannabartpekopon/GrateCrystal/blob/master/gfx/pokemon/idle_pointers.asm:
https://github.com/hannabartpekopon/GrateCrystal/blob/master/gfx/pokemon/idles.asm:
https://github.com/hannabartpekopon/GrateCrystal/blob/master/gfx/pokemon/frame_pointers.asm:
https://github.com/hannabartpekopon/GrateCrystal/blob/master/gfx/pokemon/kanto_frames.asm:
https://github.com/hannabartpekopon/GrateCrystal/blob/master/gfx/pokemon/bitmask_pointers.asm:
https://github.com/hannabartpekopon/GrateCrystal/blob/master/gfx/pokemon/bitmasks.asm:
https://github.com/hannabartpekopon/GrateCrystal/tree/master/gfx/pokemon/dewgong:
https://github.com/hannabartpekopon/GrateCrystal/blob/master/data/pokemon/palettes.asm:
https://github.com/hannabartpekopon/GrateCrystal/blob/master/data/pokemon/base_stats.asm:
Yeah, I'm just flailing at this point. All this stuff seems to be in order. If you're about to say "but there's no frames.asm or bitmask.asm in gfx/pokemon/dewgong", well, I don't really understand how the build works, but I think those get generated during it, because the setup is the same for every other Pokemon. So that can't be it.
The real crux here is that the "main.o" style of error message doesn't give me a starting point. Do I just have to go through every single file and Ctrl+F for "gfx/pokemon/dewgong/a"? Is this somehow a memory bank issue and gfx/pokemon/dewgong/anim.asm got cut off right at the "a"? I'd really appreciate some help here.
Trying to build the new one with Cygwin and getting the following error:
Code:
make: *** No rule to make target 'gfx/pokemon/dewgong/a', needed by 'main.o'. Stop.
This is frustrating for a number of reasons:
- Most error messages give you a specific line of a specific file to find the source of the problem. No such luck here.
- I haven't tried doing anything with Dewgong's graphics in particular, so there's no reason why they should be acting up.
- There shouldn't be, and isn't, a file just called "a" in Dewgong's graphics folder, or any Pokemon's graphics folder. Each of them should have an "anim.asm" and an "anim_idle.asm", but not just "a".
With that said, "no rule to make" usually indicates a missing file. So the obvious thought is that, somewhere, what should be a request for gfx/pokemon/dewgong/anim.asm or gfx/pokemon/dewgong/anim_idle.asm somehow got accidentally backspaced to just read gfx/pokemon/dewgong/a, hence the error message of not being able to find the file. Well, let's look around.
https://github.com/hannabartpekopon/GrateCrystal/blob/master/data/pokemon/pic_pointers.asm:
Code:
...
dba SeelBackpic
dba DewgongFrontpic
dba DewgongBackpic
dba GrimerFrontpic
...
https://github.com/hannabartpekopon/GrateCrystal/blob/master/gfx/pics.asm:
Code:
SECTION "Pics 3", ROMX
...
SkarmoryFrontpic: INCBIN "gfx/pokemon/skarmory/front.animated.2bpp.lz"
DewgongFrontpic: INCBIN "gfx/pokemon/dewgong/front.animated.2bpp.lz"
VictreebelFrontpic: INCBIN "gfx/pokemon/victreebel/front.animated.2bpp.lz"
...
SECTION "Pics 18", ROMX
...
ShuckleBackpic: INCBIN "gfx/pokemon/shuckle/back.2bpp.lz"
DewgongBackpic: INCBIN "gfx/pokemon/dewgong/back.2bpp.lz"
UnownBFrontpic: INCBIN "gfx/pokemon/unown_b/front.animated.2bpp.lz"
...
https://github.com/hannabartpekopon/GrateCrystal/blob/master/gfx/pokemon/anim_pointers.asm:
Code:
...
dw SeelAnimation
dw DewgongAnimation
dw GrimerAnimation
...
https://github.com/hannabartpekopon/GrateCrystal/blob/master/gfx/pokemon/anims.asm:
Code:
...
SeelAnimation: INCLUDE "gfx/pokemon/seel/anim.asm"
DewgongAnimation: INCLUDE "gfx/pokemon/dewgong/anim.asm"
GrimerAnimation: INCLUDE "gfx/pokemon/grimer/anim.asm"
...
https://github.com/hannabartpekopon/GrateCrystal/blob/master/gfx/pokemon/idle_pointers.asm:
Code:
...
dw SeelAnimationIdle
dw DewgongAnimationIdle
dw GrimerAnimationIdle
...
https://github.com/hannabartpekopon/GrateCrystal/blob/master/gfx/pokemon/idles.asm:
Code:
...
SeelAnimationIdle: INCLUDE "gfx/pokemon/seel/anim_idle.asm"
DewgongAnimationIdle: INCLUDE "gfx/pokemon/dewgong/anim_idle.asm"
GrimerAnimationIdle: INCLUDE "gfx/pokemon/grimer/anim_idle.asm"
...
https://github.com/hannabartpekopon/GrateCrystal/blob/master/gfx/pokemon/frame_pointers.asm:
Code:
...
dw SeelFrames
dw DewgongFrames
dw GrimerFrames
...
https://github.com/hannabartpekopon/GrateCrystal/blob/master/gfx/pokemon/kanto_frames.asm:
Code:
...
SeelFrames: INCLUDE "gfx/pokemon/seel/frames.asm"
DewgongFrames: INCLUDE "gfx/pokemon/dewgong/frames.asm"
GrimerFrames: INCLUDE "gfx/pokemon/grimer/frames.asm"
...
https://github.com/hannabartpekopon/GrateCrystal/blob/master/gfx/pokemon/bitmask_pointers.asm:
Code:
...
dw SeelBitmasks
dw DewgongBitmasks
dw GrimerBitmasks
...
https://github.com/hannabartpekopon/GrateCrystal/blob/master/gfx/pokemon/bitmasks.asm:
Code:
...
SeelBitmasks: INCLUDE "gfx/pokemon/seel/bitmask.asm"
DewgongBitmasks: INCLUDE "gfx/pokemon/dewgong/bitmask.asm"
GrimerBitmasks: INCLUDE "gfx/pokemon/grimer/bitmask.asm"
...
https://github.com/hannabartpekopon/GrateCrystal/tree/master/gfx/pokemon/dewgong:
Code:
anim.asm
anim_idle.asm
back.png
front.png
shiny.pal
https://github.com/hannabartpekopon/GrateCrystal/blob/master/data/pokemon/palettes.asm:
Code:
...
INCBIN "gfx/pokemon/seel/front.gbcpal", middle_colors
INCLUDE "gfx/pokemon/seel/shiny.pal"
INCBIN "gfx/pokemon/dewgong/front.gbcpal", middle_colors
INCLUDE "gfx/pokemon/dewgong/shiny.pal"
INCBIN "gfx/pokemon/grimer/front.gbcpal", middle_colors
INCLUDE "gfx/pokemon/grimer/shiny.pal"
...
https://github.com/hannabartpekopon/GrateCrystal/blob/master/data/pokemon/base_stats.asm:
Code:
...
INCLUDE "data/pokemon/base_stats/seel.asm"
INCLUDE "data/pokemon/base_stats/dewgong.asm"
INCLUDE "data/pokemon/base_stats/grimer.asm"
...
Yeah, I'm just flailing at this point. All this stuff seems to be in order. If you're about to say "but there's no frames.asm or bitmask.asm in gfx/pokemon/dewgong", well, I don't really understand how the build works, but I think those get generated during it, because the setup is the same for every other Pokemon. So that can't be it.
The real crux here is that the "main.o" style of error message doesn't give me a starting point. Do I just have to go through every single file and Ctrl+F for "gfx/pokemon/dewgong/a"? Is this somehow a memory bank issue and gfx/pokemon/dewgong/anim.asm got cut off right at the "a"? I'd really appreciate some help here.