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.
Zero Tolerance for Disrespect

TheUkrainianBard's scripts with AI-assisted optimisation.

Featured Replies

This topic is mostly for archiving purposes.

I do not actively support these scripts.

(except, maybe NLTX)

I've noticed ZenHAX (as a user) reposted topics and files here for archival purposes.
And so I spontaneously had another go at my scripts, this time with AI-assisted optimisation.
This AI-assisted optimisation went through rigorous A/B testing with file samples I still had.

I am not well versed in FOSS licences, but assume the code is distributed with MIT licence (do whatever you want but no warranties).

These files are for Noesis version 4.474. Don't forget to update.
Put these files innoesis\plugins\pythonfolder.

Here are the details of what each file is for:

tex_*.py: files for parsing texture types. Little to no AI optimisation.

  1. tex_bgph_aif.py: used for Bullet Girls Phantasia

  2. tex_btx_shtx_tid.py: used for Spike Chunsoft games, for ex. Danganronpa Another Episode: Ultra Despair Girls and, surprisingly, a Shade Inc./Compile Heart game, GunGun Pixies.

  3. tex_konosuba_ns_tex_ddz.py: used for KonoSuba: Cursed Relic and the Perplexed Adventurers.

  4. tex_nltx.py: used for Nippon Ichi Software games, for ex. Liar Princess and Blind Prince.

  5. tex_PhyreEngine_phyre.py: used for PhyreEngine games, supports only PTexture2D assets!

  6. tex_unity_deatlas_json.py: used for de-atlassing PNGs from Unity games, for ex. KonoSuba: God's Blessing on this Wonderful World! Love for these Clothes of Desire!
    Unpack the PNG files via AssetStudio first!

  7. tex_vd_bhikkhuni_mib.py: used for VALKYRIE DRIVE -BHIKKHUNI-

inc_decomp_*.py: files to include and import for on-the-fly decompression.

  1. inc_decomp_entergram_lzlr.py: implementation of Entergram LZLR decompression, originally a port from ShinDataUtil konosuba fork by DCNick3.
    Used in: Entergram games, for ex. KonoSuba: Cursed Relic and the Perplexed Adventurers, Umineko: Golden Fantasia / Ougon Musou Kyoku
    AI optimisations were:
    pass 1) Vectorized Slice Copying, Optimized Endian Swap, Sequential Bit-Shift Reader, ~1.25-2.5x speedup;
    pass 2) Flat frame scopes, closure localizations, and loop-free slicing, ~1.5-15x speedup;
    pass 3) isolating into pure Python, Nested Closure Functions, ~1.3x speedup.
    Overall speedup: ~2-50x, depends on the file.

  2. inc_decomp_nis_ykcmp_v1.py: implementation of NIS YKCMP_V1 decompression, originally a port from disgaea-pc-tools by Xkeeper0.
    Used in: Nippon Ichi Software games, for ex. Liar Princess and Blind Prince
    AI optimisations were: flat loop (~1.5x), struct localizations, overlap-safe memory flooding, isolating into pure Python, Bit-Level Stream Optimization.
    Overall speedup: ~4x.

  3. inc_decomp_spikechunsoft.py: implementation of Spike Chunsoft decompression, originally a port from Danganronpa-Tools by yukinogatari.
    Used in: Spike Chunsoft games, for ex. Danganronpa Another Episode: Ultra Despair Girls and, surprisingly, a Shade Inc./Compile Heart game, GunGun Pixies
    AI optimisations were: flat loop, byte slicing, overlap-safe memory flooding.
    Overall speedup: ~2x.

inc_untile_*.py: files to include and import for on-the-fly untiling.

  1. inc_untile_amd_microtiled.py: untiling AMD GCN 1D micro-tiling, originally a port of Scarlet's untiling by xdanieldzd.
    Used in: basically all PS4 titles.
    Remade to use the Noesis C++ native imageUntilePICA200Raw function for one-two orders of magnitude speedup.
    AI optimisations were: Stream De-interleaving workaround to bypass the native function's 8-byte limit on 16-byte formats, fast byte slicing.

  2. inc_untile_nvidia_blocklinear.py: untiling nvidia's block-linear.
    Used in: basically all Nintendo Switch titles.

    Remade to use the Noesis C++ native imageUntileBlockLinearGOB function for two orders of magnitude speedup.
    AI optimisations were: fast byte slicing.

scripts.zip

Edited by TheUkrainianBard

Create an account or sign in to comment

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.