Hacking Nintendont

sonictopfan

Well-Known Member
Member
Joined
Mar 2, 2010
Messages
2,640
Trophies
1
XP
1,633
Country
Why not add an option to turn off printed text? For those that use loaders, this means you 'jump' directly to the game without seeing the Nintendont loader; even though it's still there. It would be no different than loading a game via cios, mios, etc. To revert, simply delete the config. I always do this manually, however this also makes usblgx give a warning which I had to remove but works perfectly nevertheless.
I remember suggesting this a while ago, still interested in it being "an option" in Nintendont.
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,746
Trophies
4
Age
45
Location
Engine room, learning
XP
15,563
Country
France
I'm trying to fix the issue with PAL games starting with black screen when launched from a loader.
r150 changed the way the patches are applied:
instead of replacing the full GX mode, it patches only the VI but some modes don't work like that and other data need to be edited (is there a reason it's patching only VI instead of the full data?)
There's no Force/Auto PAL528int
All PAL mode are set to NTSC
There's no more AUTO condition and Force/Auto/None are patched the same way. (we should added AUTO back based on the game's region, and NONE shouldn't affect the video mode at all to allow loaders to set the video mode for example with different width for crop overflow fix)

If I manage to fix it, I'll make a patch.

Edit:
I think I fixed it (at least the issue I had with launching from USBGX).
It missed the Region detection (in loader's main.c) when set to Auto, and always fell back to NTSC.

I still have tests to do before making a patch.


edit:
It seems forcing progressive is still booting to black screen with MKDD.
you have to select 60hz at selection screen to see the picture.
when using auto, it boots at 576i so you see the picture but selecting 60hz turns to 480i.
I can't seem to force the game to display the selection screen in progressive.
 

OriginalHamster

UStealthy
Member
Joined
Nov 2, 2008
Messages
3,380
Trophies
0
Age
43
XP
1,336
Country
Cote d'Ivoire
Why not add an option to turn off printed text? For those that use loaders, this means you 'jump' directly to the game without seeing the Nintendont loader; even though it's still there. It would be no different than loading a game via cios, mios, etc. To revert, simply delete the config. I always do this manually, however this also makes usblgx give a warning which I had to remove but works perfectly nevertheless.

I second this

Another thing Fix, how likely is add UStealth in every new revision from now on?
 

NicoCP

Well-Known Member
Newcomer
Joined
Aug 7, 2013
Messages
49
Trophies
0
Age
31
XP
74
Country
Argentina
Why not add an option to turn off printed text? For those that use loaders, this means you 'jump' directly to the game without seeing the Nintendont loader; even though it's still there. It would be no different than loading a game via cios, mios, etc. To revert, simply delete the config. I always do this manually, however this also makes usblgx give a warning which I had to remove but works perfectly nevertheless.


Yes! I was saying the same, and maybe replace them with an image (so it won't be a black screen for a couple of seconds).
 

manic.blood1993

New Member
Newbie
Joined
Nov 10, 2014
Messages
2
Trophies
0
Age
30
XP
67
Country
Bluetooth Controllers are working great in multiplayer btw.
Some games notably the Harry Potter series need to:
Run game then on 1st Screen do Soft Reset R+Z+START
Thanks for the heads up on this it is a very complete project
using v2.198 at the moment:)
 
  • Like
Reactions: Adeka

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,746
Trophies
4
Age
45
Location
Engine room, learning
XP
15,563
Country
France
can someone check if this patch is good?
I don't know all the GameID region code.

maybe just set JP/US and set everything else in default would be better?


Code:
Index: loader/source/main.c
===================================================================
--- loader/source/main.c	(revision 212)
+++ loader/source/main.c	(working copy)
@@ -580,7 +580,31 @@
 			} break;
 		}
 	}
