Kodewerx

Our culture has advanced beyond all that you could possibly comprehend with one hundred percent of your brain.
It is currently Sun Apr 28, 2024 8:30 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 16 posts ] 
Author Message
 Post subject: CBDSCrypt
PostPosted: Sun Aug 05, 2007 12:14 pm 
Offline
Kommunist
Kommunist

Joined: Tue Oct 10, 2006 9:32 am
Posts: 445
Here it is ! It allows you to decrypt/encrypt CBDS codes, and also includes a (m) code search.
Attachment:
File comment: CBDSCrypt 2.00
CBDSCrypt.rar [201.17 KiB]
Downloaded 1062 times

You'll find some docs included in the file.

Update : v2.00 adds supports for the CodeFreak encryption/decryption.

Edit : Just for the information, the CBDS encryption/decryption was broken in less than 2 weeks (as far as I remember, might have been 10 days) of casual work, but the tool has been hold (and improved/bugfixed) until now. That's why it's been released as version 1.02. Also, the CF encryption/decryption was broken in some hours.


Last edited by kenobi on Wed Dec 19, 2007 11:33 am, edited 2 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: CBDSCrypt
PostPosted: Sun Aug 05, 2007 12:26 pm 
Offline
Krew (Admin)
Krew (Admin)
User avatar

Joined: Sun Oct 01, 2006 9:26 pm
Posts: 3768
Title: All in a day's work.
Thanks, Kenobi!

Also, here are the files which got this project started, around mid-December.

The files in the rar are:
smc-cbds.nds - v1.0.1 ROM dump
smc-cbds2.nds - v1.0.2 ROM dump
arm9enc.bin - v1.0.1 encrypted/compressed ARM9 executable
arm9enc2.bin - v1.0.2 encrypted/compressed ARM9 executable
CBDSDEC - decryptor/decompressor for ARM9 executables

You can probably see how I dumped the encrypted executables from the ROMs by looking through the arm9 binary (dump it with ndstool for example) this is just a small loader that loads and decrypts/decompresses the real executable to RAM address 0x021F0000 ... use cbdsdec to decrypt and decompress the files. Then you can load them in IDA Pro.


Attachments:
CBDS.rar [974.06 KiB]
Downloaded 399 times

_________________
I have to return some video tapes.

Feed me a stray cat.
Top
 Profile  
Reply with quote  
 Post subject: Re: CBDSCrypt
PostPosted: Sun Aug 05, 2007 11:42 pm 
Offline
Krew (Admin)
Krew (Admin)
User avatar

Joined: Sun Oct 01, 2006 9:46 pm
Posts: 2331
Location: *poof*
Title: The Mad Hacker
Awesome.
Thanks!

_________________
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: CBDSCrypt
PostPosted: Sun Aug 12, 2007 12:25 pm 
Offline
Kommunist
Kommunist

Joined: Sun Jul 15, 2007 5:10 pm
Posts: 3
Hm. It doesn't seem to be working for me. I try dropping the ROM onto the file, but the title bar doesn't change or anything. I'm trying this with Pokemon Diamond, by the way.


Top
 Profile  
Reply with quote  
 Post subject: Re: CBDSCrypt
PostPosted: Mon Aug 13, 2007 4:49 pm 
Offline
Krew (Admin)
Krew (Admin)
User avatar

Joined: Sun Oct 01, 2006 9:26 pm
Posts: 3768
Title: All in a day's work.
Does the cursor change to the "drop" cursor while you are hovering the file over the window? (It looks like the pointer arrow with a small + sign by it.) If yes, and you are still having the same problem, the program either has a bug, or your ROM is bad.

_________________
I have to return some video tapes.

Feed me a stray cat.


Top
 Profile  
Reply with quote  
 Post subject: Re: CBDSCrypt
PostPosted: Tue Aug 14, 2007 9:29 pm 
Offline
Kommunist
Kommunist

Joined: Sun Jul 15, 2007 5:10 pm
Posts: 3
No, it doesn't give the drop cursor. But it doesn't do that with dlong's Master Code Creator either, and it works just fine. (granted, I haven't tested any of the master codes the generator gives, but still) Is the Decrypter incompatible with the Pokemon games or am I still doing something wrong?


