Homebrew RELEASE [RELEASE] Amiga Emulator UAE4All2 for Switch

  • Thread starter Thread starter rsn8887
  • Start date Start date
  • Views Views 121,486
  • Replies Replies 441
  • Likes Likes 37
Thank you very muche rsn, first of all for your fantastic emulator (which i tested with some adfs). Regarding hdf, i just did what you suggested but trying some hdf result in a blue screen with a window saying "Not a DOS disk in unit B)
Go back into the menu and restart the emulation. That's a bug I've found where it uses kickstart 1.3 on first boot of a configuration even if a different kickstart is selected, restarting fixes it.
 
Thank you hippy but i cannot get it run yet. I also tried updating to 1.79 but not luck. I just have a yellow blanking screen after pressing R in the main menu
 
Screenshot of the error msg? Are you sure you are using A1200 config and you have kick31.rom present? Your boot screen should be purple, not white.
 
Goodevening,

Is it me or is the disk swapping not working. ?
I have the latest instalment. But when i am being ask for disk b. For example in last ninja remix. It isn’t working. I push - to get into the menu and choose the right disk. As i did in the psvita version. But won’t work for the switch version.
Any one an idea?

Greetings
 
Yes, i have kick31.rom in the correct folder. Updating to latest version of the emulator gives me a yellow screen after pressing R. Here are the screens of my settings:
https://imgur.com/a/msdZMAZ
https://imgur.com/a/msdZMAZ
https://imgur.com/a/msdZMAZ

Looks like a bad rom file. PM sent.

--------------------- MERGED ---------------------------

Goodevening,

Is it me or is the disk swapping not working. ?
I have the latest instalment. But when i am being ask for disk b. For example in last ninja remix. It isn’t working. I push - to get into the menu and choose the right disk. As i did in the psvita version. But won’t work for the switch version.
Any one an idea?

Greetings

Hmm I know it works in some games I have tried. I tested for example Marvin AGA, I forgot which other games I tried.

Can you tell me exactly which games work or which ones don't work?

Can you try 1x floppy speed?

Can you do me a favor and see if it works using the older version 1.74, found here:
https://github.com/rsn8887/uae4all2/releases/tag/1.74

You can just copy over uae4all2.nro to test...

Thank you!

There's really no difference in floppy code between Vita and Switch. If it works on Vita it should work on Switch.

Another thought: Maybe you have some game-specific config on your Switch that you don't have on your Vita (check contents of configs folder). The game specific config might get loaded when you insert disc 2.
 
Last edited by rsn8887,
New release v1.80:

https://github.com/rsn8887/uae4all2/releases/latest

I improved keyboard handling. Now Celtic Legends can be started. On Switch, I also improved single/dual joycon mode switching. Thanks to Toni Wilen for help fixing the keyboard bug.

Thanks to my supporters on Patreon: Andyways, CountDuckula, Jesse Harlin, Matthew Machnee, and RadicalR.

Changes in this version

1.80

- improve keyboard input (fixes Celtic Legends)

- on Switch, improve single/dual joycon mode switching

Visit my Patreon page: https://www.patreon.com/rsn8887







 
Thank you! Could ever be possible external mouse support?

Yes. On the Vita I already have external bluetooth keyboard and mouse support. As soon as mouse and keyboard support is added to the SDL2 library for the Switch, UAE4All2 will then automatically support it. I am not sure when that will be.

Note if you are playing in handheld mode, the touchscreen mouse works pretty well, too. You can adjust the speed in the menu to your liking. You can control the pointer with the touchscreen just like on a touchpad on a laptop (put finger anywhere and drag, no need to put finger on top of the pointer).
 
Last edited by rsn8887,
Yes i know that and it works really well. But you know, playing cannon fodder or syndicate with mouse could really be gorgeous
 
Yes i know that and it works really well. But you know, playing cannon fodder or syndicate with mouse could really be gorgeous

I agree. I have to admit I was also disappointed that SDL2 on the Switch didn't already support keyboard and mouse. Let me look into it, because I implemented that on the Vita and it wasn't very hard at all.
 
Last edited by rsn8887,
hi I am new to this forum can anyone point me In the right direction for the kickstart roms there is that many of them I am unsure which ones to get can I add all do they need to be renamed etc thanks in advance.
 
hi I am new to this forum can anyone point me In the right direction for the kickstart roms there is that many of them I am unsure which ones to get can I add all do they need to be renamed etc thanks in advance.

This is the most legal answer we're allowed to give you for getting kickstarts.

https://www.amigaforever.com/
 
My system.hdf wont boot anymore, i have nothing changed, the HD led is flashing but black screen.
Im on 1.80, tested other versions and copied the system.hdf again but no luck.
 
Last edited by DocBo,
My system.hdf wont boot anymore, i have nothing changed, the HD led is flashing but black screen.
Im on 1.80, tested other versions and copied the system.hdf again but no luck.

