Users browsing this thread: 6 Guest(s)
Ripping sprites from DirectX games
#16
You sir have just poo-pooed all over this man's epic journey.
[Image: randomimage.cgi]
Thanked by: alexmach1, puggsoy, Garamonde
#17
I didnt want to, but i thought he should know the truth. Nothing but the truth. I hope he can handle the truth....im done
Animations - MFGG TKO (scrapped) - tFR
[Image: QUmE6.gif]
"It feels that time is better spent on original creations" - Konjak
Focus on the performance, the idea, not the technical bits or details - Milt Kahl
Thanked by:
#18
I kind of already knew that. As I mentioned before I tried learning C# and XNA, specifically speaking I was trying to load the .xnb, but it didn't work. I looked and looked but it was just way too much to study and there were no simple answers so I gave up on that. I guess could have asked here, although this place doesn't really strike me as C# central, but if I hadn't found my current solution I might have had a go at asking here.

And yeah, in the end the program doesn't need the decompressed XNB either. Apparently that's useful for some reasons but sprite ripping isn't one of them.

Your comment did kind of "poo-poo" on my journey, but whatever. If I had programmed a converter with your help I may have felt as satisfied, but I surely wouldn't have such an epic story.
But still, I appreciate the fact that you're telling me "the truth". I probably would have done the same if we swapped places, so thanks.
You may have a fresh start any moment you choose, for this thing that we call "failure" is not the falling down, but the staying down. -Mary Pickford
Thanked by: Garamonde
#19
(08-08-2012, 05:12 PM)puggsoy Wrote: It was a command-line program, as I expected, and after fiddling with it I managed to get it to extract files from a PKG file (specifically the one containing the files of the mechanical Pyth). What it produced was an XML file, which was just pointing to stuff, and a new problem: an XNB file.

Puggsoy, can you help me to extract the files from PKG file?I know this Tread it's very old, but I was doing a texture pack for Terraria using Bastion music, font and sprites, but I can't extract the PKG's files, can you teach me how to do this?

(08-08-2012, 05:12 PM)puggsoy Wrote: So while looking around to see if I could somehow open or unpack these XNB files, I found myself back by the guy who gave me the code for the PKG files. Apparently he'd also made a program to decompress these XNB files. So, I did the same as before, downloaded the source and compiled the command-line program. I had it figured out fairly quick and managed to decompress the XNB file. Now this is where it got hard.

Can you post a download link of this program? I need it so much, and, please, post a download lik for the program for modding Magicka. Ow man, I really need your help, I was loosing my head with these PKG and XNB. Nervous
Thanked by:
#20
I made a program "BastionPKGExtract" in my app thread, found under "Game or console specific programs". In the "Info" section of it you'll also find a link to XnbToPng which TheShyGuy made for me, which can mass convert Bastion's XNB files (and does it much better than the Magicka modding program).

If you need more assistance feel free to PM me Smile
You may have a fresh start any moment you choose, for this thing that we call "failure" is not the falling down, but the staying down. -Mary Pickford
Thanked by: Roxas HK XIII
#21
Yeeehaw! I finally did it! Cool You're awsome dude, thanks, thanks so much! Cry When I read the part of many hours, many pages, I remembred me, cause I was searching something like this a week ago, then I found this website that thank god is not inactve. Now I can do my Texturepack, tahnk you so much buddy! Wink
Thanked by: puggsoy
#22
Hey puggsoy! First of all let me congratulate you on unpacking the Bastion .pkgs

So! Now Supergiant Games' new game, Transistor is out, which I'm pretty sure is all based on Bastion. I'm looking into how to extract sprites and textures from the game, as I'd love to do an animation practice with them, but I have absolutely no knowledge of coding unfortunately.

I was hoping, if you have some spare time, could you maybe take a look at the PKGs in Transistor?

I tried your Bastion extractor on them, but no luck, they just don't open Sad I expect they shouldn't be too different from the Bastion PKGs, that's why I'm hoping you could glance on them!

I'd be reallyreally happy if you could! Only if it's not a hassle though! Smile

Edit: Here's a Transistor PKG if you need! http://www.mediafire.com/download/7uth67...ansist.rar
Thanked by:
#23
I should get home in several days, so when I do I'll be glad to take a look and see what I can do. I usually don't dismantle games I plan to play until I've finished them (and I don't even own Transistor yet), but if someone asks then I don't mind Wink
You may have a fresh start any moment you choose, for this thing that we call "failure" is not the falling down, but the staying down. -Mary Pickford
Thanked by: Aliana1
#24
(05-23-2014, 05:15 AM)puggsoy Wrote: I should get home in several days, so when I do I'll be glad to take a look and see what I can do. I usually don't dismantle games I plan to play until I've finished them (and I don't even own Transistor yet), but if someone asks then I don't mind Wink

Thanks a ton!! Hopefully then the small package I uploaded will help Smile The game is soooooo worth it though, GOTY sofar on my list!

I'll check back daily if you need anything. You're awesome!
Thanked by:
#25
Well I had a chance so I took a look already. At first glance they look fairly straightforward, I mean I can see the file paths and XNB headers. Problem is that they look somehow compressed, I'm seeing random bytes all over the place, which wasn't the case with the Bastion PKGs. I'll try some things though.

The .pkg_manifest files, I'm not sure what they contain but at least they don't look compressed. I'd take a guess that they have some sort of sprite arrangement or construction data but I'm not sure yet.
You may have a fresh start any moment you choose, for this thing that we call "failure" is not the falling down, but the staying down. -Mary Pickford
Thanked by: Aliana1
#26
Good luck Puggsoy!
Tsunami Bomb - The Simple Truth
We could run away
Leave behind anything paper
Not knowing where we're going to stay
When there's no Mondays

You're part of me, it's so easy to see the simple truth
When I'm in your arms, I feel safe from harm and sorrow too
You're part of me, it's so easy to see the simple truth
But most of all, nothing couldn't be solved when I'm with you
Thanked by: puggsoy
#27
I'm not sure if this helps anything, but there was a reddit post regarding the XMLs Smile http://www.reddit.com/r/transistor/comme...ransistor/

Edit: yeah that probably won't be useful, just trying to help Smile
Thanked by: puggsoy, psychospacecow


Forum Jump: