Horizon Zero Dawn

Post questions about game models here, or help out others!
Post Reply
daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1819
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 45 times
Been thanked: 1308 times

Horizon Zero Dawn

Post by daemon1 » Mon Feb 19, 2018 9:33 pm

Horizon Zero Dawn tools.
Files for the game are already published on the net.
Animation tool is still in progress. (not published)

Image

Image

Image

Image

Extracting resources:
===============================================================
0. you need oo2core_5_win64.dll in the same folder with the tool
Its in almost any big game now, easy to find. Probably other versions will work too, if you rename them

1. you need to place the tool in your "packed_pink" horizon folder, or better, i recommend using included ini file (just change your folder). If you use this INI - you can use the tool from any folder.
Note: remove PATCH.BIN from the folder, or the tool will crash

2. first thing you need to extract is resource list.
To do this, just run the tool. It will create a text file list. I recommend sorting this list so you can make better selections of what you want to extract. I sort it in excel. It also allows to make filters in it

3. if you want to extract some resource, run
horizon /e resourcename

4. for batch extract, create a text file with a list of what you want to extract, and run
horizon /x list.txt

5. horizon /p list.txt - same as /x, but dump files with directory structure
===============================================================


Convertion:

===============================================================
Now after you extract some res, converting is simple.
Just drag resource of the EXE and it will:
- extract model if res has models
- extract textures if it has textures
- extract skeletons if it has skeletons


Extracting characters with skeleton:
===============================================================
1. place all parts of a character in one folder, and run horizon on all of them
2. a file called "matrices" will be created and UPDATED in the process with all the bone matrices present in all parts
3. put corresponding skeleton file to the same folder and run horizon on it
4. copy-paste skeleton into model parts so they will be complete working models
===============================================
important warning! if you plan to export another model after that, DELETE that "matrices" file before doing it, or this will lead to a complete mess!


Extracting robots
===============================================================
This is most complicated thing. Unlike characters, they have destructible parts, and these parts are connected to animation skeleton. This means, to get model fully working, 4 sources are required:

- matrices from mesh parts (same as characters)
- mesh skeleton (same as characters)
- animation skeleton (ragdoll)
- robot helper bones

you need to place all these files in the same folder:

1. mesh parts usually contained in /animation/parts/ folder
2. half of robots have 2 skeleton files: mesh_skeleton_rootbone & skeleton_rootbone
you need mesh_skeleton_rootbone
3. ragdoll is in robot template file from entities/characters/robots/templates/archetypes/ folder
4. each robot has a file called robot_modelhelpers - this one contains helper bones info

Once you have all these, you can start with convertion

step 1:
Run horizon on all parts files. This will create matrices as it was before

step 2:
Run horizon on template file. This will extract animation skeleton from it.
(you dont need ascii and smd files generated, delete them. They are only useful if you want to experiment with animation only)
So you have .animskel file now in the same folder.

step 3: run this:
horizon [mesh_skeleton] [animskel] > a.bat
this will create FULL robot skeleton both in SMD & ASCII and also A.BAT file

-------------------------
At this time you have info which robot parts are destructibles, and which are normal weighted meshes. You need to treat them differently from now on. Destructibles will be static meshes, and they are all listed in A.BAT file. All others are normal weighted meshes.
You can already use normal weighted meshes as before, but for destructibles you need to perform additional step 4.
-------------------------

step 4:
Open A.BAT file, and replace all "_helper" strings with ".core". This probably could be done automatically on export, but the thing is, I'm not sure all helper bones will always be called the same as helper MESHES. So I'm leaving this to the users at least for now.
Run this .BAT file.

-------------------------
Now after running this file, if there were no errors, you will have all destructible parts property placed and weighted to correct bones.
Note: sometimes there will be destructible parts missing. This means helper bones were created for them, but later the devs decided not to have them in game.
-------------------------

to load all destructible parts as one file:
========================================================
Merge all ASCII files into one as text file, then copypaste skeleton into it.
Then count submeshes (it will correspond to number of "material" string)
and put a number of submeshes after the skeleton (before all the actual data).
This number will correspond to number of "material" string in all files.
Same for SMD files, just no need to count submeshes.
You do not have the required permissions to view the files attached to this post.
Last edited by daemon1 on Sat Apr 07, 2018 9:11 am, edited 8 times in total.

amzerof6
advanced
Posts: 57
Joined: Sat Oct 23, 2010 3:50 pm
Has thanked: 2 times
Been thanked: 2 times

Re: Horizon Zero Dawn

Post by amzerof6 » Tue Feb 20, 2018 3:32 am

daemon1 wrote:Horizon Zero Dawn tools will be posted here after some testing.
Files for the game are already published on the net.
another great job, congratulations!

where can I download the game's files from?

Crazy31139
beginner
Posts: 38
Joined: Fri Dec 02, 2016 5:53 pm
Has thanked: 36 times
Been thanked: 2 times

Re: Horizon Zero Dawn

Post by Crazy31139 » Tue Feb 20, 2018 5:28 pm

