don't click here

Sega PC Reloaded

Discussion in 'Engineering & Reverse Engineering' started by Korama, Apr 2, 2015.

  1. InvisibleUp

    InvisibleUp

    friendly internet ghost Member
    139
    13
    18
    Just ran into that issue. The problem is that you've selected the directory where you've already installed the game on your hard disk, but that directory contains none of the data the game needs to run. If you tried to run that normally it would prompt you to insert the Sonic 3D Blast CD, but because this is running a No-CD patch it just gets really, really confused when it can't find any data. What you need to do is copy the contents of the CD to a folder and select that folder.

    Also, I just tried to open the game from the folder out of curiosity and it ran the modded version. Does this patch the .EXE?

    EDIT:
    The title screen plays the Game Over music for whatever reason. Here's my track listing:
    Code (Text):
    1.  
    2. 01 Title Theme.mp3
    3. 02 Game Over.mp3
    4. 03 Battle Theme.mp3
    5. 04 Green Grove Act 1.mp3
    6. 05 Green Grove Act 2.mp3
    7. 06 Rusty Ruins Act 1.mp3
    8. 07 Rusty Ruins Act 2.mp3
    9. 08 Spring Stadium Act 1.mp3
    10. 09 Spring Stadium Act 2.mp3
    11. 10 Volcano Valley Act 1.mp3
    12. 11 Volcano Valley Act 2.mp3
    13. 12 Diamond Dust Act 1.mp3
    14. 13 Diamond Dust Act2.mp3
    15. 14 Gene Gadget Act1.mp3
    16. 15 Gene Gadget Act2.mp3
    17. 16 Panic Puppet Act1.mp3
    18. 17 Panic Puppet Act2.mp3
    19. 18 Emerald Challenge.mp3
    20. 19 Final Fight.mp3
    21. 20 Success 1.mp3
    22. 21 Success 2.mp3
    23. 22 Success 3.mp3
    24. 23 Success 4.mp3
    25. 24 My Hero.mp3
    26.  
     
  2. Chibisteven

    Chibisteven

    Member
    1,354
    31
    28
    US
    That listing is incorrect.

    + 1 to all tracks. 01 becomes 02 and 02 becomes 03.

    In order for it to work right. It's goes like this:
    The first track is the data track on DATA + Redbook Audio CD-ROM disc. The first audio track is the second track. For example "Title" is Track 2 and "You're My Hero" Performed by Debbie Morris (not sure if the name is spelt right) is Track 25. "Game Over" is supposed to be Track 3 not Track 2 that's why it's playing at the Title Screen. What comes after ## Title here generally isn't important to making it run. I have it as Track##.flac starting at Track02.flac all the way to Track25.flac for simplicity.
     
  3. InvisibleUp

    InvisibleUp

    friendly internet ghost Member
    139
    13
    18
    Ah, that would make sense. I literally just ripped my own CD and plopped it in a folder. Program works excellently otherwise.
     
  4. Chibisteven

    Chibisteven

    Member
    1,354
    31
    28
    US
    It's exactly what I did, too. Ripped my own disk using Exact Audio Copy in secure mode with the drive offset corrected. I choose to leave out the gaps when splitting the WAVE image using a cuesheet (which I had to edit out the first track in the sheet because EAC is annoying that way) after ripping a WAVE+CUE image and checked everything to make sure nothing got cut off at the beginning and end of each track using a digital editor to show the waveform as dB values down to -145 db. CDs stop at -96 dB so it makes it easier to see. I renamed everything "Track##.wav" then opened the FLAC frontend, encoded everything with a compression level of 8, chose sort by file type and deleted WAVE files and renamed the folder "MUSIC" before dropping it the game's directory.

    I figured that index of 01 was of relevance and index 00 was a safe landing place and could be discarded, but choose to double check this.
     
  5. muteKi

    muteKi

    Fuck it Member
    7,647
    37
    28
    Everything is working surprisingly well, with the exceptions of Sonic 3D maxing out at 30 fps for some reason, and the not-CD-audio not always transitioning to the next track (such as the speed shoes in Sonic CD, or the results screen in either SCD or S3D).
     
  6. Korama

    Korama

    Tech Member
    272
    0
    0
    I know it was intended to be renamed, but that clashes with my philosophy of not changing the original files.


    Yes, you can copy the original CD content to HDD yourself, or you could just use the "install from original CD" feature, after all I went to the trouble of making it. It's actually preferrable to use the launcher's install function, because it'll copy the necessary files, which might not always be identical to a manual copy. Sonic CD for example doesn't have the two required RDX libraries in its "GAME" folder, but the launcher's install function will place them there for you.
    The "pick already installed location" function is rather dumb at this point. It only checks if there's a valid executable in the folder you select. The original Ecco-only launcher checked the existence of all required data files as well. I guess I should add that feature again.

    As for starting games directly and not with the launcher: some work, some don't. It depends on when the game in question loads ddraw.dll, the DLL that contains my patches. Some games have a static reference to ddraw.dll in their import table, so that Windows automatically loads ddraw.dll the moment the game is executed, meaning my patches can modify the game in memory before it gets a chance to run. That's the case with Sonic 3D Blast, and Bug! as well. Other games however load ddraw.dll only later during their execution. Sometimes too late, I.e. after running unwanted or broken code (CD checks, video mode checks, etc.). Starting the games via launcher makes sure that ddraw.dll will be loaded right from the start, regardless whether the game originally imported it statically or dynamically (or not at all).


    Thanks. Sounds like you have changed some settings of Sonic 3D. It lets you choose between 50, 55, and 60 fps, and has a setting cryptically named "motion smoothing". What the latter actually does is half the frame rate when disabled. So, selecting "60 fps" in S3D's game menu will actually result in 30 fps, unless "motion smoothing" is enabled. Alternatively, the "sleep value" (near the bottom of the launcher's configuration page) could be too high. Try reducing it (Alt+"-" and Alt+"+" while the game is running).

    I'm not sure what you mean about Sonic CD. Does the normal stage music not resume after the speed-up track? Or is there just a delay / pause? If it's the latter, the pause might be in your audio file.
     
  7. Tets

    Tets

    one rude dude Oldbie
    864
    25
    28
    I'm having the same issue. The stage complete music doesn't play immediately, and thus far has never started before the level transition for me unless I switch focus from the Sonic CD window and back. Invincibility and speed shoes tracks are weirdly delayed as well. These are tracks I just ripped from my CD for the purpose of playing around with this, and they play flawlessly in foobar2000 with no delay. I haven't got a clue what's going on here.
     
  8. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,648
    214
    43
    SonLVL
    I've done that, and added a safeguard so it'll just use the default music if a fallback isn't found.
     
  9. muteKi

    muteKi

    Fuck it Member
    7,647
    37
    28
    Yeah, this is my problem. It seemed like the speed shoes didn't load at all on mine, or at least took so long to load the effect wore off before they could play, unless I switched focus away from the window.


    Also I turned on motion smoothing and now S3D is crashing on startup??? (When I turned it on it was like the window was framelocked to 30 fps so everything ran at half-speed, then I closed the program and now it won't open again)
    Fixed. Deleted the .ini and the program launched again. Now motion smoothing is working correctly!
     
  10. Korama

    Korama

    Tech Member
    272
    0
    0
    Thanks!


    That's strange, as it works just fine for me. I'll have to do some research on this.

    Unfortunately I have to focus on other things at the moment, so it will take a while before I'll be able to release an update, then with support for Bug!, hopefully.
     
  11. What happened to Comix Zone and Earthworm Jim Special Edition
     
  12. Graxer

    Graxer

    Member
    I have finally had a chance to try this out with my copies of Sonic CD, Sonic 3D and Sonic & Knuckles Collection. You have done a great job! These games now perform so well that they finally feel like they have been built for modern computers! The only problem I have had is that even with the updated opn.avi that you provided, Sonic CD seems to be unable to show the opening movie. I used it to replace the old file and I get "Cannot find Vids:DivX compressor".

    As well as Sonic R (if possible), which I know has been mentioned before, I would be interested in seeing the 2 PC Sega Smash Packs supported by this project, to add the PC versions of Sonic 2 (with its graphically improved multiplayer mode) and Sonic Spinball to modern PCs.
     
  13. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,648
    214
    43
    SonLVL
    You are aware that Sega Smash Pack is literally just KGen, right? Kega Fusion even does something similar to Sega Smash Pack 2 in Sonic 2's 2P mode, although it doubles the width, giving you 640x480 instead of 320x480. GerbilSoft is planning on adding a 320x480 rendering mode to Gens/GS II, whenever that gets done.
     
  14. Graxer

    Graxer

    Member
    I didn't realise that actually. Never mind then, if it is simply emulation then inclusion of this is definately unneeded. It is good to know that Kega Fusion supports this, I will use that in the future.
     
  15. Chris Highwind

    Chris Highwind

    Member
    2,100
    16
    18
    Statesville, NC
    Slacking
    Is the download on the original post the latest build? I have the same problem with Sonic CD MainMemory had with an identical ISO, in that it dings when I try to select the ISO for installation.
     
  16. qwertysonic

    qwertysonic

    Member
    782
    239
    43
    creating the biggest sonic collection
    Is the GBA sega smash pack with sonic spinball just a port of the pc KGEN?
     
  17. Graxer

    Graxer

    Member
    If I remember correctly every level played the Toxic Caves theme on the GBA version. Also, the resolution of the GBA screen wouldn't allow for Mega Drive games to be played without graphical distortion as far as I am aware and I don't remember any in the GBA port, so I suspect it was a port instead of emulation in that case. I could be wrong though!

    EDIT: This Sega Smash Pack (GBA) appears to confirm what I suspected. Changes had to be made to the games for implementation purposes on the GBA
     
  18. Covarr

    Covarr

    Sentient Cash Register Member
    4,233
    3
    18
    Trapped in my own thoughts.
    Two stageplays, a screenplay, and an album
    Beyond that, the GBA simply isn't powerful enough for acceptable Genesis emulation. SNES emulators for the system are problematic at best, and that's even with the SNES's lower clock speed and greater similarity to the GBA. Hell, even jEnesisDS has trouble with the Genesis, so it's really difficult to imagine that a Genesis emulator for GBA could ever be anything better than a proof-of-concept, certainly nothing playable.
     
  19. Korama

    Korama

    Tech Member
    272
    0
    0
    Nothing happened to them, so far.


    Thanks!
    Yeah, the Sonic CD opening I uploaded requires an installed codec that handles Xvid/DivX. Maybe I should have used mpg or mp4, but at the moment I have only avi playback implemented.


    Yes, the original link is still up-to-date. The version is 1.0.0.24 for the launcher and 2.0.1.58 for the DLL.
    You are selecting a mounted ISO (I.e. a virtual CD drive), not an ISO file itself, right?
     
  20. bookman the stinky

    bookman the stinky

    literal trash Member
    188
    14
    18
    the dong
    find motivation

    So I started replacing some of the sound effects in 3DB. Some of them (namely the projectile hit/blast attack sound) share the same file despite there being what seems like one for the different instances of the sound.
    Also, the game will accept any .WAV file of any sample rate.

    Edit: Since I don't feel like this constitutes another post, you can replace Sonic CD's FMV's with any video file and they will play just fine. They'll just be stretched to fit the widescreen display.