Sonic and Sega Retro Message Board: Sonic Forces (PC/PS4/XB1/Switch) Hacking & Resources - Sonic and Sega Retro Message Board

Jump to content

Hey there, Guest!  (Log In · Register) Help
  • 11 Pages +
  • 1
  • 2
  • 3
  • 4
  • Last ►
    Locked
    Locked Forum

Sonic Forces (PC/PS4/XB1/Switch) Hacking & Resources

#16 User is offline Amnimator 

Posted 08 November 2017 - 01:14 PM

  • Posts: 222
  • Joined: 15-April 13
  • Gender:Male
Don't have access to the PC version, but any chance this is like Lost World where you can add stages through a lua file instead of replacing them?

Granted Lost World glitched the overworld out a bit when attempting it, but still :V

#17 User is offline Kharen 

Posted 08 November 2017 - 06:53 PM

  • Posts: 616
  • Joined: 29-October 11
  • Gender:Male
  • Location:Eastern Washington University
Well, it would be nice to have a Generations-esque engine without the restrictions on how many levels we're allowed to have. Now I'm kind of torn. I don't think that this game deserves a purchase as-is, but I'm sorely tempted to buy a copy anyways just for the potential mods.

#18 User is offline Dissident 

Posted 08 November 2017 - 08:47 PM

  • AKA Discoid
  • Posts: 127
  • Joined: 17-July 11
  • Gender:Male
  • Location:Tallahasee, Florida

View PostKharen, on 08 November 2017 - 06:53 PM, said:

Well, it would be nice to have a Generations-esque engine without the restrictions on how many levels we're allowed to have. Now I'm kind of torn. I don't think that this game deserves a purchase as-is, but I'm sorely tempted to buy a copy anyways just for the potential mods.

Just wait for some quality mods to come out that you feel like playing, that's my plan. By that point the game will probably be like $5 anyway.

#19 User is offline RikohZX 

Posted 09 November 2017 - 12:35 AM

  • Posts: 346
  • Joined: 18-March 17
  • Gender:Male
I'm curious as to whether the DLC handler could be hijacked in its own way for custom clothes or levels, seeing as Episode Shadow gives itself its own version of the world map and everything.

#20 User is offline TiMan 

Posted 09 November 2017 - 10:26 AM

  • OH NO
  • Posts: 5
  • Joined: 07-November 17
  • Gender:Male
  • Location:Israel
Even though it seems the game is based on the Lost World engine, I hope we can manage editing the physics and the levels layout. I think this game needs some tweaks with the level design and physics, so it might be nice if we could do it ourselves Posted Image. I have already few ideas in mind on tweaking certain areas/levels, but we'll see how it goes.

#21 User is offline NickonAquaMagna 

Posted 09 November 2017 - 11:03 AM

  • Posts: 1054
  • Joined: 14-October 12
  • Gender:Male

View PostDark Sonic, on 07 November 2017 - 11:20 AM, said:

Sonic Lost World 2 confirmed.

It's funny, you'd think since they went back to the boost gameplay and Classic Sonic it would have been easier for them to back peddle and build the game off Generations, yet they decided to build it off Lost World.


And then they go and make the level design a step down from even Colors, another step back from how open ended and layered Generations' levels were. This game doesn't know what it wants to be.

#22 User is offline Chimera 

Posted 09 November 2017 - 06:39 PM

  • I'm not a furry.
  • Posts: 1249
  • Joined: 04-October 10
  • Gender:Male
  • Project:Castlevania prettyness
  • Wiki edits:5
Posted Image

so turns out there's some plaintext scripts in the .exe itself.

I wanted to see how many references to "wars" was in the executable so I loaded the EXE in notepad++ for a kind of "find all references" thing, and to my surprise, parts of the program have a kind of embedded... lua script? I don't know what ot call this, but it seems like this is a bunch of properties to affect development workflow of some sort.

Also, funny enough, the game's got references to the development E-Mail. Use this info wisely :specialed:/>

gonna see if I can translate any of the descriptions commented out. Might not work but let's hope.


EDIT: the text doesnt seem to friendly with google translate so a human'll have to decipher it, but this is interesting.

Apparently the entire OpenSSL license agreement is in Forces' game code starting at 043C32D8. Like the ENTIRE THING in what looks like it was supposed to be commented out C++ code.
This post has been edited by Chimera: 09 November 2017 - 07:38 PM

#23 User is offline Windii 

