..:: PCSX2 Forums ::..

Full Version: PCSX2 - Widescreen Game Patches
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803
(05-03-2020, 09:30 PM)someother1ne Wrote: [ -> ]Yes, I updated the camera address which seems the only thing different from the PAL version. Try this one.
The camera is too high compared to the pal version
PAL
[Image: ko2PinnF3D_XfwZ0r1VqN2hNISH3E9hPw-ta7Jh5...80-h936-ft]
NTSC
[Image: sie7U0LcNiRaN0zankPy43fHaf3ptHTzkLrzu3cf...80-h936-ft]
(04-27-2020, 11:22 AM)Fuso90 Wrote: [ -> ]I'm trying for first time to see how these widescreen cheats are created. So I'm using a game that already have a patch but I wanted just to test it because the address is already known. I'm finding the address 2032f6ec which is for the aspect ratio and when I change the value from 3f800000 to 3f400000 nothing happens...


I didn't develop the Need for Speed Hot Pursuit 2 widescreen hacks, but I'll try to explain how they work Smile.

The hacks you quoted are different than the ones that come with the PCSX2 widescreen archive (which is bundled with PCSX2).

I've quoted them below and added comments to yours.

Your hacks (with comments):
Code:
"NFS Hot Pursuit 2 /ID SLUS_203.62"

Mastercode
90284EE8 0C0A1362
//Not needed by PCSX2. Only PS2 cheat devices need mastercodes (homebrew ones like PS2RD don't always need them).

//Widescreen

2010e994 46011702
//Original instruction: mul.s $f28, $f2, $f14 (f14 is 0.5 at this point)
//New instruction: mul.s $f28, $f2, $f1 (f1 is normally 0.5 at this point... 0.6666666269 with hacks - see below)
//This is a MIPS instruction that multiplies 2 float numbers to determine the game's horizontal 3D rendering area.
//The MIPS instruction has been modified to use a different float register for its calculation.
//The new float register seems to contain address 2032f6ec's value (see below).

2032f6ec 3f400000
//Original value: 1.0 (3f800000)
//New value: 0.75 (3f400000)
//This is the game's horizontal field of view (FOV). Reducing it makes 3D graphics thinner.
//This value is read twice by the game engine when the game first boots. It's unused while the game is running.
//To easily change it:
//1. Edit it in Cheat Engine
//2. Tick the checkbox beside it (to make Cheat Engine force it)
//3. Restart the game in PCSX2

2032f850 3f2aaaaa
//Original value: 0.5 (3F000000)
//New value: 0.6666666269 (3F2AAAAA)
//This is a render fix. It increases the game's horizontal 3D rendering area.
//Without it, 3D graphics would be cutoff on the far left/right of the screen when widescreen hacks are used.
//This value is used by the modified MIPS instruction (see above).


PCSX2 widescreen archive (1D2818AF.pnach):
Notes: Both NTSC-U and PAL use this pnach. These hacks use a different way of achieving the same outcome.
Code:
gametitle=Need for Speed - Hot Pursuit 2 (PAL-M6) (SLES-50731)
comment=Widescreen Hack by nemesis2000/pnach by ElHecht
// Added 16:10 support (ElHecht)

// 16:9
patch=1,EE,0032f6fc,word,3f400000 // 3f800000 hor fov
patch=1,EE,0032f850,word,3f2aaaab // 3f000000 increase hor fov
patch=1,EE,0010e840,word,3c013f2b // 3c013f00 renderfix

// 16:10
//patch=1,EE,0032f6fc,word,3f555555 // 3f800000 hor fov
//patch=1,EE,0032f850,word,3f19999a // 3f000000 increase hor fov
//patch=1,EE,0010e840,word,3c013f1a // 3c013f00 renderfix


Long story short, you picked a tricky game and tricky undocumented hacks to start with Tongue.

I'd recommend looking through the PCSX2 widescreen archive and try a few other games. You're bound to come across some simpler ones that'll be easier to get started with. Some pnach files also contain line comments (some more detailed than others) that explain how they work. This thread's OP also links out to many useful resources.

All PS2 games use different ways of setting up their 3D field of views. Some (most?) are easier to create widescreen hacks for than others. Complexity can increase depending on the game, your skill level and ambitions (e.g. font/HUD/FMV adjustments).

Games from the same developers usually use similar game engines. So porting widescreen hacks for a given developer's games to one of their other games is usually fairly straightforward.

Good luck Smile!
Thank you, @Aced14!

So I think I made a proper aspect ratio fix for both 4:3 and 16:9 for NFS Underground (SLUS-20811). I found why the AR is not correct from the beginning. The game is rendered at 512x444 which is narrower than proper 4:3. The problem is that the geometry's AR is proper at exactly 512x444. So they just stretch the original image to 4:3, and this is the result.

Original out-of-the-box        512x444 aspect ratio
4:3 aspect ratio
[attachment=70691]          [attachment=70692]


