Post subject: Display of Memory Data
Active player (279)
Joined: 4/30/2009
Posts: 791
I noticed the recent encode for Secret of Mana, where the memory addresses of relevant data is shown in an area outside the main screen area. In case I'm not explaining myself properly, let me give you an image of what I mean. The main screen area has little information clogging it up, but the memory addresses of exp values and so on are shown in the right hand side, where as a commentary track appears on the bottom. How does one make an encode like this? I'd be looking to make an informative encode full of normally hidden information for my FE6 TAS. Thanks in advance.
Active player (279)
Joined: 4/30/2009
Posts: 791
Just adding there should be a tutorial for this sort of thing, it would save a lot of messing about in the future, and provide a lot more informative encodes.
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
Is there already support for this? You'd have to export the RAM values via LUA somehow (e.g. a picture frame) and then combine that with the dumped AVI in AviSynth.
Skilled player (1652)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
creaothceann wrote:
Is there already support for this? You'd have to export the RAM values via LUA somehow (e.g. a picture frame) and then combine that with the dumped AVI in AviSynth.
Numerous Japanese TASes have been doing this - including Playstation 2 ones, which makes me fairly sure they aren't using lua. How they are doing memory-anything in PS2 is beyond me.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Editor, Expert player (2073)
Joined: 6/15/2005
Posts: 3282
I haven't tried it yet, but it seems you can dump the RAM values with Lua and use AviSynth's ConditionalReader. http://avisynth.org/mediawiki/ConditionalReader Manual effort can substitute dumping RAM values, if it is not too much work. gocha used AviSynth to insert input and stuff in his encode for Castlevania: Dawn of Sorrow (scripts are here), but I find it awfully hard to decipher.
Editor, Emulator Coder, Site Developer
Joined: 5/11/2011
Posts: 1108
Location: Murka
FractalFusion wrote:
gocha used AviSynth to insert input and stuff in his encode for Castlevania: Dawn of Sorrow (scripts are here), but I find it awfully hard to decipher.
Well, in short, he uses a LUA script running in the emulator to dump various informations to a text file when the emulator plays the movie: http://pastebin.ca/1548787 Then he loads that data into a LUA script that runs under AVIUTL which prints the information to the frames of an AVI file: http://pastebin.ca/1548781 The basic idea is pretty simple, but you wouldn't be able to make it happen without some good documentation on AVIUTL, which doesn't appear to exist in english. I would think for an english speaking encoder, it would be better to look into using one of the numerous avisynth text overlay filters to accomplish what you want to do directly in avisynth.
AnS
Emulator Coder, Experienced player (728)
Joined: 2/23/2006
Posts: 682
Just stumbled upon gocha's blog, here's his article about displaying memory contents using lua for AviUtl. http://d.hatena.ne.jp/GOCHA/20090923/RAMWatchOnVideoLua
Editor, Emulator Coder, Site Developer
Joined: 5/11/2011
Posts: 1108
Location: Murka
Toothache, have you made any progress on this? If not; as long as you know what information you want displayed (ie, you have the memory addresses or whatever), I could look into making a special encode for you.