Author Topic: CHEAT.dat editing on R4i problems  (Read 1882 times)

Offline griever08

  • Member
  • ***
CHEAT.dat editing on R4i problems
« on: Monday July 12, 2010, 07:54:16 AM »
I never like making new threads, but I've searched for a while now and have yet to find a solution. So, here's my problem.

I own a NDSi and a R4i. The firmware is up to date. The CHEAT.dat included sucks, so I went ahead and cleared the whole thing with the Cheat Code Editor v1.01 (r4cce I believe its called). I proceeded to add my own cheats found online. Saved, loaded the cheats, everything is working fine.
A few days later, I decide to add more cheats. With the Cheat Code Editor, I add more cheats to my CHEAT.dat and delete the .cht in my roms folder so as to rebuild it. Well, once I enter the menu and access the cheat list on the NDSi, I found that some of the cheats I had added earlier disappeared. I opened the .cht with a text editor, and it looks like some of the codes got merged halfway through.
It only seems to happen with longer codes. If I delete every code except for the smallest, it loads just fine. I tried adding one code at a time with the Cheat Code Editor. The first long code worked fine along with the smallest, but when I added the second, the two of them got merged in the .cht and the second did not appear in the cheat list. During this process, I did not delete the .cht, because I learned you can rebuild it in the NDSi by pressing Start at the cheat list. It doesn't matter either way, I guess, but this way is faster.

.cht before 3rd code:
Spoiler (click to show/hide)
.cht after 3rd code:
Spoiler (click to show/hide)
Additional Merge Info:
Spoiler (click to show/hide)

I've tried everything and searched everywhere. I want to be able to handle my own cheat database, and not have to rely on CHEATS.dat posted online.

Any advice? I don't want to be confined to 6 lined codes because all the juicy stuff is long. Is there a way to split up a long code into 2 or 3 smaller ones and have it work anyway? Or am I simply doing something wrong?

Thanks

Offline iluvfupaburgers

  • Premium Member
  • ****
  • Gender: Male
  • Your kindess doesn't come from being a Coordinator
Re: CHEAT.dat editing on R4i problems
« Reply #1 on: Thursday July 15, 2010, 09:19:42 PM »
try downloading the latest cheat code editor, and name your cheat file, usrcheat.dat, for some reason, r4s are better able to recognize usrcheat.dat than cheat.dat. i dont know why yours is in .cht format, try changing it to .dat

Offline griever08

  • Member
  • ***
Re: CHEAT.dat editing on R4i problems
« Reply #2 on: Thursday July 15, 2010, 09:59:28 PM »
Thank you for your help.

I already have the latest cheat code editor. I tried replacing the database file CHEAT.dat for usrcheat.dat, but I get an error when compiling: "Error Cheat file is not found." I think usrcheat.dat is for regular R4's, while I have an R4i.

As for the .cht, I think I didn't explain myself properly. In my MicroSD, I have 3 folders: _SYSTEM_ , MOONSHL, and ROMS. In the _SYSTEM_ folder, I have the cheat database, CHEAT.dat. In the ROMS, I have the game files. For example, Pokemon.nds Pokemon.sav. When you press Y to access the cheat database while selecting a game, a new file is created in the ROMS folder: Pokemon.cht. I believe this file is a quick access to the cheats for that specific game, so that the R4 doesn't have to search the cheat database every time. This file can be opened with any word processor. Those are the files I copied into my previous post, not the CHEAT.dat. Theoretically, I could simply use a text editor and input the codes directly into the .cht file...however, there are many invisible characters in the file, making it almost impossible to simply add codes.

I'm still open for suggestions. Thanks again!