Hacking r4decrypt

darksavior

Well-Known Member
Member
Joined
Dec 2, 2006
Messages
231
Trophies
0
XP
30
Country
United States
yasu's decrypter, if it makes a difference http://home.usay.jp/pc/etc/nds/r4denc.zip

QUOTE said:
chishm wrote: I think yasu's tool is even better than mine. I use a naïve, almost brute-force approach with the encryption. I stopped refining the method once it worked. yasu's code should be quicker, using a better 2-byte state-based approach rather than my multiple tables of seed data. So my code is rudimentary, yasu's is refined. Use his, it's better.
 

iq_132

Well-Known Member
Member
Joined
Jun 14, 2006
Messages
148
Trophies
0
Age
39
Location
Kalamazoo, Michigan
Website
neosource.1emu.net
XP
249
Country
United States
Try this
http://www.savefile.com/files/740901


Worked perfectly. M3 Simply running R4 1.09. Good work!

When I convert R4 1.09 to M3 and then have cheats enabled, every game I have tried freezes when I press L R and select.

Hmm.. can anyone else confirm this? I have no way to test (I've an R4, English). Maybe you have too may cheats enabled?
Have you deleted your old _DS_MENU.SYS when upgrading?
 

Tri-Z

Tri z
Member
Joined
Nov 25, 2005
Messages
682
Trophies
1
Location
USA
XP
1,932
Country
United States
yes I did delete the old _ds_menu.sys.
And on some games I don't think I had any cheats enabled for that game and it froze when pressing L R and select.

On yoshi island I had brightness controll, refill eggs with R button, and infinate lives, and infinate flutter jump. When I press L R select at menu it freezes. I was going to adjust the brightness, but I never even got to press up or down because it froze with the L R select. I will try different ways with enabling cheats or enable cheats in game, or whatever to test more into it if you are interested.
 

Tri-Z

Tri z
Member
Joined
Nov 25, 2005
Messages
682
Trophies
1
Location
USA
XP
1,932
Country
United States
chinese M3 came out and I used your patch app. "iq_132"

I converted to english. And just like the R4 it froze when I pressed L R select.
I tried it with game cheats disabled and cheats disabled, and I pressed L R select, and it didn't freeze. So it has something to do with the cheats. cheats work fine on official english firmware. R4 and M3. So it has got to do with the patching process maybe?

Edit: Alright new firmware by M3 came out, english version and freezes on that too. But the cause is the brightness controll cheat code. It must not be compatible with the new update.
 

jelbo

Well-Known Member
Member
Joined
Sep 12, 2003
Messages
877
Trophies
2
XP
891
Country
Netherlands
chinese M3 came out and I used your patch app. "iq_132"

I converted to english. And just like the R4 it froze when I pressed L R select.
I tried it with game cheats disabled and cheats disabled, and I pressed L R select, and it didn't freeze. So it has something to do with the cheats. cheats work fine on official english firmware. R4 and M3. So it has got to do with the patching process maybe?

Edit: Alright new firmware by M3 came out, english version and freezes on that too. But the cause is the brightness controll cheat code. It must not be compatible with the new update.
I can confirm the brightness control code to be the cause. It works fine on my R4 1.08, but 1.09 freezes when pushing L+R+Select and that cheat enabled. The default updated cheat file without the brightness codes works fine, even when pressing L+R+Select.
 

HelloDVD

New Member
Newbie
Joined
May 29, 2007
Messages
1
Trophies
0
Website
Visit site
XP
99
Country
Switzerland
what do I need to change to get English R4 firmware on Chinese R4 hardware?



As promised, here's my patcher program.
Right now, it can only patch the region for the newest Firmware (1.08 - r4 / 1.04 - m3) [it can patch between r4 english & m3 english for versions from 1.00 - 1.04 and 1.04 - 1.08], but I'll try to fix that later.

http://www.savefile.com/files/730764

I'm using a mac and can't run the patch
cry.gif
Is there a MENU DAT file I can download so I can put English menus on my Chinese R4? There are so many floating around but I'm not sure which to use
unsure.gif

Thx
 

ferote

New Member
Newbie
Joined
Jun 22, 2007
Messages
1
Trophies
0
XP
45
Country
i also have the problem of cheats freezing when i use them, the main game is cooking mama, euro or us both freeze when using the time stop cheat on any version higher then 1.04 (m3 simply) i have tested both 1.05 and 1.06 and both freeze when hitting only L button at anytime in game, also tested it on my brother in laws card, and it also freezes, which should hopefully rule out just a card problem
 

vipdia

New Member
Newbie
Joined
Jan 6, 2009
Messages
1
Trophies
0
XP
9
Country
United States
D-Trogh said:
For some of you that don't know how to work with cmd I made this .BAT file.
Just copy and paste this in NotePad and save under 'All Files' as: NameOfYourChoose.BAT
[color=#000000background#000000]
QUOTE said:
@echo off
cls
:menu
echo -------------
echo  Action Menu
echo -------------
echo [1] Decrypt
echo [2] Encrypt
echo [3] Close
echo -------------
echo.
set INPUT=
Set /P INPUT= Action:


if "%input%" =="" goto menu
if "%input%" =="1" goto decrypt
if "%input%" =="2" goto encrypt
if "%input%" =="3" goto close

:decrypt
r4crypt.exe -d _DS_MENU.DAT OUTPUT.DAT
goto close

:encrypt
r4crypt.exe -e OUTPUT.DAT _DS_MENU.DAT
goto close

:close
cls
[/color]
Like this you don't need to work with cmd, just make sure you put _DS_MENU.DAT, r4crypt.exe and this .BAT file in the same folder !
Then execute the .BAT file !


For you guys who want to see the images in TileMolester:
View - Codec - 16bpp ABGR
View - Mode - 2-Dimensional
hello I am new here and i can't good english.
i am a nds programmer
and i will see the R4 code but i can't see it.
I have done waht you see but i have only a new OUTPUT.DAT and that is all?
how can i see the r4 sofware?
 

ShadowtearX

Well-Known Member
Member
Joined
Oct 12, 2009
Messages
344
Trophies
1
XP
1,293
Country
I'm a noob at this so help me please!

I downloaded this program and now want to r4crypt -d an _ds_menu.dat file to an .NDS file
can someone tell me how to do this?
 

Xenon++

Taiju Yamada
Member
Joined
Dec 17, 2009
Messages
1,394
Trophies
0
Website
Visit site
XP
107
Country
twiztidsinz said:
CoolKill3r said:
I'm a noob at this so help me please!

I downloaded this program and now want to r4crypt -d an _ds_menu.dat file to an .NDS file
can someone tell me how to do this?
1). Don't bump 2 year old posts.
2). R4denc is better and faster.
But my original r4crypt is still faster lol
Anyway it had bugs in parsing command, which is fixed now
 

