Jump to content

Aroymart

Member
  • Posts

    6
  • Joined

  • Last visited

Posts posted by Aroymart

  1. If you'd give some more details I could probably say something helpful. ^^;

    Thanks! That piece of code that I wrote was in a spot I know is dumb, it was just the only spot that I knew I could trigger in game (I don't want to delete my save!) I'll try to find other places that are more receptive to menus, that's a fun part of the experimen

    Did you try to run this with python 2.7 or the latest?

    Python development is in a weird spot.. There's a split between 2.7 and higher. So if something doesn't work with anything higher than 2.7, try it with 2.7.

    I'm not a python expert though. I barely even skimmed the surface.

    Ah, I tried the latest. I'll download 2.7 and give it a shot, thanks! If all else fails, I'll probably stick with hex and then get tired of it and write a parser :^)

  2. Its pretty dirty and confusing, because those objects needs to be in a particular state to work as expected.

    Ah, That might be causing me issue. I'm in a pretty weird place to have a menu randomly pop up!

    The flow system sounds awful, but I'll start to look through and see if I understand anything. The flowsys bin files sound promising though.

    You mean the encoded pointer list ? Because that's just used to translate pointer offsets in the file to offsets in memory when the file's content is loaded.

    Also, the notes I have up are for GTI. In PSMD, they put all the string db files into a big FARC archive.

    Ah that makes sense! Also, the second part makes even more sense.

    Either way, I still can't seem to get the text using the python god that someone wrote way earlier. The Git says it's for PSMD so I know I'm not making that mistake twice :^)

    Having never worked with python, it's probably causing me some issue. Did it work for you? I keep getting this

  3. Oh I see what you mean! It was just that you're the only person I've seen to successfully inject some amount of menu code! The lua that I was reading through was confusing (it had a whole bunch of other things sprinkled through it) so everything I tried to copy would fail because I couldn't find the write parts that actually made it work! Meanwhile your code worked (It didn't really have anything to do with the fact that it was starter pokemon code!) so I figured it wouldn't have much unnecessary stuff so I'd be able to read it better! I guess asking for it was my poorly worded attempt at asking for pointers :^)

    But now I have what you wrote so I can see the bare basics of what's needed to make a menu and I can modify it to learn! I'm probably going to devote most of my time to taking apart the scripting engine and seeing if I can do anything meaningful with it!

    I would never say no to a useful info dump tho :^)

    Also, I have a question about strings! I was looking through your documentation of the message.bin format and I'm a little confused. All SIR0 files have the pointer table at the end of the file correct? but the sub header (of the message.bin file) has a pointer to each string doesn't it? so what's the point of the pointer table at the end? I'm probably being confusing with how I write this, mostly because I don't really think I know enough about the format to even ask questions haha

    Thank you!

  4. You know, it might be much easier to help you if you'd mention what you're trying to do/are looking for, and ask some question. What you've said so far is very vague. :/

    Oh, I wasn't looking for specific help. I was just hoping to see what you wrote to see if I could mess with it and learn that way. I don't know much about lua or about the engine, and I learn best by looking at what others have done and messing around with it.

    Also, I was holding back on releasing that, because there is most likely a better way to do this. And I think using the setpartner and sethero functions do some extra junk in the background which causes issues..

    Sorry, I was just asking so I could see an example of something that didn't immediately crash

  5. Its not really ready to be used in a playthrough at all

    Oh, I'm not interested in using it for a playthrough, I'm interested in reverse engineering the game and adding my own scripts and stuff, and I figured messing with what you wrote would give me a good starting place in how to insert custom code!

    I couldn't get the text program someone wrote (the guy on page 3 I think?) to work, so I'm writing a small one. I'm interested in seeing all of the text and trying to use it to understand some of the script functions that confuse me. I didn't see your documentation when I first read through this post. I have a question about that also, if that's okay!

    Select chain is just for adding a choice to the basic default choice dialog.

    Ah, Thank you! I thought it did something wildly different :P

  6. Hello, I just got PSMD decrypted yesterday, I'm really interested in trying to figure out what I'm doing!

    I finally got the UI to work without freezing the game, and actually displaying properly!

    This is really awesome to me, could you share the files you modified or tell me what you did? Did you have to modify the message.bin or did you just add text within lua?

    Also, is there a compiled message.bin decoder? The python one from earlier was giving me some trouble.

    Thanks, and sorry, I'm very new to this!

    Edit: Sorry for not understanding, but what is SelectChain? Is that a function that was written by chunsoft for this?

×
×
  • Create New...