The VG Resource
Halfbrick Studios .tex files - Printable Version

+- The VG Resource (https://www.vg-resource.com)
+-- Forum: The Resources (https://www.vg-resource.com/forum-109.html)
+--- Forum: The Spriters Resource (https://www.vg-resource.com/forum-110.html)
+---- Forum: Ripping Help (https://www.vg-resource.com/forum-114.html)
+---- Thread: Halfbrick Studios .tex files (/thread-28532.html)



Halfbrick Studios .tex files - SuperTVGRFan18496 - 01-12-2016

i need convert .tex files

https://www.dropbox.com/sh/c6zkt2frkkeo598/AACVT8-NGgEZH41T0RzX5EEQa?dl=0

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


RE: Halfbrick Studios .tex files - Pingus! - 01-12-2016

(01-12-2016, 01:27 PM)SuperTVGRFan18496 Wrote: i need convert .tex files

https://www.dropbox.com/sh/c6zkt2frkkeo598/AACVT8-NGgEZH41T0RzX5EEQa?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/powervr/tools/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.


RE: Halfbrick Studios .tex files - puggsoy - 01-13-2016

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.


RE: Halfbrick Studios .tex files - cherijs - 06-13-2016

(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/r108zesxd2hs48n/AAAcAD5dWfG_9AsLnzT6ejaga?dl=0   Sad 

Please help!


RE: Halfbrick Studios .tex files - puggsoy - 06-13-2016

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?


RE: Halfbrick Studios .tex files - cherijs - 06-13-2016

(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


RE: Halfbrick Studios .tex files - cherijs - 06-15-2016

(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


RE: Halfbrick Studios .tex files - puggsoy - 06-16-2016

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.


RE: Halfbrick Studios .tex files - cherijs - 06-16-2016

(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


RE: Halfbrick Studios .tex files - puggsoy - 06-16-2016

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


RE: Halfbrick Studios .tex files - cherijs - 06-16-2016

(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'] };


RE: Halfbrick Studios .tex files - snipa_monkeh - 06-04-2023

(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