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

[PC] Taxi Racer New York 2 .DCT

Featured Replies

  • Supporter
from inc_noesis import *
import noesis
import rapi
import os

def registerNoesisTypes():
   handle = noesis.register("Taxi Racer New York 2", ".dct")
   noesis.setHandlerTypeCheck(handle, noepyCheckType)
   noesis.setHandlerLoadRGBA(handle, noepyLoadRGBA)
   noesis.logPopup()
   return 1
        
def noepyCheckType(data):
   bs = NoeBitStream(data)
   if len(data) < 20:
      return 0
   return 1
   
def noepyLoadRGBA(data, texList):
    bs = NoeBitStream(data)
    baseName = rapi.getExtensionlessName(rapi.getLocalFileName(rapi.getInputName()))
    bs.read(31)
    PixelFormat = bs.readUByte()
    MipMap = bs.readUInt()
    TextureWidth = bs.readUInt()
    TextureHeight = bs.readUInt()
    TextureBufferSize = bs.readUInt()
    data = bs.read(TextureBufferSize)
    
    if PixelFormat == 5:
        texFmt = noesis.NOESISTEX_RGB24
        print("Pixel Format > RGB")
    elif PixelFormat == 8:
        texFmt = noesis.NOESISTEX_DXT1
        print("Pixel Format > DXT1")   
    elif PixelFormat == 9:
        texFmt = noesis.NOESISTEX_DXT3
        print("Pixel Format > DXT3")
    elif PixelFormat == 10:
        texFmt = noesis.NOESISTEX_DXT5
        print("Pixel Format > DXT5")
    else:
        print("Unknown Pixel Format > ",PixelFormat)
        
    texList.append(NoeTexture(rapi.getInputName(), TextureWidth, TextureHeight, data, texFmt))
    return 1

Edited by h3x3r

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.