Posted 10 November 2017 - 10:33 AM

  • 朴念仁のエッグマン
  • Posts: 178
  • Joined: 19-February 17
  • Gender:Not Telling
  • Location:Eggmanland
If you are using Notepad++ you can encode the weird text into Japanese from the "Encoding" option at the top. Like this:
Posted Image

These descriptions are not very exciting, though.

#24 User is online Dark Sonic 

Posted 10 November 2017 - 11:16 AM

  • Posts: 11558
  • Joined: 21-April 06
  • Gender:Male
  • Project:Working on my art!
  • Wiki edits:10
Question. Is it possible to have a tag team mode of Classic Sonic and Modern Sonic or of Classic Sonic and the Avatar? Obviously the game just came out but I just wonder what this game might be capable of. That and I feel like every level should just be tag team to unlock the full potential of the moveset.

Also I just thought the other day this game might actually be a good base for porting Colors levels thanks to the Wispons. At least it's a better base in that regard than Generations or Lost World.
This post has been edited by Dark Sonic: 10 November 2017 - 11:17 AM

#25 User is offline TiMan 

Posted 10 November 2017 - 11:52 AM

  • OH NO
  • Posts: 5
  • Joined: 07-November 17
  • Gender:Male
  • Location:Israel

View PostDark Sonic, on 10 November 2017 - 11:16 AM, said:

Question. Is it possible to have a tag team mode of Classic Sonic and Modern Sonic or of Classic Sonic and the Avatar? Obviously the game just came out but I just wonder what this game might be capable of. That and I feel like every level should just be tag team to unlock the full potential of the moveset.

Also I just thought the other day this game might actually be a good base for porting Colors levels thanks to the Wispons. At least it's a better base in that regard than Generations or Lost World.


I can assume that's not possible, as these gameplay modes are probably hardocded into the .exe. That's a game mode of itself, just like a werehog or a classics sonic game mode. That would be intersting if it is possible, though.

Side note: you can swap levels for tag team and other levels.
This post has been edited by TiMan: 10 November 2017 - 11:58 AM

#26 User is offline RikohZX 

Posted 10 November 2017 - 04:02 PM

  • Posts: 346
  • Joined: 18-March 17
  • Gender:Male
Well, Sonic has the unused Wall Jump fully functional, and the Avatar gains a double jump regardless of race in Tag Team stages while Sonic inherits the Avatar's mobility upgrades from their Wispon; the two basically share traits of sorts depending on gameplay circumstances. Now I wonder if it's possible to enable the Boost for the Avatar, or figure out some way to get Sonic able to use Wisps beyond just the Boost capsules (which could be used to bypass grapple hook limits in Avatar stage design or so forth with some tweaks).

As it stands, I guess the big thing is figuring out what's hard coded and what isn't right now.

#27 User is online Dark Sonic 

Posted 10 November 2017 - 04:12 PM

  • Posts: 11558
  • Joined: 21-April 06
  • Gender:Male
  • Project:Working on my art!
  • Wiki edits:10
Well the avatar is likely built off of Modern Sonic, just like Classic Sonic was in Generations (and probably still is). I wonder if the homing attack could be enabled for Classic Sonic in this game.

#28 User is offline Dario FF 

Posted 11 November 2017 - 08:26 AM

  • Tech Support Hotline
  • Posts: 1059
  • Joined: 03-April 10
  • Gender:Male
  • Location:Mar del Plata, Argentina
  • Project:SonicGLvl
While I haven't looked at much of the files yet, TwilightZoney has been reporting some of his findings to me over the days, so I'd like to provide a summary of what we believe on the game's inner workings yet. We should be able to verify more of these theories when the new PAC format is figured out some more and completely custom file imports are possible. (Thank you very much to the people who are working on that by the way!)

