[Resolved] Adding More Pokemon to the Simulator

Discussion in 'Database Modifications' started by MysteryMan, Jul 8, 2012.

  1. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    For years, I've been making sprites for custom Pokemon. I used to use this simulator a while ago. Then I saw how editable PO is. So I was wondering how do I add new Pokemon? I know it's possible. I've seen other threads asking about it. But nothing I seem to do works. Whatever you can say can help; what'd be the most helpful would be a step-by-step thing. I've been messing around with it for hours and all I've managed to do is change the moves that can be tutored to Missingno... Any help would be appreciated.

    EDIT: On one of the previous "Adding Pokemon threads", a "Ghost Mod" file was given as a base. I tried to edit it, but I keep getting an error message about the mod.ini file... which I know nothing about.
     
    Last edited by a moderator: Jul 9, 2012
  2. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    You need to have the mod.ini file at the base of your zip file (like it is at the base of the Ghost Mod zip)

    When making the zip, select all the files inside your mod folder, right click and convert them to a zip. That way those files will be at the base of the zip. What you did was maybe go up a level, right click on the folder, and create the zip. But that creates a folder at the base of a zip...

    First, try to extract the Ghost Mod zip, and compress it again the way i told you (by going inside, selecting everything, and recompressing). If that works, then you can do more pokemon inside.
     
  3. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    Thank you very much! I have a question though. How do the sprites work? In the Ghost Mod, there aren't any Shiny sprites. So where do they go? I also notice the sprites are organized very differently than the regular Pokemon.
     
  4. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Nope, they are organized the same way. It's just v2 changed how they are organized.
     
  5. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    Thank you, but it's still not working. The Ghost Mod, when edited, works fine for the lone Pokemon, but I can't get multiple new Pokemon to come up. When I tried editting a bunch of new Pokemon and tried running it, it just says that Pokemon #650 is "Blah651:0 Blah652:0 Blah653:0 Bla..." Can't the mod be used to add more than just one Pokemon?

    EDIT: I hope you don't mind the continuing questions : /
     
    Last edited: Jul 8, 2012
  6. Lamperi

    Lamperi I see what you did there

    Joined:
    Apr 25, 2010
    Messages:
    2,647
    Likes Received:
    11
    It seems like you are not inserting newlines into the file. Always insert newline after each entry to keep them as separate.
     
  7. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Open the file with something like Notepad ++, and you'll see the lines just fine!
     
  8. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    Hm. I tried that, but now all I have is just the #650. All the others aren't there.
     
  9. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    you need to add the other numbers to db/pokes/5G/released.txt and db/pokes/5G/Subgen 0/released.txt
     
  10. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    The Glitch Mod didn't come with a Subgen folder. Do I need to make one? Or are you saying that I have to add that in the Pokemon Online core files? Also, is every text file supposed to have a line break after each entry? Again, I'm sorry for the many questions, and I appreciate all the help.

    EDIT: Awesome! It seems to be working so far. However, I still have no clue about the Subgen folder. Didn't mess with it.
     
    Last edited: Jul 9, 2012
  11. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
  12. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    Another question, though. Is there a way to get MoveMachine to work for the Mod, not the core files? It'd just make things SOOO much easier.
     
  13. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Unfortunately not atm. There are some easy ways on windows, but on linux ^^

    What you can do, though, is use move machine all you want, then copy the lines starting by 650:0 to the new files. That's a compromise, it's still a lot easier than without move machine.
     
  14. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    Thank you! So I've been adding the movesets and I came to another question, if you'd be so kind. I figured out how to add new forms to Pokemon on my own. It's relatively simple. However, there are many cases where I want to make it to wear the new form of the Pokemon can learn just one move that the other cannot. Can you tell me anything about this? I mean, I can DO it, but I edit the entire moveset from Gens 3 to 5. That's a lot of copy-search-and-pasting. Any chance you can tell me the bare minimum of what I NEED to edit in order to get the new form to have the same moveset + one new move that doesn't require a rewrite of the moveset?
     
  15. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Just copy the lines and add the moves. Either you keep the same moveset and then put no moves at all, or you rewrite the whole moveset.
     
  16. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    Well... that's not what I meant. But I figured it out, so never mind that. If I may ask another question:

    I added three new types to the game. It works perfectly. With one exception. Hidden Power, when selected on one of the new types, crashes. The thing is, I don't want to ruin Hidden Power by making it able to be the new types. Is there any way I can choose NOT to assign Hidden Power one of the new types and at the same time avoid having a clickable button that crashes the game? For the time being, I put 0 0 0 0 0 1, 0 0 0 0 1 0, and 0 0 0 1 0 0 for the IVs for the new types in hopes of deterring people from using them.

    EDIT: Btw, Hidden Power cannot be ???-type. So now with the three new types, it can be the first two of the three plus ???. Since one of the four is excluded, THAT is why I believe it might be possible to exclude the other three.
     
  17. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    I'll make it so that PO, in the next update, cannot choose new types for hidden power.
     
  18. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    Okay thank you :)

    Is it possible to make new moves and abilities?

    EDIT: Oh, I see that it is...... but... I just don't get it. It's not the same as Pokemon from the looks of it. Maybe with a bit of studying I can get moves, but I still don't get abilities.
     
    Last edited: Jul 11, 2012
  19. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    I'm trying to make a new move that is similar to sandstorm. The only major difference is that I want it to hurt everyone- Ground, Steel, and Rock types included. Is this possible?
     
  20. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    Help please... I'm trying to play with a friend to test the mod out but it's not working. I'm on a server I made. No matter what I do is says my team is invalid. I made a team with my custom Pokemon, but then I changed it to regular Pokemon and it still won't work. Help D:
     
  21. Arceus

    Arceus Member

    Joined:
    May 20, 2010
    Messages:
    238
    Likes Received:
    0
    Make sure that the mod you are using on the server has the Pokemon listed in a file called released.txt in each of the subgens that it should be allowed in, not just in 5G. I had that problem before.
     
  22. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    I tried that, but it didn't work. It just doesn't recognize the new Pokemon. We can battle fine with the regular Pokemon, but it won't recognize the custom ones I've added. If we battle with them, it just deletes them from the party. What do I do? D:

    EDIT: please help, someone. Is is possible to do with the server "folder" that I keep hearing about? I made a server using the guide for one, but there is no "folder" or "directory" for it that I can see.

    Please, I have no idea what to do... I added all these Pokemon and I can't use them...
     
    Last edited: Jul 16, 2012
  23. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Create a Mods folder in your PO directory (the folder where server.exe is)

    Put your mod in it

    In the server, open the "mods" window and change mods to the one you just added.
     
  24. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    Yes I did that. It still won't work. I can build teams all I want, but I can't use them in battle. I don't know why it is not working. Does the error lie in the mod itself or in the server? I'm thinking that it has something to do with the server not recognizing it, but I don't know what to do about it.
     
    Last edited: Jul 16, 2012
  25. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Can you select the mod in your server? And when you open the server window again, does it have the mod selected?
     
  26. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    Do you mean the following?: I launch Server.exe. I go to Options, I go to Mods, I click the drop-down bar and select "Project", which is the name of the folder that contains the db file and mod.ini file.

    If so, then yes.
     
  27. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    but when you open the window again, is "Project" selected by default or not? Or do you have to select it again? (and do you click apply mod or w/e is the button)
     
  28. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    Yes. When I close and re-open it, it is still selected on "Project". I click "Ok"; it's the only button on that screen besdies "Cancel".

    A sidenote that may give insight: I tried updating the description of the server, but when I log onto it, it still has the old description.
     
  29. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Then upload your mod and i'll test it on my server...

    (Also maybe restarting the server will solve the problem)
     
  30. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    http://www.sendspace.com/file/ztsjbk

    It's actually a zip file that contains the zipped mod inside it. I made this when I first started the server, thinking it'd work. The reason it's not just the stand-alone mod was so everyone would have the three new type images.

    (Um... is there an easy way to restart or do I just start over from the beginning, make a new one, and ditch the old server?)
     
  31. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    close and open the server.
     
  32. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    As in closing the window? That doesn't really solve anything... Any other advice? :(
     
    Last edited: Jul 16, 2012
  33. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    what the... 34 MB???

    A mod db should only contain changes, it should be tons lighter.
     
  34. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    Well, like I said, it's more than just the mod itself. If it's really a bother to download that, I can re-upload with just the mod; I just didn't think it mattered really. The mod itself is only 5.74 MB. Most of that is core stuff, which I know is a bit unnecessary, but I was trying to be safe and just get it working first before trimming. But rest assured, in the mod, it only has the changes.

    I don't mean to be rude by double-posting, but can you tell me what to do soon? I'd really like this done ASAP, plus I want to remove that link I gave you when you're done with it, as I don't want an unfinished link just out there on the internet.
     
    Last edited by a moderator: Jul 17, 2012
  35. zeroality

    zeroality Artificial Insanity

    Joined:
    Apr 22, 2010
    Messages:
    1,378
    Likes Received:
    1
    coyotte508 is the lead developer on this project and is extremely busy.

    He is one of the very few people qualified to give support on this, as the Mods feature is still new.

    You'll just have to be patient, I'm afraid.
     
  36. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Well do a mod with only the changes, something a lot lighter. It shouldn't even be more than 1MB.
     
  37. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    @zeroality: I understand.

    @coyotte: Well, I can re-upload with just the Mod, but sorry, it's 5.84 MB. And that does only contain the changes.

    http://www.sendspace.com/file/buanpe

    EDIT: Note though that since you're not going to download the first link, you won't be able to see the three new types.
     
  38. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Oh my god, it's awesome the work you did on the mod. I'll test it.

    Edit: tested, it works fine for me...
     
    Last edited: Jul 17, 2012
  39. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    Lol thank you :)
     
  40. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Yup, I tested it, and it works fine.