Hacking How to use softreset in R4+YSMenu

niu

Well-Known Member
OP
Member
Joined
Dec 23, 2008
Messages
305
Trophies
0
Website
blog.sina.com.tw
XP
122
Country
United States
google translation
QUOTE said:
[R4 + YSMenu soft reset]
R4 + YSMenu content that is not a soft reset of seeing,
- You can do! You seen what it is.
May be a way for anyone to know,
I tried to do my best.

? R4BOOT.DAT prepared
· YSMenu If you are using as a _DS_MENU.DAT
Applying a YSMenu.nds the R4's DLDI, R4BOOT.DAT placed at the root of an SD card
, The official _DS_MENU (1.18) If you start from YSMenu.nds
Are included in the distribution's Ark Report114.rar REBOOT.NDS placed at the root of your SD card as R4BOOT.DAT

? / TTMenu / ttreset.dat patch
After exposure to the · R4's DLDI, some corrections
0000511C: 70 FE FF EB 17 FF FF EB ? 00 00 A0 E1 00 00 A0 E1
0000D1A0: 54 54 4D 45 4E 55 ? 52 34 42 4F 4F 54

L + R + A + B + X + Y in / TTMenu / ttreset.dat starts, / R4BOOT.DAT start.
DSTT freeze because it is happening at reset, R4 is likely to be frozen as well.

http://ndslaboratory.bbs.fc2.com/?act=reply&tid=12416055
QUOTE? R4+YSMenu???????? ?
R4+YSMenu????????????????????????????
~??????!?????????????
???????????????????????
?????????????

?R4BOOT.DAT???
?YSMenu?_DS_MENU.DAT???????????
?YSMenu.nds?R4?DLDI?????R4BOOT.DAT???SD??????????
????_DS_MENU(1.18)??YSMenu.nds?????????
?????????????Report114.rar?????REBOOT.NDS?R4BOOT.DAT???SD??????????

?/TTMenu/ttreset.dat????
?R4?DLDI??????????
0000511C: 70 FE FF EB 17 FF FF EB ? 00 00 A0 E1 00 00 A0 E1
0000D1A0: 54 54 4D 45 4E 55 ? 52 34 42 4F 4F 54

L+R+A+B+X+Y?/TTMenu/ttreset.dat?????/R4BOOT.DAT???????
DSTT??????????????????????R4????????????????????

Download ttreset.dat for R4+YSMenu
 

twiztidsinz

Taiju Yamada Fan
Member
Joined
Dec 23, 2008
Messages
4,979
Trophies
0
Website
Visit site
XP
220
Country
United States
Since I understand how to get it working now, I'll update my post here with more clear instructions on how to get it working.

1). Take the ttreset.dat that is included in the link and place it in your TTMenu folder.
2). Take the YSMenu.nds (Not an R4 Encrypted .DAT file!) -or- moonshl2_DirectBoot.nds and DLDI patch it for R4.
3). Rename YSMenu.nds -or- moonshl2_DirectBoot.nds to R4BOOT.DAT and place it on the root of your card.
4). Soft Reset with A+B+X+Y+L+R
1). DLDI patch ttreset.dat with the R4's DLDI
2). Open the DLDI patched ttreset.dat in a hex editor and find/replace the following:
  • 0000511C: 70 FE FF EB 17 FF FF EB ? 00 00 A0 E1 00 00 A0 E1 (( pþÿë.ÿÿë ? .. á.. á))
  • 0000D1A0: 54 54 4D 45 4E 55 ? 52 34 42 4F 4F 54 (( TTMENU ? R4BOOT ))
3). Copy the ttreset.dat to your TTMenu folder, overwriting the old one.
4). DLDI patch the NDS ROM of your choice, the Autoloading/Autobooting one if available.
5). Rename it to R4BOOT.DAT, or whatever you used for the second hex edit.
6). Copy the R4BOOT.DAT, or whatever you used, to the root of your card.

DLDI Patching: http://chishm.drunkencoders.com/DLDI/
Grab the R4(DS) - Revolution for DS DLDI and Win32 GUI patcher.
Place the R4tf.dldi into the DLDI patcher folder, run dlditool32.exe then drag/drop the YSMenu.nds file into the window and press Patch.



If you're still having trouble, I've uplaoded it here: http://www.mediafire.com/?nm4jj4gztj0
They're all ready to go for both Moonshell2.09 and YSMenu. Just drag/drop the files to their folders and overwrite if needed.
 
  • Like
