Homebrew An injected VC GBC game is having an error that was fixed before but isn't working for me

chronoquairium

Active Member
OP
Newcomer
Joined
May 27, 2017
Messages
38
Trophies
0
Age
22
XP
166
Country
United States
This may not belong here, I'm sorry if it doesn't, but...
The context: https://www.reddit.com/r/PokemonPrism/comments/5v37lp/all_new_pokes_have_the_same_wrong_cry/
I'm having the exact same problem in the exact same scenario - the issue is that I'm already using the "New" VC emulator. I don't know how to fix it, considering that the only given solution worked for him but not for me.
I've asked on both the Prism subreddit and Discord, with no response.
Do any of you know?
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,912
Country
United States
Dec-21-2018
At the time of writing, the latest Pokemon Prism romhack was v0.94-Build 229.

1. Get the patch at:
From the announcement page here, you want to download:
  • pokeprism0229.rar (6.35 MB - CRC32 hash: C3889E3F)
Extract this file using 7-Zip or WinRAR:
  • pokeprism.bsp (1.76 MB - E5096699)

***

2. Obtain a copy of the Pokemon Crystal *.gbc rom somewhere:
  • Pokemon - Crystal Version (UE) (V1.1) [C][!].gbc (2.00 MB - 3358E30A)
-OR-

If you have the official Nintendo eShop GBC VC of this game, you can dumped it in GodMode9:
  • 0004000000172800 Pokemon Crystal (CTR-N-QBRA) (UE).cia
You may mount the *.cia with either GodMode9 or fuse-3ds and extract this exact rom at:
  • 0000.00000002/romfs/rom/CGBBYTE1.784 (2.00 MB - 3358E30A)

***

3. Go to the official website to create this romhack:
These are the settings to apply:
  • Input file (ROM or Save Game): Pokemon - Crystal Version (UE) (V1.1) [C][!].gbc
  • Patch file (BSP): pokeprism.bsp
  • BEGIN PATCHING → Release version → Get file
The output file will be:
  • pokeprism.gbc (2.00 MB - 3D8CE356)
Although my memory is fuzzy, I believe this exact prepatched romhack can be found out there named as such:
  • Pokemon Prism (v0.94-b0229).gbc (2.00 MB - 3D8CE356)
In any case, it would be a good idea to name the output *.gbc file with the version and build tag.​


***

4. Use NSUI beta 27 to custom inject a GBC VC of Pokemon Prism. You can obtain the box art at:
The banner cover can be screenshot captured with the desktop mGBA emulator.
Pokemon-Prism-NSUI.png

***

From brief testing, I did not notice the bug where the Pokemon have the same cries. Perhaps the bug was present in older versions of this game.

***

Other than GBC VC, you can also play this game with a nightly build of the 3DS mGBA emulator.

***

If you wish to import your *.sav (32 KB) played from other emulators into the GBC VC, read about the techniques found here.
You will need to hex edit that *.sav file to match size and rename it as such to replace the sav.dat file.

Save Managers
  • Checkpoint v3.5.0 failed to import the edited *.sav renamed as sav.dat.
  • JKSM (08.19.18) and SaveDataFiler (SDK 11.6) were tested to work.
 
Last edited by TurdPooCharger,

chronoquairium

