[x]Merry Christmas!


Users browsing this thread: 8 Guest(s)
Halfbrick Studios .tex files
#1
i need convert .tex files

https://www.dropbox.com/sh/c6zkt2frkkeo5...5EEQa?dl=0

List of .tex file games
-Fruit Ninja
-Jetpack Joyride
-Monster Dash
and more Halfbrick Studios Games.
Hello, i am fan of Video Games, i'm ripping Sprites, Models, Textures, and Sounds.
Reply
Thanked by:
#2
(01-12-2016, 01:27 PM)SuperTVGRFan18496 Wrote: i need convert .tex files

https://www.dropbox.com/sh/c6zkt2frkkeo5...5EEQa?dl=0

List of .tex file games
-Fruit Ninja
-Jetpack Joyride
-Monster Dash
and more Halfbrick Studios Games.

There's a great program to convert called PVRTextTool. You can pick it up here: https://community.imgtec.com/developers/...pvrtextool With these files however, you'd have to File--> Wrap Raw Data as far as I'm aware. Someone in the community probably knows better than I do.
Reply
Thanked by:
#3
What a perfect opportunity to showcase GFXtract Smile

Code:
# Halfbrick Studios .tex
#
# Written by puggsoy
# GFXtract Script (https://github.com/puggsoy/GFXtract/releases)

goto 4
get WIDTH short
get HEIGHT short
get DUMMY long

setformat 32 BGRA
read IMG WIDTH HEIGHT
savepng IMG

Copy this into a text file, change the extension to .gsl and use it in GFXtract. Hopefully it should be fairly straightforward.
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: cherijs
#4
Sad 
(01-13-2016, 12:17 AM)puggsoy Wrote: What a perfect opportunity to showcase GFXtract Smile

Code:
# Halfbrick Studios .tex
#
# Written by puggsoy
# GFXtract Script (https://github.com/puggsoy/GFXtract/releases)

goto 4
get WIDTH short
get HEIGHT short
get DUMMY long

setformat 32 BGRA
read IMG WIDTH HEIGHT
savepng IMG

Copy this into a text file, change the extension to .gsl and use it in GFXtract. Hopefully it should be fairly straightforward.

It's working with SuperTVGRFan18496 .tex 

But not working with my halfbrick .tex  =>  https://www.dropbox.com/sh/r108zesxd2hs4...ejaga?dl=0   Sad 

Please help!
Reply
Thanked by:
#5
I'm getting something, but they need a palette:

[Image: O4NelO3.png]

I can't find one in the files, can you find a separate file that may contain the palettes?
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
(06-13-2016, 06:42 AM)puggsoy Wrote: I'm getting something, but they need a palette:

[Image: O4NelO3.png]

I can't find one in the files, can you find a separate file that may contain the palettes?


hmm  uploaded all files in the same link  /assets/common0/textures/characters
Reply
Thanked by:
#7
Neutral 
(06-13-2016, 06:42 AM)puggsoy Wrote: I'm getting something, but they need a palette:

I can't find one in the files, can you find a separate file that may contain the palettes?


Any luck?  Embarassed  maybe color chanels not right RGBA, BGRA, ABGR

What script do you use?
i can't get HEIGHT of image

Image.hx:46: WIDTH: 404
Image.hx:47: HEIGHT: 0
Image.hx:48: fileNum: 0
Image.hx:49: lengthCheck: 0

Saving image: 404 x 0 - barrygun_01_SD.png
Reply
Thanked by:
#8
OK, I think I might have it. Unfortunately right now it would require me to write up a whole program especially for this, which I'd like to avoid.
I'm currently busy with exams, but afterwards what I can do then is to try implement something into GFXtract that I've meaning to add for a while already. Once that's done I should hopefully be able to make a script that works for these.

My last exam is in 2 days so after that I'll start working on this.
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: cherijs
#9
Thumbs Up 
(06-16-2016, 02:24 AM)puggsoy Wrote: OK, I think I might have it. Unfortunately right now it would require me to write up a whole program especially for this, which I'd like to avoid.
I'm currently busy with exams, but afterwards what I can do then is to try implement something into GFXtract that I've meaning to add for a while already. Once that's done I should hopefully be able to make a script that works for these.

My last exam is in 2 days so after that I'll start working on this.

And by the way, compiled GFXtract on mac - and Dialogs.openFile -  filefilter with extension '*.*'  don't work :Tongue  you need to define exact extensions for script file and  sprite like > 

private var TXT:FILEFILTERS = { count: 1, descriptions: ['Text files'], extensions: ['*.txt'] };
private var TEX:FILEFILTERS = { count: 1, descriptions: ['TEX files'], extensions: ['*.tex'] };

https://app.minbox.com/files/PRgoZHg
Reply
Thanked by:
#10
Wow, that's a bummer. To avoid doing that you can use the command-line to run it, but yeah that's still annoying.

I've only tested my programs on Windows so far, I plan to go through them sometime and make them work on Linux as well (probably release binaries for it too). However I don't own a Mac so unfortunately I can't test for that, I do intend to get one eventually though, specifically for this sort of thing. Until then people will unfortunately have to fix these things themselves Unsure
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:
#11
(06-16-2016, 05:12 AM)puggsoy Wrote: Wow, that's a bummer. To avoid doing that you can use the command-line to run it, but yeah that's still annoying.

I've only tested my programs on Windows so far, I plan to go through them sometime and make them work on Linux as well (probably release binaries for it too). However I don't own a Mac so unfortunately I can't test for that, I do intend to get one eventually though, specifically for this sort of thing. Until then people will unfortunately have to fix these things themselves Unsure

you can define more than one extension, atleast on mac filedialog allow to select .txt and .tex


private var ALLFILES:FILEFILTERS = { count: 1, descriptions: ['All Files (*.*)'], extensions: ['*.*;*.txt;*.tex'] };
Reply
Thanked by:
#12
Question 
(06-16-2016, 02:24 AM)puggsoy Wrote: OK, I think I might have it. Unfortunately right now it would require me to write up a whole program especially for this, which I'd like to avoid.
I'm currently busy with exams, but afterwards what I can do then is to try implement something into GFXtract that I've meaning to add for a while already. Once that's done I should hopefully be able to make a script that works for these.

My last exam is in 2 days so after that I'll start working on this.

i know this is a bit of an old post, but did this ever end up in anything? i'm trying to get jetpack joyride uploaded to the spriter's resource but that's kinda tricky if yknow, all the sprites are black and white
Reply
Thanked by:


Forum Jump: