Page 2 of 2
Re: Having trouble compiling snes source code
Posted: Wed May 15, 2013 11:53 am
by pichichi010
Not in the bin folder, I checked.
I am running the search function but I remember having several game.smc files around lol
yeah no output.
This thing does't want to be compiled!
Re: Having trouble compiling snes source code
Posted: Wed May 15, 2013 12:04 pm
by thefox
Some other step of the build probably failed.
Re: Having trouble compiling snes source code
Posted: Wed May 15, 2013 12:10 pm
by pichichi010
Still get the Discarding empty section ".rodata1".
The log looks good for everything else.
Installed a clean copy and nothing.
C:\snessdk\christmas>call compsnd.bat
C:\snessdk\christmas>path=path;tools\
C:\snessdk\christmas>del spc700.bin
C:\snessdk\christmas>pre spc700.asm
C:\snessdk\christmas>bass -arch=table -o spc700.bin spc700.s
C:\snessdk\christmas>rem pause
C:\snessdk\christmas>del spc700.s
C:\snessdk\christmas>call makeres.bat
C:\snessdk\christmas>path=path;tools\
C:\snessdk\christmas>del gfx\*.chr
C:\snessdk\christmas>del gfx\*.pal
C:\snessdk\christmas>snesbmp gfx\intro.bmp -b -256 -s16
C:\snessdk\christmas>snesbmp gfx\title.bmp -b -256 -s16
C:\snessdk\christmas>snesbmp gfx\back1.bmp -b -256 -s16
C:\snessdk\christmas>snesbmp gfx\back2.bmp -b -256 -s16
C:\snessdk\christmas>snesbmp gfx\back3.bmp -b -256 -s16
C:\snessdk\christmas>snesbmp gfx\back4.bmp -b -256 -s16
C:\snessdk\christmas>snesbmp gfx\back5.bmp -b -256 -s16
C:\snessdk\christmas>snesbmp gfx\backmenu.bmp -b -256 -s32
C:\snessdk\christmas>snesbmp gfx\backdone.bmp -b -256 -s16
C:\snessdk\christmas>snesbmp gfx\gameover.bmp -b -256
C:\snessdk\christmas>snesbmp gfx\tileset.bmp -b
C:\snessdk\christmas>snesbmp gfx\flares.bmp -b
C:\snessdk\christmas>snesbmp gfx\leds.bmp -b
C:\snessdk\christmas>snesbmp gfx\spr16.bmp -b
C:\snessdk\christmas>snesbmp gfx\hero_stand.bmp -b
C:\snessdk\christmas>snesbmp gfx\hero_walk.bmp -b
C:\snessdk\christmas>snesbmp gfx\hero_throw.bmp -b
C:\snessdk\christmas>snesbmp gfx\hero_jump.bmp -b
C:\snessdk\christmas>snesbmp gfx\hero_hit.bmp -b
C:\snessdk\christmas>snesbmp gfx\hero_make.bmp -b
C:\snessdk\christmas>snesbmp gfx\hero_lose.bmp -b
C:\snessdk\christmas>snesbmp gfx\hero_alt.bmp -b
C:\snessdk\christmas>snesbmp gfx\ufo1.bmp -b
C:\snessdk\christmas>snesbmp gfx\ufo2.bmp -b
C:\snessdk\christmas>snesbmp gfx\ufo2_alt.bmp -b
C:\snessdk\christmas>call compile.bat
Re: Having trouble compiling snes source code
Posted: Wed May 15, 2013 4:19 pm
by Shiru
Discarding empty section ".rodata1"
This one is an irrelevant message, it is just a warning that there is an empty section defined in the code. You can remove this message by deleting first three lines of the data.asm.
Re: Having trouble compiling snes source code
Posted: Wed May 15, 2013 5:25 pm
by pichichi010
Yeah I went and deleted it and well it was nothing.
Re: Having trouble compiling snes source code
Posted: Wed May 15, 2013 11:54 pm
by thefox
My guess is the Python optimizing step is failing. Maybe it's not finding Python in the path, or .py files haven't been associated to run with Python.
BTW the PATH setting is wrong in all the batch files. It is:
It should be:
Also try changing:
Code: Select all
..\bin\816-opt.py game.ps1 > game.s
to:
Code: Select all
python ..\bin\816-opt.py game.ps1 > game.s
Re: Having trouble compiling snes source code
Posted: Mon May 20, 2013 4:43 am
by pichichi010
Everything is working now, With Ramsis edits, and Shiru helped me and replaced the "Lib" folder of the SNES SDK with another version he had.
Solved everything.
Thanks, problem resolved.
Re: Having trouble compiling snes source code
Posted: Sat Jun 22, 2019 12:55 pm
by zhengyaxin_8bit
Hi pichichi010
Can you send a correct vesion to my email
632618534@qq.com.
I can't complier this project.