Hacking R4YSauto

Maikel Steneker

M3 Fanboy
OP
Member
Joined
May 16, 2007
Messages
3,393
Trophies
0
Age
30
Website
ndss.nl
XP
350
Country
Netherlands
Edit: R4YSauto hasn't been updated for a long time due to me having a lack of time and a lack of motivation to work on R4YSauto. Then new version will be released, but I don't know when.

For now, you can still use R4YSauto 0.0.2 with a few extra steps.
1. You will have to rename the YSMenu zip archive to the old file name to use it. It will work fine with R4YSauto 0.0.2.
2. It's not required, but you should use the unofficial updated libraries located here. These will make YSMenu load files faster and add support for the 1 MB savetype used in Pokémon Platinum and other games. I will include these files in a future update if I get permission from the author.


Click here if you use an AceKard 2
Click here if you use an DSTT/TTDS

R4YSauto is a batch file to create a working YSMenu distribution easily. Extract R4YSauto to some folder, copy the YSMenu zipfile to it and run r4.bat. That's about everything you have to do! To automate the process, you can use r4config.bat. It can also convert your old configuration files to a new format.

The newest version of R4YSauto is 0.0.2. It can be downloaded here or installed via the update function which was added in 0.0.

Download (Mirror)
Download update

Updating is very easy. Just enable the update feature and start R4YSauto. If you don't have a working internet connection, you can just download the files from the link above.

To use R4YSauto, you will need to get YSMenu. So go ahead and Visit Yasu's homepage!

More information about R4YSauto:
Code:
R4YSauto
by Maikel Steneker


Current features:
- Uses YSMenu zip file to automatically generate a zip-file with all necessary files to run YSMenu on the R4
- Dutch, German and English language option
- Supports R4, M3 Simply and N5 (and other R4 clones)
- Includes necessary files from DSTT software
- Can use another version of the DSTT software
ÂÂÂÂ- When another version is present in the directory dstt it will be used
- Minimal number of files in the root; almost everything is in the YSMenu directory
- Homebrew support
- Skin support
ÂÂÂÂ- Automatically checks if all files are present
ÂÂÂÂ- Includes standard skin
ÂÂÂÂ- Can use R4 skins directly; simply extract the files to the skin directory and R4YSauto will use it!
ÂÂÂÂ- Optional use of gbaframe.bmp
- Includes configuration file
ÂÂÂÂ- Includes Japanese, English, French, German, Spanish and Dutch translation!
- Multiple ways to install
ÂÂÂÂ- As replacement for the original firmware
ÂÂÂÂ- Automatically starting after the original firmware has loaded
ÂÂÂÂ- Manual start using the middle button in the R4 menu
ÂÂÂÂ- Manual start using the left button in the R4 menu
ÂÂÂÂ- Includes built-in information about all choices
- Includes up-to-date cheat database
- Support for configuration file in combination with r4config.bat
ÂÂÂÂ- Choose the options without really making any changes
ÂÂÂÂ- Run R4YSauto without any user interaction after making a configuration file
- Updating function to automatically check and update to the new version
ÂÂÂÂ- Including support for offline update files in the form of update.dat and update2.dat or update.zip

Thanks:
- Yasu
ÂÂÂÂ- YSMenu
- DSTT Team
ÂÂÂÂ- DSTT software
- R4 Team
ÂÂÂÂ- R4 skin
ÂÂÂÂ- R4 DLDI
- Igor Pavlov
ÂÂÂÂ- 7-Zip
- chism
ÂÂÂÂ- DLDI
ÂÂÂÂ- r4crypt
- Celesto
ÂÂÂÂ- Hosting
- Narin
ÂÂÂÂ- Cheat database
- maxim
ÂÂÂÂ- Testing
- pika9323
ÂÂÂÂ- German translation of R4YSauto
ÂÂÂÂ- German translation of YSMenu
- Pendor
ÂÂÂÂ- Spanish translation of YSMenu

Changelog:
v0.0.2 (November 14 2008)
- Spanish translation of YSMenu by Pendor added
- r4config will now directly write settings.ini instead of config.cfg
- r4config and confconv have been merged
ÂÂÂÂ- converting is now possible through r4config
- A few bugs in r4config and the confconv code have been fixed
- Cheat database update
- Updating function now supports update.zip

