Qhimm.com Forums

Final Fantasy 8 => Other Mods => Releases => Topic started by: Maki on 2015-08-27 19:58:58

Title: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Maki on 2015-08-27 19:58:58
(http://i.imgur.com/NaGdChY.jpg)
Description:
This does just what you can see on image above. Fixes bad PC version UV mapping.

Compatibility: Works with all FF8 versions (2000+Steam) multilanguage + any currently available mods
                                 If you're having problems, please proceed with manual patching tutorial.
Requirements: .NET Framework 4 (for ready patcher) or DLPB's Tools 2.0 for manual patching

ASM hack source: http://pastebin.com/WnRA19mM

*Old patcher deleted due to the fact it corrupted the EXEs and overwrote backup. I'm so sorry for destroying your backups. Please, use manual patching for Steam or above for 2000 version.

STEAM 2013 Version:
MANUAL PATCHING TUTORIAL: (STEAM)
(Big thanks to Cities.Burn.Quick for writing this tutorial) :)
(Use this if above fails. This applies for English version only, however you can find FF8 2000 HEXT instructions at the bottom of this post)

 1. Backup the FF8_EN.exe file from your Final Fantasy VIII Steam directory (steamapps/common/FINAL FANTASY VIII/) just in case.

2. Download DLPB's Tools 2.0. (http://forums.qhimm.com/index.php?topic=13574.0)

3. Unzip the file anywhere on your PC.

4. Open the "HextEdit" folder and move your FF8_EN.exe file from your Steam directory to the HexEdit root folder. The root folder contains another folder named HE_in, the HexEdit.exe, a Readme.rtf, and a test.file (which you should delete).

5. Open the HE_in folder and delete the example Hext instructions.

6. Create a new Notepad text document in the HE_in folder, name it "FF8_EN" or "FF8" and paste:

Code: [Select]
FF8_EN.exe
153CC0 = 00
153CCA = 00
153CD8 = 00
153CE2 = 00
153CF2 = 00
153CFC = 00
153D0C = 00
153D16 = 00
153D26 = 00
153D30 = 00
153D38 = 00
153D42 = 00


7. Save your FF8_EN.txt.

8. Go back to the HextEdit root and run the HextEdit.exe application, press enter when prompted.

9. Once HextEdit finishes it will create a HextEdit.txt. Open this file and insure it reads...
Code: [Select]
---------------------------
FF8_EN.txt (FF8_EN.exe)

Changed: 12
Replaced: 0

No errors.

___________________________


10. If newly created HextEdit.txt has the same output, it was patched successfully.

11. Move your FF8_EN.exe from the HextEdit root back to your Steam directory. Overwrite if need be.

12. Run game and enjoy your newly patched FF8 world map!


PC 2000 release version:
Download and run with launcher:
Download:  https://www.dropbox.com/s/zaq4gqquaop00kn/FF8_UVPatchLauncher.7z?dl=0