Top
 Profile  
Reply with quote  
 Post subject: Re: CBDSCrypt
PostPosted: Fri Aug 17, 2007 12:27 am 
Offline
Kommunist
Kommunist

Joined: Tue Oct 31, 2006 5:00 am
Posts: 12
Don't drop the rom on the executable. Launch it first, then drop the rom in the window.

Awesome app, kenobi! Thanks.


Top
 Profile  
Reply with quote  
 Post subject: Re: CBDSCrypt
PostPosted: Fri Aug 17, 2007 5:38 pm 
Offline
Krew (Admin)
Krew (Admin)
User avatar

Joined: Sun Oct 01, 2006 9:26 pm
Posts: 3768
Title: All in a day's work.
Right, it's a drag-and-drop feature, not a command line feature. (Dropping the file onto the program icon in explorer passes that filename to the program on the command line. Dropping a file from explorer onto the program's window is drag-and-drop.)

_________________
I have to return some video tapes.

Feed me a stray cat.


Top
 Profile  
Reply with quote  
 Post subject: Re: CBDSCrypt
PostPosted: Sun Aug 19, 2007 6:16 pm 
Offline
Kommunist
Kommunist

Joined: Sun Jul 15, 2007 5:10 pm
Posts: 3
Oh, ok. Yeah, that worked. Thanks for the help guys. =)


Top
 Profile  
Reply with quote  
 Post subject: Re: CBDSCrypt
PostPosted: Thu Aug 23, 2007 12:27 pm 
Offline
Kommunist
Kommunist
User avatar

Joined: Sun May 27, 2007 7:43 pm
Posts: 775
Location: Makai
Title: The HENTAI M@ster
oh man, i didn't saw that before :/ i was talking to CMX then he gave me this... guess I'm blind


anyway, thank you kenobi and parasyte :lol:

_________________
Image
DO NOT send me code requests/conversions via pm. I DON'T GIVE PERMISSION, READ THE FUCKING RULES.
I Hate You So Much!!! Fuck & Peace!

Everyone has AIDS!
My grandma and my dog 'ol blue
My father
My sister
My uncle and my cousin and her best friend
The pope has got it and so do you.


My SITE

My Official Code Breaker DS Codes


Top
 Profile  
Reply with quote  
 Post subject: Re: CBDSCrypt
PostPosted: Sat Nov 24, 2007 6:48 pm 
Offline
Kommunist
Kommunist

Joined: Tue Oct 10, 2006 9:32 am
Posts: 445
For the general information, I just discovered a new codebreaker "made in japan" is out under the name "codefreak" (maybe it is out since some months/years...?).
It seems to supports unencrypted code like the CBDS (when putting a 8 at the start of an (m) code), as numerous site are posting unecrypted codes for it.
However I just found some encrypted codes, and I can say it has a different encryption than the CBDS, the main visible difference is that the values are not encrypted for some code types.
Exemple (taken from this site) :
(M)
00007C0D 5943584A
CD8AB39B 0DC445EE
コズミックゲート残機99
3D828B4B 00000063

I was not quite sure where to make this post, so I choosed the CBDSCrypt thread to let you know CBDSCrypt can't decrypt these codes, and I doubt codes encrypted with CBDSCrypt work with it (unless it has a 'backward compatibility' of some sort).

Edit : Funny thing. The 29 november they'll sell a new version of this codefreak, called codefreak typeII, which has a micro SD slot.
I guess this is only for multimedia capabilities ;)

