Post subject: is there anyway of converting .FR files to .FBM
Joined: 8/21/2018
Posts: 4
they are suppossed to be almost the same. what i'm trying to do is using recordings from FBA in FBA-rr in order to use the macrolua plugin to convert the inputs into a macro file (.mis) Please i have been looking everywhere. Can someone, please, help me with this?
Skilled player (1670)
Joined: 7/1/2013
Posts: 444
Welcome to TASVideos, DemondZeta! To convert a .FR file into a .FBM file, use a hex editor to open the .FR file. Delete the 3 empty bytes at 005, 006, and 007. Save the file, and then change the file extension to .FBM.
Joined: 8/21/2018
Posts: 4
£e Nécroyeur wrote:
Welcome to TASVideos, DemondZeta! To convert a .FR file into a .FBM file, use a hex editor to open the .FR file. Delete the 3 empty bytes at 005, 006, and 007. Save the file, and then change the file extension to .FBM.
Hey thanks for answering. i tried what you told me to and it did not really work. well i don' know if i understood well but i set the 005,006, 007 byte to 0 in a .fr file i recorded from fightcade and sill didn't work in fba. can it be maybe because the versions ar different?? is there any other way of saving inputs from a .fr file? what i wan to achieve is to download from a fightcade recorded match. What could be easier to achieve converting frs to fbms and reading them with macrolua or to try make my own build of fba and to adapt the lua featur to it??? PD: thanks for the wellcome
Asnivor
He/Him
Editor, Emulator Coder
Joined: 11/27/2017
Posts: 86
Location: United Kingdom
This page shows the FBM file format: http://tasvideos.org/EmulatorResources/Fbarr/FBM.html There used to be a page at TASVideos that shows the FR file format: https://web.archive.org/web/20170619115714/http://tasvideos.org/EmulatorResources/Fba/FR.html If both of these pages are accurate (I don't know much about either format so couldnt really tell you), you could try changing byte 004 from 0 to 2 (the file header format version number) and renaming the file? There will be differences in the save state chunks by the looks of it, but not sure if/how this will affect things. I mean, its storing a minimum FBA required version, so you would think this wouldnt matter? Anyway, thats my 2 cents. I really dont know anything more.
Joined: 8/21/2018
Posts: 4
Asnivor wrote:
This page shows the FBM file format: http://tasvideos.org/EmulatorResources/Fbarr/FBM.html There used to be a page at TASVideos that shows the FR file format: https://web.archive.org/web/20170619115714/http://tasvideos.org/EmulatorResources/Fba/FR.html If both of these pages are accurate (I don't know much about either format so couldnt really tell you), you could try changing byte 004 from 0 to 2 (the file header format version number) and renaming the file? There will be differences in the save state chunks by the looks of it, but not sure if/how this will affect things. I mean, its storing a minimum FBA required version, so you would think this wouldnt matter? Anyway, thats my 2 cents. I really dont know anything more.
this is the other page for FR http://tasvideos.org/EmulatorResources/Fba/FRFormat.html i found these but i don't really now how to read them or what i should change or conclude from them. i was thinking if is maybe easier to copy the lua feature from fba-rr code and add it to fba?? is that possible?
Skilled player (1670)
Joined: 7/1/2013
Posts: 444
DemondZeta wrote:
well i don' know if i understood well but i set the 005,006, 007 byte to 0 in a .fr file i recorded from fightcade and sill didn't work in fba.
These 3 bytes must be deleted, not just set to 0, such that the .FR file is 3 bytes smaller after the change. The beginning of the file will change from this: FB1 ....FR1 To this: FB1 .FR1 This example uses an .FR file recorded with Final Burn Alpha v0.2.97.43. A different version may produce a slightly different .FR file.
DemondZeta wrote:
i was thinking if is maybe easier to copy the lua feature from fba-rr code and add it to fba??
This would not be easier, but it would be a more permanent solution. It would also be awesome. :)
Joined: 8/21/2018
Posts: 4
£e Nécroyeur wrote:
DemondZeta wrote:
well i don' know if i understood well but i set the 005,006, 007 byte to 0 in a .fr file i recorded from fightcade and sill didn't work in fba.
These 3 bytes must be deleted, not just set to 0, such that the .FR file is 3 bytes smaller after the change. The beginning of the file will change from this: FB1 ....FR1 To this: FB1 .FR1 This example uses an .FR file recorded with Final Burn Alpha v0.2.97.43. A different version may produce a slightly different .FR file.
DemondZeta wrote:
i was thinking if is maybe easier to copy the lua feature from fba-rr code and add it to fba??
This would not be easier, but it would be a more permanent solution. It would also be awesome. :)
ok im kind of sick of trying this, i will try to contact the macrolua and fba-rr devps to see how possibleis what i'm trying to do and then i will be back at you guys (as you said it would be awesome to be able to run lua scripts on fba i will ask them if they have plans for it too, and if they not will try to make it myself.)