+	else
+	{
+		switch (ncfg->GameID & 0x000000FF)
+		{
+			// EUR
+			case 'D':
+			case 'F':
+			case 'G':
+			case 'P':
+			case 'S':
+			case 'U':
+			case 'X':
+			case 'Y':
+				Region = 2;
+				break;
+			// JP / US
+			case 'J':
+			case 'E':
+			default:
+				Region = 0;
+				break;
+		}
+	}
 	
+	
 	gprintf("Region:%u\r\n", Region );
 	progressive = ncfg->Config & NIN_CFG_FORCE_PROG;
 	switch(Region)
 
  • Like
Reactions: VinsCool

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
11,553
Trophies
2
XP
21,713
Country
Mexico
can someone check if this patch is good?
I don't know all the GameID region code.

maybe just set JP/US and set everything else in default would be better?


Code:
Index: loader/source/main.c
===================================================================
--- loader/source/main.c (revision 212)
+++ loader/source/main.c (working copy)
@@ -580,7 +580,31 @@
} break;
}
}
+ else
+ {
+ switch (ncfg->GameID & 0x000000FF)
+ {
+ // EUR
+ case 'D':
+ case 'F':
+ case 'G':
+ case 'P':
+ case 'S':
+ case 'U':
+ case 'X':
+ case 'Y':
+ Region = 2;
+ break;
+ // JP / US
+ case 'J':
+ case 'E':
+ default:
+ Region = 0;
+ break;
+ }
+ }
 
+
gprintf("Region:%u\r\n", Region );
progressive = ncfg->Config & NIN_CFG_FORCE_PROG;
switch(Region)
Uh?
You mean the GameID region codes ?
They usually just vary in one letter.

J- Japanese games.
E- PAL games.
U- NTSC games.

Example:
GLEJ08 - BioHazard 3: Last Escape

GLEP08 - Resident Evil 3: Nemesis

GLEE08 - Resident Evil 3: Nemesis

Don't know if you are referring to this or not :P
 

VinsCool

Persona Secretiva Felineus
Global Moderator
Joined
Jan 7, 2014
Messages
14,527
Trophies
3
Location
Another World
Website
www.gbatemp.net
XP
24,185
Country
Canada
Uh?
You mean the GameID region codes ?
They usually just vary in one letter.

J- Japanese games.
E- PAL games.
U- NTSC games.

Example:
GLEJ08 - BioHazard 3: Last Escape

GLEP08 - Resident Evil 3: Nemesis

GLEE08 - Resident Evil 3: Nemesis

Don't know if you are referring to this or not :P

Sorry, I don't want to contradict you, but Cyan is right.
 

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
11,553
Trophies
2
XP
21,713
Country
Mexico
Sorry, I don't want to contradict you, but Cyan is right.
What?
I didn't get that at all. XD
I think I am confused.

What was Cyan asking for exactly?

EDIT: Oh I just saw that.
Yeah I am not taking into consideration those ones.
I mainly went for the 3 major region codes.
Sorry :P
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,746
Trophies
4
Age
45
Location
Engine room, learning
XP
15,563
Country
France
I asked it if was better to do it like this :

Code:
case 'J':
case 'E':
	Region = 0;
	break;
default:
	Region = 2;
But as I don't know all region code, doing it like this is maybe not a good idea.
and I prefer other devs to check if it's the correct way to do it, as I'm not working on it regularly they could know a better way to fix the region detection.

I couldn't find a way to fix MKDD PAL booting in 480p without black screen though. Might be something do change in the kernel/Patch.c
 

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
11,553
Trophies
2
XP
21,713
Country
Mexico
I asked it if was better to do it like this :

Code:
case 'J':
case 'E':
Region = 0;
break;
default:
Region = 2;
But as I don't know all region code, doing it like this is maybe not a good idea.

and I prefer other devs to check if it's the correct way to do it, as I'm not working on it regularly they could know a better way to fix the region detection.
Mmmm well I think that one might be good, since almost all the other region codes fall into the PAL category (German, France, Spain, etc).
So by just setting the Japanese and American ones might be good, at least for me.