twiztidsinz

Taiju Yamada Fan
Member
Joined
Dec 23, 2008
Messages
4,979
Trophies
0
Website
Visit site
XP
220
Country
United States
Xenon++ said:
twiztidsinz said:
CoolKill3r said:
I'm a noob at this so help me please!

I downloaded this program and now want to r4crypt -d an _ds_menu.dat file to an .NDS file
can someone tell me how to do this?
1). Don't bump 2 year old posts.
2). R4denc is better and faster.
But my original r4crypt is still faster lol
Anyway it had bugs in parsing command, which is fixed now
Oops... I forgot you had r4crypt.
I was going by the original title r4decrypt from chishm.
Going to replace my r4denc now
biggrin.gif
 

ShadowtearX

Well-Known Member
Member
Joined
Oct 12, 2009
Messages
344
Trophies
1
XP
1,293
Country
Xenon++ said:
twiztidsinz said:
CoolKill3r said:
I'm a noob at this so help me please!

I downloaded this program and now want to r4crypt -d an _ds_menu.dat file to an .NDS file
can someone tell me how to do this?
1). Don't bump 2 year old posts.
2). R4denc is better and faster.
But my original r4crypt is still faster lol
Anyway it had bugs in parsing command, which is fixed now

thank you for all your help Xenon++ it really worked!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Spend 50 hours playing the game