Homebrew RELEASE VBA-next for Switch(works 4.1)

Ganchy

Member
Newcomer
Joined
May 26, 2018
Messages
6
Trophies
0
Age
26
XP
100
Country
United States
I apologize if this has already been asked, but I have a .sav from pokemom emerald that ive been playing on gba4ios on my phone. Is there a way to import this save?
 

CreAtor135

GBATemp's #1 Nothing
Member
Joined
Jan 10, 2015
Messages
814
Trophies
0
Location
Ikeb, Ukuro
XP
1,499
Country
United States
I apologize if this has already been asked, but I have a .sav from pokemom emerald that ive been playing on gba4ios on my phone. Is there a way to import this save?
Pretty sure you would just replace the .sav in your rom directory with your gba4ios save. I could be wrong though.
 
D

Deleted User

Guest
Both in-game saves and save states are very random and non-functional. Sometimes when attempting to load saves natively or not, it will load a save from an past date. Then sometimes it will actually load the present save I originally wanted to load upon start-up. This feels out of control.
 

DiJornios

DiJiorno
Member
Joined
May 18, 2018
Messages
313
Trophies
0
Age
123
XP
1,082
Country
United States
Just a note when you download save data or Switch games in general saves get corrupt for Homebrew so I suggest using different SD Cards (my experiences)
 
D

Deleted User

Guest
I haven't done any of that, though. I've just strictly been playing my emulators with my own saves.
 

ownedlol

Well-Known Member
Member
Joined
May 19, 2018
Messages
121
Trophies
0
Age
24
XP
233
Country
United States
I haven't done any of that, though. I've just strictly been playing my emulators with my own saves.

Since nobody gave you an actual answer on how to save properly in-game, I'll elaborate.

You want to make sure you don't press the home button at all after saving, you want to press X to bring up the home brew menu and then X again to exit the emulator through the menu. If you do this properly, the game will recognize that you exited as opposed to suspended the software.
 
  • Like
Reactions: Trunks2304

catlover007

Developer
OP
Developer
Joined
Oct 23, 2015
Messages
715
Trophies
1
XP
3,863
Country
Germany
So I finally got everything in a state where I'm mostly satisfied with it. So here it is vba-next-switch 0.3!
https://github.com/RSDuck/vba-next-switch/releases/tag/0.3 EDIT: for those who see this later the newest version is: https://github.com/RSDuck/vba-next-switch/releases/tag/0.4
It includes the audio fix, @jakibaki 's support for auto saving and RTC and a settings menu, you can open it by pressing Minus. There you find a setting to change the screen scaling method. Bilinear scaling is supported but it's currently a bit slow. If you want a fullscreen image you're better off with the option Nearest Fullscreen.

If there are two things I learned then it's to appreciate GPUs and that the Switches CPU is slower than expected. I tried multiple implementations of bilinear scaling and all of them(including the one which can be found in this release) are too slow. With GPU support this wouldn't be a problem at all(after all they are built for exactly this purpose), but since there's currently no real support for the GPU, scaling has to be implemented on the CPU.
If anyone is eable to scale a 240*160px image to a resolution of 1080*720px on a Switch(without the GPU) in 6ms or less please let me know.
 
Last edited by catlover007,

CreAtor135

GBATemp's #1 Nothing
Member
Joined
Jan 10, 2015
Messages
814
Trophies
0
Location
Ikeb, Ukuro
XP
1,499
Country
United States
So I finally got everything in a state where I'm mostly satisfied with it. So here it is vba-next-switch 0.3!
https://github.com/RSDuck/vba-next-switch/releases/tag/0.3
It includes the audio fix, @jakibaki 's support for auto saving and RTC and a settings menu, you can open it by pressing Minus. There you find a setting to change the screen scaling method. Bilinear scaling is supported but it's currently a bit slow. If you want a fullscreen image you're better off with the option Nearest Fullscreen.

If there are two things I learned then it's to appreciate GPUs and that the Switches CPU is slower than expected. I tried multiple implementations of bilinear scaling and all of them(including the one which can be found in this release) are too slow. With GPU support this wouldn't be a problem at all(after all they are built for exactly this purpose), but since there's currently no real support for the GPU, scaling has to be implemented on the CPU.
If anyone is eable to scale a 240*160px image to a resolution of 1080*720px on a Switch(without the GPU) in 6ms or less please let me know.
Could you add support for the picture mode we had before? It looked absolutely perfect to me.
 
D

Deleted User

Guest
Since nobody gave you an actual answer on how to save properly in-game, I'll elaborate.

