Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2013-03-22 01:36:38

BlueSatoshi
New member
Registered: 2013-03-19
Post 4/8

Error when attempting to compile Pokémon Red disassembly

While attempting to compile the Pokémon Red disassembly, I got the following error:

python textpre.py < main.asm > main.tx

python textpre.py < text/oakspeech.asm > text/oakspeech.tx

python textpre.py < text/pokedex.asm > text/pokedex.tx

python textpre.py < text/mapRedsHouse1F.asm > text/mapRedsHouse1F.tx

python textpre.py < text/mapBluesHouse.asm > text/mapBluesHouse.tx

python textpre.py < text/mapPalletTown.asm > text/mapPalletTown.tx

rgbasm -o pokered.o pokered.asm

Output filename pokered.o

Assembling pokered.asm

Pass 1...

*ERROR* pokered.asm(3) -> main.tx(2853) :
        File not found
make: *** [pokered.o] Error 5

This is my first time attempting to compile something with rgbds, so I'm not sure what to do from here.

Offline

#2 2013-03-22 01:38:13

stag019
Idea Killer
Registered: 2011-01-05
Post 392/630

Re: Error when attempting to compile Pokémon Red disassembly

Did you include the base rom?


You can try to hide yourself in this world of pretend; when the paper's crumpled up, it can't be perfect again.

Offline

#3 2013-03-22 01:57:36

BlueSatoshi
New member
Registered: 2013-03-19
Post 5/8

Re: Error when attempting to compile Pokémon Red disassembly

I tried doing that by simply placing the rom in the directory, then renaming it, but there was no change.

Is there a specific command I need to use?

Last edited by BlueSatoshi (2013-03-22 01:57:52)

Offline

#4 2013-03-22 02:01:50

stag019
Idea Killer
Registered: 2011-01-05
Post 393/630

Re: Error when attempting to compile Pokémon Red disassembly

BlueSatoshi wrote:

I tried doing that by simply placing the rom in the directory, then renaming it, but there was no change.

Is there a specific command I need to use?

No, all you should have to do is make sure it's in the directory and with the correct name. You did name it baserom.gbc, correct. .gbc, not .gb


You can try to hide yourself in this world of pretend; when the paper's crumpled up, it can't be perfect again.

Offline

#5 2013-03-22 02:06:59

BlueSatoshi
New member
Registered: 2013-03-19
Post 6/8

Re: Error when attempting to compile Pokémon Red disassembly

Yeah. I took a copy of

Pokemon Red (UE) [s][!].gb

and pasted it as baserom.gbc

Pardon the code tag, the filename tags were misread as bbcode.

Offline

#6 2013-03-22 02:15:00

stag019
Idea Killer
Registered: 2011-01-05
Post 395/630

Re: Error when attempting to compile Pokémon Red disassembly

BlueSatoshi wrote:

Yeah. I took a copy of

Pokemon Red (UE) [s][!].gb

and pasted it as baserom.gbc

Pardon the code tag, the filename tags were misread as bbcode.

Well that should be enough. As long as there's some sort of file in the right directory with the right filename, you shouldn't be getting that error, even if it were the wrong rom.


You can try to hide yourself in this world of pretend; when the paper's crumpled up, it can't be perfect again.

Offline

#7 2013-03-22 02:17:48

kanzure
Member
From: Austin, Texas
Registered: 2012-01-15
Post 16/19
Website

Re: Error when attempting to compile Pokémon Red disassembly

If you are still having difficulty, run just this:

python textpre.py < main.asm > main.tx

Post any errors from this one.

Offline

#8 2013-03-22 02:19:52

BlueSatoshi
New member
Registered: 2013-03-19
Post 7/8

Re: Error when attempting to compile Pokémon Red disassembly

Just to be sure, the rom's supposed to go in the root folder, right?

Offline

#9 2013-03-22 02:20:55

stag019
Idea Killer
Registered: 2011-01-05
Post 396/630

Re: Error when attempting to compile Pokémon Red disassembly

Yes, the baserom.gbc should be in exactly the same directory as main.asm, etc.


You can try to hide yourself in this world of pretend; when the paper's crumpled up, it can't be perfect again.

Offline

#10 2013-03-22 02:22:20

BlueSatoshi
New member
Registered: 2013-03-19
Post 8/8

Re: Error when attempting to compile Pokémon Red disassembly

kanzure wrote:

If you are still having difficulty, run just this:

python textpre.py < main.asm > main.tx

Post any errors from this one.

I ran the command and it created main.tx without error.

Offline

#11 2013-03-22 02:22:27

kanzure
Member
From: Austin, Texas
Registered: 2012-01-15
Post 17/19
Website

Re: Error when attempting to compile Pokémon Red disassembly

You can also bug us on irc (server, nucleus.kafuka.org ; channel, #skeetendo here). If you haven't already, you should run make again now that you have baserom.gbc in the right location.

Last edited by kanzure (2013-03-22 02:30:01)

Offline

Board footer

Powered by FluxBB