v0.0.1 (November 9 2008)
- Thumbs.db is not in the zip file anymore
- A few typing errors in the Dutch and German translation are corrected
- A few internal changes will make it possible in the future to install R4YSauto alongside TTYSauto and AK2YSauto (at the moment this could cause problems)
- A few bugs were fixed which caused serious errors when using the GUI (beta) and the German translation

v0.0 (November 3 2008)
- Updating function for R4YSauto
ÂÂÂÂ- Checks for updates when starting by default
ÂÂÂÂ- Can be disabled via the configuration program r4config
ÂÂÂÂ- Can be used to upgrade to any future version of R4YSauto
- Updating function for cheat database (at the moment only usable for beta testers)
- Support for new format of configuration files
ÂÂÂÂ- Both config.cfg (old) and settings.ini (new) are supported
ÂÂÂÂ- Script to convert configuration files (confconv) included
- Folder YSMenu is now called TTmenu in order to solve some problems
- German translation by pika9323 added
- Folder dstt will not be deleted anymore
ÂÂÂÂ- New DSTT software, like 1.16, can be used by copying the files to the dstt folder
- Extra information added for English users
- Better code for writing an YSMenu ini file
- Installation methods now have letters instead of numbers
- R4_custom_English.zip will now be opened when R4YSauto closes
- Update for cheat database
- A few little bugs have been fixed

(October 21 2008)
- Support for the new YSMenu0810211800.zip
ÂÂÂÂ- Support for previous versions has been removed
- Cheat database update

(September 14 2008)
- Support for the new YSMenu0809132222.zip
ÂÂÂÂ- Support for previous versions has been removed
- When YSMenu0809132222.zip is not found temporary files will still be deleted
- N5 bug in configuration utility solved

(September 13 2008)
- Support for configuration file in combination with r4config.bat
ÂÂÂÂ- Choose the options without really making any changes
ÂÂÂÂ- Run R4YSauto without any user interaction after making a configuration file
- Cheat database update
- Bug which changed the language of R4YSauto fixed
- Little changes

(September 5 2008)
- English language option
- Skin support
ÂÂÂÂ- Automatically checks if all files are present
ÂÂÂÂ- Includes standard skin
ÂÂÂÂ- Can use R4 skins directly; simply extract the files to the skin directory and R4YSauto will use it!
ÂÂÂÂ- Optional use of gbaframe.bmp
- Optional homebrew support with YSMenu_ttextract080903.zip
ÂÂÂÂ- YSMenu_ttextract080903.zip is not required
- Cheat database update
- Smaller file thanks to better compression and optimization

(August 23 2008)
- Includes configuration file now includes a Japanese, English, French and Dutch translation!
- Less files in the root; almost everything is in the YSMenu directory
- No unnecessary files - meaning less disk space and shorter extraction times!
- Lots of little changes

(August 12 2008)
- Supports R4, M3 Simply and N5 (and other R4 clones)
- Multiple ways to install
ÂÂÂÂ- As replacement for the original firmware
ÂÂÂÂ- Automatically starting after the original firmware has loaded
ÂÂÂÂ- Manual start using the middle button in the R4 menu
ÂÂÂÂ- Manual start using the left button in the R4 menu
ÂÂÂÂ- Includes built-in information about all choices
- Directory TTmenu is now called YSMenu
- Cheats work again
- Smaller file thanks to better compression

(August 11 2008)
- First release
 
  • Like
Reactions: GilgameshArcher

Dark^'^Knigh

Well-Known Member
Member
Joined
Apr 25, 2007
Messages
1,043
Trophies
0
Location
Paradise
Website
Visit site
XP
86
Country
I'm not sure on how ethical it is to use/manipulate Yasu's handywork, but I do know one thing.....look out, Beve's coming to this thread and he'll be giving his weiner one almighty thrashing when he reads your post!
rofl.gif
 
  • Like
Reactions: 1 person

Maikel Steneker

