Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hebereke - Enjoy Edition #158

Open
GuiMiTomo opened this issue Apr 19, 2024 · 10 comments
Open

Hebereke - Enjoy Edition #158

GuiMiTomo opened this issue Apr 19, 2024 · 10 comments

Comments

@GuiMiTomo
Copy link

GuiMiTomo commented Apr 19, 2024

There might be a NES rom in NesHebereke_x64_Release.dll based on an iNES header starting "NES", but via HxD, I couldn't be able to extract it. Maybe some special program can do the trick.
Edit: bro lied

@themazingness
Copy link

themazingness commented Apr 19, 2024 via email

@GuiMiTomo
Copy link
Author

GuiMiTomo commented Apr 19, 2024

The header isn't at the start of the file, so it won't work, even deleting the data before the header. The latter makes the emulator loop an infinte grey screen.
image
Edit: replaced the image once again, because I remembered the command to screenshot windows

@DrAzathoth
Copy link

At first, I checked the Unity assets to see if I could identify anything (similar to SaGa), but I couldn't find anything. However, I was able to extract the ROM via memory dump, but things got weird quickly. With the correct header, I can get the game to boot to the title screen, but the graphics are garbled and the game crashes upon starting a new game. Upon further inspection, I realized that the ROM I dumped was 16 bytes larger than the original ROM!
The following data was injected at 0x00020010 with no other worthwhile differences I am aware of:
00 00 00 00 00 00 00 00 87 DB 75 41 41 8F 72 10
After removing the data, I was able to get the title screen and password screen fixed, but the game still crashed upon starting a new game.

@GuiMiTomo
Copy link
Author

Glad to see some progress made!

@GuiMiTomo
Copy link
Author

Unrelated, but there seems to be an update that added the English box and manual for Ufouria.
This doesn't affect the Emulator and Hebereke ROM side of the game.

@GuiMiTomo
Copy link
Author

Got a ROM via the Memory Dump method, but I found there are differences with a stable ROM. That's why the game couldn't start.

@GuiMiTomo
Copy link
Author

Hebereke fix.zip
Patch file

@GuiMiTomo
Copy link
Author

GuiMiTomo commented May 26, 2024

Made an "at least I tried" ROM extraction guide. https://github.com/GuiMiTomo/HeberekeROMExtractionGuide
Edit: fixed typo.

@Infinest
Copy link

Infinest commented Sep 27, 2024

@GuiMiTomo @DrAzathoth I have made a proper application to extract a correct ROM from the game files. It also allows the user to apply a fixed NES 2.0 header making it 1:1 to the No-Intro ROM.
See: https://github.com/Infinest/Hebereke_Enjoy_Enjoy_Edition_Extractor

The ROM file itself is contained within HEBEREKE\FCHEBEREKE_Data\Plugins\x86_64\NesHebereke_x64_Release.dll with some form of compression. I've gone ahead and reversed the logic they are doing to decompress it via Ghidra and reimplemented it in C#. The funny thing is the logic for decompressing the ROM from this DLL is also contained in this same DLL.

@GuiMiTomo
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants