Stewmath / GameYob

[Super] Gameboy [Color] emulator for the Nintendo [3]DS
MIT License
270 stars 59 forks source link

Manage Cheats grayed out #151

Closed JoshWilsonnn closed 7 years ago

JoshWilsonnn commented 7 years ago

I can't figure out how to get cheats to work, let alone show up. Is there a specific file path I should adhere to? The tutorial I found to create .cht files is honestly kind of vague & didn't clarify at all what I need to do to successfully add cheats to manage.

Stewmath commented 7 years ago

GameYob uses the same cheat format as bgb. There used to be a site with premade .cht files but I'm not sure what happened to it.

Is this the tutorial you're referring to? In your text editor (notepad), just write down the code:

010AA3CE

Add a space, and then put 0 or 1 to have it enabled or disabled by default:

010AA3CE 0

Then, without adding another space after the final digit, write the name of the code:

010AA3CE 0Walk Through Walls

That's all, that's how you create a .cht file.

JoshWilsonnn commented 7 years ago

Where do I need to put the .cht file for it to show up? And do I need to create file for each cheat..? Thanks again in advance. I know it's probably an easy process & I'm just doing one thing wrong.

On Sep 10, 2016, at 11:53 AM, Drenn1 notifications@github.com wrote:

Closed #151.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

Stewmath commented 7 years ago

This is covered in the tutorial. If your rom is named "Pokemon Crystal.gbc", you name it "Pokemon Crystal.cht". The only caveat is if windows is hiding the extensions (I wish it wouldn't do that).

JoshWilsonnn commented 7 years ago

I'm trying to do this on OSX El Capitan via TextEdit.

On Saturday, September 10, 2016, Drenn1 notifications@github.com wrote:

This is covered in the tutorial. If your rom is named "Pokemon Crystal.gbc", you name it "Pokemon Crystal.cht". The only caveat is if windows is hiding the extensions (I wish it wouldn't do that).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Drenn1/GameYob/issues/151#issuecomment-246122914, or mute the thread https://github.com/notifications/unsubscribe-auth/AVFLoG5rSkrw3Z5mi4PIZDsqMIfZr3nFks5qouKrgaJpZM4J5mU7 .

Stewmath commented 7 years ago

Okay. Is that a problem? It looks like TextEdit is a word processor, not just a plaintext editor. If you have options like bolded letters available, it's not plaintext and it won't work.

It would be preferable if you could use a really dumb text editor like notepad, which only supports plaintext, but I don't know much about macs.

JoshWilsonnn commented 7 years ago

There's an option to change it to plain text, but I saved the cheats, renamed the file after my rom (.cht) & the option is still grayed out. Not sure what I'm doing wrong.

On Saturday, September 10, 2016, Drenn1 notifications@github.com wrote:

Okay. Is that a problem? It looks like TextEdit is a word processor, not just a plaintext editor. If you have options like bolded letters available, it's not plaintext and it won't work.

It would be preferable if you could use a really dumb text editor like notepad, which only supports plaintext, but I don't know much about macs.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Drenn1/GameYob/issues/151#issuecomment-246123311, or mute the thread https://github.com/notifications/unsubscribe-auth/AVFLoKGNLRoB45VHpKZn42-BgR-ldbKyks5qouRHgaJpZM4J5mU7 .

Stewmath commented 7 years ago

Well, the only thing I can think of is if your mac is hiding the file extensions. In that case, your cheat file might be named something like "Game.cht.txt" but the ".txt" part would be hidden.

JoshWilsonnn commented 7 years ago

On Sep 10, 2016, at 12:24 PM, Drenn1 notifications@github.com wrote:

Well, the only thing I can think of is if your mac is hiding the file extensions. In that case, your cheat file might be named something like "Game.cht.txt" but the ".txt" part would be hidden.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Drenn1/GameYob/issues/151#issuecomment-246124100, or mute the thread https://github.com/notifications/unsubscribe-auth/AVFLoEAv8kBUTOaExM7gjfqT5n_N_OqSks5qoue7gaJpZM4J5mU7.

I’ve gotten it to show up as an executable file, but the option in the menu is still grayed out - should I be putting it in the GameYob folder I made? I can send you pics if that may help you understand what I’m doing (wrong). Thanks again for your help.

Stewmath commented 7 years ago

What's showing up as an executable file? At this point you may as well get a screenshot of your folder, and post the contents of your .cht file.

Stewmath commented 7 years ago

And it should be in the same directory as your rom file.

JoshWilsonnn commented 7 years ago

I finally figured it out, thanks for your help.

On Sunday, September 11, 2016, Drenn1 notifications@github.com wrote:

And it should be in the same directory as your rom file.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Drenn1/GameYob/issues/151#issuecomment-246194950, or mute the thread https://github.com/notifications/unsubscribe-auth/AVFLoK8A7HHs56TI5eGqkYXd0QveODV8ks5qpEVegaJpZM4J5mU7 .