09-26-2015, 04:42 PM
alright
well, if you can get those to a more standardized format, it's a start
well, if you can get those to a more standardized format, it's a start
FF:Brave Exvius // Defining spritesheet frames help
|
09-26-2015, 04:42 PM
alright
well, if you can get those to a more standardized format, it's a start (09-26-2015, 04:42 PM)DarkGrievous7145 Wrote: alrightThis might help... http://pastebin.com/vXc0yNRh Code from an APP for Brave Frontier, a game from the same developer, generates animated gifs using the CGG+CGS files. I don't know any programming though... so none of it makes any sense to me. ;P
09-28-2015, 12:47 AM
ah...python, that brings back some memories
so, first, you have all the imports, a lot of them i don't recognize nor can i guess , and i don't feel like lookign them up. i have a friend who might be able to explain this in-depth, however... import json - is probably to import a library/class for dealing with JavaScript Object Notation files (.json) the ones related to PIL appear to be an image library import StringIO - a class for dealing with text strings, i think at the point the real code begins, though...sorry i will email this to my other contact and see what he says.
09-28-2015, 04:59 AM
I skimmed over it and it looks fairly straightforward; at the very least it would give a starting point for reverse engineering. I'd like to know how to extract the .cpk files though, so that I can access the CGG and CGS files.
Thanked by:
09-28-2015, 06:14 AM
(09-28-2015, 12:47 AM)DarkGrievous7145 Wrote: ah...python, that brings back some memoriesGreat. ;P (09-28-2015, 04:59 AM)puggsoy Wrote: I skimmed over it and it looks fairly straightforward; at the very least it would give a starting point for reverse engineering. I'd like to know how to extract the .cpk files though, so that I can access the CGG and CGS files.I used https://github.com/esperknight/CriPakTools. http://resourcebase.cbt.exvius.com/lapis.../unit1.cpk -> https://dl.dropboxusercontent.com/u/2102...nitCpk.rar I ran into errors on some CPKs though, so... there might be a better way to extract them.
09-29-2015, 06:35 PM
(09-27-2015, 07:53 PM)MrAlbion Wrote:(09-26-2015, 04:42 PM)DarkGrievous7145 Wrote: alrightThis might help... I think I could translate some of this I've use Python before and used it fluently Thanked by:
10-01-2015, 10:39 PM
(09-29-2015, 06:35 PM)ThatTrueStruggle Wrote:I hope you figure it out. ;P(09-27-2015, 07:53 PM)MrAlbion Wrote:(09-26-2015, 04:42 PM)DarkGrievous7145 Wrote: alrightThis might help...
10-02-2015, 11:36 PM
(09-29-2015, 06:35 PM)ThatTrueStruggle Wrote: I think I could translate some of this I've use Python before and used it fluently I shall leave you to this, then... I RQ'd Python quite some time ago, besides I just don't understand enough about certain file/data formats Good luck! My contact also has not emailed me back. I'm assuming he's probably busy with work-related stuff. I got the construction down! That's the cgg files, tomorrow I'll get onto the cgs ones and making GIFs. I can also make it spit out strips instead of GIFs, which should be easier for sheeting up. EDIT: I forgot to mention, there's also code for stuff like rotation and blend filtering (which I still have to put in). Although this would produce the sprites as they appear in the game, it would taint the "pure-ness" of the actual pixels. So I would suggest submitting the parts as separate sheets in addition to these, even if they're not as directly useful.
10-03-2015, 11:55 AM
(10-03-2015, 06:53 AM)puggsoy Wrote:I love you. Thanked by: puggsoy
10-03-2015, 12:33 PM
Well I guess I don't need to translate now
10-04-2015, 06:05 AM
So I spent today getting the opacity, blending, rotating and flipping done, most of which are used in this image. Not 100% sure that I've done everything right (in particular the blending seemed kinda strange), but I'm fairly confident this is how it's supposed to look. Now, I'm not sure whether I can actually turn them into GIFs; I can't seem to find a good library that supports exporting to GIF, so I'd have to write something for it from scratch. Unless you insist, I'll just make it save as strips. I can also make it save the frames separately, which you can then turn into GIFs if you want. Either way, tomorrow's Monday and I'll be busy with uni again, but I'll try and find some time this week to finish it. Thanked by: MrAlbion
10-04-2015, 10:33 AM
Looks good to me. ;P
Just go with whatever is easier on you, imo. Thanked by: puggsoy
|
« Next Oldest | Next Newest »
|