Player (146)
Joined: 7/16/2009
Posts: 686
Description Yet Another Input File Editor (Yaife) is, you guessed it, an editor for TAS movie files. I know these already exist (hence the name), but reading about the problems people have with editing BizHawk movie files (unzipping, finicky sync settings) and having my own troubles with HourGlass, I decided the idea could use an update. Supported formats - BizHawk (BK2) - Hourglass (WTF, HGM) - Dolphin (DTM) - PCSX-rr (PXM) - Visual Boy Advance (VBM) - PSXjin (PJM) Features - Text-based input editing (including copy-paste) - Simple header editing Planned - Format conversion - More formats Links - Download Yaife 0.8.0 - GitHub project It's still very much in beta, and support for movie files is limited, so feedback, issues, suggestions and feature requests would be much appreciated. As always: please make backups of your files before editing them.
Editor
Joined: 3/31/2010
Posts: 1466
Location: Not playing Puyo Tetris
Scepheo, how good is the Dolphin stuff? I know mine was no where near "good"
When TAS does Quake 1, SDA will declare war. The Prince doth arrive he doth please.
Player (146)
Joined: 7/16/2009
Posts: 686
It's still pretty far from done. GameCube controller data *should* be read correctly, but I'm not sure about it. The header is read and written but not parsed into a useful form yet and WiiMote is something I don't want to think about too much.
Editor
Joined: 3/31/2010
Posts: 1466
Location: Not playing Puyo Tetris
Scepheo wrote:
WiiMote is something I don't want to think about too much.
Your telling me. I am waiting for TAS Input for Dolphin myself.
When TAS does Quake 1, SDA will declare war. The Prince doth arrive he doth please.
WST
She/Her
Active player (489)
Joined: 10/6/2011
Posts: 1697
Location: RU · ID · AM
C# again? :( Why not choose Qt, so Linux TASers can use it too?
S3&A [Amy amy%] improvement (with Evil_3D & kaan55) — currently in SPZ2 my TAS channel · If I ever come into your dream, I’ll be riding an eggship :)
Experienced player (588)
Joined: 2/5/2011
Posts: 1417
Location: France
You're planning hex edit for GC then? HYPE
Current: Rayman 3 maybe? idk xD Paused: N64 Rayman 2 (with Funnyhair) GBA SMA 4 : E Reader (With TehSeven) TASVideos is like a quicksand, you get in, but you cannot quit the sand
Player (98)
Joined: 12/12/2013
Posts: 378
Location: Russia
WST wrote:
C# again? :( Why not choose Qt, so Linux TASers can use it too?
Indeed, write please Qt full version, that can be included right in emulator.
Editor
Joined: 3/31/2010
Posts: 1466
Location: Not playing Puyo Tetris
Mono not working?
When TAS does Quake 1, SDA will declare war. The Prince doth arrive he doth please.
Player (146)
Joined: 7/16/2009
Posts: 686
I won't be making any other version, C# is a programming language I am familiar with and that has good support for what I need to do, which means I can make this in a reasonable amount of time without losing heart. Also, a new version is out, this time with basic Dolphin support. I'd like to hear what you think, so without further ado: download it here.
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
WST wrote:
C# again? :( Why not choose Qt, so Linux TASers can use it too?
There's always https://www.virtualbox.org/
WST
She/Her
Active player (489)
Joined: 10/6/2011
Posts: 1697
Location: RU · ID · AM
creaothceann wrote:
WST wrote:
C# again? :( Why not choose Qt, so Linux TASers can use it too?
There's always https://www.virtualbox.org/
Imagine always having to run VM just for TASing purposes. Also, recently VirtualBox (and especially it’s extension pack for Windows guest) works terribly for me. That was simply my opinion. Personally I do not need this input file editor — I need to edit only gmv, and I can do it using dd if I really want to copy parts of TASes. But I know that many other people TAS under Linux (feeuzz, marzojr and others) and told my wish. I knew some of you would suggest Mono, wine, VirtualBox or other “solutions”, but I just told my opinion. It’s up to you to accept it or reject.
S3&A [Amy amy%] improvement (with Evil_3D & kaan55) — currently in SPZ2 my TAS channel · If I ever come into your dream, I’ll be riding an eggship :)
RachelB
She/Her
Player (129)
Joined: 12/3/2011
Posts: 1579
hegyak wrote:
Your telling me. I am waiting for TAS Input for Dolphin myself.
It's already done.
Player (98)
Joined: 12/12/2013
Posts: 378
Location: Russia
hegyak wrote:
Mono not working?
It's better solution to make Qt new input editor instead of tug Mono with your application (where you're using code of your editor), and deal with copyrights.
creaothceann wrote:
WST wrote:
C# again? :( Why not choose Qt, so Linux TASers can use it too?
There's always https://www.virtualbox.org/
It's hilarious to require virtualbox VM running, or somehow insert it in application :D. Note: I'm talking about insertion of code in some emulator.
Skilled player (1731)
Joined: 9/17/2009
Posts: 4980
Location: ̶C̶a̶n̶a̶d̶a̶ "Kanatah"
Well, Lsnes has a similar type of file format like bk2 (both being archives), so an editor for it would be nice. :)
Site Admin, Skilled player (1251)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
Seriously? You need a special editor for what can be edited in a Notepad(++)?
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
Spikestuff
They/Them
Editor, Publisher, Expert player (2639)
Joined: 10/12/2011
Posts: 6437
Location: The land down under.
feos wrote:
Seriously? You need a special editor for what can be edited in a Notepad(++)?
Notepad: PSXjin, FCEUX, DeSmuME, Mednafen/PCEjin, Yabause, Bizhawk, Bizhawk v2 (extracted), lsnes (extracted), openMSX (extracted and not recommended), JPC-RR (not recommended). What needs a program Bizhawk v2, lsnes, Dolphin, PCSX-rr, VBA, Mupen64, Famtasia, ZSNES, Snes9X, Dega, Gens, Hourglass, openMSX, JPC-RR, Final Burn Alpha, FCEU Also don't write about Famtasia or ZSNES being out. The statement was needing a special editor and I'm providing the examples. JPC-RR falls onto both sides Also to note: I'm ignoring all internal ones. BizHawk, lsnes, FCEUX (.fm3) have an inbuilt one but I'm stating if none of them had one.
WebNations/Sabih wrote:
+fsvgm777 never censoring anything.
Disables Comments and Ratings for the YouTube account. Something better for yourself and also others.
Site Admin, Skilled player (1251)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
lsmv and bk2 are text files inside a zip. Header is separated, so you can trust the line numbers as correct frames.
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
Editor, Skilled player (1536)
Joined: 7/9/2010
Posts: 1319
lsnes has an in-built movie editor. So you don't really need an external editor. It's possible to copy-paste and stuff, but it's a bit tricky with multiple frame selection. You need to hold down the mouse button and draw over the frames you want to select.
Favorite animal: STOCK Gt(ROSA)26Sortm1.1(rtTA,EGFP)Nagy Grm7Tg(SMN2)89Ahmb Smn1tm1Msd Tg(SMN2*delta7)4299Ahmb Tg(tetO-SMN2,-luc)#aAhmb/J YouTube Twitch
Experienced player (588)
Joined: 2/5/2011
Posts: 1417
Location: France
Not working for me with bk2 and dtm, opening dtm makes the program to not respond, and bk2 gives "Impossible to charge the file or assembly "Newtonsoft.json" blah blah." Edit: for DTM it just takes a long time to load
Current: Rayman 3 maybe? idk xD Paused: N64 Rayman 2 (with Funnyhair) GBA SMA 4 : E Reader (With TehSeven) TASVideos is like a quicksand, you get in, but you cannot quit the sand
Player (146)
Joined: 7/16/2009
Posts: 686
got4n wrote:
Not working for me with bk2 and dtm, opening dtm makes the program to not respond, and bk2 gives "Impossible to charge the file or assembly "Newtonsoft.json" blah blah." Edit: for DTM it just takes a long time to load
Thanks for reporting the bk2 issue, I'll get it fixed ASAP. And yeah, dtm is slow at the moment, a progress bar is on my to-do list.
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
Scepheo wrote:
yeah, dtm is slow at the moment, a progress bar is on my to-do list.
Note that with a fixed number of bytes per frame it's not necessary to decode the entire file. It's possible to define a callback for a listview's item drawing event, which fires when an item needs to be displayed.
Player (146)
Joined: 7/16/2009
Posts: 686
That could be useful, but there'd be some refactoring involved with implementing that method, so I'm not sure yet. Part of the idea was to keep the implementation of new movie formats easy, so I'm hesitant about anything that might complicate that. On another note, I just updated the release to 0.0.3. The dll is now included, and there's some slight fixes and UI improvements.
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
Scepheo wrote:
That could be useful, but there'd be some refactoring involved with implementing that method, so I'm not sure yet. Part of the idea was to keep the implementation of new movie formats easy, so I'm hesitant about anything that might complicate that.
What's complicated about it? If you already load the file into memory it's just about adding a callback. If you want to be able to easily add new formats, define a common format used by the GUI, and several loaders that convert to that format. (Also, refactoring is easy when you have a version control system. Code is useless when it doesn't follow specifications, and while freeware has some relaxed circumstances, having no loading times is a pretty big feature imo.)
Experienced player (588)
Joined: 2/5/2011
Posts: 1417
Location: France
Also, thanks for allowing hex-edit on Dolphin, more easier for GC now!
Current: Rayman 3 maybe? idk xD Paused: N64 Rayman 2 (with Funnyhair) GBA SMA 4 : E Reader (With TehSeven) TASVideos is like a quicksand, you get in, but you cannot quit the sand
Experienced player (588)
Joined: 2/5/2011
Posts: 1417
Location: France
A major error on your program, when editing DTM, it does somethings that makes frame 9408 glitching out, everytime I make a savetsate then load it it says frame 9408 does have L Trigger 255 while she doesn't or the reverse thing.... EDIt: Also when copy/pasting frames it don't copy inputs :/
Current: Rayman 3 maybe? idk xD Paused: N64 Rayman 2 (with Funnyhair) GBA SMA 4 : E Reader (With TehSeven) TASVideos is like a quicksand, you get in, but you cannot quit the sand