don't click here

Generations PC Unleashed Porting - Public Hardware Test #1

Discussion in 'Engineering & Reverse Engineering' started by Dario FF, May 13, 2012.

  1. Falk

    Falk

    Member
    1,570
    15
    18
    Something just occured to me; How modifyable is the hub world, actually? Is the geometry replaceable? Are the sets going to be replaced with custom sets depicting the Unleashed levels? That'd actually be pretty cool and something the community could contribute to, from concept art to modelling to retrofitting textures, etc.
     
  2. Twilightzoney

    Twilightzoney

    Tech Member
    353
    0
    16
    Elgin, IL And Hampshire
    Unleashed and Generations Stuff and Custom Works
    The cool thing about editing the hubworld is, that we can make it 3d actually and it will still work for pushing up on the control stick to enter a stage. So in theory we could have this huge hub worlds that are expansive that connect to one another. That fit each others theme.

    So yes, it is very open to be edited. We just need a idea of what it should look like. If any concept artists would like to depict that. I say go for it then. Since pretty much everything in there can be remodeled.

    Only thing that would be a problem would just be for Classic Sonic for his Spindash since he cannot do that in 3d. Unless we were to disable it in the hub.
     
  3. Dark Sonic

    Dark Sonic

    Member
    14,631
    1,611
    93
    Working on my art!
    Someone has to fix Classic Sonic's spindash in 3D. I mean spikes work in 3D, anyway we could use that in this situation?
     
  4. Falk

    Falk

    Member
    1,570
    15
    18
    More dum hub world questions. From my fraps footage of the hubworld and what I know about interactive scoring techniques, I am -convincingly- (not absolutely) sure that:

    1) Each zone/boss has its own looping theme (hurr durr falk)
    2) They're all the same BPM (138) and are 10 bars long - an 8-bar phrase containing the most recognizable hook from the music followed by a 2-bar turnaround
    3) There's a 1-bar intro regardless on which zone you start in front of, this has to segue perfectly into the start of each zone
    4) The 10 bar zone loops are divided into 1-bar audio files; incidentally the swaps also occur on the bar, and this maintains relative position within the 10 bar loop. (I'm convinced of the file split because of the noticable seams on barlines in songs which syncopate and skip the downbeat)
    5) It is not sample-accurate the same way audio engines like Wwise, etc are- I'm definitely noticing irregular drifting across long periods of time

    Stylistically:
    Instrumentation is as sparse as possible, probably mirroring the 'unfinished' look of the hub worlds. The constant is electric bass and a very raw drum kit, either double-tracked acoustic or overdrive guitars, and at most 1 lead instrument, 1 backing line, most often violin or flute but also inclusive of harmonica and synths (e.g. CPZ, PW)

    I'm going to attempt to make loops for all the Generations stages that -should- sound similar enough in tone that they can be believably segued to/from the current material if the mega-hub-world-thingoo takes off, but obviously since the sound of ESPECIALLY the drums won't be identical, I'll also recreate the 1-bar intro and Rooftop Run so that there's a discrete set of Unleashed loops that sound like they came from the same session, same should the Unleashed mod be completely seperate from the base game.
     
  5. CraigRobbo

    CraigRobbo

    Member
    15
    0
    0
    This works perfect for me other than the original named issues of the camera.

    I am running the following specs

    Gigabyte UD3R mobo
    i7 920 (C0)
    6gb Corsair ram
    Nvidia GTS 250 with 512mb vRam (XFX Variant)

    Hope this is of some help to you guys.

    Craig
     
  6. Twilightzoney

    Twilightzoney

    Tech Member
    353
    0
    16
    Elgin, IL And Hampshire
    Unleashed and Generations Stuff and Custom Works
    That sounds good, I'm willing to start modeling something, soon as someone has some ideas of how they want the hubworld to be. I'd have to limit things like no spindashing and no drifting, possibly no boosting either to be fair. But I'm willing if you people would like a hubs that interconnect that are like Unleashed's hub-worlds. It sounds a lot better than just having some model replacement and having the same setting in that white world. So if you got any ideas on it, shout it out since I rather not be unoriginal and just clash hubworld models together.

    [​IMG]

    [​IMG]

    Yeah the HDR lighting is handled differently in Generations than it was in Unleashed. To get a right tone for it. Generations is too high contrast. I just need to find a right middle man for the values to make it seem just right. I can't stand the over brightness it gives me a headache.
     
  7. Falk

    Falk

    Member
    1,570
    15
    18
    I was definitely scratching my head wondering if Apotos Act 1 was during dusk and I just forgot, but it definitely looks like the lighting needs a touch-up pass. As it is it really does imply evening or late afternoon and the shadows are all wrong for that.

    Regarding the Hub Worlds: I'm actually still of the mindset that doing up Unleashed level set pieces in the way the current hub world is would be a really nifty thing; especially if they looked like they could have been official work when put side by side with the current zone set pieces.

    Also, rough mix: http://soundcloud.com/falk-2/apotoshub

    edit: You know, this is actually quite lethargic. While some of the hub world remixes in Generations (I.e. Rooftop Run) manage to pull off some crazy arrangements to make them sound right at a lower BPM, the Unleashed soundtrack as a whole is just higher, like 150BPM+ off top of head for the day stages. I'm assuming though that the hub world music is hard-coded to a certain extent and we can't really mess with the BPM or loop length.
     
  8. Lanzer

    Lanzer

    The saber calls for its master... Member
    6,845
    3
    18
    Glendale, AZ
    Living life.
    ^This. I posted a video a few pages back showing the spike-dash working in 3D, maybe theres some way to use that?
     
  9. Dario FF

    Dario FF

    Tech Support Hotline Tech Member
    @HUB world: Honestly I think it would just be really neat to redesign them in the generations style HUB world, since it makes travelling around easier. Except with a better design for mission spots since the ones in generations are just annoying to get to. Modelling a fully 3D HUB world would take more work than what's needed IMO. Definitely not a top priority.

    @HUB world tune: I love whatever tune you do, and I'm sure you can make it sound even better. That's lovely and inspiring, kinda like that mockup for chun-nan. :)

    Alright, so I've been looking at all the videos and issues reported. Thank you all for this feedback, it's really helpful, here's some conclusions.

    • Performance: It's fine in a wide range of systems, with comparable performance to generations, but it seems memory bloat is an issue. This is due to the platform differences. Terrain in the XBox 360 format takes about 44 or more bytes per vertex, and what I did was use Devil's Details common format they used for most models, which is 104 bytes. So for example, that stage was designed to have a certain amount of geometry in memory(hence the abundant instancing of grass), which is causing the freezes once it reaches the memory limit. So next up I got some coding to do, which is making an optimized vertex format, writing only what's necessary(and probably compressing RGBA from 16 to 4 bytes, since that's the precision on the original data anyway). I can't guarantee that will totally fix the problem, but it should alleviate the ram usage in about 30-20%, which is enough room to work with.
    • Graphical glitches: The water material and bloom glitch, and the coloring is the same in everyone's systems. I'm gonna have a look at fixing the materials even more for this, since it seems the Unleashed materials lack some definitions Generations materials normally have. Seems like an engine update in that regard as well. Hopefully adding the extra stuff will make some issues go away.
    • Material blending problems: Now this one seems a bit hardware dependent, but as a matter of fact it seems it can be fixed by simply making those materials blending materials back again. When I was debugging this stage, that red seam(Korama's) and the blue seam(Falk's) don't show up on most playthroughs I've seen. I assume just fixing those materials like I manually did with others should make the issue go away, but perhaps this means stages will need some testing on different hardware to fix them up to be consistent.

    All in all, this went far better than I expected, honestly! I was just expecting a lot of crashing and weird graphical glitches, but it seems the engine is pretty consistent all around. I'll start implementing some of the changes above and might upload another revision later(hopefully it'll be even smaller due to optimizations). Testing this small stage helps quite a lot in fixing these issues first hand. So thanks to everyone for participating. :)
     
  10. Twilightzoney

    Twilightzoney

    Tech Member
    353
    0
    16
    Elgin, IL And Hampshire
    Unleashed and Generations Stuff and Custom Works
    [​IMG]
    [​IMG]

    So I've just been messing around. Learning more about how the sceneeffect.prm.xml thing works and I love the stuff that I'm finding.

    Also I liked the specular map on Unleashed more than Generations bronze look.
     
  11. Tiller

    Tiller

    Member
    836
    0
    16
    HDK & World Runner
    Goddammit. That just makes me want to see Sonic be able to cross that gap of water and run into that island in the distance. Unleashed looked pretty damn good for the pseudo realistic artstyle they were going for. If there was some way to really open up acts like that with the Generations Engine I wold be all for it. Sonic flies across the water, maybe jumps between those racks and onto the green slope into the town. Maaaan.


    Downloading now to test this out on my crappy laptop. Again awesome work Dario and Co.
     
  12. Falk

    Falk

    Member
    1,570
    15
    18
    Welp, so I was wrong about a few of my assumptions: It seems there is more than one entry loop.

    Last few dum hub world music implementation questions (I promise)

    -Is the length of each bar (I.e. the BPM) and the length of the total loop hardcoded?
    -Is the number of different zones hardcoded? I.e. is it possible to append Unleashed Hub World music instead of replacing entries should we go to the mega-Hub-World-Mashup (in 2.5D, as it currently is!) route

    (this one is a little derp and maybe it's already somewhere on the forums but I'm really pressed for time)
    -Could you get me -all- the music files, exactly as they are, with filenames intact, for the Hub World? I don't want them stitched, I don't want them looped; I already know the implementation; I just want to see how the files are organized, and much more importantly have the raw files as they appear in the vanilla game assets so that I can match volume levels and how the audio are prepared split into bars/etc. THIS IS EXTREMELY IMPORTANT FOR PLAYBACK since the music engine in the hub world doesn't appear to be sample-accurate the way the boost/non-boost swapping algorithm is in actual Acts.
     
  13. ila

    ila

    Shin Megami Tensei x Fire Emblem x iDOLM@STER Oldbie
    Everything runs for me beautifully.
    System spcs:
    OPERATING SYSTEM:
    Windows 2.6.1.7601 (Service Pack 1)
    CPU TYPE:
    AMD FX(tm)-4100 Quad-Core Processor
    CPU SPEED:
    3.62 GHz
    SYSTEM MEMORY:
    8 GB
    VIDEO CARD MODEL:
    AMD Radeon HD 6700 Series
    VIDEO CARD MEMORY:
    753 MB
    VIDEO CARD DRIVER:
    aticfx32.dll

    Keep up the good work.
     
  14. Falk

    Falk

    Member
    1,570
    15
    18
    http://soundcloud.com/falk-2/white-world-unleashed

    Changed the URL for this; Apotos and Holoska sort-of-done. All the other zones probably will be added to the same URL (<3 soundcloud replace clip feature)
     
  15. FeliciaVal

    FeliciaVal

    Member
    693
    11
    18
    Spain
    you're by far one of the best composers I've ever encountered! good work Falk, you're trully a genius!
     
  16. MykonosFan

    MykonosFan

    MODE CHANGE. Member
    3,751
    558
    93

    This alongside everything else in the thread is making me want to get a computer that can smoothly run Generations. This is going to be so cool when it's all said and done.

    (Steam doesn't even recognize my graphics card/driver or something and won't even allow me to open the demo, oh PC gaming knowledge just eludes me :v: but that's neither here 'nor there)
     
  17. Dario FF

    Dario FF

    Tech Support Hotline Tech Member
    Boner @ Holoska.

    Did you want the AAX in .aax format or ripped to wav? I'm not sure how to do that though since I don't tend to mess around too much with this sound stuff.
     
  18. Falk

    Falk

    Member
    1,570
    15
    18
    The original files should be fine, I think (not to mention .wav would be a ton of bandwidth for no reason)

    I'll figure out conversion and such. (ty GW)
     
  19. FeliciaVal

    FeliciaVal

    Member
    693
    11
    18
    Spain
    totally agreed there. Too bad my computer can't run Generations :/ I need a new graphic card...
     
  20. Dario FF

    Dario FF

    Tech Support Hotline Tech Member
    These are the contents of SNG23_PAM.cpk, you can create a folder in the unleashed mod folder with the name "SNG23_PAM" and just place your modified AAX files for testing.

    Linky

    If the duration of the clips is hardcoded, let me know and we'll remake the level list... since we haven't gone around to reordering it on proper difficulty. Will probably just use the original level order though.