Resident Evil 4 Mobile .h2z File

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Sonderhen
Posts: 17
Joined: Sat Jun 15, 2019 1:06 am

Resident Evil 4 Mobile .h2z File

Post by Sonderhen »

Hello guys

Several times I'm trying to find a way to extract the .h2z files from the Resident Evil 4 Android Version, but I can not find anything.

can anybody help me?

example attached
Sonderhen
Posts: 17
Joined: Sat Jun 15, 2019 1:06 am

Re: Resident Evil 4 Mobile .h2z File

Post by Sonderhen »

another link to download the sample file:

https://www.mediafire.com/file/29u4vo11 ... on.h2z.png
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Resident Evil 4 Mobile .h2z File

Post by aluigi »

The H2Z magic at the beginning is the only thing with a sense in that file.
Sonderhen
Posts: 17
Joined: Sat Jun 15, 2019 1:06 am

Re: Resident Evil 4 Mobile .h2z File

Post by Sonderhen »

Is there any chance of unpacking this file?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Resident Evil 4 Mobile .h2z File

Post by aluigi »

Currently no because there is nothing to extract at the moment.
If the data is obfuscated it's necessary that someone finds the algorithm (and key)
Sonderhen
Posts: 17
Joined: Sat Jun 15, 2019 1:06 am

Re: Resident Evil 4 Mobile .h2z File

Post by Sonderhen »

Thank you for reply

Do you suggest somewhere I might try to find the algorithm for this type of file?

I'm trying to translate the game into my language.

The game has several files, only two of them are not encrypted, these two I already translated in hex editor.
Sonderhen
Posts: 17
Joined: Sat Jun 15, 2019 1:06 am

Re: Resident Evil 4 Mobile .h2z File

Post by Sonderhen »

In the version of Zeebo (Brazilian console) I found the file of the same name but unencrypted, logically it has differences of the android version, because when I put this file in the android version, the game crashes.

With this zeebo file would it help in some way to extract the file from the android version?

file in attachment
moonsarito1
Posts: 7
Joined: Thu Jul 18, 2019 2:42 am

Re: Resident Evil 4 Mobile .h2z File

Post by moonsarito1 »

Got something? I'm trying to extract this same file in the Zeebo version so it can modify it and make it look more like the Android version.

Maybe it's even possible to put new maps in it, the Zeebo version is all well '' described ''

but not knowing how to extract the .h2z files can not do much. :|

https://i.imgur.com/VrSDAZS.png

[EDIT]


I don't know if it helps anything, but when opening the files with notepad you can see some of the files that make it up (including, you can read some of the texts)
https://i.imgur.com/qZdjPeX.png

If you can find something that can extract Resident Evil 4 .h2z files for Mobile, Zeebo and Android / iOS contact me (moon.sarito@gmail.com)

I would love to see a mod of this game, maybe even putting the maps of console versions in it (or at least the models of Leon, Ganados, Ashley and etc ...)

[EDIT2]

I also noticed that in the .mod file (it's something that all Zeebo games that use BREW have, it's kind of a core to run the game on the console) .bin, .mcts, .mca files and etc. file information... related to .h2z files (such as 3d_stg01 )
Ex: item_armor_info.bin / 2d_end_01.mct / ch_leon_base.mcas / ch_ash.mcms / item_healing_info.bin etc...
https://i.imgur.com/9ydtoqz.png

So 100% sure it is a file to extract and not to open in any editor.
Sonderhen
Posts: 17
Joined: Sat Jun 15, 2019 1:06 am

Re: Resident Evil 4 Mobile .h2z File

Post by Sonderhen »

Sorry for delay.

Unfortunately I didn't find much.

Are you Brazilian?
DarkSheep
Posts: 6
Joined: Fri Dec 20, 2019 11:29 pm

Re: Resident Evil 4 Mobile .h2z File

Post by DarkSheep »

Heya, it's good to see that i'm not the only one that it's trying to find a way to access ir modify the .h2z files :)

And also i think i know Sonderhen.
Sonderhen
Posts: 17
Joined: Sat Jun 15, 2019 1:06 am

Re: Resident Evil 4 Mobile .h2z File

Post by Sonderhen »

I still haven't found any way to extract the files.

Did you get something?
rus_lol_
Posts: 18
Joined: Sun Nov 06, 2016 6:33 am

Re: Resident Evil 4 Mobile .h2z File

Post by rus_lol_ »

Im write tool to decrypt and unpack h2z files. For convenience upload on github.
https://github.com/ruslol/H2ZExtractor/releases/
DarkSheep
Posts: 6
Joined: Fri Dec 20, 2019 11:29 pm

Re: Resident Evil 4 Mobile .h2z File

Post by DarkSheep »

Great! I'm going to test it
DarkSheep
Posts: 6
Joined: Fri Dec 20, 2019 11:29 pm

Re: Resident Evil 4 Mobile .h2z File

Post by DarkSheep »

How does It works?
Sonderhen
Posts: 17
Joined: Sat Jun 15, 2019 1:06 am

Re: Resident Evil 4 Mobile .h2z File

Post by Sonderhen »

rus_lol_ wrote:Im write tool to decrypt and unpack h2z files. For convenience upload on github.
https://github.com/ruslol/H2ZExtractor/releases/



Thank you man!!! great job!!

worked perfectly :)

Are you developing repack too?
DarkSheep
Posts: 6
Joined: Fri Dec 20, 2019 11:29 pm

Re: Resident Evil 4 Mobile .h2z File

Post by DarkSheep »

Aren't you the guy who worked on the Brazilian Portuguese translation for RE4?
rus_lol_
Posts: 18
Joined: Sun Nov 06, 2016 6:33 am

Re: Resident Evil 4 Mobile .h2z File

Post by rus_lol_ »

Sonderhen wrote:
rus_lol_ wrote:Im write tool to decrypt and unpack h2z files. For convenience upload on github.
https://github.com/ruslol/H2ZExtractor/releases/



Thank you man!!! great job!!

worked perfectly :)

Are you developing repack too?



Thanks! Yes, i am working on it
rus_lol_
Posts: 18
Joined: Sun Nov 06, 2016 6:33 am

Re: Resident Evil 4 Mobile .h2z File

Post by rus_lol_ »

I add packer. Check program
Sonderhen
Posts: 17
Joined: Sat Jun 15, 2019 1:06 am

Re: Resident Evil 4 Mobile .h2z File

Post by Sonderhen »

Unfortunately it doesn't work

The game closes when the game opens

I noticed that the new .h2z is four times bigger than the original h2z
DarkSheep
Posts: 6
Joined: Fri Dec 20, 2019 11:29 pm

Re: Resident Evil 4 Mobile .h2z File

Post by DarkSheep »

Sonderhen wrote:Unfortunately it doesn't work

The game closes when the game opens

I noticed that the new .h2z is four times bigger than the original h2z

;-;