Smoke Cloud Squares Bug
Hey forums, anybody ever encounter this bug here where tire and tear gas smoke show visible squares during formation? It's a real pain if you could imagine. I assume it's something settings related, but I dunno myself. It started thanks to this mod https://www.gta5-mods.com/misc/improved-burnout-and-backfire-effect-blackmetic#comments_tab and of course the author's doing that great thing where either the disappear of the face of the 5-Mods site or they're straight up not responding. Either here I am. Any assistance, literally any, is appreciated.
@N.-Man i assume you have tried removing the mod by putting the original files back?
If you revert all your 'core.ypt' files (that were edited/replaced) back to vanilla, that will fix it.
There are 3 'core.ypt' files that are used by the game depending on what in-game PostFX settings you use (basically a low/medium/high quality selection that correspond in some way to the in-game PostFX setting being used):
...\Grand Theft Auto V\mods\update\update.rpf\x64\patch\data\effects\ptfx_lo.rpf\core.ypt
...\Grand Theft Auto V\mods\update\update.rpf\x64\patch\data\effects\ptfx.rpf\core.ypt
...\Grand Theft Auto V\mods\update\update.rpf\x64\patch\data\effects\ptfx_hi.rpf\core.ypt
The issue could be caused by:
edited textures within 'core.ypt'
edited values within 'core.ypt'
a combination of both
Looks to me like Improved Burnout And BackFire Effect 1.0 only edits 'core.ypt' ('core.ypt.xml') values & not the textures, so that's one variable removed at least.
You can access 'core.ypt' by exporting it to XML using CodeWalker's RPF Explorer (Note: Always get CodeWalker from it's Discord, the version available on gta5-mods is years out of date & missing features you will need).
If you want to keep the backfire effect while fixing the smoke issue, you'll have to compare the modded 'core.ypt' backfire values in the exported 'core.ypt.xml' & copy just those values over into a vanilla 'core.ypt' replacing the original values. Be aware though, that 'core.ypt.xml' has ~1.5 Million lines in it & can be a bit overwhelming to begin with.
If however, you decide to go that route, you can use WinMerge to compare the two 'core.ypt.xml' files (as it can handle text files of that size/detail) & also use it to copy changes from one file to another.
It'll likely take a bit of experimenting (as there may be other backfire related values edited), but basically to start with, you would search the 'core.ypt.xml' for the term 'backfire' & copy any changes in those sections of the file over into a clean vanilla 'core.ypt.xml'. Alternatively, if we ever see them again , ask the mod author to provide a backfire only version/wait for a version of the mod that fixes all smoke related issues.
@drlq99 Yeah, that of course is the simple solution, but we don't like simple for GTA 5 modding
@a63nt-5m1th I never even knew core.ypt had other values beyond the textures. News to me. That bein said I'll definitely take a look at it in CW to see. Goin through a ludicrous number of lines to edit one tiny thing is nothin new to me. That bein said, also didn't know it was tied to PostFX. I could try messin with those settings as well. Much appreciated man 👍🏿
Once you get over the size of the 'core.ypt.xml' file, it ain't too hard to edit it.
Notepad++ has a useful feature where it creates a red line down the left hand side of a section of data that shows where it starts & ends.
You just click on the start line of a section & the red line will appear on the left & end at the end of that section of data. Given that you can scroll down for ages with just one section in 'core.ypt.xml', that red line can be very useful to keep track of where you are & stop you accidentally scrolling into the next section of data without realising it.
You can also left click in the line number column on the left of a document (click just right of the actual line number) & create little blue dot bookmarks that can help you keep tabs of where you have been & allow you to jump to that/those location/s quickly using F2 (Next Bookmark) & Shift+F2 (Previous Bookmark).