Эх, как всегда радуешь нас своими работами, спасибо тебе за возможность извлечь модельки из главных эксклюзивов PS4.
Теперь осталось лишь обзавестись дампами этой игры.
И дождаться релиза Horizon Zero Dawn tools.

erik945
mega-veteran
mega-veteran
Posts: 177
Joined: Fri Jan 20, 2012 5:43 pm
Has thanked: 24 times
Been thanked: 43 times

Re: Horizon Zero Dawn

Post by erik945 » Tue Feb 20, 2018 6:09 pm

Can you publish your tools for the PS4 along with the source code? I would like to know a couple of points, for example, algorithm of convert textures?

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1819
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 45 times
Been thanked: 1308 times

Re: Horizon Zero Dawn

Post by daemon1 » Wed Feb 21, 2018 4:21 pm

amzerof6 wrote:
daemon1 wrote:where can I download the game's files from?
check the usual places where you can get PS4 files

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1819
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 45 times
Been thanked: 1308 times

Re: Horizon Zero Dawn

Post by daemon1 » Wed Feb 21, 2018 4:21 pm

Crazy31139 wrote:Теперь осталось лишь обзавестись дампами этой игры.
Ну с этим проблем быть не должно, всё уже на торрентах

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1819
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 45 times
Been thanked: 1308 times

Re: Horizon Zero Dawn

Post by daemon1 » Wed Feb 21, 2018 4:22 pm

erik945 wrote:Can you publish your tools for the PS4 along with the source code? I would like to know a couple of points, for example, algorithm of convert textures?
No. PS4 texture swizzling was known for some time already, you can see it in other people's tools with source code

lyutor1945
beginner
Posts: 38
Joined: Mon Nov 02, 2015 6:24 pm
Has thanked: 23 times
Been thanked: 2 times

Re: Horizon Zero Dawn

Post by lyutor1945 » Thu Feb 22, 2018 10:42 am

daemon1 wrote:Horizon Zero Dawn tools will be posted here after some testing.
Files for the game are already published on the net.

Video showing the process of destructible parts placing: https://youtu.be/rsbwOuqor3c

Image

Image

Image

Image
daemon1,да ты просто герой!!:) С ума сойти модели из Zero Dawn. День стал намного лучше:)

UberBlack
advanced
Posts: 43
Joined: Thu Oct 22, 2009 8:54 pm
Has thanked: 3 times
Been thanked: 5 times

Re: Horizon Zero Dawn

Post by UberBlack » Mon Feb 26, 2018 8:32 pm

It would be most amazing if you can support animation for this game. This game has the best.

Thanks

Ps. please let us know when your tools are avail. I'd love to try them.

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1819
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 45 times
Been thanked: 1308 times

Re: Horizon Zero Dawn

Post by daemon1 » Tue Feb 27, 2018 5:23 pm

UberBlack wrote:It would be most amazing if you can support animation for this game
I don't think it will be possible

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1819
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 45 times
Been thanked: 1308 times

Re: Horizon Zero Dawn

Post by daemon1 » Wed Feb 28, 2018 5:14 pm

UberBlack wrote:It would be most amazing if you can support animation for this game.
On a second thought, it looks like they are using morpheme, an animation engine I already reversed before. And it means it will probably be possible to extract.

UberBlack
advanced
Posts: 43
Joined: Thu Oct 22, 2009 8:54 pm
Has thanked: 3 times
Been thanked: 5 times

Re: Horizon Zero Dawn

Post by UberBlack » Thu Mar 01, 2018 4:56 am

daemon1 wrote:
UberBlack wrote:It would be most amazing if you can support animation for this game.
On a second thought, it looks like they are using morpheme, an animation engine I already reversed before. And it means it will probably be possible to extract.
WOW, that's amazing news. I didn't know you reversed morpheme. There is a lot of cool games with great animation that use this system.

I can't wait to test your blender plugin.

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1819
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 45 times
Been thanked: 1308 times

Re: Horizon Zero Dawn

Post by daemon1 » Thu Mar 01, 2018 4:48 pm

UberBlack wrote:WOW, that's amazing news. I didn't know you reversed morpheme.
Yes, I did that almost 2 years ago. There were very few comments, so I thought nobody needed that. Check out this list of my works, its outdated, but still... viewtopic.php?f=16&t=14970
UberBlack wrote:I can't wait to test your blender plugin.
I never make blender plugins. I export to universal formats so you can import into maya, 3ds, blender, or any other program or convert with noesis to any other format.

UberBlack
advanced
Posts: 43
Joined: Thu Oct 22, 2009 8:54 pm
Has thanked: 3 times
Been thanked: 5 times

Re: Horizon Zero Dawn

Post by UberBlack » Thu Mar 01, 2018 6:26 pm

Perfect. Thanks for the thread, I will test your plugin. I have been looking for something like this for a long time. Thanks for all your work on it.

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1819
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 45 times
Been thanked: 1308 times

Re: Horizon Zero Dawn

Post by daemon1 » Thu Mar 01, 2018 8:58 pm

Ok here we go, animations are working ;)

https://youtu.be/jWPuixyQLmc

Post Reply