Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

[PSP] Star Wars: The Clone Wars - Republic Heroes .tex

Featured Replies

  • Author
  • Localization

makc_ar, posted Fri May 01, 2020 2:34 pm (56441)


Image

Can somebody make a script or tool expory/import for these files?
  • Author
  • Localization

Acewell, posted Sat May 02, 2020 2:51 am (56457)


for the PS3 sample i just modified my PC version Noesis python script. :D

*see this post for the all-in-one script*
viewtopic.php?p=56498#p56498

i may eventually combine the two scripts for convenience. :)
  • Author
  • Localization

makc_ar, posted Sat May 02, 2020 6:51 am (56458)


Thanks! PSP hard format? Here XBOX .tex

Acewell wrote:
i may eventually combine the two scripts for convenience. :)
How about three?
  • Author
  • Localization

episoder, posted Mon May 04, 2020 1:43 pm (56530)


well. format x36 seems to be dxt5. i found this green stuff with lightmaps in the alpha. dunno about the psp stuff. i'm unfamiliar with this platform.

edit:
Code:
   bs = NoeBitStream(data)
   bs.seek(0x04)
   imgWidth = bs.readUShort()
   imgHeight = bs.readUShort()
   bs.seek(0x10)
   imgFmt = bs.readByte()
   bs.seek(0x20)

   if imgFmt == 0x00:
      data = bs.readBytes(imgWidth*imgHeight*4)
      data = rapi.imageUntwiddlePSP(data, imgWidth, imgHeight, 32)
      texFmt = noesis.NOESISTEX_RGBA32

   texList.append(NoeTexture(rapi.getInputName(), imgWidth, imgHeight, data, texFmt))
   return 1
may the 4th be with you. :D

respond the 666th you shall not until revenge of the 5th. :mrgreen:
  • Author
  • Localization

Acewell, posted Tue May 05, 2020 1:56 am (56543)


awesome thanks, now i can complete the scripts. :D
i was set with ATI2 because i thought 0x36 was meant
to be blue normal maps but i was wrong. :oops:
i will update the all-in-one script above.

the key for getting type 0x0 to untwiddle correctly was the 32 you used
there, i never seen that done before so now i know for future samples. :)

here is the Noesis python script for the PSP samples. :D
*see this post for the all-in-one script*
viewtopic.php?p=56498#p56498
  • Author
  • Localization

episoder, posted Wed May 06, 2020 1:22 am (56570)


you coulda just tried dxt5. it's the same block size as ati2. and i didn't how the untwiddle works. i just looked up the readme and figured the bits should be 32 since it was obviously rgba. all good. :D
  • Author
  • Localization

Acewell, posted Thu May 07, 2020 3:02 am (56587)


i combined the PSP platform into the all-in-one script here:
viewtopic.php?p=56498#p56498
now PC, PSP, X360 and PS3 are supported in there.
:D

i would like to see more PS3 samples some time though just to
make sure there are no format changes since i only saw the one. :)

oh also the PSP magic is a common one among texture files and
may create conflict with other scripts looking for the same magic,
so you may have to move this script out of plugins folder if that happens. :(
  • Author
  • Localization

makc_ar, posted Fri May 08, 2020 6:22 am (56603)


Wow! Thanks a lot!
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.