Sonic and Sega Retro Message Board: SADX/SA1 Hacking/Modding - Sonic and Sega Retro Message Board

Jump to content

Hey there, Guest!  (Log In · Register) Help
  • 184 Pages +
  • ◄ First
  • 182
  • 183
  • 184
    Locked
    Locked Forum

SADX/SA1 Hacking/Modding Now with more research and development!

#2746 User is offline PkR 

Posted 26 February 2018 - 05:11 AM

  • Posts: 170
  • Joined: 04-August 12
  • Gender:Male
  • Project:SADX Dreamcast Conversion, The Emeralds' Awakening

View PostMcAleeCh, on 21 February 2018 - 12:01 PM, said:

View PostE-122-Psi, on 21 February 2018 - 11:06 AM, said:

In terms of camera editing, one function I think might be interesting to re add or tweak from the Dreamcast original is how the end of the cutscenes often stream into the gameplay camera (or at least are MEANT TO but stutter a bit). The later ports tended to muck them up so they didn't quite work.
Funnily enough, a new article which touches on this (among other things) by PkR and Sonikko has just been added to the SADX Sins blog:

https://dreamcastify...x-enhancements/

Really hope someone figures out how to restore the original smooth(er) transitions one day - the sudden cuts in SADX are pretty jarring.

I was able to fix those, sort of. As I suspected, it turns out those transitions are still in SADX. There's some camera-related value that gets reset after a cutscene finishes playing. Resetting the value causes the camera to cut to the character, and simply delaying the reset by a couple of seconds allows the transitions to work. I haven't played the entire game with this "fix", but it shouldn't cause issues. Apparently the transitions were supposed to play even when you cancel cutscenes, so I "fixed" those too, which may or may not help awkward camera angles that often happen when you cancel a cutscene.
Note that this "fix" only restores what was put in there originally. Some of the transitions are still awkward because that's just the way they are. I'm not interested in reworking all cutscenes to make those transitions smoother.

#2747 User is offline McAleeCh 

Posted 26 February 2018 - 06:27 AM

  • Posts: 763
  • Joined: 12-January 03
  • Gender:Male
  • Wiki edits:27

View PostPkR, on 26 February 2018 - 05:11 AM, said:

View PostMcAleeCh, on 21 February 2018 - 12:01 PM, said:

View PostE-122-Psi, on 21 February 2018 - 11:06 AM, said:

In terms of camera editing, one function I think might be interesting to re add or tweak from the Dreamcast original is how the end of the cutscenes often stream into the gameplay camera (or at least are MEANT TO but stutter a bit). The later ports tended to muck them up so they didn't quite work.
Funnily enough, a new article which touches on this (among other things) by PkR and Sonikko has just been added to the SADX Sins blog:

https://dreamcastify...x-enhancements/

Really hope someone figures out how to restore the original smooth(er) transitions one day - the sudden cuts in SADX are pretty jarring.

I was able to fix those, sort of. As I suspected, it turns out those transitions are still in SADX. There's some camera-related value that gets reset after a cutscene finishes playing. Resetting the value causes the camera to cut to the character, and simply delaying the reset by a couple of seconds allows the transitions to work. I haven't played the entire game with this "fix", but it shouldn't cause issues. Apparently the transitions were supposed to play even when you cancel cutscenes, so I "fixed" those too, which may or may not help awkward camera angles that often happen when you cancel a cutscene.
Note that this "fix" only restores what was put in there originally. Some of the transitions are still awkward because that's just the way they are. I'm not interested in reworking all cutscenes to make those transitions smoother.
Ah, amazing to hear! Thanks for the heads-up - will have to check it out as soon as I have the chance! = D

#2748 User is offline PkR 

Posted 26 February 2018 - 08:51 AM

  • Posts: 170
  • Joined: 04-August 12
  • Gender:Male
  • Project:SADX Dreamcast Conversion, The Emeralds' Awakening
Spoiler

I was looking in SA1's 1ST_READ.BIN and found a familiar-looking set of data, which turned out to be byte-by-byte identical to EFMSGFONT_ASCII24E.BIN in SADX system folder.

This is the "Impress" font used for subtitles and recap screens in SA1. The other file, EFMSGFONT_ASCII24S.BIN, is a version of Comic Sans(?) used for subtitles and recap screens when playing the game in European languages other than English. The PC version of SADX doesn't load these files (although the Gamecube version apparently does), but there are some references to them in code.

