Sono releases TWL patcher with DS(i) Widescreen support

IMG_20190726_205522_525_resized.jpg

Shortly after @Sono released TWPatch, work started on a few other possible modifications for the 3DS's TWL_FIRM, aka the DS/DSi mode firmware. One of those in particular caught several people's attention: the widescreen patch, which allows you to play DS games in 16:10 resolution instead of the usual 4:3. Support for it was added in @Robz8's TWiLight Menu ++ since version 9.0.0, however, it couldn't be enabled properly as the new patcher wasn't out at the time. This all changed not too long ago though, as @Sono shared a preliminary TWL patcher with widescreen support for everyone to enjoy!

Unlike the first, this one comes as a standard Windows command-line application and its usage can be a little tricky for inexperienced users: you will first have to extract TWL_FIRM's exefs.bin using GodMode9, then run the program with your desired arguments and copy the output CXI to the correct location on your microSD card. Luckily, detailed step-by-step tutorials have already been posted, so don't panic! The patcher's usage and functions can be found its original post, while a guide specific to TWiLight Menu ++ has been added to its official GBAtemp thread (both linked in the sources).

Staying on topic, TWiLight Menu ++ has also just received an update, adding widescreen support for many more games! There are over 200 titles supported to date and the full list can be read below:
TWiLight Menu ++ v9.0.3 widescreen support list said:
Total: 201

