Page 8 of 17

Re: Beyond: Two Souls - Reversing | Porting (CHOICE PATHS!?!

Posted: Fri Aug 22, 2014 2:10 pm
by HugoPeters
Hamers wrote:Regardless how rough it is, I refresh the thread every day in anticipation of an update :D Really love how you document your progress!
Thanks, it's really fun to keep track of it all! I suppose you've already seen the "to-do"-lists on the first page?

I've also forgot to mention this, but I started my own blog, with currently only one lonely post, but should be an interesting read: http://heap.djek.nl/

Also, I'm pretty fucking excited right now, because I finally figured out how the game gets the exact localization part from a container.
It's really stupid.
It provides a key like IW_0801_JUSTIN_FLIRT_JHO14_C00097, then it takes the CRC32 of that, and that turns out to be the key stored in the localization container.
I was first doing all sorts of crazy stuff to get to the correct localization bit, but this is so much easier :D

Re: Beyond: Two Souls - Reversing | Porting (CHOICE PATHS!?!

Posted: Fri Aug 22, 2014 7:07 pm
by HugoPeters
This is a title

Cleaned up everything quite a bit, fixed a lot of things, and made a lot of "boring" but important things.
And I also included the execution of the radio script now, so yeah:

https://www.youtube.com/watch?v=S-2OvPOZ2QM

Re: Beyond: Two Souls - Reversing | Porting (CHOICE PATHS!?!

Posted: Mon Sep 01, 2014 6:15 pm
by aagems
Great job Hugo :-)

Re: Beyond: Two Souls - Reversing | Porting (CHOICE PATHS!?!

Posted: Tue Sep 02, 2014 1:32 am
by HugoPeters
LOL!

Alright, a biggie for y'all.

I first wanted to do a post on Script Zones (I still have a tab open for that), but then I discovered an exploit in the game.
The Game Manager (the uncompiled Lua script which initializes a bunch of stuff for the game) has some print commands and comments scattered around.
I noticed the function "RunLuaFile" in my ELF string output.
So I replaced a print command with NewOS("Infraworld", 4216, 0):RunLuaFile("EXECUTE_ME.lua") (NewOS gets the Game Manager instance) and I was shocked to see that the game was then indeed trying to open the file EXECUTE_ME.lua.
Then I created that file in the file serving directory, and sure enough, the game runs the fucking file.

So what can I do now?

Everything.

I can swap models, set their position, unload them, unload graphics, remove motion kits, call script functions, trigger events (also FX events for characters), remove triggers (thus remove things like restrictions where you can walk), enable wireframe, remove objects, change audio, open the PSN store (lolwut), force low / high def LODs, and the list goes on and on. I basically have direct access and control over the kernel and engine. I wrote a script that launches another RunLuaFile when the user clicks square on the controller. This means I can modify my code on the go and do some fun shit!

Proof:

List of all "instances" in the "The Party" scene:
Image

Wireframe enabled:
Image

Jodie's character model swapped with Matt's:
Image
Image

Matt's character model set to null:
Image

Jodie's char.. this should explain itself:
Image

This too:
Image

And this might:
Image

Havok doesn't like it when I lock the FPS to 400000:
Image

The game has LOADS of print() functions everywhere, so I made a function that overrides the print() and made my own:
Image


Will you release a patch?
Possibly, I'm a person that only likes to release finished things, so when I have time to finish it, I probably will.

Will this work with Heavy Rain too?
Probably, yeah.

A little snip from my custom code to launch the RunLuaFile when the square button is pressed:
Image

More stuff soon!

Re: Beyond: Two Souls - Reversing | Porting (CHOICE PATHS!?!

Posted: Tue Sep 02, 2014 3:01 pm
by lion589
is this running on pc?

Re: Beyond: Two Souls - Reversing | Porting (CHOICE PATHS!?!

Posted: Tue Sep 02, 2014 3:32 pm
by HugoPeters
lion589 wrote:is this running on pc?
Haha, that post was concerning the PS3 version. But when we get the textures out, it could very well look like that on PC as well soon enough!

Re: Beyond: Two Souls - Reversing | Porting (CHOICE PATHS!?!

Posted: Tue Sep 02, 2014 3:57 pm
by lion589
HugoPeters wrote:
lion589 wrote:is this running on pc?
Haha, that post was concerning the PS3 version. But when we get the textures out, it could very well look like that on PC as well soon enough!
Nice! :D

Re: Beyond: Two Souls - Reversing | Porting (GAME EXPLOIT!!!

Posted: Sun Sep 07, 2014 2:23 pm
by Meguido
OMG what an amazing job you're doing here!

Didn't know about a "deleted" scene in that sequence (all i knew was about Jodie with Matt in Jodie's room had 7 seconds cutted in the eu version to get a low PEGI...) but that' look really cool [roll] :D

Btw just a not-related-to-the-main-subject question xD. Have you used game maker to make the Beyond: Two Souls -Extractor- v1.0? I ask because of this shot:
Image
that's the ussual window you get in gm when any error of unknown "resources" used arises.
Just wondering, sorry if its offtopic.

Re: Beyond: Two Souls - Reversing | Porting (GAME EXPLOIT!!!

Posted: Sun Sep 07, 2014 2:31 pm
by HugoPeters
Meguido wrote:OMG what an amazing job you're doing here!

Didn't know about a "deleted" scene in that sequence (all i knew was about Jodie with Matt in Jodie's room had 7 seconds cutted in the eu version to get a low PEGI...) but that' look really cool [roll] :D

Btw just a not-related-to-the-main-subject question xD. Have you used game maker to make the Beyond: Two Souls -Extractor- v1.0? I ask because of this shot:
Image
that's the ussual window you get in gm when any error of unknown "resources" used arises.
Just wondering, sorry if its offtopic.
Yup, I did use Game Maker for that, but since then I've (luckily) switched to C# and Visual Studio!

Re: Beyond: Two Souls - Reversing | Porting (GAME EXPLOIT!!!

Posted: Thu Sep 11, 2014 10:17 am
by lion589
Is there any updates? I am dying to see more from you :mrgreen:

Re: Beyond: Two Souls - Reversing | Porting (GAME EXPLOIT!!!

Posted: Thu Sep 11, 2014 10:40 am
by cra0
I'm going to contribute more when I get my new pc next week especially for those bone joints and UVs

Re: Beyond: Two Souls - Reversing | Porting (GAME EXPLOIT!!!

Posted: Thu Sep 11, 2014 9:18 pm
by HugoPeters
lion589 wrote:Is there any updates? I am dying to see more from you :mrgreen:
Thanks!!
I've been really busy with university, instead of boring homework such as economy and so forth I now get way more fun assignments like Maya stuff, concept design, using game engines, using SVN, making games as a team and much more, so fun and quite easy!

I've just completed Heavy Rain, and even though I like the fight scenes over Beyond's in some ways I do still prefer Beyond over Heavy Rain.

About updates... I got one major thing coming up.
I'll give a clue:
textures

Also I'm happy to announce flatz is helping out! He has made some very impressive tools, like this PS3 EID Root Key Dumper: http://www.maxconsole.com/maxcon_forums ... z-released.

Re: Beyond: Two Souls - Reversing | Porting (GAME EXPLOIT!!!

Posted: Sun Sep 14, 2014 3:01 pm
by HugoPeters
Made a super simple mesh exporter to do some research on normals. Unfortunately I am probably not going to share the models (legal reasons) :P

Image

(parts of body are missing because of clothes being stored in different meshes)

Re: Beyond: Two Souls - Reversing | Porting (GAME EXPLOIT!!!

Posted: Thu Sep 18, 2014 1:37 am
by HugoPeters
Image

Big shout out to flatz for finding and reverse engineering the texture decoding module!!

Ladies and gentlemen. It is time. (the corrupted pieces scattered throughout some textures have been fixed now). For some reason some Jodies have blue arms, will figure out why.

ImageImage
ImageImage
Image
ImageImage
Image
Image
(chrrox made me do this :( )

Re: Beyond: Two Souls - Reversing | Porting (!!!TEXTURES!!!)

Posted: Thu Sep 18, 2014 1:38 pm
by lion589
Wow 8D This is great, now the models came to life.