Active Member
OP
Newcomer
Joined
May 27, 2017
Messages
38
Trophies
0
Age
22
XP
166
Country
United States
Okay, the first problem with this is that this is exactly what I did the first time.
So, just in case I messed up somewhere, I did it again.
(sorry I don't know how to do spoilers)
ngaJDen.png

This is build 229. So the version number is not a problem. (I had a copy of Prism I've been using for a while on emulator before moving it to 3DS.)

I then went to recreate the CIA, then noticed that we had different views of NSUI - I looked at the changelog and found I was using Beta 26 - which is what I used the previous time. After updating, I created the file.

upload_2018-12-22_1-6-27.png

Umm...

After injecting the new CIA into the 3DS, the ruling is - a failure. The first Pokemon I battle, a Shinx, has the messed up cry. And this is before I load back in my save file with JKSM.

So, not only did it fail, but NSUI is now Spanish for no reason whatsoever. Help?
 

Attachments

  • upload_2018-12-22_0-58-58.png
    upload_2018-12-22_0-58-58.png
    4.9 KB · Views: 144
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,912
Country
United States
@Asdolo, I'm calling you as there appears to be a discrepancy between NSUI beta 27 and Ultimate GBC VC v1.1 v1.10.
I don't believe you have a GitHub to report bugs.

As for EventAssistant (BernardoGiordano) and FlagBrew team, I'll probably fill out a proper bug report later. (No @ calling so not an immediate concern).
If you guys end up reading this first, there seems to be an issue where Checkpoint doesn't follow through restoring the sav.dat in certain custom injected GBC VC versus what JKSM and SavaDateFiler can handle. Read post #2 above for more details.

Okay, the first problem with this is that this is exactly what I did the first time.
So, just in case I messed up somewhere, I did it again.
(sorry I don't know how to do spoilers)
This is build 229. So the version number is not a problem. (I had a copy of Prism I've been using for a while on emulator before moving it to 3DS.)
Can you archive the v0.94-b0229 *.gbc romhack you have in WinRAR to verify we have the same CRC32 hash? I'm curious to know if there are differences such as if one happens to use Pokemon Crystal V1.0.

syscard_pce_hash.png



I then went to recreate the CIA, then noticed that we had different views of NSUI - I looked at the changelog and found I was using Beta 26 - which is what I used the previous time. After updating, I created the file.

Umm...
Did you delete the entire NSUI beta 26 folder? I think this language bug happens if files are copied and pasted over instead of keeping the builds separate.

After injecting the new CIA into the 3DS, the ruling is - a failure. The first Pokemon I battle, a Shinx, has the messed up cry. And this is before I load back in my save file with JKSM.
Because I haven't played Pokemon in a long time, I went back to the start in the cave and cross compared hearing this game on 3DS mGBA, GBC VC, and desktop mGBA with two headphones (one each for the 3DS & computer).

On my first play through in GBC VC, I didn't notice anything amiss due in part that my n3DSXL's right speaker doesn't work, and there were different cries for Venonat, Sentret, and Makuhita. Running into Shinx in that cave is kinda rare after the first encounter.

Using YouTube for reference, I picked up hearing Shinx's cry does indeed sound off in GBC VC. This pokemon makes the "eEHhouw" cry with trailing electric sparkles, although the pitch is off like as if he needs a cough drop. Desktop and 3DS mGBA are correct.

After trying the Injection method:
  • GBC Virtual Console with linking
  • GBC Virtual Console (Alt)
neither of those two worked out. :(

PKMN-Prism-linking-injection.png

Going back and re-reading what that Reddit thread you linked said:
LightningXCE said:
This happens when you are not using the updated VC emulator. Use one based on the existing Crystal/Yellow injects.



You can hear what the cries sound like in an accurate emulator, BGB in this case.


When using Ultimate GBC VC Injector for 3DS v1.1 v1.10 with the ☑ Use new VC ..., that lil' Shit Lynx finally cried cutely. :lol:

Ult-GBC-VC-Inj-Pkmn-Prism.png

And this is before I load back in my save file with JKSM.
Hey, that save file importing is if you played the game on a desktop emulator that uses the *.sav format. You can't simply rename the file to sav.dat because there's a 0x20 bytes portion at the end that needs to be deleted to match sizes with the GBC VC version. The total size needs to be 0x8010 bytes.

When you use the older Ultimate GBC VC injector with that new VC option, JKSM and Checkpoint will backup and output the saves with two files:
  • sav.dat
  • SecureValue
Both those homebrew save managers (and probably SaveDataFiler) will work for these cases.

So, not only did it fail, but NSUI is now Spanish for no reason whatsoever. Help?
To change back the language in NSUI:
  • Herramientas → Opciones... → Misc. → Idioma: English
 
Last edited by TurdPooCharger,
  • Like
Reactions: chronoquairium

chronoquairium

Active Member
OP
Newcomer
Joined
May 27, 2017
Messages
38
Trophies
0
Age
22
XP
166
Country
United States
Can you archive the v0.94-b0229 *.gbc romhack you have in WinRAR to verify we have the same CRC32 hash? I'm curious to know if there are differences such as if one happens to use Pokemon Crystal V1.0.
I'm assuming you don't mean ROM sharing, and I'm unfamiliar with WinRAR, so I wouldn't know how to find it.


Did you delete the entire NSUI beta 26 folder? I think this language bug happens if files are copied and pasted over instead of keeping the builds separate.
Yes. Beta 26 was in the recycle bin before I extracted beta 27.

When using Ultimate GBC VC Injector for 3DS v1.1 with the ☑ Use new VC ..., that lil' Shit Lynx finally cried cutely. :lol:
I'm assuming you mean v1.10 and not v1.1, as they're two different things.
So I used the linked injector, and it finally worked, thank god. The only problem is that now, JKSM isn't working right. I click on "Save Data" while on Prism to create a backup to replace, same as the last 3 times, and nothing happens. I should be able to figure this one out on my own, I remember this being asked around.

EDIT: Just had to refresh my titles.
Hey, that save file importing is if you played the game on a desktop emulator that uses the *.sav format. You can't simply rename the file to sav.dat because there's a 0x20 bytes portion at the end that needs to be deleted to match sizes with the GBC VC version. The total size needs to be 0x8010 bytes.
Yeah, I'm aware. I've done my homework as well, and I know that if you rename sav.dat into a .sav file, all emulators accept it without the 20 extra bytes. I've already cut that down before - the save works fine after importing. The patcher accepts it without the 20 bytes as well.


To change back the language in NSUI:
  • Herramientas → Opciones... → Misc. → Idioma: English
Worked!

So overall, basically everything worked. Thank you so much!
 
Last edited by chronoquairium,
  • Like
Reactions: TurdPooCharger
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,912
Country
United States
I'm assuming you don't mean ROM sharing, and I'm unfamiliar with WinRAR, so I wouldn't know how to find it.
WinRAR is a archiving program. CRC32 like other hashes is just a way to uniquely identity and keep track of files, kinda like genetic markers for people.

Yes. Beta 26 was in the recycle bin before I extracted beta 27.
Good.

I'm assuming you mean v1.10 and not v1.1, as they're two different things.
So I used the linked injector, and it finally worked, thank god. The only problem is that now, JKSM isn't working right. I click on "Save Data" while on Prism to create a backup to replace, same as the last 3 times, and nothing happens. I should be able to figure this one out on my own, I remember this being asked around.
Yes, that's correct. I meant v1.10. My above post has been edited to reflect this. Thanks.

That's kinda strange your linked injection in NSUI worked for you as it didn't for me. Huh.

Oh, you need to play the game first and make a save before JKSM allows backing up a save. That above post that talked about Pokemon Crystal with BORTZ kinda glossed over needing to make a dummy save first. Also make sure you're using the latest JKSM.

Yeah, I'm aware. I've done my homework as well, and I know that if you rename sav.dat into a .sav file, all emulators accept it without the 20 extra bytes. I've already cut that down before - the save works fine after importing. The patcher accepts it without the 20 bytes as well.
If I'm following this correctly, you managed to get the back and forward Pokemon Prism.sav ⇄ sav.dat conversion / export & import down, yes?


Worked!

So overall, basically everything worked. Thank you so much!
:)
 

chronoquairium

Active Member
OP
Newcomer
Joined
May 27, 2017
Messages
38
Trophies
0
Age
22
XP
166
Country
United States
WinRAR is a archiving program. CRC32 like other hashes is just a way to uniquely identity and keep of files, kinda like genetic markers for people.
Okay. I'll see if I can learn it a bit for future reference.

That's kinda strange your linked injection in NSUI worked for you as it didn't for me. Huh.
No, as in the GBC VC injector, not the NSUI. That's why I said the linked one, because the quote had the GBC one.

Oh, you need to play the game first and make a save before JKSM allows backing up a save. That above post that talked about Pokemon Crystal with BORTZ kinda glossed over needing to make a dummy save first. Also make sure you're using the latest JKSM.
As I edited above, it was just me needing to refresh titles. I had done the other stuff already.


If I'm following this correctly, you managed to get the back and forward Pokemon Prism.sav ⇄ sav.dat conversion / export & import down, yes?
Yes.

And with that, I can finally say there's no more issues with this. Thank you. (I still have to worry about GBA Backup Tool not working, but that's a different thread in a different category.)
 
General chit-chat
Help Users
  • No one is chatting at the moment.
    K3N1 @ K3N1: https://youtube.com/shorts/PArWUK0WyDQ?feature=share