007 - Blood Stone (USA/Europe/France/Germany)
Asphalt - Urban GT (USA)
Asphalt - Urban GT (Europe)
Asphalt - Urban GT 2 (USA/Europe)
Assassin's Creed - Altair's Chronicles (USA/Europe)
Assassin's Creed II - Discovery (USA)
Assassin's Creed II - Discovery (Europe)
ATV Wild Ride (USA)
Ben 10 - Ultimate Alien - Cosmic Destruction (USA)
Ben 10 - Ultimate Alien - Cosmic Destruction (Europe)
Bratz Fashion Boutique (USA)
Brothers in Arms DS (USA)
Brothers in Arms DS (Europe)
C.O.P. - The Recruit (USA/Europe)
Call of Duty 4 - Modern Warfare (USA/Europe/France/Germany/Italy/Spain)
Call of Duty - World at War (USA/Europe)
Call of Duty - Modern Warfare - Mobilized (USA/Europe)
Call of Duty - Black Ops (USA/France/Germany)
Call of Duty - Black Ops (Europe)
Call of Duty - Black Ops (Europe {Es,It})
Call of Duty - Modern Warfare 3 (USA/Europe)
Call of Duty - Modern Warfare 3 (France/Germany)
Cartoon Network Racing DS (USA)
Cartoon Network Racing DS (Europe)
Chibi-Robo - Park Patrol (USA)
Cookie & Cream (USA)
Cookie & Cream (Europe)
Crash of the Titans (USA)
Crash of the Titans (Europe)
Daniel X - The Ultimate Power (USA)
de Blob 2 (USA)
de Blob 2 (Europe)
Dementium - The Ward (USA)
Dementium - The Ward (Europe)
Dementium II (USA/Europe)
Dragon Ball Kai - Ultimate Butou Den (Japan)
Dragon Quest Monsters - Joker (USA)
Dragon Quest Monsters - Joker (Europe)
Dragon Quest Monsters - Joker 2 (USA/Europe)
Drone Tactics (USA)
Eragon (USA)
Eragon (Europe)
FabStyle (Japan)
Final Fantasy - The 4 Heroes of Light (USA)
Final Fantasy - The 4 Heroes of Light (Europe)
Final Fantasy Crystal Chronicles - Ring of Fates (USA/Europe)
Final Fantasy Crystal Chronicles - Echoes of Time (USA/Europe)
Final Fantasy IV (USA)
Final Fantasy IV (Europe)
G.I. Joe - The Rise of Cobra (USA/Europe)
GoldenEye - 007 (USA/Europe/France/Germany/Italy)
Grand Theft Auto - Chinatown Wars (USA/Europe)
Grand Theft Auto - Chinatown Wars (Japan)
High School Musical - Makin' the Cut! (USA)
High School Musical - Makin' the Cut! (Europe)
High School Musical 3 - Senior Year (USA)
High School Musical 3 - Senior Year (Europe)
How to Train Your Dragon (USA/Europe {En,Fr}/Europe {Es,It})
The Idolmaster - Dearly Stars (Japan)
Iron Man 2 (USA)
Iron Man 2 - The Video Game (Europe)
Jeopardy! (USA)
Jet Impulse (Japan)
Johnny Test (USA)
Juiced 2 - Hot Import Nights (USA/Europe)
Kingdom Hearts - 358-2 Days (USA)
Kingdom Hearts - 358-2 Days (Europe)
Kingdom Hearts - Re-coded (USA)
Kingdom Hearts - Re-coded (Europe)
Lara Croft Tomb Raider - Legend (USA/Europe)
Madagascar - Escape 2 Africa (USA)
Madden NFL 2005 (USA)
Mario Hoops 3 on 3 (USA)
Mario Slam Basketball (Europe)
Mario Kart DS (USA/Europe)
Mario Kart DS (Kiosk Demo) (USA)
Marvel - Ultimate Alliance 2 (USA)
Marvel Super Hero Squad (USA)
MechAssault - Phantom War (USA)
Mega Man Star Force - Dragon/Leo/Pegasus (USA)
Mega Man Star Force - Dragon/Leo/Pegasus (Europe)
Mega Man Star Force 2 - Zerker x Ninja/Saurian (USA)
Mega Man Star Force 2 - Zerker x Ninja/Saurian (Europe)
Mini Ninjas (USA)
Mini Ninjas (Europe)
Moon (USA)
Moon (Europe)
Need for Speed - Underground 2 (USA)
Need for Speed - Underground 2 (Europe)
Need for Speed - ProStreet (USA)
Need for Speed - ProStreet (Europe)
Nicktoons Unite! (USA)
Okamiden (USA)
Open Season (USA)
Orcs & Elves (USA)
Pac-Man World 3 (USA)
The Penguins of Madagascar (USA)
The Penguins of Madagascar - Dr. Blowhole Returns Again! (USA)
Phantasy Star 0 (USA/Europe)
Pokémon - Diamond/Pearl Version (USA/Europe)
Pokémon - Platinum Version (USA/Europe)
Pokémon - HeartGold/SoulSilver Version (USA/Europe)
Pokémon - Black Version (USA/Europe)
Pokémon - White Version (USA/Europe)
Pokémon - Black Version 2 (USA/Europe)
Pokémon - White Version 2 (USA/Europe)
Rayman DS (USA)
Rayman DS (Europe)
Ridge Racer DS (USA)
SBK - Snowboard Kids (USA)
SBK - Snowboard Kids (Europe)
Sega Superstars Tennis (USA)
Sega Superstars Tennis (Europe)
Sideswiped (USA)
Sonic & Sega All-Stars Racing (USA/Europe)
Speed Racer - The Videogame (USA)
Speed Racer - The Videogame (Europe)
Spider-Man - Web of Shadows (USA/Europe {En,Fr,De}/Europe {Es,It})
Spider-Man - Shattered Dimensions (USA/Europe)
Star Fox Command (USA)
Star Fox Command (Europe)
Star Trek - Tactical Assault (USA)
Star Trek - Tactical Assault (Europe)
Star Wars - Battlefront - Elite Squadron (USA)
Star Wars - Battlefront - Elite Squadron (Europe {En,Fr}/Europe {Es,It})
Star Wars - Battlefront - Elite Squadron (Germany)
Super Mario 64 DS (USA) (Rev 0)
Super Mario 64 DS (USA) (Rev 1)
Super Mario 64 DS (Europe)
Super Mario 64 DS (Japan) (Rev 0)
Super Mario 64 DS (Japan) (Rev 1)
Super Mario 64 DS (Korea)
Shenyou Maliou DS (China)
Super Monkey Ball - Touch and Roll (USA)
Super Monkey Ball - Touch and Roll (Europe)
Tales of Innocence (Japan)
Tenchu - Dark Secret (USA)
Tenchu - Dark Secret (Europe {En,Es,It}/Europe {En,Fr,De})
Tomb Raider - Underworld (USA)
Tomb Raider - Underworld (Europe {En,Es,It})
Tomb Raider - Underworld (Europe {En,Fr,De,Nl})
TrackMania Turbo (USA)
TrackMania Turbo (Europe)
Unknown Soldier - Mokuba no Houkou (Japan)
Wheel of Fortune (USA)
The Wizard of Oz - Beyond the Yellow Brick Road (USA)
X-Men Origins - Wolverine (USA)
X-Men Origins - Wolverine (Europe)
Zombie Shiki - Eigo Ryoku Sosei Jutsu - English of the Dead (Japan)

NOTES:
* If some regions are combined in one line, that means the ROMs use the same cheat as one region.
* Only clean unhacked ROMs work with widescreen.

Codes by fintogive, RadDude McCoolguy, KazoWAR, RocketRobz, and Vague Rant

If you want to try this yourself, be sure to read all the documentation before attempting any part of the procedure. You will need to enable some game-specific cheat codes to play in proper widescreen if you don't want to use TWiLight Menu ++ (the latter has them built-in already and will automatically toggle them as needed). If you're having issues with TWiLight Menu ++ double-check that both the app and nds-bootstrap are up-to-date, that you followed the tutorial in the thread correctly and whether you're using a good unmodified dump of a compatible game (if the screen still appears stretched, try creating a blank wideCheatData.bin in <sdcard>:\_nds\nds-bootstrap).