Reactions: DSoryu

BuckMcCoy

Member
Newcomer
Joined
Feb 2, 2008
Messages
12
Trophies
0
XP
94
Country
Canada
Wow! I can't believe it actually worked! Thanks a lot! All you have to do is go to Yasu's page and dl the most recent YSMenu file, patch YSMenu.nds with r4's dldi. Then just rename it to R4BOOT.dat and stick it on the cards root. After that do the hex edits mentioned above on ttreset.dat (or just download the one given in the link above) and voila! It works! Also, you should add the line:
; Default Reset Setting
DEFAULT_RESET=true
to YSMenu.ini if you don't already have it. Thanks again!
 

twiztidsinz

Taiju Yamada Fan
Member
Joined
Dec 23, 2008
Messages
4,979
Trophies
0
Website
Visit site
XP
220
Country
United States
Yeah it works... but too bad you can't use it with Moonshell2.

It seems the R4BOOT.DAT -must- be YSMenu, so if you use the soft reset with Moonshell2 it boots right back into the game from YSMenu's autoboot.
Also, you can't alter the "R4BOOT.DAT" to "_DS_MENU.DAT" which would make it a cleaner setup.
 

flamingo24

Well-Known Member
Member
Joined
Mar 28, 2010
Messages
286
Trophies
1
XP
169
Country
The R4BOOT.DAT is just ysmenu as a file, so renaming to _DS_MENU.DAT won't work but you can open the ttreset.dat with a hex editor and search for the text string R4BOOT.DAT - rename it to something else along with renaming the R4BOOT.DAT. If you don't like the naming. btw renaming the R4BOOT.DAT to R4TF.NDS should allow the user to soft reset moonshell (w/o autobooting) back to ysmenu. If you mean moonshell w/ysloader than, no it won't work.

Edit: Since ysmenu only autoboots nds files, I've found that using a DAT and soft reseting games w/ysloader does work.
 

Exbaddude

The Prince.
Member
Joined
Jul 3, 2008
Messages
1,042
Trophies
0
Age
27
Location
Canada
Website
Visit site
XP
469
Country
Canada
So ... how do you do it?

Sorry, I don't really get it.
unsure.gif
 

flamingo24

Well-Known Member
Member
Joined
Mar 28, 2010
Messages
286
Trophies
1
XP
169
Country
Exbaddude said:
So ... how do you do it?

Sorry, I don't really get it.
unsure.gif

Download the ttreset.dat above, place it in the TTMENU folder. Using r4ysauto make ysmenu as a file and rename it to R4BOOT.DAT.
 

twiztidsinz

Taiju Yamada Fan
Member
Joined
Dec 23, 2008
Messages
4,979
Trophies
0
Website
Visit site
XP
220
Country
United States
flamingo24 said:
The R4BOOT.DAT is just ysmenu as a file, so renaming to _DS_MENU.DAT won't workActually, you can use YSMenu.nds as _DS_MENU.DAT so that YSMenu is a firmware replacement for the R4s.
That's how I had used it in the past.

flamingo24 said:
but you can open the ttreset.dat with a hex editor and search for the text string R4BOOT.DAT - rename it to something else along with renaming the R4BOOT.DAT. If you don't like the naming.Nope. You'll run into problems because the file is no longer valid length.
When you add or remove bytes from a file like that, it causes issues.
For example you could change the "R4BOOT.DAT" to "R4MENU.DAT" or "YSMENU.DAT" or something else along those lines because they all are 10 bytes.
But you cannot use _DS_MENU.DAT (12) or R4DS.DAT (8) or R4TF.DAT (8) without causing issues or changing whatever is needed for the file length (which is beyond me).

flamingo24 said:
btw renaming the R4BOOT.DAT to R4TF.NDS should allow the user to soft reset moonshell (w/o autobooting) back to ysmenu. If you mean moonshell w/ysloader than, no it won't work.
Exactly as you said... Not if you're using Moonshell as firmware with YSLoader to boot ROMs since it edits the YSMenu.ini's "autoboot=" line.


QUOTE(Exbaddude @ Apr 3 2010, 11:29 PM)
So ... how do you do it?

Sorry, I don't really get it.
unsure.gif
It's rather simple, but poorly explained/translated.

