Code Monkey home page Code Monkey logo

Comments (15)

 avatar commented on May 29, 2024

It builds for me and several others at least. What were the errors you got?
Also, are you using Windows or Linux? If you're using Windows, did you compile the tools yourself or use the prebuilt binaries from https://github.com/YamaArashi/pokeruby-tools?

from pokeruby.

hbdfreitas avatar hbdfreitas commented on May 29, 2024

I got a gazillion undefined reference errors after using the make command. I used the prebuilt binaries.
And after reporting all the undefined reference errors, it gives:
make: *** [pokeruby.elf] Error 1

from pokeruby.

 avatar commented on May 29, 2024

If you do something like "make >out.txt", can you see any earlier errors before the undefined reference ones? Unfortunately, the makefile got a bit weird after support for building both Ruby and Sapphire at the same time was added and now it doesn't stop when an error occurs.

from pokeruby.

 avatar commented on May 29, 2024

Actually, to see the errors you would need to do "make 2>errors.txt".

from pokeruby.

hbdfreitas avatar hbdfreitas commented on May 29, 2024

errors.txt

edit: accidentaly closed the thread lol
Uploaded the error.txt file obtained by the method you described.

from pokeruby.

yenatch avatar yenatch commented on May 29, 2024
make clean

from pokeruby.

hbdfreitas avatar hbdfreitas commented on May 29, 2024

That actually worked apparently. Can't see any output file in my pokeruby folder though.

from pokeruby.

yenatch avatar yenatch commented on May 29, 2024

That deleted all the files created by the build, in case they were created in failed attempts. What happens when you run make again?

from pokeruby.

hbdfreitas avatar hbdfreitas commented on May 29, 2024

Worked like a charm! Made both Ruby and Sapphire. Gotta try to make some edits to see if they actually take effect. Thanks for all the help!

from pokeruby.

 avatar commented on May 29, 2024

I've updated the makefile so that build issues will be less likely. Now it will only make either Ruby or Sapphire, but not both, depending on the target you pass to make.

from pokeruby.

hbdfreitas avatar hbdfreitas commented on May 29, 2024

I'll try the new makefile. Thanks for all the help. Wish you guys the best of luck. I understand that disassembling a game like this is massive work and though my knowledge is very limited, I'd be glad to of some help. Are there any tutorials out there that would help me understand the pocess better so I could be of some use for this project?

from pokeruby.

 avatar commented on May 29, 2024

You mean a tutorial on disassembling? I'm not sure if I have seen one. But you can ask questions on this IRC channel if you have any. Were you able to successfully make changes to the game?

irc: freenode#pret

from pokeruby.

hbdfreitas avatar hbdfreitas commented on May 29, 2024

I was able to make a few text changes, and it compiled flawlessly. Might try to add new Pokémon later.
How far is this project from being complete? Thanks for all the help.

from pokeruby.

 avatar commented on May 29, 2024

It depends on how you measure it. There isn't much data left to dump until the base ROM is no longer needed. But we still need to figure out what a lot of the data is for. There are many "gUnknown_08XXXXXX" labels which need to be given proper names. In addition, I am trying to decompile the assembly code into C, which will take quite a while.

from pokeruby.

hbdfreitas avatar hbdfreitas commented on May 29, 2024

I understand. Again, best of luck on your endeavor. Maybe I'll drop by on irc sometime. =)

Gonna close as of now.

from pokeruby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.