[{"data":1,"prerenderedAt":196,"buildId":197},["ShallowReactive",2],{"guide-summaries":3,"guide:fivem-redm-oversized-assets":88,"latest-release:stable":185},[4,12,20,26,35,41,48,55,62,68,75,82],{"slug":5,"navTitle":6,"h1":7,"summary":8,"areas":9,"minutes":11},"open-rpf-files","Open RPF files","How to open and extract RPF files in GTA V, RDR2 and GTA IV","Choose your game and set it up once, then browse its archives like folders, search every game file and extract what you need, as stored or converted.",[10],"archives",5,{"slug":13,"navTitle":14,"h1":15,"summary":16,"areas":17,"minutes":19},"replace-ytd-textures","Replace textures","How to replace a texture in a GTA V .ytd file","Export a texture, edit it in your image editor and put it back in, converted the way the game expects, safely in the mods folder.",[18],"textures",3,{"slug":21,"navTitle":22,"h1":23,"summary":24,"areas":25,"minutes":19},"convert-ytd-to-png-dds","YTD to PNG or DDS","How to convert YTD textures to PNG or DDS","Save one texture, a whole texture dictionary or every .ytd in a folder as PNG or DDS images, for GTA V, Red Dead Redemption 2 and GTA IV, in the app or from the command line.",[18],{"slug":27,"navTitle":28,"h1":29,"summary":30,"areas":31,"minutes":34},"export-models-to-blender","Models to Blender","How to export GTA V models to Blender","Export vehicles, weapons, props and clothing from GTA V as glTF binary (.glb) or OBJ with their textures, and import them into Blender.",[32,33],"models","drawable-studio",2,{"slug":36,"navTitle":37,"h1":38,"summary":39,"areas":40,"minutes":11},"rdr2-textures-models","RDR2 textures and models","How to export and edit Red Dead Redemption 2 textures and models","Save Red Dead Redemption 2 textures as PNG or DDS images, replace them with your own, and export its models with their textures as GLB or OBJ for Blender.",[18,32],{"slug":42,"navTitle":43,"h1":44,"summary":45,"areas":46,"minutes":47},"gta4-img-files","GTA IV IMG files","How to open GTA IV IMG files and export textures and models","Browse GTA IV's .img archives, save its .wtd textures as PNG or DDS, export its .wdr, .wdd and .wft models to Blender, and replace textures.",[10,18,32],4,{"slug":49,"navTitle":50,"h1":51,"summary":52,"areas":53,"minutes":34},"ymt-to-xml","YMT to XML","How to convert YMT, YMAP and YTYP files to XML","Read the game's data files as text: open a single .ymt, .ymap or .ytyp file and save it as XML, or convert whole folders in one go.",[54],"metadata",{"slug":56,"navTitle":57,"h1":58,"summary":59,"areas":60,"minutes":11},"fivem-clothing-images","FiveM clothing images","How to make clothing images for a FiveM server","Generate an image of every GTA V clothing item in every texture variation, named the way your FiveM scripts and clothing menus expect, with the Thumbnail Generator.",[61],"thumbnails",{"slug":63,"navTitle":64,"h1":65,"summary":66,"areas":67,"minutes":11},"redm-clothing-images","RedM clothing images","How to make clothing images for a RedM server","Generate an image of every Red Dead Redemption 2 clothing item and piece of horse gear, in its own colours, named the way your RedM scripts look them up.",[61],{"slug":69,"navTitle":70,"h1":71,"summary":72,"areas":73,"minutes":19},"gta-v-weapon-images","Weapon images","How to export images of every GTA V weapon","Make an image of every weapon of the base game and all DLC packs, with its tints, attachments, camos and finishes, named by the names your scripts use.",[61,74],"weapon-studio",{"slug":76,"navTitle":77,"h1":78,"summary":79,"areas":80,"minutes":47},"fivem-redm-oversized-assets","Oversized assets","How to fix “oversized assets” warnings in FiveM and RedM","Make the textures of a resource's .ytd files smaller with Optimize textures, so they need less graphics memory, in the app or from the command line.",[18,81],"command-line",{"slug":83,"navTitle":84,"h1":85,"summary":86,"areas":87,"minutes":34},"gta-v-enhanced-rpf-cache","rpf.cache (Enhanced)","rpf.cache in GTA V Enhanced: what it is and why mods don't load","GTA V Enhanced has a file called rpf.cache next to the game. If your mods don't show up in the game, it is often the reason. Here is what to do.",[10],{"slug":76,"navTitle":77,"title":89,"description":90,"h1":78,"summary":79,"published":91,"updated":91,"areas":92,"sections":93,"minutes":47},"How to Fix FiveM and RedM Oversized Asset Warnings – RPFView","Fix FiveM and RedM \"oversized assets\" warnings: make the textures of GTA V and RDR2 .ytd files smaller with Optimize textures in RPFView or with rpfview-cli.","2026-11-28",[18,81],[94,103,116,128,138,152,168],{"id":95,"title":96,"blocks":97},"what","What the warning means",[98,101],{"kind":99,"text":100},"p","FiveM warns when a file of a resource needs a lot of graphics memory, for example that an asset “uses 64.0 MiB of physical memory”, and adds that “Oversized assets can and WILL lead to streaming issues”. RedM does the same for Red Dead Redemption 2 files. In a texture dictionary (`.ytd`), that memory is its textures: a texture of 4096 × 4096 pixels needs 16 times as much as the same texture at 1024 × 1024.",{"kind":99,"text":102},"**Optimize textures** halves every texture that is larger than a size you choose until it fits. A texture that already holds a smaller copy of itself (a mip level) keeps that copy as it is, so nothing is lost but the size. Textures inside models (`.ydr`, `.ydd`, `.yft`) are not changed.",{"id":104,"title":105,"blocks":106},"before","Before you start",[107,113],{"kind":108,"items":109},"list",[110,111,112],"RPFView 0.15.0 or later for GTA V files (FiveM), 0.16.0 or later for Red Dead Redemption 2 files (RedM). [Download RPFView](\u002Fdownload) if you don't have it yet.","GTA V (Legacy or Enhanced) or Red Dead Redemption 2 chosen as your game in RPFView. **File → Switch game…** changes it.","The resource's `stream` folder on your PC, or the `.ytd` files or archives you want to make smaller.",{"kind":114,"text":115},"note","Smaller textures can't be made larger again. Keep a copy of the resource, or let RPFView keep the originals ([step 3](#optimize)).",{"id":117,"title":118,"navTitle":119,"blocks":120},"open","1. Open Optimize textures","Open the window",[121,126],{"kind":122,"items":123},"steps",[124,125],"In the main window, choose **Tools → Optimize textures…**.","Click **Choose folder…** and pick the resource's `stream` folder. RPFView finds the `.ytd` files in it and in its subfolders, and reads how much graphics memory each one uses.",{"kind":99,"text":127},"Or right-click `.ytd` files, folders or archives in the file list and choose **Optimize textures…**: the window opens with them.",{"id":129,"title":130,"navTitle":131,"blocks":132},"size","2. Choose the largest texture size","Choose the size",[133],{"kind":108,"items":134},[135,136,137],"**Largest texture side**: 4096, 2048, 1024, 512 or 256 px, 1024 by default. Every texture whose longer side is larger is halved until it fits.","**Only files that use**: **Any amount**, or only the files that use **16 MiB or more**, **32 MiB or more** or **64 MiB or more**, counted the way FiveM counts them.","The list shows each file with its **Memory now** and **After**, the **Textures** that get smaller and a **Status**. Untick a file to leave it out.",{"id":139,"title":140,"navTitle":141,"blocks":142},"optimize","3. Optimize","Optimize",[143,148,150],{"kind":122,"items":144},[145,146,147],"Choose where the smaller files go. **Replace the files** (the default) writes them over the originals; leave **Keep the originals in** ticked to keep each original in a folder next to yours, such as `stream (originals)`.","Or choose **Save copies in** to write the smaller files into another folder, such as `stream (optimized)`, with the same subfolders. The files themselves are not changed.","Click **Optimize**, and **Replace** when RPFView asks before it replaces files on disk. The **Status** column shows what happened to each file.",{"kind":99,"text":149},"Files inside archives are changed like any other edit: they stay pending until you save the archive with **File → Save all** (**Ctrl+Shift+S**).",{"kind":99,"text":151},"If you saved copies, put them in the resource's `stream` folder in place of the old files, then start the resource again. A file that still needs a lot of memory can be optimized again with a smaller **Largest texture side**.",{"id":153,"title":154,"navTitle":155,"blocks":156},"cli","From the command line","Command line",[157,159,162],{"kind":99,"text":158},"`rpfview-cli optimize-ytd`, which comes with RPFView, does the same for files on disk, without opening the app and without the game. It never changes the files you give it: the files that change are written to the `--out` folder, with their paths below the folder you gave.",{"kind":160,"code":161},"code","rpfview-cli optimize-ytd resources\\mypack\\stream --out D:\\work\\optimized\nrpfview-cli optimize-ytd resources\\mypack\\stream --max 512 --min-mib 16 --list",{"kind":108,"items":163},[164,165,166,167],"`--max` is the largest texture side in pixels (1024 by default).","`--min-mib` leaves out files that use less graphics memory than that.","`--list` only shows what would change, with each file's memory before and after.","It reads the `.ytd` files of GTA V (Legacy and Enhanced) and Red Dead Redemption 2. All options are in the [command-line reference](\u002Fcli#optimize-ytd).",{"id":169,"title":170,"blocks":171},"problems","Common problems",[172,177,181],{"kind":173,"question":174,"answer":175},"qa","Tools → Optimize textures… is greyed out",[176],"It works while GTA V or Red Dead Redemption 2 is the chosen game. Change it with **File → Switch game…**.",{"kind":173,"question":178,"answer":179},"A file says “Nothing to change.”",[180],"None of its textures is larger than the **Largest texture side** you chose; the **Textures** column says so. Choose a smaller size, or leave the file as it is.",{"kind":173,"question":182,"answer":183},"The warning names a model, not a .ytd",[184],"Optimize textures only changes texture dictionaries. Textures inside models (`.ydr`, `.ydd`, `.yft`) stay as they are, and so does the model itself.",{"version":186,"date":187,"setup":188,"portable":192},"0.16.0","2026-11-28T20:17:40.000Z",{"url":189,"size":190,"approxSize":191},"https:\u002F\u002Fupdates.rpfview.app\u002FRPFView-win-Setup.exe",89723966,89000000,{"url":193,"size":194,"approxSize":195},"https:\u002F\u002Fupdates.rpfview.app\u002FRPFView-win-Portable.zip",82144906,81000000,1795908552211,"ab39fd1b-2f9e-4bbb-b47d-e33dcd9c4200"]