Some exceptions might be Korean or Australian releases, but I doubt there are any games at all exclusive for those regions in NGC.
 

Howard

Well-Known Member
Member
Joined
May 1, 2012
Messages
442
Trophies
0
XP
431
Country
United States
can someone check if this patch is good?
I don't know all the GameID region code.

maybe just set JP/US and set everything else in default would be better?


Code:
Index: loader/source/main.c
===================================================================
--- loader/source/main.c (revision 212)
+++ loader/source/main.c (working copy)
@@ -580,7 +580,31 @@
} break;
}
}
+ else
+ {
+ switch (ncfg->GameID & 0x000000FF)
+ {
+ // EUR
+ case 'D':
+ case 'F':
+ case 'G':
+ case 'P':
+ case 'S':
+ case 'U':
+ case 'X':
+ case 'Y':
+ Region = 2;
+ break;
+ // JP / US
+ case 'J':
+ case 'E':
+ default:
+ Region = 0;
+ break;
+ }
+ }
 
+
gprintf("Region:%u\r\n", Region );
progressive = ncfg->Config & NIN_CFG_FORCE_PROG;
switch(Region)
Add H M and Z to pal (based on gametdb which I know is wrong on several wii games)
Assuming it fixes Auto and none
Even if a couple need adjusting later it will be an improvement over what exists now.
 
  • Like
Reactions: Cyan

GerbilSoft

Well-Known Member
Member
Joined
Mar 8, 2012
Messages
2,392
Trophies
2
Age
33
XP
4,177
Country
United States
There's also 'S', which is used in the title ID "RELSAB" (found on some pre-release games and Wii update partitions).

The only two pre-releases I know of that have this title ID are Metroid Prime 3 (won't run on Wii at all; not enough memory) and Sonic Adventure DX (NTSC).
 

pokeparadox

Well-Known Member
Member
Joined
Dec 31, 2008
Messages
230
Trophies
0
XP
772
Country
Mmmm well I think that one might be good, since almost all the other region codes fall into the PAL category (German, France, Spain, etc).
So by just setting the Japanese and American ones might be good, at least for me.

Some exceptions might be Korean or Australian releases, but I doubt there are any games at all exclusive for those regions in NGC.
Oz release are also PAL (I think)?
 

sabykos

Well-Known Member
OP
Member
Joined
Jun 10, 2013
Messages
283
Trophies
0
Age
35
XP
729
Country
Gambia, The
there are a lot more region code :
F for France
G for German
D for Deutch
X for region free
etc.
X, Y and Z are often used for different PAL releases, which have more than one language. For example Harry Potter Philosophers Stone: here they paired two languages together for one release

P -> Dutch, English
X -> English, Swedish
Y -> French, German
Z -> Italian, Spanish

EDIT: And normaly D is for Germany ;)
 

sonictopfan

Well-Known Member
Member
Joined
Mar 2, 2010
Messages
2,640
Trophies
1
XP
1,633
Country
There's also 'S', which is used in the title ID "RELSAB" (found on some pre-release games and Wii update partitions).

The only two pre-releases I know of that have this title ID are Metroid Prime 3 (won't run on Wii at all; not enough memory) and Sonic Adventure DX (NTSC).
I have the Sonic Adventure DX one and yeah it stopped working in Nintendont a few revisions back, it used to work fine up until "r16?" ones.
 

gig71

Well-Known Member
Member
Joined
Aug 17, 2013
Messages
167
Trophies
0
Age
51
XP
133
Country
Italy
Great !
With the rev 213 now even crash t w o c and sphinx ( both pal on pal wii with hdtv cable) works great with video set to auto !
Before i had to force it to pal 50 and ntsc respectively !

thanx
 
  • Like
Reactions: LinkFan16
General chit-chat
Help Users
    AncientBoi @ AncientBoi: Speaking of which, news just said zelda got a 96% rating