Anyway, I ripped both of these files as bitmaps (didn't bother to look for ASCII24S in SA1, it's probably 100% the same), which you can download here. I've also rearranged the bitmaps in the order SADXFontEdit exports SADX font data, so if this tool is ever updated with import functionality they will be importable as-is.

Interestingly the PC version of SADX loads fonts from FONTDATA1.BIN (European) and FONTDATA0.BIN (Japanese). Other than the first 32 empty symbols, the letters in FONTDATA1 come in the same order as in these files, except that the "Impress" one doesn't have all those additional symbols for European languages.
If SADXFontEdit had an option to import bitmaps I'd make a more "authentic" Dreamcast Font mod, but it doesn't at the moment and I really don't feel like re-painting all of those letters by hand. If anyone wants to do that though, feel free to use my rips as a reference.

EDIT: I got a modified FONTDATA1 file to work, but it doesn't look the same. Apart from a brightness difference the font looks thicker overall in SADX. Looks like the game needs some code fixes to display the font properly.
Spoiler

This post has been edited by PkR: 26 February 2018 - 12:58 PM

#2749 User is offline End User 

Posted 26 February 2018 - 09:53 PM

  • Posts: 13
  • Joined: 30-December 16
  • Gender:Male
  • Project:Supers Over Hedgehogs (SA2)

View PostPkR, on 26 February 2018 - 08:51 AM, said:

If SADXFontEdit had an option to import bitmaps I'd make a more "authentic" Dreamcast Font mod, but it doesn't at the moment and I really don't feel like re-painting all of those letters by hand. If anyone wants to do that though, feel free to use my rips as a reference.

Way ahead of ya. I think I posted my version of this a little over a year ago, but if it turns out that it was the one you used for the comparison screenshot, that's fine as well. Sadly, it doesn't include any of the extra symbols for the European release, but every symbol that was in the Dreamcast release is present here. It's basically the same as the version you posted, and it has another issue where the text can get cut off on both sides if it's too long.
This post has been edited by End User: 26 February 2018 - 09:58 PM

#2750 User is offline PkR 

Posted 26 February 2018 - 11:20 PM

  • Posts: 170
  • Joined: 04-August 12
  • Gender:Male
  • Project:SADX Dreamcast Conversion, The Emeralds' Awakening

View PostEnd User, on 26 February 2018 - 09:53 PM, said:

Way ahead of ya. I think I posted my version of this a little over a year ago, but if it turns out that it was the one you used for the comparison screenshot, that's fine as well. Sadly, it doesn't include any of the extra symbols for the European release, but every symbol that was in the Dreamcast release is present here. It's basically the same as the version you posted, and it has another issue where the text can get cut off on both sides if it's too long.

I saw this mod when it was posted, however the spacing issue makes it somewhat unusable long-term. From what I understand it isn't a 1:1 copy of the original font. Here's a comparison (top - mine, bottom - yours):
Spoiler

It's pretty close for the most part, but it doesn't replace all of the symbols and the letters aren't aligned to the left, which I think may have contributed to the spacing issue.
Anyway, I'm currently experimenting with getting this font to work in SADX, and so far I've got it to look like this (top - SA1, bottom - SADX):
Posted Image
Unfortunately SADXPC does something with font rendering, which results in a washed-out look. Also the subtitle text is slightly bluish and transparent on the Dreamcast, but SADX makes it opaque white. I was able to correct that somewhat, but it generally looks a bit thicker than the original font despite the font data being 100% the same. Another difference is related to the recap screen - the font is slightly grey (248 248 248) on the Dreamcast, whereas the SADX one is white (255 255 255).
I'll add an option to Dreamcast Conversion sometime soon that will allow to toggle between this font and the original SADX font.

#2751 User is offline End User 

Posted 27 February 2018 - 12:16 AM

  • Posts: 13
  • Joined: 30-December 16
  • Gender:Male
  • Project:Supers Over Hedgehogs (SA2)
Ah, that would explain why my version seemed way off. When I tried to replicate the Impress font, I used a more inefficient method of taking screencaps from an emulator and attempted to copy the text pixel-by-pixel. Now that I'm looking at your work and mine side-by-side, I can tell that I really shouldn't have done that. As for the spacing, I don't know what I was thinking with that, but I recall doing it that way because I found that the original font was spaced that way.

