Join also our Discord channel! Click here.

Beyond: Two Souls - Reversing | Porting (THAT'S ALL FOLKS?)

Programs that are related to this or that game.
User avatar
HugoPeters
veteran
Posts: 133
Joined: Thu Apr 03, 2014 9:49 am
Location: The Netherlands
Has thanked: 64 times
Been thanked: 168 times
Contact:

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

Post by HugoPeters » Fri Aug 22, 2014 2:10 pm

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
Image

"I'm going to throw my shit at you" —The Great Mighty Poo
_______________________>> check my portfolio I wish the [center] bbcode was turned on
_______________________>> or my twitter

User avatar
HugoPeters
veteran
Posts: 133
Joined: Thu Apr 03, 2014 9:49 am
Location: The Netherlands
Has thanked: 64 times
Been thanked: 168 times
Contact:

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

Post by HugoPeters » Fri Aug 22, 2014 7:07 pm

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
Image

"I'm going to throw my shit at you" —The Great Mighty Poo
_______________________>> check my portfolio I wish the [center] bbcode was turned on
_______________________>> or my twitter

User avatar
aagems
advanced
Posts: 75
Joined: Wed May 30, 2012 6:07 pm
Has thanked: 6 times
Been thanked: 1 time

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

Post by aagems » Mon Sep 01, 2014 6:15 pm

Great job Hugo :-)
Great things require hard work!!

User avatar
HugoPeters
veteran
Posts: 133
Joined: Thu Apr 03, 2014 9:49 am
Location: The Netherlands
Has thanked: 64 times
Been thanked: 168 times
Contact:

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

Post by HugoPeters » Tue Sep 02, 2014 1:32 am

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!
Image

"I'm going to throw my shit at you" —The Great Mighty Poo
_______________________>> check my portfolio I wish the [center] bbcode was turned on
_______________________>> or my twitter

lion589
beginner
Posts: 26
Joined: Wed Oct 12, 2011 5:48 pm
Has thanked: 31 times
Been thanked: 5 times

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

Post by lion589 » Tue Sep 02, 2014 3:01 pm

is this running on pc?

User avatar
HugoPeters
veteran
Posts: 133
Joined: Thu Apr 03, 2014 9:49 am
Location: The Netherlands
Has thanked: 64 times
Been thanked: 168 times
Contact:

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

Post by HugoPeters » Tue Sep 02, 2014 3:32 pm

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!
Image

"I'm going to throw my shit at you" —The Great Mighty Poo
_______________________>> check my portfolio I wish the [center] bbcode was turned on
_______________________>> or my twitter

lion589
beginner
Posts: 26
Joined: Wed Oct 12, 2011 5:48 pm
Has thanked: 31 times
Been thanked: 5 times

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

Post by lion589 » Tue Sep 02, 2014 3:57 pm

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

User avatar
Meguido
beginner
Posts: 21
Joined: Sun Sep 07, 2014 1:33 pm
Has thanked: 17 times
Contact:

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

Post by Meguido » Sun Sep 07, 2014 2:23 pm

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.

User avatar
HugoPeters
veteran
Posts: 133
Joined: Thu Apr 03, 2014 9:49 am
Location: The Netherlands
Has thanked: 64 times
Been thanked: 168 times
Contact:

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

Post by HugoPeters » Sun Sep 07, 2014 2:31 pm

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!
Image

"I'm going to throw my shit at you" —The Great Mighty Poo
_______________________>> check my portfolio I wish the [center] bbcode was turned on
_______________________>> or my twitter

lion589
beginner
Posts: 26
Joined: Wed Oct 12, 2011 5:48 pm
Has thanked: 31 times
Been thanked: 5 times

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

Post by lion589 » Thu Sep 11, 2014 10:17 am

Is there any updates? I am dying to see more from you :mrgreen:

User avatar
cra0
ultra-veteran
ultra-veteran
Posts: 432
Joined: Fri Apr 27, 2012 9:37 am
Has thanked: 29 times
Been thanked: 184 times
Contact:

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

Post by cra0 » Thu Sep 11, 2014 10:40 am

I'm going to contribute more when I get my new pc next week especially for those bone joints and UVs

User avatar
HugoPeters
veteran
Posts: 133
Joined: Thu Apr 03, 2014 9:49 am
Location: The Netherlands
Has thanked: 64 times
Been thanked: 168 times
Contact:

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

Post by HugoPeters » Thu Sep 11, 2014 9:18 pm

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.
Image

"I'm going to throw my shit at you" —The Great Mighty Poo
_______________________>> check my portfolio I wish the [center] bbcode was turned on
_______________________>> or my twitter

User avatar
HugoPeters
veteran
Posts: 133
Joined: Thu Apr 03, 2014 9:49 am
Location: The Netherlands
Has thanked: 64 times
Been thanked: 168 times
Contact:

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

Post by HugoPeters » Sun Sep 14, 2014 3:01 pm

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)
Image

"I'm going to throw my shit at you" —The Great Mighty Poo
_______________________>> check my portfolio I wish the [center] bbcode was turned on
_______________________>> or my twitter

User avatar
HugoPeters
veteran
Posts: 133
Joined: Thu Apr 03, 2014 9:49 am
Location: The Netherlands
Has thanked: 64 times
Been thanked: 168 times
Contact:

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

Post by HugoPeters » Thu Sep 18, 2014 1:37 am

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 :( )
Image

"I'm going to throw my shit at you" —The Great Mighty Poo
_______________________>> check my portfolio I wish the [center] bbcode was turned on
_______________________>> or my twitter

lion589
beginner
Posts: 26
Joined: Wed Oct 12, 2011 5:48 pm
Has thanked: 31 times
Been thanked: 5 times

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

Post by lion589 » Thu Sep 18, 2014 1:38 pm

Wow 8D This is great, now the models came to life.

Post Reply