Home Action Replay Page Forum Index Home Action Replay Page
Home Action Replay Page
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to record/playback HTML pages

 
Post new topic   Reply to topic    Home Action Replay Page Forum Index -> General
View previous topic :: View next topic  
Author Message
gameboy9
Site Admin


Joined: 20 Sep 2004
Posts: 810

PostPosted: Wed Sep 27, 2006 11:15 am    Post subject: How to record/playback HTML pages Reply with quote

The time has come (actually that time was probably 87 years ago Smile ) where we need to start writing up HTML pages for how to record and playback games for all of our emulators.

You can check out http://www.zxspectrum.homeactionreplay.org/record.php for a well written example.

If I can get some help on this, it'd be appreciated.
Back to top
View user's profile Send private message Send e-mail
Chad
Supereditor


Joined: 05 Jan 2005
Posts: 810

PostPosted: Sat Sep 30, 2006 4:43 pm    Post subject: Playing back MESS recordings Reply with quote

This will be a work in progress:

The mess emulator is very much like mame except for the fact of specifying two kinds of ROM files, a bios ROM and an image ROM. You need a bios ROM to run the system type you wish to playback and you need an image ROM for the game you wish to playback on the system. When mess says system, this means the console system type, or Tournament System Type as harp would describe.

Get the mess emulator at http://www.mess.org

Get the bios files for the system (Harp Tournament) and place them in the installed X:/mess/bios/ directory (for (wolf)MESS112 and later these files go into the X:/mess/roms/ directory). Such as apple2.zip nes.zip snes.zip, etc.

Get the image files, cartridges, or floppy disk files and place them in the X:/mess/software/system/ directory. Where system is apple2 or nes or snes, etc. It's best to find images crced and named appropriately to the tournament rules, http://TOSEC.info is a place you can get a software called TIM that will rename images you have to the correct harp accepted name. The "GOOD" tools do the same thing, such as GoodNES.exe GoodSNES.exe GoodMSX.exe. You use these by placing the images you have into the same directory the GOOD.exe is installed and then run

GOODnes.exe ren

This will rename the images apropriatley and move them to the directory GOODren and the dupliate images to GOODdup, and keep images that the GOOD programs don't know about in the same dir you copied them to to be renamed by another program. After running GOODnes.exe ren, delete the GOODdup directory and copy the GOODren/ files to your mess/software/nes directory.

USING THE GUI

openine the messgui is very similar to mame32, it lists the system types in a folder like view. Find the system type you wish to playback and select it, you can check if you have the bios installed corectly by clicking right click->AUDIT on the system name. If you have installed the IMAGE files correctly it should show another window to the right listing the image files you have installed for that system only. The picker tab allows you to choose images from all and simply select and then go to the FILE ->Playback Input menu to select the inp file you have downloaded from HARP to play. The DEVICE VIEW tab allows you to mount images using a click and browse message.

Although the GUI is user friendly it has some issues that we hope will be fixed by MESS 0.109. The first issue is easy to resolve, by default mess appears to TURN off the CPU Sleep function allowing your cpu to "breath" while playing quickly implimented systems. This can be turned on by going to Options->Default System Options->Miscelaneous->Sleep When Possible check ON.

The worst problem of the gui is that it lets you play an IMAGE game once but then mounts in incorrectly named image and doesn't let you play it again until you remount or DEVICE pick the image again. This has to do with a bug in mess that goes hay wire with spaces in the image or image ZIP filename. And of course the correctly TOSEC/GOOD names all have spaces in the image names... In order to play mess games multiple times in a row after you selected them with the gui, you must rename the image file in side the zip AND the image zip filename to not have spaces. If you have cygwin this can be done with a script which automatically does this and moves the non spaced image files to a subdir called tmp. This requires cygwin and use at your own risk.

Code:
cd software/system;
mkdir tmp;
for a in *.zip ; do b=`unzip -v "$a"|head -4|tail -1|cut -c59-|sed s/.dsk//` ;
   c=`echo $b|sed 's/ //g'` ; if [ ! -f tmp/"$c".zip ] ; then unzip "$a";
   mv "$b".dsk "$c".dsk ; zip -9m tmp/"$c".zip "$c".dsk ; fi ; done


After renaming (or waiting for mess 0.109) playing back images should be as easy as playing back games in mame.

USING THE COMMANDLINE

Most systems have different types of images, thus there are different options to load the different types of images.

CPC = -flop1 , -cart
NES = -cart
ATARI (a2600,a5200,a7800) = -cart
APPLE2 = -s6d1
C64 = -cart , -flop1
MSX1/2 = -cart , -flop1

The image types may also vary from mess version to mess version, to determine the possible image types, run mess -listdevices where it shows all the image types next to the system types, mess -listdevices|grep nes to show all the nes types.

so to playback a recording unzip the inp file to the mess/inp dir then run

mess SYSTEM -playback INPFILE -IMAGETYPE IMAGEFILENAME


Last edited by Chad on Fri Feb 09, 2007 2:23 am; edited 2 times in total
Back to top
View user's profile Send private message
mahlemiut
Supereditor


Joined: 06 Jan 2005
Posts: 914
Location: New Zealand

PostPosted: Sat Sep 30, 2006 9:43 pm    Post subject: Reply with quote

For Apple II, the option is -s6d1
For MSX1/2, the option is -cart1
You might was to add -flop1 for MSX as well, in case we ever get disk software ready.

Also, MESS refers to "consoles" as "systems". Seeing as there are computer systems as well as consoles here, that makes sense.

Also note, that some systems don't need an actual BIOS ROM.
Such as Atari 2600, Amstrad CPC+, Genesis, SNES...
(well, all right, the Genesis *does* have a BIOS, it's just not used or required by practically any game at all)
_________________
- Barry Rodewald
HARP CPC, X68000, Neo Geo Pocket, and Neo Geo AES section editor
http://galemu.emuunlim.com
Back to top
View user's profile Send private message Visit poster's website
Chad
Supereditor


Joined: 05 Jan 2005
Posts: 810

PostPosted: Sat Oct 07, 2006 2:51 am    Post subject: Reply with quote

here's a request to have a "MupenRe" playback document fashioned. i.e. what the heck are mempak's and Plugins?
Back to top
View user's profile Send private message
Chad
Supereditor


Joined: 05 Jan 2005
Posts: 810

PostPosted: Thu Feb 08, 2007 2:39 pm    Post subject: Reply with quote

Addendum to the mess playback document: Starting in mess 112 the "bios" directory has now become the "roms" directory, so you may have to copy your X:/mess/bios/ files into X:/mess/roms/, or have rompath = bios in your post mess111 local distributions mess.ini files.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Home Action Replay Page Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group