Please don't take any of these as the final facts just yet, as it's mostly speculation and research on what I've been told so far:

  • Both .terrain-model and .model have been reported to work with the current model parser for Generations (modelfbx which uses LibGens), making it possible to rip the game's models already, although with a few important holes in the components yet. The missing elements should be figured out first before making proper rips if that's what you're interested in.

  • The trend continues from Lost World with Sonic Team adding a bunch of metadata to the existing model format that is formatted completely different from the way the Unleashed/Generations formats worked. I'll touch on said metadata later, but it really sounds like whoever's responsible for maintaining their tools on the asset pipeline are different authors or just pressed for time instead of evaluating an actual update to the format. I could understand this for Lost World, but surely a big update like "Hedgehog Engine 2" over 4 years should've implied a quick re-evaluation of this. :v:

  • While some of the game's formats like PAC have been updated to 64 bit offsets (which is the logical thing to do), these old Generations formats still retain the 32-bit offsets... meaning they have a slower parser on top to load the model in memory while the older games could just load the entire file in memory, fix the offsets with the offset table and be done with it. You can actually see them using this technique if you try to rip a model directly from memory in various Sonic games, although I can't remember right now if this was actually the case with Generations (and especially with the PC version considering how it supported big-endian files somehow).

  • The level structure being the same as Lost World still means the terrain streamer is gone, but there has been some new interesting additions. Say hi to static and dynamic sectors.

    Posted Image

    It seems like these filenames actually match whatever numbers are on the terrain folder itself, so just throwing the entire stage in there like Lost World no longer seems to be the default solution. However, this is still nowhere near the level of detailed streaming like Generations/Unleashed, where said terrain groups were actually auto-generated and could turn out to be several hundreds of them.

  • As I mentioned before, there's new metadata for the terrain-model files. While Lost World still used the same GI implementation that Generations/Unleashed did (while getting rid of the A part, that being the Atlas textures), it seems Forces has opted for a mix of toggle-able Shadow Casting, Shadow Receiving and no GI textures to be seen (yet). However, it seems it's still possible to bake shadows into textures, although it's not as widely used as it was for Generations & Unleashed from the looks of it. It seems there was a lot of manual optimization work involved here using these two toggles.

  • It seems Sonic Team was not very inaccurate when it said the GI was now real time, although their PR explanations for it were far more confusing than what the actual implementation ended up being. And it's actually pretty cool!

    As you're already aware, the switch to Physically Based shading has meant that the lighting for both dynamic models and static models is affected by far more components than just the light color now. "Lightfield" appears to be gone and has been replaced by "Lightfield Probes", which are much smaller in size (Around 1-2 MB down to a few KB). Although neither of us have looked at what's inside there just yet, it's a good guess that they've switched to Probe lighting, which actually requires not-as-dense grids for approximating the lighting compared to Lightfield. That means that what has been made real time is the actual lighting on the terrain models themselves instead of using GI textures, but not the process of calculating those lighting sources and bounces.

    The above is actually a very important change when it comes to custom levels, because it means a huge part of what made Unleashed/Generations stages actually look good has been replaced by a much simpler file to generate. Hundreds of textures that could total up 200-600 MB are now approximated by something like a 7 KB file. Of course this requires significantly more powerful hardware to run properly, but the benefits for level makers are very tangible when it comes to fast iteration. Now if that change has paid off for the actual game... that is another discussion. :v:

This post has been edited by Dario FF: 11 November 2017 - 08:36 AM

#29 User is offline DustArma 

Posted 11 November 2017 - 01:54 PM

  • Posts: 1299
  • Joined: 27-February 08
  • Gender:Male
  • Location:Santiago, Chile
  • Project:Learning Python.
Hm, so level mods would be easier to implement now that we don't have to worry about prebaking the lighting and GI?

#30 User is offline Techokami 

Posted 11 November 2017 - 05:49 PM

  • For use only on NTSC Genesis systems
  • Posts: 1287
  • Joined: 19-November 05
  • Gender:Male
  • Location:HoleNet!
  • Project:Sonic Edge
  • Wiki edits:63
It seems the "boost effect" version of Modern Sonic's stage music is unnamed in the audio file table, so the filenames become "off by one" for each one. Hmmm.
EDIT: To add to this, the final boss music is actually split into 8 different files. What. Posted Image
EDIT 2: Okay, after hand-sorting and organizing the music myself, I ended up with some unused filenames:
00701_bgm_stg_ex01
00702_bgm_stg_ex02
00703_bgm_stg_ex03
00704_bgm_stg_ex04
00705_bgm_stg_ex05
00706_bgm_stg_ex06
00707_bgm_stg_ex07
00901_bgm_stg_sp01
00902_bgm_stg_sp02
00903_bgm_stg_sp03
00904_bgm_stg_sp04
00905_bgm_stg_sp05
00906_bgm_stg_sp06

This post has been edited by Techokami: 11 November 2017 - 07:10 PM

  • 11 Pages +
  • 1
  • 2
  • 3
  • 4
  • Last ►
    Locked
    Locked Forum

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users