![]() |
How to make a program that can open models? - Printable Version +- The VG Resource (https://www.vg-resource.com) +-- Forum: Archive (https://www.vg-resource.com/forum-65.html) +--- Forum: July 2014 Archive (https://www.vg-resource.com/forum-139.html) +---- Forum: Other Stuff (https://www.vg-resource.com/forum-6.html) +----- Forum: Questions, Info, and Tutorials (https://www.vg-resource.com/forum-89.html) +----- Thread: How to make a program that can open models? (/thread-20359.html) Pages:
1
2
|
How to make a program that can open models? - TheAmazingSnivy - 05-16-2012 I, TheAmazingSnivy, have decided to attempt to open a FSYS file. (They're used in PBR, PC, X ![]() Edit: I think this is the right place to put this... right? RE: How to make a program that can open models? - puggsoy - 05-16-2012 All I could really find was this page, scroll down to gcfsysd. It says that it can extract files from .fsys files from X ![]() This thread might also help somewhat, although it's more about ripping .fsys files than opening them. RE: How to make a program that can open models? - TheAmazingSnivy - 05-16-2012 Do you know anyone who is good at programming? I would still like to make the program. My idea is to make modding tools for the games. Plus, if they make another game with the same file extension, all you would have to do is open them with my program. (In theory, of course.) Right now I want to start small, just a program that can open DAEs. RE: How to make a program that can open models? - puggsoy - 05-16-2012 I'd consider myself "good" with programming, but that's only with Flash, which I don't think will be much help here. I'm sure there are lots of other people at here at tSR that are more experienced with languages like C++ though, which would be more suitable for this sort of stuff. You can check in the Game Development section, if you see someone who might be able to help you can PM them and see if they're up for it. RE: How to make a program that can open models? - TheAmazingSnivy - 05-16-2012 Ok. (One question, is tSR The Spriter's Resource?) RE: How to make a program that can open models? - puggsoy - 05-16-2012 Yeah it is, sorry if I made that unclear. Even thought it isn't really needed, I've edited my post now so that it's clearer. By the way, I'd like to test some stuff with gcfsysd. Would you be able to supply me with the file you want to open, or give me a link to a similar file? RE: How to make a program that can open models? - TheAmazingSnivy - 05-16-2012 (05-16-2012, 03:46 PM)puggsoy Wrote: Yeah it is, sorry if I made that unclear. Even thought it isn't really needed, I've edited my post now so that it's clearer.Allow me one minute. Edit: Here you go. (http://www.mediafire.com/download.php?1kgwuyjo2r4tyox) It's Absol. RE: How to make a program that can open models? - puggsoy - 05-17-2012 Well, I've checked it out. gcfsysd manages to extract a file named "absol" from it. I assuming this is the model you're looking for, but it has no extension so I don't know what to do with it. Also, if it means anything, gcfsysd gave me this output information: Code: gcfsysd 0.1 Hope it helps in any way. RE: How to make a program that can open models? - Previous - 05-17-2012 Well it is a LZSS compressed file, that much I can tell you. File headers are a sweet thing. What LZSS is? Well, I'm sure you heard of LZ77 (Lempel, Ziv, 1977). LZSS is an adaption (Storer, Szymanski, 1982). You'll need a decompressor in order to get to the contents. Further, this means that you'll need to implement LZSS comression/decompression algorithms in your porgram. RE: How to make a program that can open models? - TheAmazingSnivy - 05-17-2012 All right, so I'll have to figure out how to do that. That also means that I'll have to include gfsysd in the download of my program. RE: How to make a program that can open models? - puggsoy - 05-17-2012 I'm pretty sure you'll be allowed to use gcfsysd in your program, since he gives the source code along with it (hence the .c file). If you're gonna write your program in C/C++, you can also just stick the code in directly instead of accessing the .exe externally. As for the LZSS algorithms, a quick search produced this page. It hasn't got any code straight-up, but it gives you algorithms for both encoding and decoding, which I'm assuming you can use across multiple languages. RE: How to make a program that can open models? - TheAmazingSnivy - 05-17-2012 Ok then, thank you. Edit: I've also noticed that LZSS is also seen in the Hex in PC FSYS files, as seen here, PC is on the top; ![]() Maybe, just maybe, this might be the key to opening them. RE: How to make a program that can open models? - Garamonde - 05-19-2012 You should be able to decompress LZH8/LZSS format models with this script thingy: http://hcs64.com/files/lzh8_cmpdec08.zip I'm not sure if it'll work for you but when you said LZSS it reminded me of this so I thought I'd link to it if it helps any. RE: How to make a program that can open models? - TheAmazingSnivy - 05-19-2012 (05-19-2012, 02:41 PM)Mighty Jetters Wrote: You should be able to decompress LZH8/LZSS format models with this script thingy: http://hcs64.com/files/lzh8_cmpdec08.zip Thanks for your help! RE: How to make a program that can open models? - Garamonde - 05-19-2012 Ah so it works? That's great! I hope you can get at some of those models now! ![]() |