Discussion in 'Engineering & Reverse Engineering' started by Turbohog, Feb 20, 2012.
Make Grind Race work in 1P mode: at 518BFF change 0F 8E 0F FF FF FF to 90 90 90 90 90 90
So Mainmemory, can I ask, is SA2 as hard as you thought it would be when it comes to hacking? I remember pre-PC release that you weren't very optimistic about pulling anything off in SA2.
It's about as hard as I thought it would be pre-release: lots of simple code edits, no model edits whatsoever.
So for somebody who has just gotten SA2 PC and has never used cheat engine, anyone want to provide a crash course and/or any other helpful information? Like, why don't we have a unified post with all the codes, etc.?
At the very end of the previous page he posted a link to that page.
Also, if someone (probably MainMemory) figured out the model format for SADX, how much harder could it be for SA2? Though I don't know nearly as much about the SADX's model format as he does.
I didn't figure out the model format, SANiK and co. did years ago with the documentation in the Dreamcast SDK, which also describes the model format SA2 primarily uses.
However, while the SDK does tell you all the data formats, it does not tell you exactly how they should be processed, and as I have repeatedly said, the Chunk format SA2 uses is much more complicated than the Basic format SA1 uses.
For example, Sonic's model makes use of a feature of the format which alllows you to save your position in a model's polygon list and resume from there in another model. So instead of each of the model parts having its own polygon lists, one model stores the polygons for several models. You may have noticed that Sonic's body is half missing in my model viewer. This is because it uses that feature, and I'm not implementing it properly, but I have no clue what exactly is wrong.
As for the model format used in levels which is the main holdup on a level editor, I believe we currently know enough to render textureless colorless polygons from them. I've just been putting it off because it involves writing new model classes and rewriting parts of all of the existing tools.
Here's all the Dreamcast models converted for the PC version, organized in folders. I haven't tested any of these, and if they don't work, there's nothing I can do about it.
Seeing as you haven't tested any of them yet, I decided to test the one that I've been looking forward to the most!
Thus far, I can confirm that using Big's model in place of Eggman's model works in 2-player mode.
He also works in the Single Player mode when Eggman doesn't have any upgrades (the game crashes if Eggman has all of his upgrades.)
I'm assuming that either the Cannon upgrade, the Armor upgrade, or the laser upgrade are causing the crashes.
Since it's possible to disable the graphics of those power-ups (via hex editing / ram editing) to make the Dark Chao Walker not crash, is there any way to do the same thing with the main Eggman model?
P.S. - I'll try testing out some of the other models over the course of today. :D
I know you say that you can't do anything about it if they don't work, but I was wondering how you even got the Sonic one that you showed working previously to work. For me the model changes but the textures go weird. I think it may be due to the fact that the texture files you are supplying are in PAK format, whereas they are in PRS format in my copy of SA2PC.
Make sure the .pak file is in the PRS folder; it needs to be in there for it to work. I use custom .pak files all the time, and it works perfectly fine.
And yes, the prs files are there for everyone; that's just how it works. If you rename the PRS folder to something else, all the textures are the normal SA2B textures =P
Also I tested Metal Sonic, and it seemed to work until I jumped.
Well this is poop. My laptop's kinda dead for the moment, but I can say I'll try to get the ones not working to work. I won't be able to until at least the weekend sadly, but I'll see what I can do about them. Same goes for a fixed trial model.
That works perfectly, thanks for your help!
Is there like a list of tools/hacks I can get to? Or am I gonna have to dig through this thread? Also, trying to use the cheat engine table but says it's not a valid table when trying to load the lua scripts. I'm using the sonic2app_decrypt.exe.
So, uh, here's this. With a really crappy video to boot!
Got my laptop fixed up today, so I'll be working on seeing what's up with those other characters.
And I'll drop the DL link here as well though it's also in the video description :v:
I don't understand why you recorded on a stage where the camera is pulled so far out most of the time. Ah well.
Because the game chugs horribly on my computer, and GHZ is the only level I can get decent running speed on (even then it's bad in several spots) The video itself had to be sped up... But you know, now that you mention it...I probably should have just used the Chao Garden, but I never thought about it :specialed:
Something's.... wrong. The files go in \Sonic Adventure 2\resource\gd_PC\, right?
Edit: Okay, after validating my install so Steam would re-download the files I overwrote, it said it only had to replace 1 file. Given that my screenshot shows soap shoes textures on Sonic's wrist there, I think you might've packed the wrong texture file.
Did you put the texture ".pak" file in the PRS folder? If you don't it wont work. I had the same problem with other models in this forum until I found that out.
Aha! That fixed it!
Separate names with a comma.