Edit2 : Whoa this codefreak is much better than the CBDS. It allows to upgrade cheats (not deleting the one you've entered), or make a system upgrade only (without touching the cheats). Also, the type II allows to enter the codes on the PC, put them on a file on a SD card, and load them in the codefreak. Go there and scroll down to see some pics.


Top
 Profile  
Reply with quote  
 Post subject: Re: CBDSCrypt
PostPosted: Wed Dec 19, 2007 11:48 am 
Offline
Kommunist
Kommunist

Joined: Tue Oct 10, 2006 9:32 am
Posts: 445
v2.00 is up : Added support for the CodeFreak.

The CodeFreak encryption has nothing to do with the CBDS one. It's still game dependant, because its seed is based on the gamecode, but it doesn't rely on the secure area like the CBDS, now it's just an internal table that is scrambled. Also only the codes entered in the (m) code (except the gamecode of course) are fully encrypted. All other codes are 'half encrypted', ie. only the address is encrypted.

To make it easier, I made it that codes type A0,A8,F0 and F8 are fully encrypted/decrypted. The gamecode is left untouched (but its MSB (encrypted/decrypted bit)), and all other code types are half encrypted/decrypted. Also, the rom could be uneeded, but to avoid any problem (and to allow the decryption/encryption of any line of code when the gamecode isn't entered), I made it that you still need to drag & drop it on the tool to enable the encryption/decryption.

The tool has been succesfuly tested on half a dozen encrypted codes for different games. I'll make more tests later on.

Edit : for the general information, the CodeFreak type I (1.0.3) uses the very same code handler than the CBDS 2.0


Top
 Profile  
Reply with quote  
 Post subject: Re: CBDSCrypt
PostPosted: Thu Dec 20, 2007 2:23 pm 
Offline
Kommunist
Kommunist
User avatar

Joined: Sun May 27, 2007 7:43 pm
Posts: 775
Location: Makai
Title: The HENTAI M@ster
huh? so you didn't knew about codefreak? XD your katakana reading probably is bad :P

_________________
Image
DO NOT send me code requests/conversions via pm. I DON'T GIVE PERMISSION, READ THE FUCKING RULES.
I Hate You So Much!!! Fuck & Peace!

Everyone has AIDS!
My grandma and my dog 'ol blue
My father
My sister
My uncle and my cousin and her best friend
The pope has got it and so do you.


My SITE

My Official Code Breaker DS Codes


Top
 Profile  
Reply with quote  
 Post subject: Re: CBDSCrypt
PostPosted: Thu Dec 20, 2007 3:41 pm 
Offline
Kommunist
Kommunist

Joined: Tue Oct 10, 2006 9:32 am
Posts: 445
Well honestly I never paid attention to the japanese NDS cheating devices.
I just knew there was a japanese CBDS, but I never searched for more informations (as I though it was the very same than the CBDS, there was no point in looking into it). Until some guy posted some codefreak codes, and when I looked at them I realized it was using CBDS codes types, but not CBDS encryption. That day I discovered that the codefreak existed, and that is was very different - and much better - than the CBDS.

Also - and please don't worry about my kanas reading skill - but I'm not sure what katakanas have to do with this. I've been to pages that have 'codeFreak' in plain roman letters (like here), so even if I couldn't read ka(taka)nas I should have seen/remember it... But I didn't, so I guess I just couldn't care less back then.


Top
 Profile  
Reply with quote  
 Post subject: Re: CBDSCrypt
PostPosted: Wed Dec 26, 2007 9:17 am 
Offline
Komrade
Komrade
User avatar

Joined: Mon Oct 02, 2006 5:56 pm
Posts: 1978
Title: Mr. Bitches
Oh, just so you know, this works perfectly in Linux using Wine. 8-)

_________________
Image
Image
<EggWerx> MetalOverlord: Dsman and lemmayoshi will be used for taco meat, ask mo he knows me.
jleemero wrote:
Being required to learn Java for a Comp Sci MAJOR is like being required to shit on a lawnmower to be an astronaut.


Top
 Profile  
Reply with quote  
 Post subject: Re: CBDSCrypt
PostPosted: Mon Jul 07, 2008 9:13 pm 
Offline
Kommunist
Kommunist
User avatar

Joined: Wed Oct 11, 2006 9:49 pm
Posts: 344
Location: Cybertron
Title: Click Here <------
here's the site translated into English, sorry for post LATE on this topic :(

http://translate.google.com/translate?hl=en&u=http%3A%2F%2Fwww.cybergadget.co.jp%2Fproducts%2Fcf%2F4544859811111%2F

_________________
Image
Image


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 59 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group