Hacking CMPR Converter

Errorjack

Well-Known Member
OP
Member
Joined
May 23, 2010
Messages
222
Trophies
0
XP
299
Country
United States
Hey,

What CMPR Converters are out there, I've searched for one and can't find any(I've searched about all day.)
 

giantpune

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
2,860
Trophies
0
XP
213
Country
United States
are you talking cmpr tpls or what? if so, gxtexconv can make them. but i dont think it handles the alpha correctly when doing this format.
 

Errorjack

Well-Known Member
OP
Member
Joined
May 23, 2010
Messages
222
Trophies
0
XP
299
Country
United States
are you talking cmpr tpls or what? if so, gxtexconv can make them. but i dont think it handles the alpha correctly when doing this format.

I'm talking about .CMPR format. I can extract it to .PNG but I can't convert it over to .CMPR with any tool. I'll try the one you provided.
Note: this is for Skyward Sword.
 

Wiimm

Developer
Member
Joined
Aug 11, 2009
Messages
2,292
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,519
Country
Germany
my szs tools support tpl/tex0/breft images with different image formats including cmpr and mipmaps/multimage support.

Code:
# convert to png:
wimgt dec SOURCEIMAGE --dest output.png

# convert to tpl/cmpr
wimgt enc SOURCE.png --dest output.tpl --transform tpl.cmpr

One issue: There are different tpl/tex/... sub formats and my tools only support the Mario Kart related formats.
 

Errorjack

Well-Known Member
OP
Member
Joined
May 23, 2010
Messages
222
Trophies
0
XP
299
Country
United States
my szs tools support tpl/tex0/breft images with different image formats including cmpr and mipmaps/multimage support.

Code:
# convert to png:
wimgt dec SOURCEIMAGE --dest output.png

# convert to tpl/cmpr
wimgt enc SOURCE.png --dest output.tpl --transform tpl.cmpr

One issue: There are different tpl/tex/... sub formats and my tools only support the Mario Kart related formats.

I'll try it out when I get home. Thanks for letting me know. If it works, I'll love you.

I'm sure it will work, I just need a way of converting images to CMPR, the rest should work.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • RedColoredStars @ RedColoredStars:
    I will continue to ask what ever I feel like asking. lol
  • NinStar @ NinStar:
    not the type of thing I would do
  • Xdqwerty @ Xdqwerty:
    @NinStar, most of my exp comes from my reaction score and threads posted
  • NinStar @ NinStar:
    I mean, I've never seen a message on a thread with more than 30 reactions at max
  • DinohScene @ DinohScene:
    just be a mod, insta likes for xp
    +1
  • NinStar @ NinStar:
    and based on the table reactions only give 1 xp
  • K3Nv2 @ K3Nv2:
    And insta fear from your enemies
  • Xdqwerty @ Xdqwerty:
    @NinStar, i always posted on the eof meme threads
  • DinohScene @ DinohScene:
    xp is arbitrary anyway
  • K3Nv2 @ K3Nv2:
    Just like the like system people think it matters
  • DinohScene @ DinohScene:
    likes got introduced like years after I joined
  • K3Nv2 @ K3Nv2:
    I still feel as if they take away conversation
  • DinohScene @ DinohScene:
    post anything dumb, people will like it
  • K3Nv2 @ K3Nv2:
    Eggs
  • DinohScene @ DinohScene:
    perhaps the rag tag team of idiots isn't awake yet...
  • OfficialGamer @ OfficialGamer:
    When I remake my Wii system menu theme I'm gonna publish it to GBAtemp for people to have it if they want to idk I'm bored
  • K3Nv2 @ K3Nv2:
    Or busy humping each other
  • DinohScene @ DinohScene:
    digital circle jerk
    +1
  • K3Nv2 @ K3Nv2:
    Zoom dcj
  • K3Nv2 @ K3Nv2:
    Sir please stop wanking during this meeting
    +2
  • AncientBoi @ AncientBoi:
    okies
    AncientBoi @ AncientBoi: okies