While I played around with my version of the mod, I found that the Impress text appeared much closer to SA1's thickness when you interact with this Hint Monitor in vanilla SADX's Station Square Chao Garden. If the header's font is considered 1:1 with the Dreamcast version's, then the same could be said for the SADX Chao Garden action windows on the upper-right side of the screen, as those also look the same.
Posted Image
Posted Image
This post has been edited by End User: 27 February 2018 - 12:24 AM

#2752 User is offline PkR 

Posted 27 February 2018 - 03:55 AM

  • Posts: 170
  • Joined: 04-August 12
  • Gender:Male
  • Project:SADX Dreamcast Conversion, The Emeralds' Awakening
Well, I ended up fixing this with some help from SF94. For some reason SADXPC treats the subtitle texture as ARGB4444 while the font only has 1-bit alpha. Changing the texture type to ARGB1555 made the subtitle text a lot sharper, even with the default SADXPC font.

This is what the "Impress" font looks like right now:
Posted Image
I restored the transparency and tried to imitate the color, but in the Dreamcast version it also seems to have a very faint gradient. It isn't noticeable, and the difference is now negligible.
I've also added the "Comic Sans" font, which can be used in English and other European languages ("Impress" only has letters for English), though I've seen some spacing issues in Spanish at least once. Probably fixable by editing the text. I don't play the game in other languages so I hope someone else figures this out.
Spoiler

The good news is that the Impress font doesn't seem to have any spacing issues.

I decided to check if the remaining fonts were any different between SA1 and SADX, and found out that the Kanji font was different in SA1. I've updated the archive with all font files and a program to open them.
This post has been edited by PkR: 27 February 2018 - 05:15 AM

#2753 User is offline Supakitsune 

Posted 07 March 2018 - 03:42 AM

  • "R" is it.
  • Posts: 1585
  • Joined: 29-December 03
  • Gender:Female
  • Location:Chicago, IL
  • Wiki edits:7
Nice work! That's always bugged me about SADX PC. The DC font is a little tacky, but it's got charm (and it's certainly better than Chalkboard/Comic Sans/whatever it is they used in SA2). The DX PC font is just...pretty lifeless and ugly. And half of that turned out to not really even be the font's fault! They really should've had more than just the one overworked intern doing the porting job. :v:

#2754 User is offline PkR 

Posted 18 April 2018 - 09:15 AM

  • Posts: 170
  • Joined: 04-August 12
  • Gender:Male
  • Project:SADX Dreamcast Conversion, The Emeralds' Awakening
For anyone who doesn't like installing mods manually, here's a new version of my universal SADX mod installer.

You can use it to install the Mod Loader and some of the popular mods on any version of SADX. It has a profile-based system for most common setups - Dreamcast mods, Enhanced SADX and speedrun-friendly Minimal/Vanilla. For people new to SADX modding it has a Guide mode that shows comparison screenshots to help you decide which mods to install, and for more advanced modders there's a Custom mode that makes it fully customizable to your liking. It also arranges the mods in the correct order (although that's no longer a major problem), deletes old/deprecated mods, installs DirectX/Visual C++ runtimes/.NET Framework, cleans up the SADX folder, etc... The full list of features can be found here.

The installer is available in two versions - the complete offline package and the web version. The installer itself is identical in both packages. The web version just downloads the files it needs to install the selected mods, while the offline version has files for all mods. The installer can also detect if the mods have been updated (on my server), or if a new build of the Mod Loader is available. It can even self-update seamlessly like the Mod Loader does after recent updates.

Here are some screenshots:
Spoiler

I hope someone finds it useful, and feel free to share any feedback here, on Twitter, GitHub or ModDB.

#2755 User is offline Tadashi 

Posted Yesterday, 03:33 PM

  • 3fast5u
  • Posts: 533
  • Joined: 21-September 06
  • Gender:Male
Very cool!

I wish you considered assing the mirror mode mod as well. It gives the game a Master Quest like feel. You'd be surprised how fresh the locations can look and feel just because of some simple screen flipping.

  • 184 Pages +
  • ◄ First
  • 182
  • 183
  • 184
    Locked
    Locked Forum

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