One of your inserted hdfs (not necessarily system.hdf) is being "validated" by the Amiga OS. It is a slow process. It happens when the emulator was quit while the Amiga was accessing the hdf.

The solution is to just wait a really (really) long time at the black screen. Wait ca. 5-10 minutes or so. It will boot normally again. This wait only needs to be done once. After that, it will boot fast again.

If it still doesn’t work, copy all inserted hdfs over from the backup (not just system.hdf but also the others). The Amiga OS tries to validate ALL inserted hdfs when booting, not just dh0:

To prevent this problem:
Always exit the emulator safely (go to menu, press L). Don't exit the emulator by pressing the Home button.

On the Vita, I disabled the home button because of this problem. But on the Switch, I haven't found a way to disable the home button yet.

In case your SD card is exFAT formatted, I put my exFAT rant here:
exFAT will always (always) become corrupted eventually, which might also cause this validation problem. The Switch OS itself is responsible for the corruption. Sometimes the corruption can be fixed on Windows by running chkdsk. Many people say they have not encountered problems with exFAT: I challenge those people to run chkdsk. I bet they will already see all kinds of corruption in their Nintendo folder that they just haven't noticed yet.

Because of these problems, FAT32 is the way to go. It is possible to just make a backup of all files, re-format the SD card to FAT32, and then restore the files. Installed files in the Nintendo folder are already all <4GB, because the OS does that automatically when installing .nsp files. Guiformat.exe for Windows works well to easily format your SD Card with cluster size 32. For large (>4 GB) new .nsp files and your large .xci game cart backups, there are xci-cutter and nsp-splitter tools available to convert those .xci and .nsp files to 4Gb chunks so they work on FAT32.

It is worth it to make the change to FAT32, trust me. I have encountered so many problems with exFAT during my testing of the emulator. Eventually, I switched to FAT32 and all my problems were gone.
 
Last edited by rsn8887,
Any chance that extra CPU speed options can be added to a future release? Just want to see if we can get Alien Breed 3D II running well!
 
Any chance that extra CPU speed options can be added to a future release? Just want to see if we can get Alien Breed 3D II running well!

I think you can already do this with the current version, but you have to manually edit your config file.

Configure your game, and then save a game specific configuration. The game specific configuration will be loaded automatically when you load your hdf/adf.

Go into the conf folder and find your configuration file. It should be named after your hdf/adf. Edit the config file with a text editor.

Find the line after spritecollisions, where it says
cpu = “some negative number”

Change the number:
0 is 7 MHz,
-1 is 14 MHz,
-2 is 28 MHz,
-3 should be 56 MHz
-4 should be 112 MHz

I have never tested numbers other than 0,-1,-2. The menu only allows you to set those, but nothing should stop you editing config files.
 
Last edited by rsn8887,
  • Like
Reactions: sj33 and hippy dave
One of your inserted hdfs (not necessarily system.hdf) is being "validated" by the Amiga OS. It is a slow process. It happens when the emulator was quit while the Amiga was accessing the hdf.

The solution is to just wait a really (really) long time at the black screen. Wait ca. 5-10 minutes or so. It will boot normally again. This wait only needs to be done once. After that, it will boot fast again.

If it still doesn’t work, copy all inserted hdfs over from the backup (not just system.hdf but also the others). The Amiga OS tries to validate ALL inserted hdfs when booting, not just dh0:

To prevent this problem:
Always exit the emulator safely (go to menu, press L). Don't exit the emulator by pressing the Home button.

On the Vita, I disabled the home button because of this problem. But on the Switch, I haven't found a way to disable the home button yet.

In case your SD card is exFAT formatted, I put my exFAT rant here:
exFAT will always (always) become corrupted eventually, which might also cause this validation problem. The Switch OS itself is responsible for the corruption. Sometimes the corruption can be fixed on Windows by running chkdsk. Many people say they have not encountered problems with exFAT: I challenge those people to run chkdsk. I bet they will already see all kinds of corruption in their Nintendo folder that they just haven't noticed yet.

Because of these problems, FAT32 is the way to go. It is possible to just make a backup of all files, re-format the SD card to FAT32, and then restore the files. Installed files in the Nintendo folder are already all <4GB, because the OS does that automatically when installing .nsp files. Guiformat.exe for Windows works well to easily format your SD Card with cluster size 32. For large (>4 GB) new .nsp files and your large .xci game cart backups, there are xci-cutter and nsp-splitter tools available to convert those .xci and .nsp files to 4Gb chunks so they work on FAT32.

It is worth it to make the change to FAT32, trust me. I have encountered so many problems with exFAT during my testing of the emulator. Eventually, I switched to FAT32 and all my problems were gone.

Thanks! Youre right, not the system.hdf was corrupt but one of the games.hdf after i exit via the home button.
 

Site & Scene News

Popular threads in this forum