Model 2 Emulator 1.0

Discussion in 'General Sega Discussion' started by Elratauru, Jan 2, 2011.

  1. Elratauru

    Elratauru

    Little Shiny Emurralds Member
    So, yeah, as you guys may know, Elsemi, creator of Nebula and the model 2 emu, updated his emulator to version 1.0!

    And it brings lot of new features:
    - Finally fixed VF2 hair problems, now all graphics are correct.
    - Added LUA script support for options, cheats and other uses (check model2lua.txt in SCRIPTS folder)
    - Added texture replacement support (check model2lua.txt in SCRIPTS folder)
    - Added widescreen support (needs per-game lua scripts to know when to enable it). Requires a wide fullscreen resolution or WideScreenWindow set in emulator.ini
    - Fixed texture border detection for textures that caused wrong colors & pixelation on borders
    - Simplified pixel shaders (half the texture fetches)
    - Improved House of the dead FM sound
    - Fixed VF2 wrong sound speeds
    - Fixed background distortion on Dural stage in VF2
    - Added STCC Euro
    - Added Sonic the fighters.
    - Fixed Virtual On missing background color on title screen
    - Rewritten SCSP code for improved accuracy
    - Fixed ATI video card gfx problems
    - Fixed audio stuttering on some windows 7 machines
    - Added Sega Rally Championship rev B

    Download:
    <a href="http://www.emucr.com/2011/01/model-2-emulator-v10.html" target="_blank">http://www.emucr.com/2011/01/model-2-emulator-v10.html</a>

    -----

    Now...the best part? Lua scripting...and freaking texture replacement support.

    I have been doing new textures for Daytona this night, and hoooly, it looks sexy at a nice res with 4x FSAA.
    [​IMG]

    I still need to fix some car textures and stuff, but I already made a new reflection texture for the windows...but anyways, if anyone wants to try them out, check out this topic at speksnk:
    <a href="http://www.speksnk.org/foro/viewtopic.php?f=50&t=72858" target="_blank">http://www.speksnk.org/foro/viewtopic.php?f=50&t=72858</a>
     
  2. amphobius

    amphobius

    doing more important things with my life Member
    2,120
    0
    16
    life
    Well, that's very pretty; looks like a modern game that would be released on the PC, lol
     
  3. Flygon

    Flygon

    Member
    Oh my!

    I wonder how willing he would be to implement movie and rerecording support? I mean, it'd go fantastically with the LUA scripting support! The texture replacement support is a very nice cherry on the top. :)
     
  4. Jaseman

    Jaseman

    The programmer has a nap! Hold out! Programmer! Member
    949
    0
    16
    I can't for the life of me get schamp.zip (Sonic Championship) to work on 1.0. It works fine on 0.9, but on this version it says I'm missing files. I tried like three different zips, including Sonar's zip
     
  5. Polygon Jim

    Polygon Jim

    Eternal Tech Member
    0
    0
    0
    across town from Hinchy
    All the bitches.
    <!--quoteo(post=543384:date=Jan 2 2011, 10:12 PM:name=Jaseman)--><div class='quotetop'>QUOTE (Jaseman @ Jan 2 2011, 10:12 PM) <a href="index.php?act=findpost&pid=543384">[​IMG]</a></div><div class='quotemain'><!--quotec-->I can't for the life of me get schamp.zip (Sonic Championship) to work on 1.0. It works fine on 0.9, but on this version it says I'm missing files. I tried like three different zips, including Sonar's zip<!--QuoteEnd--></div><!--QuoteEEnd-->


    For some reason you need to rename it sfight.zip and run Sonic the Fighters from the menu.
     
  6. Andlabs

    Andlabs

    「いっきまーす」 Wiki Sysop
    2,175
    0
    0
    Writing my own MD/Genesis sound driver :D
    I haven't run the emulator yet so I have no comments on it yet, but

    <!--quoteo(post=543384:date=Jan 2 2011, 10:12 PM:name=Jaseman)--><div class='quotetop'>QUOTE (Jaseman @ Jan 2 2011, 10:12 PM) <a href="index.php?act=findpost&pid=543384">[​IMG]</a></div><div class='quotemain'><!--quotec-->I can't for the life of me get schamp.zip (Sonic Championship) to work on 1.0. It works fine on 0.9, but on this version it says I'm missing files. I tried like three different zips, including Sonar's zip<!--QuoteEnd--></div><!--QuoteEEnd--><!--quoteo(post=543389:date=Jan 2 2011, 10:28 PM:name=Polygon Jim)--><div class='quotetop'>QUOTE (Polygon Jim @ Jan 2 2011, 10:28 PM) <a href="index.php?act=findpost&pid=543389">[​IMG]</a></div><div class='quotemain'><!--quotec-->For some reason you need to rename it sfight.zip and run Sonic the Fighters from the menu.<!--QuoteEnd--></div><!--QuoteEEnd-->This is why we need a standard format for describing setups for existing and future ROM sets rather than having all the ROM setup in code. Simply drop the setup file in an existing ROM set and let the emulator do the rest. I'll think of something (but I will not in any way use XML so if you want to help me drop that now).
     
  7. Sik

    Sik

    Sik is pronounced as "seek", not as "sick". Tech Member
    6,719
    0
    0
    being an asshole =P
    That isn't going to work as long as we use MAME as a reference for ROM setups. And they break lots of games every release (a game was working perfectly and sudden of all it's missing some files? WTF?) I swear they must be breaking some of the games deliberately to prevent people from using ROMsets or something like that, it's just pathetic.

    EDIT: wait, this just emulates a specific hardware setup, can't we just have a Model 2 dump format like we do for practically all ROM-based consoles?
     
  8. Elratauru

    Elratauru

    Little Shiny Emurralds Member
    <!--quoteo(post=543439:date=Jan 3 2011, 07:30 AM:name=Sik)--><div class='quotetop'>QUOTE (Sik @ Jan 3 2011, 07:30 AM) <a href="index.php?act=findpost&pid=543439">[​IMG]</a></div><div class='quotemain'><!--quotec-->EDIT: wait, this just emulates a specific hardware setup, can't we just have a Model 2 dump format like we do for practically all ROM-based consoles?<!--QuoteEnd--></div><!--QuoteEEnd-->

    Well, as you must know, the emulation scene dumps are never "perfect" enough to be just a "daytona.sm2" or something like that, and since the mame team keeps renaming shit, most emulators are kinda "forced" to rename shit, but the model 2 emu isnt using mame romsets (thanks god :D), or if it using them, its the good old version that works.

    I have been using the same model 2 fullset from emuparadise.org (I totally recommend it) since version...0.7? maybe? I cant remember the exact version, but 1.0 didnt gave me any trouble... for example, for Sonic The Fighters I only have a schamp.zip (Technically speaking its the japanese version), but if I try to open Sonic the fighters, the emulators loads the schamp.zip, and automatically changes the region to USA so the game its in english :P
     
  9. Tiberious

    Tiberious

    Yeah, I'm furry. Got a problem? Oldbie
    712
    4
    18
    Hmm. I'm having touble loading my Sonic the Fighters (hacked) ROMset.

    Even trying the renaming trick makes the emulator crash. Where am I going wrong?

    I think we all know which one I'm referring to here: the boss/unplayable characters hack.

    Edit: It's not the hack; it's somehow the game itself causing the emu to error out and die.
     
  10. Sik

    Sik

    Sik is pronounced as "seek", not as "sick". Tech Member
    6,719
    0
    0
    being an asshole =P
    Elratauru: it's not like each Model 2 game has a completely unique and incompatible setup. As far as I know there are only four Model 2 variants so this shouldn't be an issue. Here we don't care much about IC correctness (that's what MAME is for!) but about just getting the right bytes at the right places in memory, and memory ranges are well defined.

    So yeah, no excuses here.
     
  11. SwissCM

    SwissCM

    Member
    Damn, I was hoping it would be possible to make hi-res replacements for the tilemap artwork to make pretty hi-res fonts :(
     
  12. Elratauru

    Elratauru

    Little Shiny Emurralds Member
    <!--quoteo(post=543656:date=Jan 4 2011, 08:01 AM:name=SwissCM)--><div class='quotetop'>QUOTE (SwissCM @ Jan 4 2011, 08:01 AM) <a href="index.php?act=findpost&pid=543656">[​IMG]</a></div><div class='quotemain'><!--quotec-->Damn, I was hoping it would be possible to make hi-res replacements for the tilemap artwork to make pretty hi-res fonts :(<!--QuoteEnd--></div><!--QuoteEEnd-->

    Well, Elsemi is already working on 1.1, so maybe for future versions, I hope tilemaps can be replaced too :D... I mean, there are so many tiles to replace that would be so awesome...Hud textures, skyboxes, menus, logos... hell, for now Im doing Sega Rally's Cars anyways...so, Im happy doing textures for these things.
     
  13. biggestsonicfan

    biggestsonicfan

    Model2wannaB Tech Member
    1,324
    223
    43
    Formerly Sonic the Fighters
    OLD POST BUMP, HERE WE GOOOOOO!


    Alright guys, I'm back into Model2b mode, and let me tell you what's going on:
    schamp.zip has been modified. The original schamp.zip has always been a dump of Sonic the Fighters, and now that Sonic Championship HAS been dumped, the newly dumped (and changed for that matter) roms have been put into schamp.zip, and the original files have been placed into sfight.zip

    There were only 4 files that were moved from schamp.zip to sfight.zip, and sfight.zip should only contain 4 files, as it will use schamp.zip as it's parent. In other words, sfight.zip (the original version we had all along) is now a clone rom for schamp.zip.


    <!--quoteo(post=543485:date=Jan 3 2011, 10:31 AM:name=Tiberious)--><div class='quotetop'>QUOTE (Tiberious @ Jan 3 2011, 10:31 AM) <a href="index.php?act=findpost&pid=543485">[​IMG]</a></div><div class='quotemain'><!--quotec-->Hmm. I'm having touble loading my Sonic the Fighters (hacked) ROMset.

    Even trying the renaming trick makes the emulator crash. Where am I going wrong?

    I think we all know which one I'm referring to here: the boss/unplayable characters hack.

    Edit: It's not the hack; it's somehow the game itself causing the emu to error out and die.<!--QuoteEnd--></div><!--QuoteEEnd-->

    You're most likely trying to run schamp.zip, and you will need to change the new format. Also, since version 0.9 of the emulator, it uses checksum validations for each rom, and will not run if the checksum is invalid, and you will need to create an overriding folder.

    I will hopefully be releasing a nice LUA cheat script for schamp and sfight soon for character modification, time freezing, and other neat modifications.

    ElSemi has revealed I think more than he intended to with this release.

    Code (Text):
    1. sfight.zip
    2. epr-19001.15
    3. epr-19002.16
    4. epr-19003.7
    5. epr-19004.8
    Just extract into a folder in the rom directory you're using with schamp.zip and make sure to remove the original sfight.zip from the directory so it will load the modified files.

    It worked with a hard-coded Honey replacement for Sonic, so your hack shouldn't have any problems.
     
  14. Agobue

    Agobue

    Member
    608
    33
    28
    I can't seem to open it, all I get is "This application has failed to start because d3dx9_42.dll was not found." I assume that's something to do with DirectX? I'm using Windows Vista 64 bit, by the way.
     
  15. RankoChan

    RankoChan

    I'm bored, k? Member
    468
    8
    18
    Some random RPG project.
    <!--quoteo(post=572603:date=Mar 25 2011, 05:10 PM:name=Slingers)--><div class='quotetop'>QUOTE (Slingers @ Mar 25 2011, 05:10 PM) <a href="index.php?act=findpost&pid=572603">[​IMG]</a></div><div class='quotemain'><!--quotec-->I can't seem to open it, all I get is "This application has failed to start because d3dx9_42.dll was not found." I assume that's something to do with DirectX? I'm using Windows Vista 64 bit, by the way.<!--QuoteEnd--></div><!--QuoteEEnd-->
    I had the same problem at first too. Update DirectX and it should run fine.
     
  16. biggestsonicfan

    biggestsonicfan

    Model2wannaB Tech Member
    1,324
    223
    43
    Formerly Sonic the Fighters
    So Link and I did a bit of LUA scripting last night, and we figured something out: ElSemi's cheat menu is buggy. But we did get some cheats working, and it's progress.
     
  17. Tiberious

    Tiberious

    Yeah, I'm furry. Got a problem? Oldbie
    712
    4
    18
    So, I went in and did the two separate zip thing...

    The hack loaded right up. No complaints about bad checksums or anything. Now it's time for me to see if I can get anything with 3D Printscreen...

    Bah. When I finally DID get something, it came out all flat. The hell with that.