-=Alternative files (HEXT instructions for DLPB's tools)=-
FF8 2000 English: https://www.dropbox.com/s/zaq4gqquaop00kn/FF8_UVPatchLauncher.7z?dl=0
FF8 Steam English: http://pastebin.com/W72H6yep

Remastered:
UV patch is now built-in in demaster patch! No need to work with the code manually. Find more details here: http://forums.qhimm.com/index.php?topic=19432.0
If you are experienced user you can try manually patching the DLL:
Dotemu by compiling their new DLL they got the ASLR working by default- that renders above method with DLPB not working- the address in memory is changing every time you open the application. You can either disable ASLR with my script: https://github.com/MaKiPL/ASLR_disabler and then patch as in Steam 2013 with IMAGE_BASE of the dll or patch the DLL directly:
Code: [Select]
FFVIII_EFIGS.dll+8A2CB2 - add byte ptr [esi+08],00
FFVIII_EFIGS.dll+8A2CB8 - add byte ptr [esi+08],00
FFVIII_EFIGS.dll+8A2D17 - add byte ptr [esi+0C],00
FFVIII_EFIGS.dll+8A2D1D - add byte ptr [esi+0C],00
FFVIII_EFIGS.dll+8A2D6D - add byte ptr [esi+0C],00
FFVIII_EFIGS.dll+8A2D73 - add byte ptr [esi+0C],00
FFVIII_EFIGS.dll+8A2DC5 - add byte ptr [esi+0C],00
FFVIII_EFIGS.dll+8A2DCB - add byte ptr [esi+0C],00
FFVIII_EFIGS.dll+8A2E1B - add byte ptr [esi+0C],00
FFVIII_EFIGS.dll+8A2E21 - add byte ptr [esi+0C],00
FFVIII_EFIGS.dll+8A2E6F - add byte ptr [esi+04],00
FFVIII_EFIGS.dll+8A2E75 - add byte ptr [esi+04],00
above are dynamic addresses to memory- so if you have a patcher that is capable of understanding above instructions (example is Cheat Engine) then you can jump right into the memory view and assemble as above. However if you want to update the EXE manually, then here are the codes (basically FFVIII_EFIGS.dll in above example is ~0x10000000):
Example in EXE at address 0x8A20B5 there should be 02, change that to 00
Code: [Select]
0x8A20B5 - 00
0x8A20BB - 00
0x8A211A - 00
0x8A2120 - 00
0x8A2170 - 00
0x8A2176 - 00
0x8A21C8 - 00
0x8A21CE - 00
0x8A221E - 00
0x8A2224 - 00
0x8A2272 - 00
0x8A2278 - 00

Nintendo Switch
Unfortunately you have to own jailbreaked(?) switch. You have to get the file GuardianEFIGS.nro and edit with your favourite HEX editor those addresses:
Example:: 0xE04E38 which is now E2 1B 1F 32 should be 1F 20 03 D5
Below are all the addresses which you should update:
Code: [Select]
0xE04E38 = 1F2003D5
0xE04E58 = 1F2003D5

0xE04E98 = 1F2003D5
0xE04EB8 = 1F2003D5

0xE04EFC = 1F2003D5
0xE04F1C = 1F2003D5

0xE04F5C = 1F2003D5
0xE04F7C = 1F2003D5

0xE04FC0 = 1F2003D5
0xE04FE0 = 1F2003D5

0xE05008 = 1F2003D5
0xE05028 = 1F2003D5
Title: Re: [FF8 Patch] Unofficial bad UV texture patch
Post by: Zervox on 2015-08-27 20:30:14
Simply amazing. :)
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch
Post by: DLPB_ on 2015-08-27 21:30:13
You can also use HextLaunch to add these fixes at game start to memory, I take it?  That would be cooler for me.  Do you have a list of all mem changes and values?
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch
Post by: Maki on 2015-08-27 22:10:32
These are changes for steam english (FF8_en.exe):
http://pastebin.com/WnRA19mM
For all other versions (2000 PC and all languages handling I'm doing byte search and some routine to edit bytes whatever version it is)

And here's the main source code:
https://github.com/MaKiPL/FF8-Bad-Texture-PATCHER/blob/master/FF8_TexturePatcher/Form1.cs

I'm going to get some sleep now. I'll prepare the instructions for launcher soon.
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch
Post by: Aavock on 2015-08-28 01:48:53
HUGE improvement, amazing job thank you MaKiPL! :o

The linking between some specific identical textures produce some artifacts like the road to Balamb, is it normal?

(http://i.imgur.com/0ZCXp4W.jpg)(http://i.imgur.com/5LDtC22.jpg)
(http://i.imgur.com/nTFcuct.jpg)(http://i.imgur.com/V0B0AVQ.jpg)
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch
Post by: DLPB_ on 2015-08-28 02:39:29
Excellent. Nice to see this has been fixed.

There does seem to still be a small amount of mismatching left, though.  Is this unavoidable and part of the original game?
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch
Post by: EQ2Alyza on 2015-08-28 05:22:03
Good job :)

FF7 should benefit from this kind of work. There are some horrible battle scenes that need it.
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch
Post by: Maki on 2015-08-28 08:20:25
The black lines (They're invisible in fact, as there's no texture there) in some places is the bug Square tried to fix by doing this crappy texture mess up routine.
I added HextLaunch support for PC 2000 english version.
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch
Post by: Yagami Light on 2015-08-28 09:54:54
Thank you Maki, this is amazing, never thought UVs would ever be fixed to be honest.


@5way turn off linear filtering to fix the black markings on the footpath
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch
Post by: Mcindus on 2015-08-28 18:16:39
WTF!?!?  You're amazing, MaKiPL :)
Now I can finally upscale the rest of the world! :)
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch
Post by: iliasm on 2015-08-28 21:54:21
Thanks, this is awesome.

By the way, disabling Linear Filtering does indeed fix black lines but then some other textures look worse, for example this railroad here:

linear on:
(http://i.imgur.com/7rQFQ8P.jpg)

linear off:
(http://i.imgur.com/LmqdZZd.jpg)

Is this expected?

Excellent work overall!
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch
Post by: DLPB_ on 2015-08-28 23:57:51
I think the railroad suits pixellation rather than smooth. Kinda gives it the appearance of (admittedly crap) detail :P
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch
Post by: Mcindus on 2015-08-29 01:11:45
Thanks, this is awesome.

By the way, disabling Linear Filtering does indeed fix black lines but then some other textures look worse, for example this railroad here:

Is this expected?

Excellent work overall!

The pixellation is just part of the original game.  Linear filter merely 'blurs' the pixel edges enough so that it's hard to notice, but it's always been like that.  My world map upscale fixes this problem by removing the need to use Linear Filtering at all.  That combined with my other texture mods, and I can't think of a reason to have linear filter enabled ever again.
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch
Post by: JeMaCheHi on 2015-08-29 21:20:23
As I always say.... you're a god of hacking bro. Thank you very much for this. However, and I hate to say it, this is not working for Spanish version (as usual, our version is messing up stuff). If you patch it, the game will crash with an unhandled exception as soon as you go to worldmap. BTW, the spanish exe is FF8_ES.exe, I just say it in case it's useful info for future reference.
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch
Post by: Mcindus on 2015-08-30 02:51:10
What does this patch apply to?  Would there be a way to apply it to GFs?
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [updated: 30-08-2015]
Post by: Maki on 2015-08-30 10:15:40
Thank you for your report JeMaCheHi, this glitch appeared to affect all FR/IT/ES/DE versions. I updated the software, should now work normally. Just bring the FF8_ES.exe.bak and repatch again. :)
Also, if you tried to patch the EXE twice, you probably rewritten your .bak with faulty version. I already fixed it to NOT overwrite backups.

What does this patch apply to?  Would there be a way to apply it to GFs?

This patch applies only to world map [as far as I was testing, this operations are fired only on world map segment postload]. Are G.Fs also bad UV'ed?
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [updated: 30-08-2015]
Post by: Mcindus on 2015-08-30 20:10:15
Also, if you tried to patch the EXE twice, you probably rewritten your .bak with faulty version. I already fixed it to NOT overwrite backups.

This patch applies only to world map [as far as I was testing, this operations are fired only on world map segment postload]. Are G.Fs also bad UV'ed?

Ouch. No wonder my backup wasn't working properly lol...

As far as GF's - you can see in my Ifrit model that I posted on Rebirth Flame's thread that the earrings don't line up at all.  In Max, I altered the UV's by a tiny fraction and it looked -much- better.  The PSX Ifrit's earrings line up perfectly.  This UV ratio also worked with the other 3 GF's I tested (Shiva, Brothers, Diablos) and seemed to fix some small texture glitches.

On a side note - I just found out that if you use "Linear Filtering" Diablos' bats disappear anyway - so I wonder what other details Linear Filtering breaks.
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [updated: 30-08-2015]
Post by: JeMaCheHi on 2015-09-01 16:22:14
Thank you for your report JeMaCheHi, this glitch appeared to affect all FR/IT/ES/DE versions. I updated the software, should now work normally. Just bring the FF8_ES.exe.bak and repatch again. :)
Also, if you tried to patch the EXE twice, you probably rewritten your .bak with faulty version. I already fixed it to NOT overwrite backups.

This patch applies only to world map [as far as I was testing, this operations are fired only on world map segment postload]. Are G.Fs also bad UV'ed?

Sorry for the late reply, my windows 7 install went crazy and I had to reformat and reinstall everything u.u
I just tried your new version and... still crashing on world map. Please if someone else tried this on a non english version, post it if you're running it without trouble.
Maki, if you need me to send you any file, or even my help with something, just PM me or whatever you want.
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [updated: 30-08-2015]
Post by: Maki on 2015-09-01 18:24:59
Fixed, thank you JeMaCheHi for reporting and testing. :)
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [updated: 01-09-2015]
Post by: Nunsrgr8 on 2015-10-14 04:59:23
Don't hate, I figured this thread is still active enough to post here! I recently tried this patch out to supplement Mcindus' Horizon Pack but unfortunately I cannot get it to work... It's disappointing as the UV mapping is a real eye soar! :\

I'm using the English Steam version and the latest version of Tonberry (2.04). The game has all available mods for Tonberry and all are working great except for the odd graphical hiccup. I patched the FF8_EN.exe before starting my game and as soon as I leave Balamb Garden for the Fire Cavern the game freezes instead of loading the world map. I had considered that it may have been an issue with Tonberry initially (I've read about some scene transition bugs using Project Eden), but the game ran smoothly throughout the many areas of Balamb Garden when I was collecting cards. Eventually, I disabled all the Tonberry mods and tried it "vanilla" and it still froze. I deleted the patched .exe and ran the backup (with mods on and off) with no issues at all.

Is there something I'm missing? It seems like the patcher is foolproof (just click patch, haha). Is anyone else having this problem, it looked like it was versions other than English that were initially being trouble. Trying HextLaunch version next.
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [updated: 01-09-2015]
Post by: Maki on 2015-10-16 16:07:49
Send me on PM your patched EXE (FF8_EN.exe AFTER running patcher). I'll take a look if there's something wrong there.

Here's FF8_EN.exe HEXT instructions:
http://pastebin.com/W72H6yep
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [updated: 01-09-2015]
Post by: Nunsrgr8 on 2015-10-16 22:19:50
Thanks for the reply! I'll do that later for sure, I'm just checking this thread from my phone. PM sent with a link to my .zip of the patched FF8_EN.exe and some more stuff that might help figure out whats happening. I couldn't figure out how to send it through PM so I uploaded it to Google Drive.

