Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: chemame on April 22, 2005, 11:43:08 am

Title: In homage to JCrouse: an AppleII skin for mamewah
Post by: chemame on April 22, 2005, 11:43:08 am
Hopefully this is of use to someone, somewhere (I mean besides me, of course).

http://www.crazybaldman.com/pages/_base/html/index.php?menu=MAMEWAH+skins

chemame
Title: Apple][ skin for MAMEwah
Post by: Frosty on April 22, 2005, 01:36:54 pm
Nice looking skin....I was just about to start working on my Apple ][ skin, but still having some trouble selecting an emu.
Title: Re: In homage to JCrouse: an AppleII skin for mamewah
Post by: chemame on April 22, 2005, 03:15:54 pm
I've yet to find a game that doesn't run on MESS as well as it ran on my true system back in the day.

I remember mess being a little goofy to configure exactly right to give the right look and feel, but once I went to the new GUI style controls, fullscreen with no top tools (well, except to exit the emulator)... set my appleII joystick to the right controls for my keywiz -- and bam, it all works.

My can't-live-without game for AppleII was SABOTAGE. I fought with it in MESS for a while, but finally found how to use the trackball as a AppleII joystick, and luckily one of my keywiz buttons is already SPACE, so I can now play full-on, as if I had never grown up.

Which, I'm not sure I ever did, actually...
Title: Re: In homage to JCrouse: an AppleII skin for mamewah
Post by: MisterB on April 24, 2005, 09:01:52 am
Can you tell me where you found the Apple II screenshots?
Title: Re: In homage to JCrouse: an AppleII skin for mamewah
Post by: Sprucemoose on April 24, 2005, 09:47:00 am
Very cool.  I haven't added the Apple II games to my cab yet, but this may motivate me to do so. 
Title: Re: In homage to JCrouse: an AppleII skin for mamewah
Post by: chemame on April 24, 2005, 06:04:25 pm
 MisterB -

Much as it pains me, I don't HAVE screenshots just yet.

I took just enough to make the skin, and now I am going through the very painful process of taking screenshots as I go. I try to get through at least 10 at each sitting, but the sittings are few & far between these days.

I don't know if MESS writes properly named screenshots or not. I've got everything from emulators that do, to emulators that use [ROMNAME]000.png, to even emulators that just do 0.bmp, so I use a script for pretty much every emulator that looks for improperly named screenshots, fixes the name, format, location, etc.

As soon as I have a full set of screenshots, I'll make them available. I'm actually very close on C64 as well... but my question is, is there an official set of romnames for C64 and APPLEII? My names were all over the board for those, and I've had to clean them manually. If there's a romcenter sort of deal for those, I'm all ears...

So anyway... this may or may not help at all, but here's the hoops I appear to be jumping through for my Apple screenshots (Yes, it's ugly. Yes, it works for me. No, I don't recall why the combination of BAT and PL files. Yes, it's likely because I wasn't originally running Perl on my arcade machine. Yes, you use these at your own risk.):


MAMEWAH INI (applicable lines):
*****
emulator_executable F:\emulators\advmenu\mess_92\mess_apple2c.bat
commandline_format "[name].[romext]"{nodosbox}{safelaunch}{cursor}
*****


MESS_APPLE2C.BAT:
*****
mess.exe apple2c -flop %1 -skip_disclaimer -skip_gameinfo -mouse
snap_apple2c.pl %1
*****


SNAP_APPLE2C.PL:
*****
$from_dir = ".\\snap\\";         # where the emulator drops the screenshot
$to_dir = ".\\snap\\apple2c\\";      # where the screenshots should ultimately end up

$to_name = $ARGV[0];                  # romname coming in

if ($to_name)
{
   #system "bmp2png $from_dir*.bmp";      # uncomment this for emulators that drop BMPs
      
   # read dir where emulator drops screenshots
   opendir(DIR, $from_dir) || die "can't opendir $from_dir: $!";
   @dir = readdir(DIR);
   closedir DIR;

   # process each file (should only be one, but hey, who knows)
   foreach $dir (@dir)
   {
      # only look at PNG files
      if ($dir =~ /\.png$/)
      {
         $oldname = $from_dir.$dir;                     # full path of current screenshot filename
         ($newname) = ($to_name =~ m/(.*)\..*?$/g);   # this pattern takes "[NAME].[ROMEXT]" and returns [NAME] only
         if ($newname)
         {
            $newname = $to_dir.$newname.".png";         # full path of new screenshot filename
            system "move \"$oldname\" \"$newname\"";   # move screenshot to proper folder
         }
      }
   }
}
else
{
   print "fatal: must supply game name for snap rename\n";
}
*****



Title: Re: In homage to JCrouse: an AppleII skin for mamewah
Post by: telengard on April 27, 2005, 11:43:42 am
Hopefully this is of use to someone, somewhere (I mean besides me, of course).

http://www.crazybaldman.com/pages/_base/html/index.php?menu=MAMEWAH+skins

chemame


Wow, that is cool.  I may have to look into this frontend...
Title: Re: In homage to JCrouse: an AppleII skin for mamewah
Post by: telengard on April 27, 2005, 11:45:46 am
MisterB -

Much as it pains me, I don't HAVE screenshots just yet.

I took just enough to make the skin, and now I am going through the very painful process of taking screenshots as I go. I try to get through at least 10 at each sitting, but the sittings are few & far between these days.

I don't know if MESS writes properly named screenshots or not. I've got everything from emulators that do, to emulators that use [ROMNAME]000.png, to even emulators that just do 0.bmp, so I use a script for pretty much every emulator that looks for improperly named screenshots, fixes the name, format, location, etc.

As soon as I have a full set of screenshots, I'll make them available. I'm actually very close on C64 as well... but my question is, is there an official set of romnames for C64 and APPLEII? My names were all over the board for those, and I've had to clean them manually. If there's a romcenter sort of deal for those, I'm all ears...

So anyway... this may or may not help at all, but here's the hoops I appear to be jumping through for my Apple screenshots (Yes, it's ugly. Yes, it works for me. No, I don't recall why the combination of BAT and PL files. Yes, it's likely because I wasn't originally running Perl on my arcade machine. Yes, you use these at your own risk.):


MAMEWAH INI (applicable lines):
*****
emulator_executable F:\emulators\advmenu\mess_92\mess_apple2c.bat
commandline_format "[name].[romext]"{nodosbox}{safelaunch}{cursor}
*****


MESS_APPLE2C.BAT:
*****
mess.exe apple2c -flop %1 -skip_disclaimer -skip_gameinfo -mouse
snap_apple2c.pl %1
*****


SNAP_APPLE2C.PL:
*****
$from_dir = ".\\snap\\";         # where the emulator drops the screenshot
$to_dir = ".\\snap\\apple2c\\";      # where the screenshots should ultimately end up

$to_name = $ARGV[0];                  # romname coming in

if ($to_name)
{
   #system "bmp2png $from_dir*.bmp";      # uncomment this for emulators that drop BMPs
      
   # read dir where emulator drops screenshots
   opendir(DIR, $from_dir) || die "can't opendir $from_dir: $!";
   @dir = readdir(DIR);
   closedir DIR;

   # process each file (should only be one, but hey, who knows)
   foreach $dir (@dir)
   {
      # only look at PNG files
      if ($dir =~ /\.png$/)
      {
         $oldname = $from_dir.$dir;                     # full path of current screenshot filename
         ($newname) = ($to_name =~ m/(.*)\..*?$/g);   # this pattern takes "[NAME].[ROMEXT]" and returns [NAME] only
         if ($newname)
         {
            $newname = $to_dir.$newname.".png";         # full path of new screenshot filename
            system "move \"$oldname\" \"$newname\"";   # move screenshot to proper folder
         }
      }
   }
}
else
{
   print "fatal: must supply game name for snap rename\n";
}
*****





There is some project online which seems to have a convention for naming disk images etc for older computers.  I can't remember the name of the project, but the conventions make for some pretty honking big filenames.    :)
Title: Re: In homage to JCrouse: an AppleII skin for mamewah
Post by: chemame on April 27, 2005, 12:27:14 pm
Oh wow, I'd like more info on that. I did a quick google and didn't find much. Anyone know more about this?
Title: Re: In homage to JCrouse: an AppleII skin for mamewah
Post by: screaming on April 27, 2005, 12:28:50 pm
You mean TOSEC (http://www.tosec.info)?

-sab
Title: Re: In homage to JCrouse: an AppleII skin for mamewah
Post by: telengard on April 27, 2005, 02:38:15 pm
You mean TOSEC (http://www.tosec.info)?

-sab

Yeah that's it.   Thanks...