Take the ttreset.dat that is included in the link and place it in your TTMenu folder.
Take the YSMenu.nds (Not an R4 Encrypted .DAT file!) and DLDI patch it.
Rename YSMenu.nds to R4BOOT.DAT and place it on the root of your card.
Soft Reset with A+B+X+Y+L+R

DLDI Patching: http://chishm.drunkencoders.com/DLDI/
Grab the R4(DS) - Revolution for DS DLDI and Win32 GUI patcher.
Place the R4tf.dldi into the DLDI patcher folder, run dlditool32.exe then drag/drop the YSMenu.nds file into the window and press Patch.
 

flamingo24

Well-Known Member
Member
Joined
Mar 28, 2010
Messages
286
Trophies
1
XP
169
Country
twiztidsinz said:
Actually, you can use YSMenu.nds as _DS_MENU.DAT so that YSMenu is a firmware replacement for the R4s.
That's how I had used it in the past.

Um, yes. However if you create ysmenu as a NDS file it will not work. You need to make it as a firmware replacement.

QUOTENope. You'll run into problems because the file is no longer valid length.
When you add or remove bytes from a file like that, it causes issues.
For example you could change the "R4BOOT.DAT" to "R4MENU.DAT" or "YSMENU.DAT" or something else along those lines because they all are 10 bytes.
But you cannot use _DS_MENU.DAT (12) or R4DS.DAT (8) or R4TF.DAT (8) without causing issues or changing whatever is needed for the file length (which is beyond me).

That is true, I forgot to mention to maintain character length, such as R4BOOT.DAT to TTMENU.DAT would work.
 

twiztidsinz

Taiju Yamada Fan
Member
Joined
Dec 23, 2008
Messages
4,979
Trophies
0
Website
Visit site
XP
220
Country
United States
flamingo24 said:
twiztidsinz said:
Actually, you can use YSMenu.nds as _DS_MENU.DAT so that YSMenu is a firmware replacement for the R4s.
That's how I had used it in the past.

Um, yes. However if you create ysmenu as a NDS file it will not work. You need to make it as a firmware replacement.
All you'd have to do is take YSMenu's NDS file and encrypt it using R4denc: http://filetrip.net/f977-r4denc.html



Anyway.... I'VE GOT SOFTRESET WORKING FOR MOONSHELL (2.09)!!

1). Use the ttreset from above, place it in your TTMenu folder
2). Take moonshl2_DirectBoot.nds and DLDI patch it.
3). Rename it to R4BOOT.DAT and place it on the root.


Here is an ALREADY SET UP version: http://www.mediafire.com/?nm4jj4gztj0
 

flamingo24

Well-Known Member
Member
Joined
Mar 28, 2010
Messages
286
Trophies
1
XP
169
Country
twiztidsinz said:
All you'd have to do is take YSMenu's NDS file and encrypt it using R4denc

I know I've used that program for setting up ysloader and moonshell awhile back. As for this soft reset fix and regular ysmenu I just use r4ysauto.



QUOTEAnyway.... I'VE GOT SOFTRESET WORKING FOR MOONSHELL!!

1). Use the ttreset from above, place it in your TTMenu folder
2). Take moonshl2_DirectBoot.nds and DLDI patch it.
3). Rename it to R4BOOT.DAT and place it on the root.

I've uplaoded it here

I already suggested this on my previous post. I guess I should have gone into more detail.
 

Exbaddude

The Prince.
Member
Joined
Jul 3, 2008
Messages
1,042
Trophies
0
Age
27
Location
Canada
Website
Visit site
XP
469
Country
Canada
twiztidsinz said:
flamingo24 said:
twiztidsinz said:
Actually, you can use YSMenu.nds as _DS_MENU.DAT so that YSMenu is a firmware replacement for the R4s.
That's how I had used it in the past.

Um, yes. However if you create ysmenu as a NDS file it will not work. You need to make it as a firmware replacement.
All you'd have to do is take YSMenu's NDS file and encrypt it using R4denc: http://filetrip.net/f977-r4denc.html



Anyway.... I'VE GOT SOFTRESET WORKING FOR MOONSHELL!!

1). Use the ttreset from above, place it in your TTMenu folder
2). Take moonshl2_DirectBoot.nds and DLDI patch it.
3). Rename it to R4BOOT.DAT and place it on the root.

I've uplaoded it here: http://www.mediafire.com/?nm4jj4gztj0

Is using MoonShell as a Firmware better than YSMenu?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    NinStar @ NinStar: It will actually make it worse