[h]VBA Next[/h]
What is VBA Next?
Fork of VBA-M, heavily modified.
How to compile the library (for libsnes)
git clone https://github.com/libretro/vba-next
make -f Makefile.libretro
Screenshots
[h]VBA Next[/h]
What is VBA Next?
Fork of VBA-M, heavily modified.
How to compile the library (for libsnes)
git clone https://github.com/libretro/vba-next
make -f Makefile.libretro
Screenshots
Hi, my GBA romset has each of the roms numbered in the titles of the zip file, making finding games a right pain in the arse as they do not appear alphabetically in the folder. Will a future release be able to readthe rom name and exclude these numbers. The thoughts of renaming files manually is enough to give me a headache!
Mind your own business then.
It is the correct thread for questions on VBA Next, this is why it was created.
Writing a script to rename them all to the proper names wouldn’t be hard, so long as the order they are numbered in is a standard ordering.
Just need a script that does “ren %1 %2” and reads from a list, or use Excel or similar to make the script, assuming you have the list.
This will not be happening. Reading ROM headers is very core-dependent and in the case of GBA you can simply rename them anyway. The fact they’re inside ZIP files complicates things further.
This sounds like something a frontend should do.
Charco, how about scanning your roms with a No-Intro datfile? PM me for details as I don’t think this belongs here.
Thanks guys, I’ve since found a romset that has the roms named correctly.
I never saw this information in the documentation and searching never turned up anything useful. To convert your VBA/VBA-Link/VBA-M/other VBA flavor saves to those compatible with Retroarch follow the steps below.
I have not yet attempted to revert a retroarch save back to a VBA save but I would imagine the process would simply be in reverse, except the changes made to the save file by retroarch may need to be removed with a hex editor.
I hope this helps someone else as much as it did me. I love retroarch but dreaded losing several 100+ hour saves.
To the devs and all that contribute, THANK YOU!
@fuidama
Thanks for posting. I’m sure others will find this useful
Is it possible to emulate 2 player GBA games that used a link cable? Would be great to have local 2 player on the tv.
Any luck on converting from retroarch back to PC?
Apologies for the wall of text, I have a short answer in my second paragraph.
I’ve been very happy with Retroarch and have not had a need to try to revert back. However, you’ve raised my curiosity and I have gotten it working. However, it is NOWHERE near as easy to convert from a Retroarch save back to a VBA save. This is not exactly Retroarch’s fault either. VBA will allow you to save in any save format you want, but will only open the save file in the format that it detects the game should be. For example, I am playing Final Tactics Advance, VBA detects that it’s save format should be Flash + Flash 64 KB. So what it expects is a 64KB save file in a specifc “Flash” format, no matter what. So when we feed it a 136KB “SRAM” file it just chops off everything after the first 64KB and throws a “corrupted save memory” error when the format isn’t correct. Since the save data is in a different format with most of the useful information past that 64KB mark, most of the actual save information is lost and all that is left is an unusable file full of useless garbage data. For this reason if you are going to try to convert back to VBA, MAKE SURE TO CREATE READ-ONLY BACKUPS OF YOUR ORIGINAL SAVES BEFORE YOU DO ANYTHING.
In short for those that are more familiar with hex editing, for Flash+Flash 64 KB games (Which seem to be the most common, I didn’t see any that were different in the ROMs I tried), in your Retroarch SRAM file copy the data from the lines C6F0 through FFF0 and paste it at 86F0 through BFF0. Zero the data from lines C6F0 through FFF0, and it may be overkill but remove all the data after line FFF0. Save the resulting file as a .sav, and it should work with VBA. Flash start: 86F0 Flash end: BFF0 SRAM start: C6F0 SRAM end: FFF0
For everyone else, I will assume the Windows operating system. 0) Create a backup of any save file you will be working on, setting it as read-only may also help protect it from any accidents. Since VBA will instantly “chop” files it tries to load, any mistakes can be very bad if you don’t have backups or a “testing” folder.
That’s the skinny of it. I’m not a programmer so I’m not exactly sure what all the extra data in the file does or what the specific differences are between the different save formats. I know just enough to be dangerous and have an attention span just long enough to recognize patterns. A better person than I might be able to create a way to convert the files automatically.
If anyone else tries this, let me know if it works/helps.
Lastly, would anyone know what’s with the extra 8KB of extra “FFFF” data Retroarch tacks on to the end of it’s SRM files? I’m just curious
Have you tried running them through gbaconv?
It should be able to convert save between VBA and VBA-Next back and fourth.
Saving is a mess when it comes to GBA emulation, sadly.
I didn’t know this existed. Peeking at the code this does seem to be related to save data conversion. Unfortunately, I don’t know how to compile from source; like I said, I’m not a programmer. Would anyone be able to send me windows binary, or if it is built-in some instructions on commands to pass retroarch? Though, it does state on github “broken right now on retro_run” and was last touched in 2012.
I’ve used it a few months ago and it worked for me. Link As always, be sure to make a backup of your saves beforehand.
I think the main reason it’s not mentioned anywhere is because it doesn’t come with any sort of interface. You’ll need to drag your save onto it and it should be converted into a sav/srm file.
Very much appreciated Oggom!
I gave it a try with a few of my saves and worked flawlessly converting .sav to .srm and back. Each was playable after each conversion.
MUCH easier than the methods I used in my previous posts. I hope this utility gets more attention in the future
Is there any chance we could get the VBA-M “Interframe Blending” (None, Motion Blur, Smart) feature as a core option for VBA-Next? I understand that there’s already a motion blur shader, but VBA-Next in particular is especially useful on platforms like Wii which don’t have support for RetroArch shaders.
Interframe blending is important on the GBA because developers frequently used the high response time of the LCD display to do things like fake transparency (e.g. F-Zero series’ minimap) or for cheap scaling (e.g. Classic NES series) by simply flickering a graphic/line from frame-to-frame to get an effective blending technique which goes over pretty poorly on (relatively) low-latency displays like TV.
Nintendo’s Game Boy Player implemented a similar filter option; when “Screen Filter” is set to “Sharp”, the result is similar to RetroArch, with transparent/scaled objects flickering somewhat unpleasantly. Switching to either “Normal” or “Soft” significantly reduces the flickering, resulting in an persistent effect much closer to what the developers intended.
I’m not sure how CPU-intensive the effect is (and I understand that the GameCube is doing nine-tenths of nothing during GBP playback, with plenty of headroom for fancy effects), so it’s possible that it would impact performance too much to be useful in RetroArch on some platforms. I understand if that’s the case and nobody wants to implement this for that reason; otherwise, I think it could greatly improve the GBA experience for any game which took advantage of this GBA “feature”.
Frame blending on CPU is pretty intensive, at least for a Wii, ok, maybe not that much for a 240x160 frame, but ye.
Oh well, understood. Thanks for the consideration.