You want to make sure you don't press the home button at all after saving, you want to press X to bring up the home brew menu and then X again to exit the emulator through the menu. If you do this properly, the game will recognize that you exited as opposed to suspended the software.
Actually, that makes sense. See, everytime I exited the games I was playing, I only pressed X ONCE instead of twice. Thanks for the heads-up, lmao. My Mother 3 and Link to the Past progress is still dead but hey, what are you going to do?
 
D

Deleted User

Guest
In case anyone is interested in playing VBA in docked mode I found a temporary solution.

It won't work if you dock the switch while a rom is running as you will get lag/sound skipping for a few sec into a crash, or an immediate crash. Instead, dock it after you sent the payload & booted into cfw, or while you're on the homebrew menu to select VBA. Then you can select VBA once it's docked and try loading up a ROM and it should work fine. It will crash the odd time on booting a ROM but it will work. If you undock /redock your switch while a ROM is running it will crash so remember to only do it before launching VBA.

edit: i'm on 5.0.1
Doesn't work on 5.0.2 sadly, or if it does, I get an immediate crash no matter what ROM I choose.
 

TheRocK

Well-Known Member
Member
Joined
Apr 16, 2003
Messages
374
Trophies
2
Website
Visit site
XP
819
Country
Gambia, The
This new version introduced some weird lag which looks like skipped frames even though frameskipping is disabled. Didn't have that before. First noticed it in Final Fantasy Dawn of Souls while running even without scaling. Also scrolling in menus seems to be broken as of the new version and it's still randomly sorted. The new auto save and scaling is a good addition.
 

0x9e

Member
Newcomer
Joined
May 27, 2018
Messages
22
Trophies
0
Location
Land of pain.
XP
1,310
Country
Spain
I made a fork on github and added an option to switch R and L buttons for ZR and ZL. @catlover007 take a look maybe it'll be useful for next release. (Sorry for retarded commits)

I also designed a new icon (I think it would look great with the Switch and HB launcher, but when I test it, it doesn't show on the HB launcher) imgur com/a/Uv7kVxb

If something I have my Discord at the signature :)
 
Last edited by 0x9e,

H1B1Esquire

RxTools, the ultimate CFW machine.
Member
Joined
Nov 2, 2016
Messages
3,732
Trophies
1
Age
36
Location
Earth, bro-dude.
XP
2,868
Country
United States
I also designed a new icon

4S8aJbP.jpg


FTFY

I recommend adding the github link.
 

0x9e

Member
Newcomer
Joined
May 27, 2018
Messages
22
Trophies
0
Location
Land of pain.
XP
1,310
Country
Spain
FTFY

I recommend adding the github link.

Thanks! I can't post images for now.

This is my fork github link: /dene-/vba-next-switch

Edit: added built nro with the setting and also "switch/roms/gba" as starting directory like it was in gdkGBA. Based on 0.3
Edit 2: It's tested of course, I'm using it now on my switch :)
 

Attachments

  • vba-next-switch-dene.zip
    264.8 KB · Views: 152
Last edited by 0x9e,

TheRocK

Well-Known Member
Member
Joined
Apr 16, 2003
Messages
374
Trophies
2
Website
Visit site
XP
819
Country
Gambia, The
Thanks! I can't post images for now.

This is my branch github link: /dene-/vba-next-switch

Edit: added built nro with the setting and also "switch/roms/gba" as starting directory like it was in gdkGBA.

Would it also be possible to change the menu shortcut to something like pressing both + and - ?
 

catlover007

Developer
OP
Developer
Joined
Oct 23, 2015
Messages
715
Trophies
1
XP
3,863
Country
Germany
I addressed some issues in https://github.com/RSDuck/vba-next-switch/releases/tag/0.3b https://github.com/RSDuck/vba-next-switch/releases/tag/0.4
This new version introduced some weird lag which looks like skipped frames even though frameskipping is disabled. Didn't have that before. First noticed it in Final Fantasy Dawn of Souls while running even without scaling. Also scrolling in menus seems to be broken as of the new version and it's still randomly sorted. The new auto save and scaling is a good addition.
I thought I eliminated it completely it completely. I made some quick changes, I think these fixes it or at least improves the sitaution. And the filenames are now sorted in the new release.
To be honest, I never tried scrolling, because I don't have a folder with enough files, but I tried lowering the amount of files drawn until you need scrolling and it seemed to work fine. Maybe your folder had more files than supported. I increased the limit in this release, so please try again.
 
Last edited by catlover007,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    ZeroT21 @ ZeroT21: Chuck your brain out the window, it's useless, use your head instead