:arrow: Source 1 (Sono's TWL Patcher)
:arrow: Source 2 (TWiLight Menu ++)
 
Last edited by RattletraPM,

Foxi4

Endless Trash
Global Moderator
Joined
Sep 13, 2009
Messages
28,451
Trophies
2
Location
Gaming Grotto
XP
25,916
Country
Poland
I'm not Sono, but I've done a few of the widescreen cheats for the games on that list. Unfortunately, 2D games are somewhere between extremely difficult and impossible to hack to add widescreen support. They're generally designed around displaying a specific number of tiles, so the "extra" tiles for widescreen just aren't sitting in memory waiting to be displayed. For 3D games it's a different matter, because the 3D world still exists in memory even in the parts that you can't see, so we can adjust the camera to show more of the game. For 2D games, you'll basically just have to keep playing in 4:3.
That's not necessarily correct depending on the engine. By default things that are considered to be off-screen or not visible by the camera are clipped in order to reduce the load, you don't have to bother rendering faces of objects that the user can't see anyway. If they are within the camera's view, they will be rendered correctly, but it's entirely a matter of the implementation of the camera AFAIK. As for tiles, they necessarily have to be stretched because the DS's tile system is hardware-based and very rigid. The tiles and the map are in memory, the tileset and tile map have to be loaded in order for the DS to display anything at all (unless the background is streamed, I suppose), but the DS itself doesn't have enough "room" between the main memory and the screen that it could send them to - the layers are very specific in terms of height and width.
 

Vague Rant

Deceptively cute
Member
Joined
Aug 7, 2008
Messages
2,353
Trophies
0
Location
Melbourne
Website
vaguerant.tumblr.com
XP
2,101
Country
@Foxi4 Yeah, I was speaking in general terms, obviously 3D games cull objects outside of the area that's expected to be on-screen, but 4:3-->16:10 is only a 20% jump, so we don't encounter much of an issue there. For our purposes, culling isn't a major concern.
 

Foxi4

Endless Trash
Global Moderator
Joined
Sep 13, 2009
Messages
28,451
Trophies
2
Location
Gaming Grotto
XP
25,916
Country
Poland
@Foxi4 Yeah, I was speaking in general terms, obviously 3D games cull objects outside of the area that's expected to be on-screen, but 4:3-->16:10 is only a 20% jump, so we don't encounter much of an issue there. For our purposes, culling isn't a major concern.
Oh, I was merely posting an addendum to what you've said, I don't think anyone would be particularly bothered by very minor glitching at the edges of the screen in select few games if what you get in return is proper widescreen support. :)
 
  • Like
Reactions: Vague Rant

Alex4nder001

Part-time thug
Member
Joined
Jul 28, 2017
Messages
449
Trophies
0
Location
London
XP
1,474
Country
United Kingdom
That’s fucking amazing, I’ll definitely try it today! Although I must ask, would this work if I played games from a flashcart? In particular I have an r4i gold 3DS RTS. Shows up as qmaterial on 3DS home screen.

I wonder what comes next... maybe DS(i) games at native resolution (or even better, DSi enhanced ROMs). I seriously hope that happens soon, the 3DS hacking scene amazes me even today.
 
Last edited by Alex4nder001,

Vague Rant

Deceptively cute
Member
Joined
Aug 7, 2008
Messages
2,353
Trophies
0
Location
Melbourne
Website
vaguerant.tumblr.com
XP
2,101
Country
@Alex4nder001 Replacing TwlBg with a widescreen patched one will affect how everything that runs in DS mode looks--retail cards, flash cards, DSiWare, DSi homebrew, etc. So it will stretch your DS mode stuff out to 384*240, but if you want to actually run games in widescreen (rather than stretched 4:3), you'll have to put in a bit more work. Using an app like R4CCE (R4 Cheat Code Editor) you'll need to add the widescreen cheats from the link in the first post to your usrcheat.dat file on the R4, then enable them in the flash card's menu.
 
D

Deleted-481927

Guest
Go Sono! :D
Also I haven't been keeping up with the 3DS scene for quite some time now. Is it now possible to play DS games installed to the menu and run at full speed, not using a flashcart? If so I might want to try this out on that. :)
YUP

most games at least
 
  • Like
Reactions: Jiehfeng

YuseiFD

Well-Known Member
Member
Joined
Jul 6, 2016
Messages
263
Trophies
0
Age
31
XP
1,327
Country
Yeah this feature doesn't work at all, pokémon platinum is still stretched, even with cheat code on, and stock backup from my cartridge, upfated to latest version even, well it was a great idea anyways, keep up the good work buddy
 

AvocadoToast

Active Member
Newcomer
Joined
Jun 11, 2020
Messages
27
Trophies
0
Age
17
XP
59
Country
United States
Hi so recently I was setting up widescreen, and the setup guide on github is different now with the gui, and basically twilight menu and all my ds games are gltiched and I dont know how to fix them. Please help. Now TWL .cxi file appeared in the folders either. Im using the new super mario black n3ds.
 
General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: lol