original 4:3 AR          512x444 AR              proper 4:3                 proper 16:9              @arapapa's fix which was requested by me one year ago

[attachment=70693] [attachment=70694] [attachment=70695] [attachment=70696] [attachment=70703]



Code:
proper 4:3
patch=1,EE,004ff42c,word,3f400000
patch=1,EE,004ff434,word,3f5d0000
patch=1,EE,004ff628,word,3f140000
patch=1,EE,004ff630,word,3f140000
---------------------------------
---------------------------------
proper 16:9
patch=1,EE,004ff42c,word,3f400000
patch=1,EE,004ff434,word,3f260000
patch=1,EE,004ff628,word,3f460000
patch=1,EE,004ff630,word,3f420000

//FMV's fix
patch=1,EE,00229da8,word,3c01bf2a
patch=1,EE,00229dac,word,44816800
patch=1,EE,00229ddc,word,46007307
patch=1,EE,00229de0,word,46006bc7


NFS Underground 2 also suffers from the same problem. I think I found the aspect ratio address 204D1614, but for me it's complicated because the game already has built-in 16:9 mode.

[attachment=70698]  [attachment=70699]
(05-09-2020, 03:52 PM)Fuso90 Wrote: [ -> ]Thank you, @Aced14!

So I think I made a proper aspect ratio fix for both 4:3 and 16:9 for NFS Underground (SLUS-20811). I found why the AR is not correct from the beginning. The game is rendered at 512x444 which is narrower than proper 4:3. The problem is that the geometry's AR is proper at exactly 512x444. So they just stretch the original image to 4:3, and this is the result.

Original out-of-the-box        512x444 aspect ratio
4:3 aspect ratio
         


original 4:3 AR          512x444 AR              proper 4:3               proper 16:9

 



Code:
proper 4:3
patch=1,EE,004ff42c,word,3f400000
patch=1,EE,004ff434,word,3f5d0000
patch=1,EE,004ff628,word,3f140000
patch=1,EE,004ff630,word,3f140000
---------------------------------
---------------------------------
proper 16:9
patch=1,EE,004ff42c,word,3f400000
patch=1,EE,004ff434,word,3f260000
patch=1,EE,004ff628,word,3f460000
patch=1,EE,004ff630,word,3f420000

//FMV's fix
patch=1,EE,00229da8,word,3c01bf2a
patch=1,EE,00229dac,word,44816800
patch=1,EE,00229ddc,word,46007307
patch=1,EE,00229de0,word,46006bc7


NFS Underground 2 also suffers from the same problem. I think I found the aspect ratio address 204D1614, but for me it's complicated because the game already has built-in 16:9 mode.

 


The trick to NFSU2 is that the game stores the aspect ratio and rendering values separately for full-screen (4:3) and widescreen.

Menu:

4:3                               16:9
[attachment=70704]      [attachment=70705]


Gameplay: 

4:3                              4:3 with fixed aspect and icons
[attachment=70707]     [attachment=70706]


16:9                            16:9 with fixed icons      16:9 with fixed aspect and icons
[attachment=70709]     [attachment=70710]     [attachment=70708]

Fun fact: The event marker icons are actually unaffected by the built-in widescreen setting so I made a fix for those.

I adjusted the values for the aspect correction to be mathematically correct (they were off).

Code:
Need for Speed Underground NTSC-U:

//proper 4:3
patch=1,EE,004ff434,word,3F5B81D4
patch=1,EE,004ff628,word,3f154000
patch=1,EE,004ff630,word,3f154000

//proper 16:9
patch=1,EE,004ff434,word,3F24A9CF
patch=1,EE,004ff628,word,3f470000
patch=1,EE,004ff630,word,3f470000

//FMV's fix
patch=1,EE,00229da8,word,3c01bf2a
patch=1,EE,00229dac,word,44816800
patch=1,EE,00229ddc,word,46007307
patch=1,EE,00229de0,word,46006bc7

Code:
Need for Speed Underground 2 NTSC-U:

//Aspect Ratio and Icons Fix:
patch=1,EE,001CCAF4,word,0C0ED18B
patch=1,EE,003B462C,word,3C03004C
patch=1,EE,003B4630,word,E474D848
patch=1,EE,003B4634,word,03E00008
patch=1,EE,003B4638,word,2404001A
patch=1,EE,0056FB44,word,3F5B8D14 // Corrected 4:3 aspect
patch=1,EE,0056FB48,word,3F24A9CF // Corrected 16:9 aspect
patch=1,EE,0056FBF4,word,3F154000 // Corrected 4:3 rendering
patch=1,EE,0056FBF8,word,3F470000 // Corrected 16:9 rendering
Hey there,

I'm new here, but I spent whole last night trying to make TC's Ghost Recon 2 working in widescreen but no avail.

