• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Other✓] Couldn't git remote Dynamic Overworlds

  • 8
    Posts
    1
    Years
    • Seen Sep 5, 2023
    One of my friends' sprites was broken, so I was told that to fix it, he could either edit the object sprites' palettes or merge into the Dynamic Overworld System. However, since manually editing the event object sprites' palettes was difficult, I was suggested that he merge into the Dynamic Overworld System to circumvent that, but remoting was unsuccessful.
    So, here's what he did: He cloned into the pokeemerald and the pokeemerald-expansion GitHubs, and then he entered
    Code:
    git remote add ExpoSeed https://github.com/ExpoSeed/pokeemerald.git
    inside his pokeemerald folder, only to get this error:
    Code:
    MINGW46 ~/Desktop/decomps/pokeemerald
    $ git remote add ExpoSeed https://github.com/ExpoSeed/pokeemerald.git
    fatal: not a git repository (or any parent up to mount point /cygdrive)
    Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
    He also typed
    Code:
    git init
    before entering git remote, but the error still persisted.
    What was he doing wrong, and how could he fix it?
     
    Last edited:
    This was solved in the community's Discord server.
    Long story short, your copy of Pokeemerald doesn't have a Git project set up, either because you obtained it through GitHub.com directly, because a program to use Git with a GUI screwed you over, because you accidentally deleted the .git folder somehow, or anything along those lines.
    As a result, you cannot use any of Git's commands, including git remote.

    git init allows you to set up a blank/new Git project in your folder.
    However, by doing so, you'd be working with a project that has a clean Git history, and as a result of that, you wouldn't be able to pull any of the feature branches made for Pret's decomps, including ExpoSeed's DOP branch.
    This is because the history of the repository that hosts the branch you want to pull and your project's own history differ to such an extent that Git would be incapable of discerning what commits from the branch you're trying to pull should it actually try to incorporate into your project.

    Your only choices are to either implement the changes present in that branch manually, or cloning either Pret's Pokeemerald repository or RHH's Pokeemerald-expansion repository using git clone, then porting over your changes from your original project, and once you get them packed into commits and that you have a ROM building and functioning normally, you can then perform the steps to establish a link with Expo's repository and git pull their DOP branch.

    Also, I told you this multiple times in the Discord server already, but just in case, do make sure to read my tutorial talking about the basics of Git when working with these projects.
    https://www.pokecommunity.com/threads/432321
     
    Last edited:
    So I read it like a while ago, and I was wondering, porting over original changes with
    Code:
    git add .
    then
    Code:
    git commit
    ?
     
    Last edited:
    So I read it like a while ago, and I was wondering, porting over original changes with
    Code:
    git add .
    then
    Code:
    git commit
    ?
    git add . adds every file change in your project to a pool.
    git commit packs all of those changes into a commit.
    For more information, see: https://www.pokecommunity.com/threads/432321

    When I said that you had to port over your changes, I meant that you had to reimplement them in your freshly cloned copy of Pokeemerald or Pokeemerald-expansion.
     
    Last edited:
    Back
    Top