MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

Bart T.
Reged: 01/07/06
Posts: 196
Send PM
Re: Questions about Supermodel code found in Ville Linde site
01/16/11 09:55 PM


The entire time we were releasing Supermodel WIP updates, a period which spanned a few years IIRC, the code was publicly accessible at Sourceforge. It was a classic case of security-through-obscurity and I knew nobody would ever catch on when I proposed it

The file Ville has posted appears to be the final snapshot of the original Supermodel code base from about 4 years ago. I haven't yet gotten in touch with him, so I don't know what his plans wrt Model 3 emulation are, but I started working on a complete re-write of my own the day after Christmas. I'm really busy and haven't written any code for nearly 5 years (and haven't touched Supermodel for about as long) but I'm happy with how it's coming along (see snapshots below). Initial results indicate that the new GL engine, which makes extensive use of VBOs and shaders, is substantially faster than the old one.









The code you see at Ville's site runs quite decently on modern hardware, even in GL mode. I fired up an old build of Supermodel I had lying around over winter break on a desktop (the first time I had tried it in 4+ years) and was surprised to find that Scud Race was very playable.

Compiling it shouldn't be too difficult. I used to use GNU Make and MSVC in command line mode (Visual Studio includes a vcvars32.bat file to set up the environment). If you insist on using the IDE, it shouldn't be any harder. Either way, you'll have to mess around with header file paths and libraries, as a lot of that stuff has changed with newer versions of the compiler and DirectX.

The biggest problem you'll likely have is with all the quirky "debug" code. Supermodel was a very active project up until the very end and so things would frequently be commented out between different builds and forgotten, only to be re-enabled again a little while later. There is also probably a bunch of debugging "instrumentation" (logging, printouts, etc.) that would need to be disabled by hand in order to get playable frame rates.


Bart

Edited by Bart Trzynadlowski (01/16/11 10:05 PM)







Entire thread
Subject Posted by Posted on
* Questions about Supermodel code found in Ville Linde site Soniccd123 01/16/11 05:50 AM
. * Here's the Supermodel code for you: GatKong  05/03/11 06:14 PM
. * Re: Questions about Supermodel code found in Ville Linde site Bart T.  01/16/11 09:55 PM
. * Re: Questions about Supermodel code found in Ville Linde site Mitaine  05/03/11 05:31 PM
. * Re: Questions about Supermodel code found in Ville Linde site StilettoAdministrator  01/17/11 07:17 AM
. * Re: Questions about Supermodel code found in Ville Linde site Cable  01/16/11 11:18 PM
. * Re: Questions about Supermodel code found in Ville Linde site Sonic  01/16/11 10:59 PM
. * Re: Questions about Supermodel code found in Ville Linde site Bart T.  01/16/11 11:29 PM
. * Re: Questions about Supermodel code found in Ville Linde site Sonic  01/17/11 12:16 AM
. * Re: Questions about Supermodel code found in Ville Linde site Bart T.  01/17/11 12:41 AM
. * Re: Questions about Supermodel code found in Ville Linde site Outrun2006  01/17/11 01:50 AM
. * Re: Questions about Supermodel code found in Ville Linde site Naoki  01/17/11 04:50 PM
. * Re: Questions about Supermodel code found in Ville Linde site R. Belmont  01/19/11 05:49 PM
. * Re: Questions about Supermodel code found in Ville Linde site RetroRepair  01/19/11 06:27 PM
. * Re: Questions about Supermodel code found in Ville Linde site R. Belmont  01/19/11 08:53 PM
. * Re: Questions about Supermodel code found in Ville Linde site Naoki  01/19/11 10:20 PM
. * Re: Questions about Supermodel code found in Ville Linde site bdam  01/20/11 10:24 PM
. * Re: Questions about Supermodel code found in Ville Linde site Naoki  01/20/11 11:08 PM
. * Re: Questions about Supermodel code found in Ville Linde site Naoki  01/22/11 03:40 AM
. * Re: Questions about Supermodel code found in Ville Linde site keshbach1  05/03/11 08:06 PM
. * Re: Questions about Supermodel code found in Ville Linde site Outrun2006  01/20/11 02:55 PM
. * Re: Questions about Supermodel code found in Ville Linde site Naoki  01/20/11 06:32 PM
. * Re: Questions about Supermodel code found in Ville Linde site RetroRepair  01/20/11 03:15 PM
. * Re: Questions about Supermodel code found in Ville Linde site R. Belmont  01/20/11 04:38 PM
. * Re: Questions about Supermodel code found in Ville Linde site FatTrucker  05/03/11 06:02 PM
. * Re: Questions about Supermodel code found in Ville Linde site bdam  05/03/11 07:08 PM
. * broadening this question VirtuaIceMan  01/20/11 06:41 PM
. * Re: broadening this question bdam  01/20/11 07:23 PM
. * Re: broadening this question R. Belmont  01/20/11 07:39 PM
. * Re: broadening this question bdam  01/20/11 09:23 PM
. * Force Feedback? MASH  01/17/11 07:06 PM
. * Re: Force Feedback? AeroCityMayor  01/17/11 07:26 PM
. * You have Sega issues (nt) SmitdoggAdministrator  01/17/11 04:03 PM
. * Re: You have Sega issues (nt) Outrun2006  01/17/11 05:20 PM
. * Re: You have Sega issues (nt) R. Belmont  01/18/11 12:39 AM
. * Re: You have Sega issues (nt) Outrun2006  01/18/11 03:28 PM
. * Re: You have Sega issues (nt) VirtuaIceMan  01/18/11 04:30 PM
. * Yu Suzuki interview mogli  01/19/11 07:29 AM
. * Re: Yu Suzuki interview R. Belmont  01/19/11 05:48 PM
. * Re: Questions about Supermodel code found in Ville Linde site Outrun2006  01/16/11 12:01 PM
. * Re: Questions about Supermodel code found in Ville Linde site Sonic  01/16/11 03:03 PM
. * Re: Questions about Supermodel code found in Ville Linde site Cable  01/16/11 04:28 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
1 registered and 23 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 8092