Search results

  1. kion

    Xj Conversion Notes

    I was super sour about the model viewer not being open source. It displays njm2 animations and .xj models, Both of which were pretty high on my priorities. I managed to convert njm2 to njm, so being able to export xj would be a plus. Writing this here so I have something to refer to. Node id...
  2. kion

    Xj Conversion Notes

    You're pretty sour about those map animations. Now that I think about it though, animations might not be too difficult. One of my issues is that I'm not very familiar with the .nj file type and .xj actually makes more sense to me at the moment. But for the Dreamcast and Version 2 on PC, models...
  3. kion

    Xj Conversion Notes

    Sorry for the lack of any kind of coding style. My main focus is mostly to playing around with different files, so it's a massive mess of bodged code. I published ninja-lib on npm for functions that are more stable, and I'm trying to make steps to migrate more over to npm once they work. For now...
  4. kion

    Xj Conversion Notes

    Well.... fuck. At least I figured out rotation, which I was stuck on how to convert Sega's int's into an angle. Then I realized that most of the rotations are probably going to be 90 degrees. So I took one of the given values, 16384, set that as 90, and it worked. Now I need to figure out this...
  5. kion

    Schthack map viewer ported to Nodejs

    Spent today looking at Pso Version 1 n.rel stage files. It's kind of confusing, I'm going to try writing out everything I know so far to try and have something to refer back to. Maybe this will help someone else. I'm going to be using "map_boss03an.rel" as an example since it's only about a kb...
  6. kion

    Xj Conversion Notes

    Program name is in the upper left hand corner of the picture . 3D Builder, i think it's default in Windows 8, 10.
  7. kion

    Xj Conversion Notes

    To play around with stuff and things in Unity and WebGL. Seems like a huge amount of work to try and write tools and proprietary formats into a client whose code base can't be changed.
  8. kion

    Xj Conversion Notes

    Generally the focus is on extraction, not really interested in putting things back.
  9. kion

    Xj Conversion Notes

    For PRS i found this python implementation that works pretty well. Not exactly perfect, but I was able to port it to Node and extracted each file from a bml, decompress it and write it to the file system, though I haven't done any extensive testing. Is PRC a variation on the PRS decompression...
  10. kion

    Xj Conversion Notes

    I definitely want to leave a paper trail for anyone else that might be interested in stuff like this. Also it helps me a lot to write everything out and be able to refer back to it without having to remember everything. Also Tofu, I might have to bother you about PRC decompression sometime down...
  11. kion

    Xj Conversion Notes

    Some of these are turning out better than others. I think I just need to figure out how to handle rotation and scale, and we should be in business.
  12. kion

    Xj Conversion Notes

    Haven't looked at textures yet, but stuff is starting to fall into place. Sword exported from psobb's Item_Model.afs file.
  13. kion

    Xj Conversion Notes

    NJTL headers are pretty simple. Header is NJTL followed by a pointer to the end of the section. This offsets the pointers in the entry by 8 bytes. Header in blue is: So 3 textures and it points down to 0x08 (+0x08 for offset) right below the header. The NJS_TEXNAME entry is right below...
  14. kion

    Xj Conversion Notes

    Exported from xj file.
  15. kion

    Burning Ranger!! \o

    Ran into you today, was nice to meet you.
  16. kion

    Xj Conversion Notes

    XJ File type So that's everything I have so far for the .nj filetype. Aside from the missing mesh information, assuming that's what it is, it's mostly self contained at pretty simple. That's for a single node, but even multiple nodes simply follow the same structure and it's just a matter of...
  17. kion

    Xj Conversion Notes

    I've been looking into xj models and comparing them with nj models to see if there is a way to export xj models into a more readable format. I'm going to write what I've found so far here to clear my mind and hopefully someone else can provide incite. My priority right now is mostly on...
  18. kion

    Schthack map viewer ported to Nodejs

    A bunch of Pso dev tools are listed here: http://psodev.free.fr/
  19. kion

    Schthack map viewer ported to Nodejs

    There are still a lot of issues to work on, but I managed to port Schthack's map viewer source from Delphi/Pascal to a Nodejs script which outputs an .obj file. Textures seem to be in the right place for the most part, but the UV's are wrong. All of models in the map can be exported, but the...
  20. kion

    Question about bml files

    Okay a few hours and 128 lines of code later, I think I have a episode 2 .njm to episode 1 .njm converter that mostly works (not garanteed). Usage: node script.js <file.njm> Still in debug mode, so it just exports to output.njm.
Back
Top