M3 Fanboy
OP
Member
Joined
May 16, 2007
Messages
3,393
Trophies
0
Age
30
Website
ndss.nl
XP
350
Country
Netherlands
Dark^'^Knight said:
I'm not sure on how ethical it is to use/manipulate Yasu's handywork, but I do know one thing.....look out, Beve's coming to this thread and he'll be giving his weiner one almighty thrashing when he reads your post!
rofl.gif
Oh well, I didn't include any of Yasu's work, just the option to use it
yaynds.gif
Besides, anyone who wants to use YSMenu on their R4 has to do the same thing, using a batchfile or doing it manually.

Also, who is Beve?
unsure.gif
 

TrolleyDave

Philosolosophising
Former Staff
Joined
Jan 1, 2007
Messages
7,761
Trophies
0
Age
50
Location
Wales, UK
XP
882
Country
Dark^'^Knight said:
I'm not sure on how ethical it is to use/manipulate Yasu's handywork, but I do know one thing.....look out, Beve's coming to this thread and he'll be giving his weiner one almighty thrashing when he reads your post!
rofl.gif


rofl2.gif
That had me in stitches. Cheers for brightening up a rainy day!
grog.gif


Maikel Steneker said:
QUOTE(Dark^'^Knight @ Sep 6 2008, 11:48 AM) I'm not sure on how ethical it is to use/manipulate Yasu's handywork, but I do know one thing.....look out, Beve's coming to this thread and he'll be giving his weiner one almighty thrashing when he reads your post!
rofl.gif
Oh well, I didn't include any of Yasu's work, just the option to use it
yaynds.gif
Besides, anyone who wants to use YSMenu on their R4 has to do the same thing, using a batchfile or doing it manually.

Also, who is Beve?
unsure.gif

Nice job on the batch file, it's a lost art these days. For info on the great and magnificent beve here's a few entertaining threads for you :

http://gbatemp.net/index.php?showtopic=103864
http://gbatemp.net/index.php?showtopic=103711
http://gbatemp.net/index.php?showtopic=103130
http://gbatemp.net/index.php?showtopic=103123
http://gbatemp.net/index.php?showtopic=102535 (He's gone back and re-edited his first post on this one one but it was a claim that he'd hacked R4 loader v1.18 so that it wouldn't brick clone R4's. He forgot to mention it never did that in the first place though, and that all he'd done is hex edit a few strings).

There's plenty more. I'm pretty sure it's Eric Bana in disguise planning a comeback to the comedy circuit.
 

Maikel Steneker

M3 Fanboy
OP
Member
Joined
May 16, 2007
Messages
3,393
Trophies
0
Age
30
Website
ndss.nl
XP
350
Country
Netherlands
TrolleyDave said:
Dark^'^Knight said:
I'm not sure on how ethical it is to use/manipulate Yasu's handywork, but I do know one thing.....look out, Beve's coming to this thread and he'll be giving his weiner one almighty thrashing when he reads your post!
rofl.gif


rofl2.gif
That had me in stitches. Cheers for brightening up a rainy day!
grog.gif


Maikel Steneker said:
Dark^'^Knight said:
I'm not sure on how ethical it is to use/manipulate Yasu's handywork, but I do know one thing.....look out, Beve's coming to this thread and he'll be giving his weiner one almighty thrashing when he reads your post!
rofl.gif

Oh well, I didn't include any of Yasu's work, just the option to use it
yaynds.gif
Besides, anyone who wants to use YSMenu on their R4 has to do the same thing, using a batchfile or doing it manually.

Also, who is Beve?
unsure.gif

Nice job on the batch file, it's a lost art these days. For info on the great and magnificent beve here's a few entertaining threads for you :

http://gbatemp.net/index.php?showtopic=103864
http://gbatemp.net/index.php?showtopic=103711
http://gbatemp.net/index.php?showtopic=103130
http://gbatemp.net/index.php?showtopic=103123
http://gbatemp.net/index.php?showtopic=102535 (He's gone back and re-edited his first post on this one one but it was a claim that he'd hacked R4 loader v1.18 so that it wouldn't brick clone R4's. He forgot to mention it never did that in the first place though, and that all he'd done is hex edit a few strings).

There's plenty more. I'm pretty sure it's Eric Bana in disguise planning a comeback to the comedy circuit.
Ah, yeah, that guy. He's pretty hilarious, and so are the comments
tongue.gif
I don't know where you get the energy from to seriously react to his messed up posts
tongue.gif

QUOTE(DieForIt @ Sep 6 2008, 04:45 PM)
It's great, but I can't still play homebrew!!!
r4dldi.dat required??
To use homebrew in YSMenu on the R4 you should download YSMenu_ttextract080903.zip from Yasu's site and place it in the same directory as R4YSauto. Run the batchfile again, and it should be detected. Now r4dldi.dat will be in the zipfile.


Btw, thanks for the compliments
smile.gif
I'll keep working on this, so it can get even more easier, smaller and faster.
 

Dark^'^Knigh

Well-Known Member
Member
Joined
Apr 25, 2007
Messages
1,043
Trophies
0
Location
Paradise
Website
Visit site
XP
86
Country
BTW, I forgot to say good work. I like the idea of retaining the use of the R4 skins. I'll give this a go one day soon and be happy to add more concise comment on your work.
 

beve

Banned!
Banned
Joined
May 31, 2008
Messages
108
Trophies
0
XP
24
Country
hey wait a min

i just wanted some help and i was making those things to help yous i know youdont like them thats why i closed it so please stop upping me and i got ysmenu going before i even seen this i had to sit down for about 3 hours but i got it going STOP GETTING UP ME geehz
 

Scathraax

Well-Known Member
Member
Joined
Jun 21, 2007
Messages
246
Trophies
0
Age
32
Location
Illinois
Website
www.myspace.com
XP
317
Country
United States
Thanks, worked perfectly!

Now, I'm lazy as hell, so I won't be copying everything over to my YSMenu'd microSD just yet, but at least it's ready for when I want to do so.

Great job.
grog.gif
 

jagerstaffel

Well-Known Member
Member
Joined
Aug 20, 2008
Messages
533
Trophies
0
XP
312
Country
United States
You know, I would like to thank you for making my life easier, and for making this whole process so simple. Would. See, ROM compatibility for me changed everything. Since the ROM was the first one on my list, I thought it would be fun to try (was only room for two anyways). Darn YSmenu won't load The World Ends with You with those 3 options lol. I've tried DMA off, cheats off, reset on, or DMA on, Cheats on, no go. I can't seem to use the reset option by itself either. I get this particular error:

patch install...Open TTRESET.DAT error!

I don't suppose anyone knows why cheats wont work? Or is it a DSTT thing? I certainly followed everything to make this, it can't get any easier than this (by the way, thanks Maikel), and I know it's something with those 3 options because games load fine without them.

Oh, for now it's back to R4 1.18, that hasn't failed me.
 

Maikel Steneker

M3 Fanboy
OP
Member
Joined
May 16, 2007
Messages
3,393
Trophies
0
Age
30
Website
ndss.nl
XP
350
Country
Netherlands
jagerstaffel said:
patch install...Open TTRESET.DAT error!
Ah, that error again.

It seems like it occurs when TTRESET.DAT isn't found, but as far as I know it's completely random... I have had the same error too, and some others too.

Anyway, the perfect way to solve this (it never fails afaik) is to change the name of the YSMenu directory to TTmenu.
 

HipHopGunner

Member
Newcomer
Joined
Sep 7, 2008
Messages
5
Trophies
0
XP
97
Country
United States
I'm sorry, I'm sort of new at this. (just got my ds yesterday).

What do I do with the r4 custom english?
Also, during the batch when I was given 4 options, I wasn't really sure which I ought to have chosen.

Sorry
frown.gif


thanks for the help!
 

Maikel Steneker

M3 Fanboy
OP
Member
Joined
May 16, 2007
Messages
3,393
Trophies
0
Age
30
Website
ndss.nl
XP
350
Country
Netherlands
HipHopGunner said:
I'm sorry, I'm sort of new at this. (just got my ds yesterday).

What do I do with the r4 custom english?
You should extract the files in it to your SD-card.

QUOTE(HipHopGunner @ Sep 7 2008, 11:33 AM) Also, during the batch when I was given 4 options, I wasn't really sure which I ought to have chosen.

Sorry
frown.gif


thanks for the help!
Sorry, that's my fault. I didn't include English instructions.

The four options are:
1 As replacement for the original firmware
2 Automatically starting after the original firmware has loaded
3 Manual start using the middle button in the R4 menu
4 Manual start using the left button in the R4 menu

1 means that you actually replace the R4 loader. It's not needed anymore.
2 means that YSMenu is installed as default.nds. The R4 loader will start it as soon as it loads. This is useful for clones that won't work with option 1. Also, you can press B while loading to use the R4 loader this way.
3 means that Moonshell is replaced. The middle button will start YSMenu.
4 means that YSMenu is installed as YSMenu.nds, meaning you can start it like any other NDS-file with the left button.
 

jagerstaffel

Well-Known Member
Member
Joined
Aug 20, 2008
Messages
533
Trophies
0
XP
312
Country
United States
Maikel Steneker said:
jagerstaffel said:
patch install...Open TTRESET.DAT error!
Ah, that error again.

It seems like it occurs when TTRESET.DAT isn't found, but as far as I know it's completely random... I have had the same error too, and some others too.

Anyway, the perfect way to solve this (it never fails afaik) is to change the name of the YSMenu directory to TTmenu.


Well now, that did the trick. I thank you many times for each time I encountered the error
biggrin.gif


I say though, I do believe it's a known issue when resetting back to YSmenu, with that micro sd logo that says loading, ja? It didn't seem to budge, that smiley faced thing that
tongue.gif
 

Maikel Steneker

M3 Fanboy
OP
Member
Joined
May 16, 2007
Messages
3,393
Trophies
0
Age
30
Website
ndss.nl
XP
350
Country
Netherlands
jagerstaffel said:
Maikel Steneker said:
jagerstaffel said:
patch install...Open TTRESET.DAT error!
Ah, that error again.

It seems like it occurs when TTRESET.DAT isn't found, but as far as I know it's completely random... I have had the same error too, and some others too.

Anyway, the perfect way to solve this (it never fails afaik) is to change the name of the YSMenu directory to TTmenu.


Well now, that did the trick. I thank you many times for each time I encountered the error
biggrin.gif


I say though, I do believe it's a known issue when resetting back to YSmenu, with that micro sd logo that says loading, ja? It didn't seem to budge, that smiley faced thing that
tongue.gif
It's a known issue, but I heard that some people actually could get Soft Reset working...
 

BurlyEd

Well-Known Member
Member
Joined
May 15, 2007
Messages
389
Trophies
0
Location
Big Hat Country
Website
Visit site
XP
243
Country
United States
Thanks for the script and detailed instructions. Everything went OK on my second try.
Now I can play HULK (whee?). tested.
unsure.gif

If I could get Soft Reset working, this would be much better.
yaynds.gif


I used option 4. I hoped this would dual boot like DSTT or SCDS1's triple-boot.
YSMenu still cannot set the screen brightness, I can boot to R4, set the brightness, then run YSMenu.nds, but then I cannot get back to the R4 menu.
I have tried renaming a copy of _DS_MENU.DAT to R4MENU.NDS, but that does not seem to work.

With DSTT and SCDS1 I can cycle between all the menus, but I can only do one change on R4. Any ideas?

grog.gif
lecture.gif
 

TrolleyDave

Philosolosophising
Former Staff
Joined
Jan 1, 2007
Messages
7,761
Trophies
0
Age
50
Location
Wales, UK
XP
882
Country
BurlyEd said:
Thanks for the script and detailed instructions. Everything went OK on my second try.
Now I can play HULK (whee?). tested.
unsure.gif

If I could get Soft Reset working, this would be much better.
yaynds.gif


I used option 4. I hoped this would dual boot like DSTT or SCDS1's triple-boot.
YSMenu still cannot set the screen brightness, I can boot to R4, set the brightness, then run YSMenu.nds, but then I cannot get back to the R4 menu.
I have tried renaming a copy of _DS_MENU.DAT to R4MENU.NDS, but that does not seem to work.

With DSTT and SCDS1 I can cycle between all the menus, but I can only do one change on R4. Any ideas?

grog.gif
lecture.gif

Try decrypting it using r4crypt before renaming it. Can't guarantee it'll work but it's worth a shot.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: might damage your screen?