I have been looking into extracting models from HoG, and since ninjaripper did not work, I have looked into the game files.
I have not yet figured out where the models are kept, and the game client is suspiciously small, but I have located the textures, which seem to in .crn format.
Now I do not know much about cracking texture formats. Actually, I do not know anything about it. So I thought to ask here, since someone might be able to help me.
Here is a sample:
http://www.mediafire.com/download/3fgq9 ... _02A_D.crn
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Heroes and Generals model and texture(.CRN) formats
-
- mega-veteran
- Posts: 164
- Joined: Fri Oct 02, 2015 3:35 pm
- Has thanked: 9 times
- Been thanked: 4 times
- PredatorCZ
- mega-veteran
- Posts: 291
- Joined: Mon Apr 21, 2014 8:32 pm
- Has thanked: 11 times
- Been thanked: 256 times
- Contact:
-
- mega-veteran
- Posts: 164
- Joined: Fri Oct 02, 2015 3:35 pm
- Has thanked: 9 times
- Been thanked: 4 times
Re: Heroes and Generals model and texture(.CRN) formats
Oh. I do not know how I missed that.
This is helpful, but there's still the issue of the models.
This is helpful, but there's still the issue of the models.
-
- mega-veteran
- Posts: 164
- Joined: Fri Oct 02, 2015 3:35 pm
- Has thanked: 9 times
- Been thanked: 4 times
Re: Heroes and Generals model and texture(.CRN) formats
Here's a sample of a .bin file. Any clues how to open it?
You do not have the required permissions to view the files attached to this post.
-
- mega-veteran
- Posts: 164
- Joined: Fri Oct 02, 2015 3:35 pm
- Has thanked: 9 times
- Been thanked: 4 times
Re: Heroes and Generals model and texture(.CRN) formats
So far, still no luck with rippers. Anyone got better luck with the file I posted?
-
- mega-veteran
- Posts: 164
- Joined: Fri Oct 02, 2015 3:35 pm
- Has thanked: 9 times
- Been thanked: 4 times
Re: Heroes and Generals model and texture(.CRN) formats
This time I posted a larger sample:
http://www.mediafire.com/download/6y24g ... sample.rar
http://www.mediafire.com/download/6y24g ... sample.rar
-
- mega-veteran
- Posts: 164
- Joined: Fri Oct 02, 2015 3:35 pm
- Has thanked: 9 times
- Been thanked: 4 times
Re: Heroes and Generals model and texture(.CRN) formats
Sorry for necroing, but anyone found anything?
-
- VIP member
- Posts: 1330
- Joined: Wed Nov 05, 2008 12:16 pm
- Has thanked: 2710 times
- Been thanked: 884 times
Re: Heroes and Generals model and texture(.CRN) formats
the bin is zlib compressed, the first byte was a hint, use offzip to extract 00000000.dat from itPortugalotaku wrote:http://www.mediafire.com/download/6y24g ... sample.rar
Code: Select all
offzip -a c5531570cd93ce62402a65fedcb2cde9.bin c:\offzip
http://zenhax.com/viewtopic.php?t=27
then you can parse the mesh inside the dat, first submesh here
You do not have the required permissions to view the files attached to this post.
Last edited by Acewell on Wed Feb 08, 2017 7:50 pm, edited 2 times in total.
-
- mega-veteran
- Posts: 164
- Joined: Fri Oct 02, 2015 3:35 pm
- Has thanked: 9 times
- Been thanked: 4 times
Re: Heroes and Generals model and texture(.CRN) formats
Oh nice! You think extracting models from those files is viable?
-
- VIP member
- Posts: 1330
- Joined: Wed Nov 05, 2008 12:16 pm
- Has thanked: 2710 times
- Been thanked: 884 times
Re: Heroes and Generals model and texture(.CRN) formats
of course! you can use Hex2obj to get the meshes but would no doubt be easier with a script or tool
-
- mega-veteran
- Posts: 164
- Joined: Fri Oct 02, 2015 3:35 pm
- Has thanked: 9 times
- Been thanked: 4 times
Re: Heroes and Generals model and texture(.CRN) formats
So how exactly do I open these files? Sorry, I just have no clue how to use this hex thingies.
And for some bizarre reason ninjaripper does not work for me in this game, so I cannot use that.
And for some bizarre reason ninjaripper does not work for me in this game, so I cannot use that.
-
- mega-veteran
- Posts: 164
- Joined: Fri Oct 02, 2015 3:35 pm
- Has thanked: 9 times
- Been thanked: 4 times
Re: Heroes and Generals model and texture(.CRN) formats
So can you tell me the hex2obj process you used on this mesh?
-
- VIP member
- Posts: 1330
- Joined: Wed Nov 05, 2008 12:16 pm
- Has thanked: 2710 times
- Been thanked: 884 times
Re: Heroes and Generals model and texture(.CRN) formats
its all in the image, the offsets and counts and settings, you can start
learning it by using the same sample i did above, just dive in man!
learning it by using the same sample i did above, just dive in man!
-
- mega-veteran
- Posts: 164
- Joined: Fri Oct 02, 2015 3:35 pm
- Has thanked: 9 times
- Been thanked: 4 times
Re: Heroes and Generals model and texture(.CRN) formats
It worked, but how do I do this on other models?
-
- mega-veteran
- Posts: 164
- Joined: Fri Oct 02, 2015 3:35 pm
- Has thanked: 9 times
- Been thanked: 4 times
Re: Heroes and Generals model and texture(.CRN) formats
I mean it worked on that one model, but not any others.