I tried patch made by @arapapa but it is not working. I thought that I have a bug in 1.6.0 version so I downloaded old and new dev builds but nothing helped. I tried literally every solution posted on this forums, none of them worked. In the pnach file, it says that the values are the same as in Ghost Recon 1 but it looks like it is not the same. I even tried patching my iso with PS2 Patch Engine but it does not work.

I tried the second game I have, SF Logan's Shadow and the patch for that works without any issue. I only have one more game, Shadow of Rome with me, I can test it and can post results, but I think that pnach file is wrong probably if Syphon Filter is working out of the box.

Everything is matched, pnach name of the file with the CRC of my image. It recognizes the patch and says 6 widescreen hacks has been loaded but it does not work.

As I said, I tried everything posted on this forum by other users who had problems with the app, but I'm saying it again, SF Logan's Shadow works as it supposed to work.

this is the post from where i snagged WS pnach:

(09-24-2013, 03:06 PM)arapapa Wrote: [ -> ]NTSC-K

Bujingai - The Forsaken City
Chaos Legion
Contra - Shattered Soldier
Monster Hunter G
Smash Court Pro Tourment 2
The Bard's Tale
Tom Clancy's Ghost Recon




NTSC-J

Burnout Dominator
Constantine
Choro Q
Drakengard
Drakengard 2
Fullmetal Alchemist and the Broken Angel
Fullmetal Alchemist 2 - Curse of the Crimson Elixir
Metal Saga
Rogue Galaxy - Director's Cut
Romancing SaGa
Spartan - Total Warrior
Trapt




NTSC-U

Fullmetal Alchemist and the Broken Angel (SLUS_20994, CRC B6558133)
Pro Evolution Soccer 2013
Seven Samurai 20XX
Tom Clancy's Ghost Recon 2

------------------------------------------------------------------------------------
Original Widescreen hack by nemesis2000, ElHecht, Hyakki and someone
Apparently there's a Greatest Hits version of Ghost Recon 2. Which one is your version?
And you are doing the NTSC-U version, right?

If there is a new version, you could try using Elf Search Tool using these values to get the new addresses:

https://www.ps2-home.com/forum/viewtopic.php?t=6182

Quote:single player

initial value
803F023C 00008244 00000000 03031446 00000000 00000000 20A00E0C 00000000 A043023C

changed to
403F023C 00008244 00000000 03031446 00000000 00000000 20A00E0C 00000000 D643023C


multi player

initial value
803F023C 00008244 00000000 03031446 00000000 00000000 20A00E0C 00000000 A043023C

changed to
403F023C 00008244 00000000 03031446 00000000 00000000 20A00E0C 00000000 D643023C


menu

initial value
803F043C 6E3F023C EFEE4334 A043023C

changed to
403F043C 6E3F023C EFEE4334 D643023C
(05-11-2020, 12:36 AM)Devina Wrote: [ -> ]Apparently there's a Greatest Hits version of Ghost Recon 2. Which one is your version?
And you are doing the NTSC-U version, right?

If there is a new version, you could try using Elf Search Tool using these values to get the new addresses:

https://www.ps2-home.com/forum/viewtopic.php?t=6182 

I just tried this but no help. There are no matching codes in the elf file of the game. 

Also, I did some digging, and Greatest Hits is just a reprint of a first edition. Nothing has been altered in the game, not a single file.

EDIT: I tried editing with HeX editor, and can not find those hex codes in the SLUS_211.05 elf file.

EDIT2: Those codes are for Ghost Recon 1, and hex values are findable in HeX editor. But those codes do not exist in Ghost Recon 2 elf file. I tried two copies now, same file, same everything. I am not sure if someone even tested it, because I can not find 16:9 footage on the internet.
Hi all, I'm very new here, but I registered just to request a widescreen patch for Panzer Front Ausf. B [PAL] (SLES-52984). I saw that there wasn't a widescreen patch for it anywhere in Devina's pack, and I didn't find anything with a forum search but a single post in this very thread by a user who mentioned it nearly a year ago, with no other replies.
(05-10-2020, 10:36 AM)PsxFan107 Wrote: [ -> ]I adjusted the values for the aspect correction to be mathematically correct (they were off).

Thank you very much for NFS Underground 2 fix!
Can you fix also NFS HP2? I tried myself, but I don't have a starting point and I don't know how to make them mathematically correct. The problem is that this time 512x444 is also not the correct AR, but neither the original 4:3...

[attachment=70729] [attachment=70730]
Hi! Can I do a request here? I play Colin McRae Rally 2005 (SLES_526.36) on real PS2. The game has built-in widescreen but it looks very weird when in cockpit camera. The sensation is that you're driving a truck with a binoculars (because of car highness, decreased FOV and zoom). This doesn't happen on bump or hood cameras.

I use some "Force turn on native widescreen" codes for ToCA games and they are awesome! I think It's because they increase the horizontal FOV (instead of decreasing vertical FOV). Could someone please do the same kind of codes for Colin McRae Rally 2005?
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803