I was looking at the tutorial Mcindus posted for addon .ddls. I have some idea as to how to setup the HextLaunch version in conjunction with RaW (which is essentially HextLaunch with a preinstalled .dll). I assume that you save MaKiPL's Hext instructions from the Pastebin link as FF8_EN.txt and place that inside RaW's prexisting Hext_in folder. Next you'd obviously change the LoadHext value from 0 to 1 in the settings.txt. I'll update my post once I figure it out later.

EDIT:

I'm trying to get HextLaunch (RaW) to load the UV fix from the Hext_in folder. According to the output from HextLaunch.txt it "sees" the file but doesn't actually edit the memory in game (ie. it loads 9/12 FF8_EN.txt Hext instructions... it doesn't fix the UV mapping issues but it doesn't crash either)! I used the Hext instructions from the MaKiPL's Pastebin link. Is it not possible to load Hext instructions for FF8 Steam? I'd love to get this working with just HextLaunch.

EDIT EDIT:

After messing around with trying to inject the changes to virtual memory with HextLaunch, I finally got my FF8_EN.exe patched manually using DLPB's HexEdit program! Everything is looking pretty!  8) I'll post a quick tutorial for anyone having similar issues. This worked 100% for me but I'm not responsible if something goes wrong on your end...

MANUAL PATCHING TUTORIAL:

 1. Backup the FF8_EN.exe file from your Final Fantasy VIII Steam directory (steamapps/common/FINAL FANTASY VIII/) just in case. I just copy mine to the desktop for the time being.

 2. Go here (http://forums.qhimm.com/index.php?topic=13574.0) and click the 'Here' link to download DLPB's Tools 2.0.

 3. Unzip the file anywhere on your PC.

 4. Open the "HextEdit" folder and move your FF8_EN.exe file from your Steam directory to the HexEdit root folder. The root folder contains another folder named HE_in, the HexEdit.exe, a Readme.rtf, and a test.file (which you should delete).

 5. Open the HE_in folder and delete the example Hext instructions.

 6. Create a new Notepad text document in the HE_in folder, name it "FF8_EN" and paste:
Code: [Select]
FF8_EN.exe
153CC0 = 00
153CCA = 00
153CD8 = 00
153CE2 = 00
153CF2 = 00
153CFC = 00
153D0C = 00
153D16 = 00
153D26 = 00
153D30 = 00
153D38 = 00
153D42 = 00

 7. Save your FF8_EN.txt.

 8. Go back to the HextEdit root and run the HextEdit.exe application, press enter when prompted.

 9. Once HextEdit finishes it will create a HextEdit.txt. Open this file and insure it reads...
Code: [Select]
---------------------------
FF8_EN.txt (FF8_EN.exe)

Changed: 12
Replaced: 0

No errors.

___________________________

10. If newly created HextEdit.txt has the same output, it was patched successfully.

11. Move your FF8_EN.exe from the HextEdit root back to your Steam directory. Overwrite if need be.

12. Run game and enjoy your newly patched FF8 world map!

Feel more than free to update the first post with my tutorial.
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [updated: 01-09-2015]
Post by: Maki on 2015-10-21 15:41:41
+1 Cities.Burn.Quick
I copied your tutorial over first post. Thank you! :3
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [updated: 01-09-2015]
Post by: blahblahblacksheep on 2016-01-03 18:38:19
Hello, been a while since this has been discussed.. I installed the patch and in game doesn't work anymore. Have black screen after starting from save. World map texture replacements/upscales have not worked which lead me to this post. Using steam, disabled overlay, and using newest files of everything..
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [updated: 01-09-2015]
Post by: Maki on 2016-01-04 13:37:03
So, any other graphic mods are not working as well?
Did you try applying only this patch or you did it after installing some mod?
Also, you're using steam edition, but which language version?
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [updated: 01-09-2015]
Post by: blahblahblacksheep on 2016-01-04 19:14:09
Other graphics mods are working, character and world map mod, SeeD mod, although the computer/terminal in the classroom at Balamb Garden still has some messy pixelated english characters in the name.. English language version, and didn't mess with the .exe at all until this patch. All other mods are drop in files that I have. One mod not working completely is the battle background mod, in Ifrit battle it had a black ground effect and was sort of flashing at times.. But apparently what FatedCourage said is that I should re-export the images in a photo editor. Which I personally don't know yet about how to do that as I'm new to the mods.. I imagine there's about 7000 images to sift through which seems cumbersome atm.
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [updated: 01-09-2015]
Post by: Yagami Light on 2016-01-04 19:36:18
Yes Maki your auto-patcher didn't work for me on english steam windows 10, though I remember the first version you uploaded worked fine for me. No big deal since you can use the manual patching process.
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [updated: 01-09-2015]
Post by: FatedCourage on 2016-01-04 21:53:22
Other graphics mods are working, character and world map mod, SeeD mod, although the computer/terminal in the classroom at Balamb Garden still has some messy pixelated english characters in the name.. English language version, and didn't mess with the .exe at all until this patch. All other mods are drop in files that I have. One mod not working completely is the battle background mod, in Ifrit battle it had a black ground effect and was sort of flashing at times.. But apparently what FatedCourage said is that I should re-export the images in a photo editor. Which I personally don't know yet about how to do that as I'm new to the mods.. I imagine there's about 7000 images to sift through which seems cumbersome atm.

All battle background textures should be in the "ba" folder. But I was just suggesting that. I'd try that out myself, but I don't control that thread. I'm sure once I'm done with mine that any problems left will be very minor. This patch shouldn't be affecting any mods that aren't related to the world map. Because that's all this patch is meant for I believe.
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [updated: 01-09-2015]
Post by: blahblahblacksheep on 2016-01-04 22:08:36
Quote from: FatedCourage
All battle background textures should be in the "ba" folder. But I was just suggesting that. I'd try that out myself, but I don't control that thread. I'm sure once I'm done with mine that any problems left will be very minor. This patch shouldn't be affecting any mods that aren't related to the world map. Because that's all this patch is meant for I believe.
I see, that makes sense..
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [updated: 01-09-2015]
Post by: Maki on 2016-01-05 09:20:19
Delete all EXEs, check file integrity in Steam then apply manual patching. My patcher is custom built and therefore has some bugs still, so it's better to patch manually using tutorial in first post.
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [updated: 01-09-2015]
Post by: Wedjat on 2016-01-23 13:20:55
Hi everyone. Tell me, is it possible in this way to fix UV with Thunder storm spell? This bug for each call Quezacotl GF
(https://s86e.storage.yandex.net/rdisk/98280d631f271d20a0366a56a1895992b0df775bcfe813d71d1440423020ae53/56b74f3b/6DVDQiQupCXfonGdoWQFPX2qbVvWlwwoaYg79coLzZHvcc9pNo5rtiMFhM9ZE7OcOrL4FacOAf_DU1O3ZcBBSg%3D%3D?uid=0&filename=01.jpg&disposition=inline&hash=&limit=0&content_type=image%2Fjpeg&fsize=2211136&hid=1f583524a15460f4fc647b1eac787dd0&media_type=image&tknv=v2&etag=5464f9177c819be1611988a89ea3eca1&rtoken=nat7RvJcZkr2&force_default=no&ycrid=na-6b8a6e91cbf8cdca81819232f9c89137-downloader11h&ts=52b2e94b604c0&s=393d04fa1a98d3d195c0549e8a86e8542a27a2db00fea9d21cb19e1a4f23a8be&bp=/36/1/data-0.4:10976964178:2211136)
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [updated: 01-09-2015]
Post by: Ironmad on 2016-05-18 18:40:15
Tried this both with the .exe and manually with HextEdit. Still get errors.

With the .exe file I can start the game, press continue and choose save file but then I get a black screen and can see the mouse cursor.

When I've used the HextEdit I just get and error that a .dll file is missing.
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [updated: 01-09-2015]
Post by: Mamba54 on 2016-06-24 20:06:34
Hopefully I can get an answer to this.
I cant find the frickin' backup!  Am I just being stupid?
Im having the same issues as the guy who had it freeze up when trying to leave Balamb Garden.
Im sure you two resovled it but honestly I just wanna get this playthrough going right now and cant be bothered with it.

So my question is.. Where is the backup/how to I uninstall this mod?
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Mcindus on 2017-08-25 05:52:26
Hey Maki!  I'm trying to make this process extremely simple for a tutorial video that I'm going to create... but I can't seem to find any codes for the other languages??
Do you know the HEXT changes I would need to make for the other languages for the STEAM version? 

I know you made your original patcher and it ended up having some bugs, but I liked your old patcher much better than the current Hext process - especially for people who aren't tech saavy.

Since I have to use the Hext process, I was wondering if you could send me the HEXT changes that I would need to put in for the various different languages?  That way EVERYONE can play with this beautiful mod.

EDIT:
In the meantime, I made a 'patcher' using Hext Tools (HextEdit) for the English version.  It makes this process as simple as:
1.   backup your main FF8_EN.exe (I just copy and .rar it or rename the copy "FF8_EN.exe.bak")
2.   move the original FF8_EN.exe into the 'FF8Steam_UVPatcher' folder
3.   run 'FF8Steam_UVPatcher.exe' AS ADMINISTRATOR
4.   check 'HextEdit.txt' to make sure it was patched (will say 12 items changed if successful)
5.   move the NEWLY PATCHED FF8_EN.exe back into your "/steamapps/common/FINAL FANTASY VIII/" parent folder.
6.   Enjoy the new UV's!!

Here's the file:
FF8 Steam UV Patcher (English) (https://goo.gl/GPjBFA)

FULL CREDIT TO MaKi for the UV Fix and DLPB for Hext Tools!
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: levantine on 2017-10-01 09:59:41
Hi, i'm playing with the fr version, how can i instal it and keep my fr launcher please?
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Maki on 2017-10-02 20:33:00
Hi, i'm playing with the fr version, how can i instal it and keep my fr launcher please?
Hate to say it, but it's not possible with non-english STEAM version yet. I haven't prepared HEXT for multi-lingual versions. I'm so sorry you have to wait so long. I'll make a reminder to do it tomorrow.
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Mcindus on 2017-10-02 22:01:09
Hate to say it, but it's not possible with non-english STEAM version yet. I haven't prepared HEXT for multi-lingual versions. I'm so sorry you have to wait so long. I'll make a reminder to do it tomorrow.

As soon as you get these hext instructions together, I will create different HextEdit patchers for the different languages, so that people won't have to do too many manual steps!
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: levantine on 2017-10-03 09:16:51
Hi, okay no problem, so i wont use it because i play to an hard mod that need the french version only (ff8 reload, a very good mod that's really looks like to the new threat in ff7)
Thx all for your work and your answer
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Maki on 2017-10-03 16:18:30
French steam:
Code: [Select]
15405F = 00
15406A = 00
15407B = 00
154086 = 00
154099 = 00
1540A4 = 00
1540B7 = 00
1540C2 = 00
1540D5 = 00
1640E0 = 00
1540E9 = 00
1540F4 = 00

Italian Steam:
Code: [Select]
1540DF = 00
1540EA = 00
1540FB = 00
154106 = 00
154119 = 00
154124 = 00
154137 = 00
154142 = 00
154155 = 00
154160 = 00
154169 = 00
154174 = 00

German:
Code: [Select]
15415F = 00
15416A = 00
15417B = 00
154186 = 00
154199 = 00
1541A4 = 00
1541B7 = 00
1541C2 = 00
1541D5 = 00
1541E0 = 00
1541E9 = 00
1541F4 = 00

Espanol:
Code: [Select]
15414F = 00
15415A = 00
15416B = 00
154176 = 00
154189 = 00
154194 = 00
1541A7 = 00
1541B2 = 00
1541C5 = 00
1541D0 = 00
1541D9 = 00
1541E4 = 00

Others coming soon
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: DLPB_ on 2017-10-10 07:50:59
If the offsets are all equal, you can simply use one of the above and then add "+" or "-" at the top... like so:

+80

15405F = 00
15406A = 00
15407B = 00
154086 = 00
154099 = 00
1540A4 = 00
1540B7 = 00
1540C2 = 00
1540D5 = 00
1640E0 = 00
1540E9 = 00
1540F4 = 00

Would get you from French to Italian.  But you'd be best doing it from English to whatever.  Assuming offsets are correct.

Also, is

1640E0 = 00

an error?
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Maki on 2017-10-11 17:54:50
If the offsets are all equal, you can simply use one of the above and then add "+" or "-" at the top... like so:

+80

15405F = 00
15406A = 00
15407B = 00
154086 = 00
154099 = 00
1540A4 = 00
1540B7 = 00
1540C2 = 00
1540D5 = 00
1640E0 = 00
1540E9 = 00
1540F4 = 00

Would get you from French to Italian.  But you'd be best doing it from English to whatever.  Assuming offsets are correct.

Also, is

1640E0 = 00

an error?

Yup, my bad. Meant 1540E0. Also adding trick works only for non-english
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: CirasdeNarm on 2017-11-10 21:08:43
French steam:
Code: [Select]
15405F = 00
15406A = 00
15407B = 00
154086 = 00
154099 = 00
1540A4 = 00
1540B7 = 00
1540C2 = 00
1540D5 = 00
1640E0 = 00
1540E9 = 00
1540F4 = 00

Italian Steam:
Code: [Select]
1540DF = 00
1540EA = 00
1540FB = 00
154106 = 00
154119 = 00
154124 = 00
154137 = 00
154142 = 00
154155 = 00
154160 = 00
154169 = 00
154174 = 00

German:
Code: [Select]
15415F = 00
15416A = 00
15417C = 00
154186 = 00
154199 = 00
1541A4 = 00
1541B7 = 00
1541C2 = 00
1541D5 = 00
1541F0 = 00
1541E9 = 00
1541F4 = 00

Espanol:
Code: [Select]
15414F = 00
15415A = 00
15416B = 00
154176 = 00
154189 = 00
154194 = 00
1541A7 = 00
1541B2 = 00
1541C5 = 00
1541D0 = 00
1541D9 = 00
1541E4 = 00

Others coming soon

Tried the german code, but always get a crash, when i go to the world map. What can i do? Or is that code for the non-steam-version?
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Xepros on 2017-12-26 11:52:22
i have the same problem with the german code :/
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Maki on 2017-12-26 16:17:30
Third line should be B at the end:

Fixed code:

15415F = 00
15416A = 00
15417B = 00
154186 = 00
154199 = 00
1541A4 = 00
1541B7 = 00
1541C2 = 00
1541D5 = 00
1541F0 = 00
1541E9 = 00
1541F4 = 00
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: CirasdeNarm on 2017-12-26 20:53:09
Thank you for your answer, but unfortunately it still doesn't work. I have no idea, what i am doing wrong.
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Maki on 2017-12-27 05:23:10
What about this?

15415F = 00
15416A = 00
15417B = 00
154186 = 00
154199 = 00
1541A4 = 00
1541B7 = 00
1541C2 = 00
1541D5 = 00
1541E0 = 00
1541E9 = 00
1541F4 = 00
Title: Re: [FF8PC 2000/Steam] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: CirasdeNarm on 2017-12-27 13:24:35
Yes!

Thank you very much! Now, we have the right one. :)

Title: Re: [PC] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: OSC_Cain on 2018-04-29 20:21:52
Thanks ! The code works on Fr version.
Title: [FF8 Steam] MaKi's Bad UV Easy Patcher v1.1
Post by: Mcindus on 2018-08-24 06:28:18
Hey Maki!  I've made the 'easy patcher' for all languages using your codes now!

[FF8 Steam] Bad UV PATCHER by MaKi
ALL LANGUAGES AVAILABLE
Easy Patcher v1.1 by MCINDUS


INSTRUCTIONS:
1.   Backup your main FF8_XX.exe [FF8_EN.exe, FF8_DE.exe, etc] (I copy it rename the copy "FF8_XX.exe.bak")
2.   Move your original FF8_XX.exe into the 'FF8Steam_UVPatcher' folder for your language!
3.   Run 'FF8Steam_UVPatcher.exe' AS ADMINISTRATOR
4.   Check 'HextEdit.txt' to make sure it was patched (will say 12 items changed if successful)
5.   Move the NEWLY PATCHED FF8 exe back into your "/steamapps/common/FINAL FANTASY VIII/" parent folder.
6.   Enjoy the new UV's!!
*Make sure to run as administrator!*

DOWNLOAD UV Patcher v1.1 (https://goo.gl/sfnhBK)

Let me know if you guys have any issues with this!  THANKS!
Title: Re: [PC] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Ashyaksan on 2018-08-26 05:32:19
Hello Mcindus. Global thanks for all your great mods.

Here is the issue I have :
Quote
FF8_UVPatcher_FR.txt ()

Changed: 0
Replaced: 0

Errors(1):
Line 1: "#FF8 BadUV Fix by MaKiPL" not found.

Patcher run as administrator, FF8_FR.exe in the same folder, FF8_UVPatcher_FR.txt in the "HE_in" subfolder, and its 1st line is exactly the one the patcher looks for.. But looks like it can't find it though, and I can't see why.

Hope it will help.
Title: Re: [PC] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: DLPB_ on 2018-08-27 14:18:52
Mcindus, RaW is being released soon with Hext built in.  At that time, it be cool if you could update for those using it - it's a lot less hassle than the launcher.

Basically... each lang would just need one file in the global folder.
Title: Re: [PC] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Mcindus on 2018-08-28 20:32:54
Hello Mcindus. Global thanks for all your great mods.

Here is the issue I have :
Patcher run as administrator, FF8_FR.exe in the same folder, FF8_UVPatcher_FR.txt in the "HE_in" subfolder, and its 1st line is exactly the one the patcher looks for.. But looks like it can't find it though, and I can't see why.

Hope it will help.

I think I fixed the issue - try downloading the patcher again and let me know if it works for you!

Mcindus, RaW is being released soon with Hext built in.  At that time, it be cool if you could update for those using it - it's a lot less hassle than the launcher.

Basically... each lang would just need one file in the global folder.

Oh yes, I've been waiting for this change :) I will be porting the mods over to the new RaW format - I just have to make sure that things don't get screwed up when I do, and try to figure out the balance between standalone and RaW dependent add-ons.  Will people still be able to use HextLaunch if they don't have RaW?  And if they had hextlaunch with existing mods and upgrade to raw, will they have to re-arrange their folder/file structure when they do so?
Title: Re: [PC] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: DLPB_ on 2018-08-28 21:38:45
RaW doesn't force music on people.  They can opt to disable that also :) So there's no real advantage to not having the dll in the root folder.
Title: Re: [PC] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Ashyaksan on 2018-08-29 00:30:18
I think I fixed the issue - try downloading the patcher again and let me know if it works for you!

Worked like a charm, thanks for the fix.
Title: Re: [PC] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: DLPB_ on 2018-08-30 22:13:01
The black lines (They're invisible in fact, as there's no texture there) in some places is the bug Square tried to fix by doing this crappy texture mess up routine.
I added HextLaunch support for PC 2000 english version.

Is there any way to fix this?  It's a bit grating to have black lines on the road.

In other news - here is the change that will be needed for new RaW version.

When released, simply pop

Quote
# Unofficial bad UV texture patch by Maki

+400000
153CC0 = 00
153CCA = 00
153CD8 = 00
153CE2 = 00
153CF2 = 00
153CFC = 00
153D0C = 00
153D16 = 00
153D26 = 00
153D30 = 00
153D38 = 00
153D42 = 00

In a text file and save to [Root]\RaW\GLOBAL\Hext

It's likely +400000 is all that's needed to go from file to memory in all versions.
Title: Re: [PC] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Mcindus on 2018-08-31 00:00:13
@DLPB - If you've got the UV Injector working and have disabled bilinear filtering (the black lines are texture bleed from the texture adjacent to that one in the atlas), you shouldn't be getting black lines anymore (at least at a very minimum)

the only way to make the PC port 'perfect' is to fix the .5 pixel offset problem inherent in dx9 -- theres code out there you can inject into the pixel/vertex shader, but i don't know how to do it, so we are stuck with a 'less-than' perfect setup - but at least Maki fixed the garbled mess that was the overworld.

Also, I tried to do the +400000 trick to my uv injector and it didn't work with hextlaunch... so am I correct in stating that this new file will work with raw, but not with hextlaunch?
Title: Re: [PC] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: DLPB_ on 2018-08-31 00:07:58
Should work with HextLaunch too. I've verified it working with RaW for sure and the code is copy pasted.

Exact same code if using latest version (although it has a bug where working folder doesn't work - so you have to place files in Hext_in )

Also, thanks for the update!
Title: Re: [PC] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Mcindus on 2018-08-31 08:38:00
Should work with HextLaunch too. I've verified it working with RaW for sure and the code is copy pasted.

Exact same code if using latest version (although it has a bug where working folder doesn't work - so you have to place files in Hext_in )

Also, thanks for the update!

To be clear, if I don't put the +400000 in my hext file, the game loads the uv injector just fine, but i had to set the timer to 7000 in the settings for HextLaunch.  If I do add the +400000, hextlaunch doesn't inject the uv fix at all.  Also, I've noticed that the UV injector has to be the first mod in the list to run, so I've renamed it with a "1_" prefix to ensure that it loads before all other hext files.

Also, been looking everywhere for that ragnarok save and a concert save at FH for you... no luck yet
Title: Re: [PC] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: DLPB_ on 2018-08-31 10:26:18
If you don't use +400000 then it will be patching the completely wrong memory addresses - so the fix shouldn't work.

With RaW there is no delay option - the changes are added on game start - but i cant work out why that would stop your uv injector.
Title: Re: [PC] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: rotschleim on 2019-08-20 14:58:29
Hi, wanted to bring it to everyone's attention that FFVIII Remastered will also have the incorrect UV mapping problem.

https://www.rpgsite.net/news/8853-final-fantasy-viii-remastered-launches-on-september-3

Take a gander at the screenshot of Squall on the world map in front of Balamb Garden. Looks exactly like the "BEFORE" in Aavock's comparison screens here, right?

http://forums.qhimm.com/index.php?topic=16327.msg231686#msg231686

Looks like this fix will need to be ported to the Steam version of the remaster. I'm not holding out that an official patch will ever address this issue.

Thank you for your time. I apologize for bumping such an old thread; again, I'm just trying to raise awareness, not calling for any action.
Title: Re: [PC] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Aavock on 2019-08-20 22:15:32
You're right rotschleim :o nice catch. Plus, none of the worldmap textures have been "remastered" (maybe vehicles?).
Title: Re: [PC] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: rotschleim on 2019-08-21 01:38:52
Thank you, Aavock. I noticed that they didn't even alter Squall's appearance to match his new field/battle models. I don't think anything about the world map has been changed, nor will it be. I hope the UV map fix is easy to port to FFVIII Remastered, whether Maki does it or someone else does.
Title: Re: [PC] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: gunner_1207 on 2019-08-21 20:03:01
nah pretty sure all they have done is pass the backgrounds through some crappy basic filter to smooth them a little. and character models, most of them brilliantly i will say but 2 they have completely screwed,zell looks like a child, an squall...his hair seems to change from black to brownish, and his face its so different not just from the original , but the fmv's.
i hope the basic structure of the game files wise will be similar, coz that will help us mod it.
but that then leaves me with a question, whats the point? you know? what we have here, with the beautiful work done by everyone, i consider to be superior to this square offering. So why waste time trying to upgrade this new one when we already have something brilliant?, just my thoughts   
Title: Re: [PC] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: rotschleim on 2019-08-22 15:39:51
the redone models might not be perfect, but they have a higher poly count and better jointing, not to mention the polygons won't warp as terribly as they do on PC. (remember the times squalls lips would make him have a :3 face?)

the fan efforts are great, but they require tonberry and you can't play them on console, either. i just hope the UV map patch is eventually ported to the remaster, and that nothing's too wrong with it
Title: Re: [PC] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Maki on 2019-08-22 17:47:46
well I recently sent an e-mail linking to Dotemu linking this thread - let's keep fingers crossed- but I doubt they will introduce game code changes in a week to publish (or actually do anything at all).
Title: Re: [PC] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: gunner_1207 on 2019-08-22 19:04:21
I am honestly just expecting them to drop this rehash, and then nothing, no support , patches anything. give us your money now your on your own.
Title: Re: [PC] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: rotschleim on 2019-08-22 19:50:27
well I recently sent an e-mail linking to Dotemu linking this thread - let's keep fingers crossed- but I doubt they will introduce game code changes in a week to publish (or actually do anything at all).
i appreciate it, maki. it'd be cool if they did a day 1 patch and credited you for figuring it out, actually. but what's more realistic is that the world map code couldn't be changed, meaning the addresses are in the same spot, so hopefully you (or someone else, if you're not up to it) can port this fix over to FFVIIIr Steam.

I am honestly just expecting them to drop this rehash, and then nothing, no support , patches anything. give us your money now your on your own.
same here, gunner. i think maybe if there are really bad glitches (like music looping in FFVII/IX on xbone/switch) they'll fix it, but otherwise what we get is what we get
Title: Re: [PC] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: gunner_1207 on 2019-08-22 20:09:49
yeah rotschleim unfortunately its just a sign of the times, the decline of square that started when they became square-enix.
Title: Re: [PC] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: rotschleim on 2019-08-22 20:19:20
yeah rotschleim unfortunately its just a sign of the times, the decline of square that started when they became square-enix.
well i mean they've put out plenty of patches for their other games, but being a $20 cash-in remaster, i doubt they'll do anything substantial like the uv map fix for it.
Title: Re: [PC] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Maki on 2019-08-23 09:53:00
They could easily add these fixes - but why bother when there are enough suckers around to keep throwing $20 at them regardless.
That's true but still this is not Dotemu decision- they are just contractors working on SE project. They do strictly what SE said to do and no one would pay them for adding XX years bug fix to crappy world map even though it's only changing 5-6 bytes. That's sad what SE have become.
Title: Re: [PC] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: gunner_1207 on 2019-09-01 20:57:16
hello lovely people i need help, iv'e screwed my game up . ever since i downloaded the game installed lunatic pandora mod pack, the uv injector never worked i just got the error spam in the ultra launcher window, tried downloading the 2 fixes but nope.i gave  up on it, ignored it for ages while i modded my game with the tools etc. now i dont know why i had a brain fart an decided to try again.now i cant even load the game. all i get is
 \HL_files\settings.ini has been created . please configure.
press enter to exit.

Ignore my dumbass , i'm all good back to where i started. Used the settings as a template from the hexlaunch folder , in the hextools pleased with my little brain for commin up with that.
Title: Re: [PC] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Maki on 2019-09-06 12:59:55
So Dotemu couldn't do this so I did:
Code: [Select]
FFVIII_EFIGS.dll+8A2CB2 - add byte ptr [esi+08],00
FFVIII_EFIGS.dll+8A2CB8 - add byte ptr [esi+08],00
FFVIII_EFIGS.dll+8A2D17 - add byte ptr [esi+0C],00
FFVIII_EFIGS.dll+8A2D1D - add byte ptr [esi+0C],00
FFVIII_EFIGS.dll+8A2D6D - add byte ptr [esi+0C],00
FFVIII_EFIGS.dll+8A2D73 - add byte ptr [esi+0C],00
FFVIII_EFIGS.dll+8A2DC5 - add byte ptr [esi+0C],00
FFVIII_EFIGS.dll+8A2DCB - add byte ptr [esi+0C],00
FFVIII_EFIGS.dll+8A2E1B - add byte ptr [esi+0C],00
FFVIII_EFIGS.dll+8A2E21 - add byte ptr [esi+0C],00
FFVIII_EFIGS.dll+8A2E6F - add byte ptr [esi+04],00
FFVIII_EFIGS.dll+8A2E75 - add byte ptr [esi+04],00

change 4th byte on those pointers to 0
(https://media.discordapp.net/attachments/391642361618235398/619514098849415198/unknown.png?width=817&height=510)
Title: Re: [PC] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Yagami Light on 2019-09-06 13:31:09
Nice Maki, the road still has marks which means they used linear filtering, is there a way to turn that off since they removed that option from the remastered version.
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Maki on 2019-09-11 13:56:25
Ding dong! The switch patch is available. Just patch GuardianEFIGS.nro:
Code: [Select]
0xE04E38 = 1F2003D5
0xE04E58 = 1F2003D5

0xE04E98 = 1F2003D5
0xE04EB8 = 1F2003D5

0xE04EFC = 1F2003D5
0xE04F1C = 1F2003D5

0xE04F5C = 1F2003D5
0xE04F7C = 1F2003D5

0xE04FC0 = 1F2003D5
0xE04FE0 = 1F2003D5

0xE05008 = 1F2003D5
0xE05028 = 1F2003D5

I updated also the main post with some additional instructions for demastered pc and switch editions
Title: Re: [PC] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Samiiya on 2019-09-11 17:44:26
So Dotemu couldn't do this so I did:
Code: [Select]
FFVIII_EFIGS.dll+8A2CB2 - add byte ptr [esi+08],00
FFVIII_EFIGS.dll+8A2CB8 - add byte ptr [esi+08],00
FFVIII_EFIGS.dll+8A2D17 - add byte ptr [esi+0C],00
FFVIII_EFIGS.dll+8A2D1D - add byte ptr [esi+0C],00
FFVIII_EFIGS.dll+8A2D6D - add byte ptr [esi+0C],00
FFVIII_EFIGS.dll+8A2D73 - add byte ptr [esi+0C],00
FFVIII_EFIGS.dll+8A2DC5 - add byte ptr [esi+0C],00
FFVIII_EFIGS.dll+8A2DCB - add byte ptr [esi+0C],00
FFVIII_EFIGS.dll+8A2E1B - add byte ptr [esi+0C],00
FFVIII_EFIGS.dll+8A2E21 - add byte ptr [esi+0C],00
FFVIII_EFIGS.dll+8A2E6F - add byte ptr [esi+04],00
FFVIII_EFIGS.dll+8A2E75 - add byte ptr [esi+04],00

change 4th byte on those pointers to 0
(https://media.discordapp.net/attachments/391642361618235398/619514098849415198/unknown.png?width=817&height=510)

Im sorry for asking like this but can you upload the file is already patched for Remastered version? I dont know anything about patcher or coder, i really dont know how to do like what you say :( Completely blind ... Thank you so much anyway ^^
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: ERAISERZEE on 2019-09-12 15:30:19
please you can make a more detailed guide on how to apply it to the 2019 version. because I have been trying for 2 days but I don't know how to do it with this version, it is hellish for me and it was much easier with the 2013 version. I'm going crazy

and can you explain to me how to install ASLR?
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Maki on 2019-09-12 17:57:23
Hey, post an email so I will send the DLL to you (can't attach it here). I will prepare the DLPB tools patch soon and it's respective instructions.

About ASLR- This is not something you install. It's part of ... let's say a "Windows instruction" to "generate" new address every time you open application to protect it from such real-time modifications (roughly and quite unprofessionally saying)- but don't worry, that won't be needed (you can patch the EXE without disabling ASLR)
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Samiiya on 2019-09-12 18:51:07
Hey, post an email so I will send the DLL to you (can't attach it here). I will prepare the DLPB tools patch soon and it's respective instructions.

About ASLR- This is not something you install. It's part of ... let's say a "Windows instruction" to "generate" new address every time you open application to protect it from such real-time modifications (roughly and quite unprofessionally saying)- but don't worry, that won't be needed (you can patch the EXE without disabling ASLR)

Here is my email address: *** . Thank you so much! ^^
Title: .
Post by: d1474796 on 2019-09-12 19:23:17
.
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: ERAISERZEE on 2019-09-12 19:47:05
done. thank you
I sent you emails
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: rotschleim on 2019-09-12 23:39:18
Fabulous work, Maki. Would it be possible to make an IPS patch or something of the sort to apply to the DLL file? That way, a hex editor wouldn't be necessary.
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Maki on 2019-09-13 08:48:40
Sent!
@rotschleim - yeah IPS patch could work, good idea!
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: shikulja on 2019-09-13 12:48:20
Errors(1):
Line 1: "#FF8 1.2" not found.

not working for this exe((
https://drive.google.com/file/d/11BVZ44AkDwOoEJqGx44XuEdJZKi6HRAy/view?usp=sharing
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: RuinaLux on 2019-09-15 21:48:38
Could I also get the .dll and/or more detailed instructions on how to apply this fix? The bad mapping is driving me nuts but unfortunately I'm not understanding the instructions on the first post.
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Lightning on 2019-09-17 20:09:54
Thanks for updating this Maki, I got it working on the remaster by editing FFVIII_EFIGS.dll following your notes.

I created a web based patcher, for others to use (it uses Bemani patcher to patch the dll in your browser).

FF8 DLL Patcher (https://lightningw9.github.io/ff8patcher/)

I hope it helps.
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: iDerek759 on 2019-09-19 04:18:35
Thanks for updating this Maki, I got it working on the remaster by editing FFVIII_EFIGS.dll following your notes.

I created a web based patcher, for others to use (it uses Bemani patcher to patch the dll in your browser).

FF8 DLL Patcher (https://files.springvalerpg.com/ff8patcher/)

I hope it helps.

Excellent, works like a charm!
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: IzzacSturnburg on 2019-09-19 19:52:02
Thanks for updating this Maki, I got it working on the remaster by editing FFVIII_EFIGS.dll following your notes.

I created a web based patcher, for others to use (it uses Bemani patcher to patch the dll in your browser).

FF8 DLL Patcher (https://files.springvalerpg.com/ff8patcher/)

I hope it helps.

This was a big help, I was trying to get it to patch the manual way but had trouble. This web browser worked great! thank you for this wonderful tool. :)
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Lightning on 2019-09-20 15:16:11
I am glad it helped, thanks for letting me know both of you. I will keep the patcher hosted there (hopefully) permanently.
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Maki on 2019-09-20 20:52:57
If you could credit me please too I'd be thankful.
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Lightning on 2019-09-21 12:27:39
If you could credit me please too I'd be thankful.

Yes of course. I have added credits to the top of the page. Also I don't mind if anyone else wants to host the code or share the link.
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: IzzacSturnburg on 2019-09-22 03:32:38
If you could credit me please too I'd be thankful.

Thank you Maki for your hard work and always doing such a great service for research and progression along with everyone else. And thanks for this wonderful patch.  :-)   
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: onefourthree on 2020-01-26 06:50:47
Maki,

Your switch patches don't work. I re-wrote them, (you were super close!) and these are what needed to be changed:

Switch version 1.0.0
Spoiler: show

Code: [Select]
1.0.0
----
E04E38 02 00 80 52
E04E58 02 00 80 52

E04E98 02 00 80 52
E04EB8 02 00 80 52

E04EFC 03 00 80 52
E04F1C 03 00 80 52

E04F5C 02 00 80 52
E04F7C 02 00 80 52

E04FC0 02 00 80 52
E04FE0 02 00 80 52

E05008 02 00 80 52
E05028 02 00 80 52


Switch Version 1.0.1
Spoiler: show

Code: [Select]
1.0.1
----
E04278 02 00 80 52
E04298 02 00 80 52

E042D8 02 00 80 52
E042F8 02 00 80 52

E0433C 03 00 80 52
E0435C 03 00 80 52

E0439C 02 00 80 52
E043BC 02 00 80 52

E04400 02 00 80 52
E04420 02 00 80 52

E04448 02 00 80 52
E04448 02 00 80 52


Comparison:
(https://i.imgur.com/hMY8M7T.png)

Download:

https://github.com/onefourthreeNX/ff8-mods/tree/master/switch (https://github.com/onefourthreeNX/ff8-mods/tree/master/switch)
Grab the ff8-uv-patch folder and copy it to /atmosphere/nro_patches/ to install on the switch.

Note: this requires a hacked switch running atmosphere 0.8.9 or greater
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: leorob88 on 2020-04-17 15:39:15
Guess i get a unique error? I'm playing italian and i have made some tests. As i understand the patch is made for english version, FF8_EN, i tried at first (since it makes sense) to write in the txt FF8_IT.exe instead of EN, the file just named FF8.txt. I left the executable in the folder as it was, meaning FF8_IT.exe. It works for the patch, no errors. When i launch FF8 though, the overworld cannot load and i get an error message. I tried renaming the executable as FF8_EN.exe and also the txt content. As before, the patch works, FF8 overworld doesn't. I tried so to write FF8_EN.exe in the txt file and leave the executable named FF8_IT.exe but of course the patch doesn't work since it cannot find the file.

Any suggestions? Is it really multilanguage available?
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: leorob88 on 2020-04-17 15:45:01
Also, sorry but i like to be precise: the error message for the overworld (with black screen but the music starts playing before that) is "An unknown exception has occurred.". Then FF8 crushes.
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: leorob88 on 2020-04-20 12:20:39
I'm sorry, i didn't read ALL the messages in this thread, but i think the instructions at the beginning should be refreshed. Meaning, i learned and read i had to use different txt code to make it work, so now it works. BUT normally the first thing people look at (or "for") is the "Instructions" section, so i think, since now it works with some editing (also, fast) it should be stated at the beginning of the thread :) Anyway, again, great job! THIS is a remaster!
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Scathach on 2020-05-07 18:21:23
Someone would be so kind as to share the patched .dll for the 2019 Remastered version? I play on PS4 but a friend started it yesterday on Steam, and I have been trying to help, downloading Cheat Engine, Hex editors, Hex Tools pack, but I have no idea what to do. I open 'FFVIII_EFIGS.dll' with HxD and others yet I can't find '8A2CB2' or '8A20B5' nor any of that. Even looking for them manually they don't exist, I see close ones like "0008A20..." but not any of the ones mentioned in the instructions. I've managed to patch the .dll using the HextEdit method but it didn't fix the world map, I just get lost in the instructions about ASLR, the .dll, the .exe, the hex numbers, I just can't do it.

Oh, and the site made by Lightning isn't working anymore, I don't know if due to a game update that changed the .dll, yet it's not picking the file both dragging or chosing from the prompt window. That's the first method we tried, she's from Brazil and I'm from Spain, and didn't work for either of us, I tried, on many different browsers but it won't pick up the 'FFVIII_EFIGS.dll'. So the only option I have left is to ask for an already patched .dll or more detailed instructions for someone with no knowledge about programming.

My mail is: [email protected]

Thanks for your time!
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: JvFox on 2020-05-13 08:40:11
Does this work in the spanish version?
¿funciona esto en la version de españa?
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Maki on 2020-05-13 12:09:04
Does this work in the spanish version?
¿funciona esto en la version de españa?
I'm sorry but no- except you have a remaster, then keep reading

@Scathach
I understand this may be a little too difficult, so if you do have remaster then you can apply "Demaster" patch that have UV patch built-in. Here you can find more details:
http://forums.qhimm.com/index.php?topic=19432.0
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: JvFox on 2020-05-13 15:32:22
Is there no way for me to find the directions of the textures?
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Scathach on 2020-05-15 23:35:38
I'm sorry but no- except you have a remaster, then keep reading

@Scathach
I understand this may be a little too difficult, so if you do have remaster then you can apply "Demaster" patch that have UV patch built-in. Here you can find more details:
http://forums.qhimm.com/index.php?topic=19432.0

Thanks! We'll try that.
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: faospark on 2020-07-14 13:17:02
Given that the instructions for the OP refers to tool that can not be downloaded as of this moment. Might as well Hightlight Mcindus' Tool instead for the 2013 steam release

Since I have to use the Hext process, I was wondering if you could send me the HEXT changes that I would need to put in for the various different languages?  That way EVERYONE can play with this beautiful mod.

EDIT:
In the meantime, I made a 'patcher' using Hext Tools (HextEdit) for the English version.  It makes this process as simple as:
1.   backup your main FF8_EN.exe (I just copy and .rar it or rename the copy "FF8_EN.exe.bak")
2.   move the original FF8_EN.exe into the 'FF8Steam_UVPatcher' folder
3.   run 'FF8Steam_UVPatcher.exe' AS ADMINISTRATOR
4.   check 'HextEdit.txt' to make sure it was patched (will say 12 items changed if successful)
5.   move the NEWLY PATCHED FF8_EN.exe back into your "/steamapps/common/FINAL FANTASY VIII/" parent folder.
6.   Enjoy the new UV's!!

Here's the file:
FF8 Steam UV Patcher (English) (https://goo.gl/GPjBFA)

FULL CREDIT TO MaKi for the UV Fix and DLPB for Hext Tools!
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: orichalcon on 2020-07-15 04:08:29
Might as well highlight some incorrect af information
Given that the instructions for the OP refers to tool that can not be downloaded as of this moment.

yes it can

https://FF7.live and click downloads link on right side of the page

or

https://drive.google.com/drive/folders/0B43luAxFZKC-bEJaVnpweWpLSlU
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: faospark on 2020-07-15 08:38:45
thanks for the new links .  the live site does not havea link on the google drive folder
Might as well highlight some incorrect af information
yes it can

https://FF7.live and click downloads link on right side of the page

or

https://drive.google.com/drive/folders/0B43luAxFZKC-bEJaVnpweWpLSlU
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: orichalcon on 2020-07-15 23:38:28
thanks for the new links .  the live site does not havea link on the google drive folder

it does, you have to click the word 'downloads' on the right side of the home page, the 'other software' page will eventually have direct download links and a description of each tool
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: faospark on 2020-07-16 01:14:01
noted
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: Mad_Monkey on 2020-07-21 18:06:49
Ok, I'm here just for fun!
I've tried the patch at this thread: https://forums.qhimm.com/index.php?topic=19432.0

All works just fine! But I'm curious like a monkey  :-P
I've found different offsets to manually-patch the file FFVIII_EFIGS.dll.

Maybe 'cause I'm playing the latest update.
This is mine:
Code: [Select]
0x910E08 - 02
0x910E0E - FE
0x910E6A - 02
0x910E70 - FE
0x910EC7 - 02
0x910ECD - FE
0x910F26 - 02
0x910F2C - FE
0x910F83 - 02
0x910F89 - FE
0x910FC9 - 02
0x910FCF - FE

All those values (02 and FE) must be changed to 00. Who want to manually-patch the file at now, I think that need to search this offsets.
Everything found thanks to the Maki work and the use of CheatEngine. Thank you buddy!
Title: Re: [PC+R+Switch] Unofficial bad UV texture patch [powered by DLPB tools]
Post by: S0ME0NE on 2021-11-17 14:51:34
Does this mod work for the remaster as well or no?