Homebrew RELEASE [RELEASE] Amiga Emulator UAE4All2 for Switch

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,858
Trophies
2
XP
28,913
Country
United Kingdom
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.
 

jacopastorius

Well-Known Member
Member
Joined
Oct 24, 2018
Messages
164
Trophies
0
Age
44
XP
316
Country
Italy
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
 

jacopastorius

Well-Known Member
Member
Joined
Oct 24, 2018
Messages
164
Trophies
0
Age
44
XP
316
Country
Italy

Hugo1974

New Member
Newbie
Joined
Nov 29, 2018
Messages
1
Trophies
0
Age
49
XP
314
Country
Netherlands
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
 

rsn8887

Well-Known Member
OP
Member
Joined
Oct 8, 2015
Messages
956
Trophies
1
Age
46
Website
www.patreon.com
XP
3,616
Country
United States
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,

rsn8887

Well-Known Member
OP
Member
Joined
Oct 8, 2015
Messages
956
Trophies
1
Age
46
Website
www.patreon.com
XP
3,616
Country
United States
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







 

rsn8887

Well-Known Member
OP
Member
Joined
Oct 8, 2015
Messages
956
Trophies
1
Age
46
Website
www.patreon.com
XP
3,616
Country
United States
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,

jacopastorius

Well-Known Member
Member
Joined
Oct 24, 2018
Messages
164
Trophies
0
Age
44
XP
316
Country
Italy
Yes i know that and it works really well. But you know, playing cannon fodder or syndicate with mouse could really be gorgeous
 

rsn8887

Well-Known Member
OP
Member
Joined
Oct 8, 2015
Messages
956
Trophies
1
Age
46
Website
www.patreon.com
XP
3,616
Country
United States
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,

superdude2018

New Member
Newbie
Joined
Dec 2, 2018
Messages
2
Trophies
0
Age
50
XP
56
Country
United Kingdom
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.
 

DocBo

Well-Known Member
Member
Joined
Apr 11, 2018
Messages
243
Trophies
0
XP
620
Country
Germany
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,

rsn8887

Well-Known Member
OP
Member
Joined
Oct 8, 2015
Messages
956
Trophies
1
Age
46
Website
www.patreon.com
XP
3,616
Country
United States
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,

sj33

Well-Known Member
Member
Joined
Oct 22, 2013
Messages
4,072
Trophies
2
XP
4,726
Country
Japan
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!
 

rsn8887

Well-Known Member
OP
Member
Joined
Oct 8, 2015
Messages
956
Trophies
1
Age
46
Website
www.patreon.com
XP
3,616
Country
United States
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

DocBo

Well-Known Member
Member
Joined
Apr 11, 2018
Messages
243
Trophies
0
XP
620
Country
Germany
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

General chit-chat
Help Users
  • No one is chatting at the moment.
    Xdqwerty @ Xdqwerty: good night