Users browsing this thread: 2 Guest(s)
Curses n' Chaos .trb files
#1
[Image: death-noscale.jpg]

Before I go and rip some stuff from this game the old school way, attached are a few sample files if anyone wants to take a look at the format.

[Image: tumblr_inline_ntb3k05wnA1qe979w_500.gif]


Attached Files
.zip   Forest01.zip (Size: 17.61 KB / Downloads: 192)
.zip   Ghost.zip (Size: 2.06 KB / Downloads: 183)
.zip   Girl.zip (Size: 17.85 KB / Downloads: 185)
.zip   Goblin.zip (Size: 1.89 KB / Downloads: 207)
.zip   Leo.zip (Size: 13.32 KB / Downloads: 175)
.zip   MasterThief.zip (Size: 19.87 KB / Downloads: 220)
.zip   Medusa.zip (Size: 11.86 KB / Downloads: 202)
.zip   Ruins01.zip (Size: 16.97 KB / Downloads: 255)
[Image: yXqxjiu.png]
Reply
Thanked by:
#2
Files with "Texture" at the end contain the actual graphics. Real simple format, height at 0x07 followed by width, then 32-bit RGBA starting at 0x17. The other files without "Texture" are animation data, probably useful for organising the graphics.

I'll try make something for this if nobody else does first.
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
Reply
Thanked by:
#3
Please do so when you get the chance, because sadly I have no clue what to do with those numbers Very Sad

I have no freaking clue how you guys go about rebuilding images from raw data.

(11-26-2015, 04:06 AM)tombmonkey Wrote: Please do so when you get the chance, because sadly I have no clue what to do with those numbers Very Sad

I have no freaking clue how you guys go about rebuilding images from raw data, then again, I have no clue how you guys look into hex and tell what's what.
[Image: yXqxjiu.png]
Reply
Thanked by:
#4
This should work. It may not be the most intuitive or best looking thing, though.
https://www.dropbox.com/s/pu7zj85g65rqu4...s.jar?dl=1

It's a jar file, so run it.
It should open a window with nothing in it.
Drag the file with "Texture" on it first and it should display the texture sheet.
Then you may drag the other file (the animation data on) and it will export a PNG containing all the animations.

Example output from the Medusa file
[Image: lPE7VaJ.png]

Also, I only tested this on the Medusa file, so I dunno if the others would work any different.
Reply
Thanked by:
#5
Welp, that's half of my day gone. Maybe I should have said I was busy working on it Unsure

Oh well, there you go anyway.

EDIT: Turns out the animation format is a bit different than I thought anyway, so mine doesn't work Tongue
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
Reply
Thanked by:
#6
It works great. Thank you.

Can I make a tiny request?

It turns out the static backgrounds and cutscenes do not have a second file (I hadn't seen them), they are just the texture data. They are displayed properly, I simply have no way of taking them out of the program besides taking a screenshot.

Would it be possible to make it so when I press enter it exports the current texture without needing the second file?

Thanks a lot, both of you. Smile

Edit: It seems like the program couldn't cope with this file, maybe because it's too large?
https://www.dropbox.com/s/ca8gw7w2kyv0a8...s.zip?dl=0


Attached Files Thumbnail(s)
   

.zip   BGForest01.zip (Size: 7.28 KB / Downloads: 173)
[Image: yXqxjiu.png]
Reply
Thanked by: puggsoy
#7
Just a heads up tombmonkey, please don't submit animated icons. We're trying to keep clear of them as much as possible as they're just distracting for users. We only use them on very few special cases.
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
Reply
Thanked by:
#8
(11-27-2015, 07:18 AM)Dazz Wrote: Just a heads up tombmonkey, please don't submit animated icons. We're trying to keep clear of them as much as possible as they're just distracting for users. We only use them on very few special cases.

Haha ok Tongue

[Image: YzpkQcP.gif][Image: 0KR2FsS.gif][Image: sCjHI29.gif]
[Image: yXqxjiu.png]
Reply
Thanked by:
#9
(11-27-2015, 05:53 AM)tombmonkey Wrote: It works great. Thank you.

Can I make a tiny request?

It turns out the static backgrounds and cutscenes do not have a second file (I hadn't seen them), they are just the texture data. They are displayed properly, I simply have no way of taking them out of the program besides taking a screenshot.

Would it be possible to make it so when I press enter it exports the current texture without needing the second file?

Thanks a lot, both of you. Smile

Edit: It seems like the program couldn't cope with this file, maybe because it's too large?
https://www.dropbox.com/s/ca8gw7w2kyv0a8...s.zip?dl=0

You could rip those with TiledGGD.
[Image: UckTlmC.png]

And the ending file.
[Image: phzEkHI.png]
Some things to note:
- The width size (3963px) which took a bit to determine as it's not a standard resolution
- The block underneath's width is 3947

Changed the links to Imgur.
Doofenshmirtz: This is a little bit awkward but have you seen my escape jet keys? (Perry nods) What, you have? Well that's great! So where are they? (Perry looks away) You won't tell me? Is this because you don't speak or are you just being a jerk?
~Phineas and Ferb, "One Good Scare Ought to Do It!" (2008)
Reply
Thanked by:
#10
Images are not showing on my end.

It seems like they are set to private on dropbox (error 403).
[Image: yXqxjiu.png]
Reply
Thanked by:
#11
The ending file is a bit weird. I don't really understand how it works. I fixed it not displaying its texture though, but you would probably need to use TiledGGD to get the graphics from it.
It's animation file will not process correctly either probably because the texture is so large.

I added a button to export the texture.
I also changed it to make the background color black and the frame colors magenta like you have been submitting them to make it easier.
https://www.dropbox.com/s/pu7zj85g65rqu4...s.jar?dl=1
Reply
Thanked by: tombmonkey
#12
Thanks, now I hope deathbringer fixes the images so I can get the last bits since it appears he/she already did the hard part Tongue

[Image: 7RyaXdK.gif]
Getting my butt thoroughlly kicked in this game, barely managed to reach stage 4 so far XS.
[Image: yXqxjiu.png]
Reply
Thanked by:
#13
The images are the settings for TiledGGD, not actual sheets or anything.

I can try to do the ending stuff but...
https://i.imgur.com/ZC7WMPv.png <- Link for a reason
it'll take some time to re-align segments.
Doofenshmirtz: This is a little bit awkward but have you seen my escape jet keys? (Perry nods) What, you have? Well that's great! So where are they? (Perry looks away) You won't tell me? Is this because you don't speak or are you just being a jerk?
~Phineas and Ferb, "One Good Scare Ought to Do It!" (2008)
Reply
Thanked by: tombmonkey
#14
It looks like it's everything is complete with the two blocks, can't be sure.

[Image: Ngn1F3d.gif]
Calling it a huge victory anyway.

Thanks.
[Image: yXqxjiu.png]
Reply
Thanked by:
#15
Block 1: http://i.imgur.com/owPuoso.png

Block 2: http://i.imgur.com/rUNlk5q.png

Hope you have some free time. There might be some errors but this literally choked my pc.
Doofenshmirtz: This is a little bit awkward but have you seen my escape jet keys? (Perry nods) What, you have? Well that's great! So where are they? (Perry looks away) You won't tell me? Is this because you don't speak or are you just being a jerk?
~Phineas and Ferb, "One Good Scare Ought to Do It!" (2008)
Reply
Thanked by: tombmonkey


Forum Jump: