RELEASE [RELEASE] Amiga Emulator UAE4All2 for Switch

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by rsn8887, Nov 5, 2018.

  1. duduche

    duduche Newbie

    Newcomer
    1
    Jul 15, 2016
    France
    Hi,
    I have a problem to make a hard disk image.
    I have an image of 256MB 'Not a DOS disk' under the switch emulator, 4GB ditto. I do not know how a 512MB image with my workbench works and the others not.
    I watched the 512MB is in DOS\3, the 256MB in DOS\5 (with cache), I try but 256MB in DOS\3 does not pass so it is not that.
    Images made under WinUAE.
    What is the problem ? Limitation ?
    Thanks.

    I have tryed 64MB, and 3 4GB images with DOS\0 DOS\3 DOS\5, 'Not a DOS disk'.:hateit:
     
    Last edited by duduche, Dec 4, 2018
  2. rsn8887
    OP

    rsn8887 GBAtemp Advanced Fan

    Member
    8
    Oct 8, 2015
    United States

    You have to format your disk using Workbench.

    The procedure is very simple, using WinUAE:

    Here’s how to do it
    - open winuae
    - click cd & hard drives
    - click add hardfile...
    - enter size in MB box
    - click create
    - choose name to save new hdf
    - insert Workbench hdf as file0
    - insert new hdf as file1
    - boot Workbench 3.0 or 3.1
    - hdf appears as non dos disk NDOS on the Workbench
    - click on the NDOS disk icon, select format in the menu to format the disk with ffs
    - profit
     
    Last edited by rsn8887, Dec 4, 2018
    CTBC likes this.
  3. duduche

    duduche Newbie

    Newcomer
    1
    Jul 15, 2016
    France
    Yes I do this on WinUAE and on UAE4ALL (switch), hdf was NDOS. So I reformat my hdf on UAE4ALL and I will test to tranfert on WinUAE. Wait and see.
     
  4. KungFuJoe

    KungFuJoe Member

    Newcomer
    1
    Aug 3, 2016
    United States
    Can anyone point me in the right direction towards getting some HDF converted files?
     
  5. duduche

    duduche Newbie

    Newcomer
    1
    Jul 15, 2016
    France
    Ok, trying formating on UAE4ALL and with WinUAE, hdf not recognized.

    I use WinUAE 2.x, I try with 3.22 and I try 4.0.1, hdf 4.0.1 formated and system copied, NDOS on UAE4ALL, reformate and on WinUAE system always present ??? :nayps3:
     
  6. rsn8887
    OP

    rsn8887 GBAtemp Advanced Fan

    Member
    8
    Oct 8, 2015
    United States
    EDIT: Please do not try to use hdf files >2 GB. Read the release notes:
    • Multiple hard-file support: up to 4 hdf files (size <2GB each) can be mounted simultaneously
    I still do not understand why your smaller hdf file is not working.

    Can you provide the steps you used for your 256 MB hdf file, so I can try to reproduce the problem?
     
    Last edited by rsn8887, Dec 5, 2018
  7. rsn8887
    OP

    rsn8887 GBAtemp Advanced Fan

    Member
    8
    Oct 8, 2015
    United States
    I just tried and followed my own instructions from my earlier post to create and format a 256 MB hdf using latest WinUAE and ClassicWB (to format it) and it works perfectly on the Switch.

    @duduche: I am not sure why it doesn’t work for you. You should be able to create working hdfs using my step-by-step instructions.

    If you are trying to create large hdf, if they are larger than 1Gb, you have to set surfaces to 2. And remember that 2Gb is the maximum supported size.
     
    Last edited by rsn8887, Dec 5, 2018
  8. duduche

    duduche Newbie

    Newcomer
    1
    Jul 15, 2016
    France
    Hi,
    After a day of work, transferts of whdload with my 500MB hdf compatible WinUAE/UAE4ALL on a 4GB hdf file created on WinUAE and formated on UAE4ALL, I have my fonctional whdload pack on one hdf file. So no 2GB limitation (Amiga 1200 3.1 limitation is 8GB for harddrive and 4GB for a partition, my experience with a 15GB harddrive with patched scsi.device).
    Now the problem is that some games are too fast, sprites coming too fast (Bad dudes vs Dragonninja etc...). Some ideas ?

    'It's better with Blitter : Normal, Sprite collision : On and CPU : 7MHz)'

    Thanks.
     
    Last edited by duduche, Dec 6, 2018
    rsn8887 likes this.
  9. duduche

    duduche Newbie

    Newcomer
    1
    Jul 15, 2016
    France
    @rsn8887

    It's certainly because I use an old version of WinUAE, I've made a hdf image of my old system, and this does not work on WinUAE 3.22, so I use a 2.x version. But I have tryed the 4.0.1 version, same thing.

    HDController : UAE ; Sectors : 32 ; Bloacksize ; 512 ; Surface : 1 ; Reserved ; 2 ; OFS/FFS/RDB ; Bootable.
    The 3.22 version has a different value for Sectors as default.

    I stopped taking my head to understand why and how. (french sentence)

    I've now a good hdf with my full whdload.

    Thanks.
     
    Lineacero and rsn8887 like this.
  10. rsn8887
    OP

    rsn8887 GBAtemp Advanced Fan

    Member
    8
    Oct 8, 2015
    United States
    Thank you for taking all this time to figure this out! This is great news.

    Yes, you are right and I was wrong about the max hdf file size on Switch. The max size limit on Switch is 4 Gb (on Vita it is only 2 Gb). It is because the Switch is a 64bit system and the emulator uses unsigned 32 bit integers for FSEEK offsets etc.

    I would have thought that in WinUAE you needed surfaces: 2 for hdf files > 1 Gb and surfaces: 4 for hdf files > 2 Gb, because you run out of sectors and blocks for these large files. In UAE4All2, I set these automatically, so that must be why it works.

    Some games still run too fast in WHDLoad, even with Cpu speed: 7MHz. I use the A500 config and adf for those games.
     
    Last edited by rsn8887, Dec 6, 2018
    Lineacero likes this.
  11. werdy

    werdy Member

    Newcomer
    3
    Oct 12, 2015
    Hungary
    Incredible, thanks for this (for the Vita and Switch version too as I have both of them - besides my A600 ;) ). Now my girlfriend can play with Benefactor (and Superfrog, for sure) everywhere.
     
    rsn8887 likes this.
  12. hexdump

    hexdump Member

    Newcomer
    2
    Mar 4, 2018
    Spain
    Hi guys, I'm trying to run some hdf I have with no luck.

    I add a hdf game as file1 and enable the boot HD option to File1.

    I was expecting the hdf to boot but always get the "no disk" screen.

    Could anybody please give any insight?

    Cheers.
     
  13. rsn8887
    OP

    rsn8887 GBAtemp Advanced Fan

    Member
    8
    Oct 8, 2015
    United States
    Use A1200 config? Is it a bootable hdf? My step-by-step instructions are in this post just one page up from here: #242
     
  14. hexdump

    hexdump Member

    Newcomer
    2
    Mar 4, 2018
    Spain
    Thanks a lot. Such an awesome work!
     
  15. rsn8887
    OP

    rsn8887 GBAtemp Advanced Fan

    Member
    8
    Oct 8, 2015
    United States
    hexdump likes this.
  16. rsn8887
    OP

    rsn8887 GBAtemp Advanced Fan

    Member
    8
    Oct 8, 2015
    United States
    New release v1.81.

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

    Buttons can now be mapped to load or save state and to speed up mouse. Custom control mappings are now populated with sensible defaults. Additional bios kickcustom.rom can now be used.

    Changelog
    =======
    1.81
    - allow higher CPU speed hack (for Alien Breed 3D)
    - allow optional custom kickstart named kickcustom.rom (for 3.1.4 etc.)
    - buttons can now be mapped to quickload/quicksave for fast savestates
    - a button can be mapped to "fast mouse", hold it down to speed up mouse
    - "slow mouse" or "fast mouse" buttons now also affect touch and real mice
    - populate custom controls with sensible defaults instead of all blank

    [​IMG]
     
    sj33, hexdump, Connorsdad and 4 others like this.
  17. sj33

    sj33 GBAtemp Psycho!

    Member
    12
    Oct 22, 2013
    Japan
    Thanks for adding the CPU overclock feature that I nagged for!
     
  18. Lineacero

    Lineacero GBAtemp Regular

    Member
    3
    Jul 14, 2017
    Spain
    @rsn8887, thank you very much for this year full of very good emulators, very grateful, happy Christmas @rsn8887 and many many thanks.:hrth::):toot::grog:
     
    Kerbangman, hexdump and rsn8887 like this.
  19. rsn8887
    OP

    rsn8887 GBAtemp Advanced Fan

    Member
    8
    Oct 8, 2015
    United States
    New release v1.82. Download here:
    https://github.com/rsn8887/uae4all2/releases/latest

    Directional buttons can now be held down for faster menu navigation. On Switch, eight controllers can now be mapped, useful for >4 players like in Masterblaster, or Achtung Die Kurve.

    Changelog:

    1.82

    - support up to eight controllers on Switch

    - allow faster menu navigation by holding down directions

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

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]
     
    hausa51, Connorsdad, CTBC and 5 others like this.
  20. rsn8887
    OP

    rsn8887 GBAtemp Advanced Fan

    Member
    8
    Oct 8, 2015
    United States
    New release v1.83. Download here:
    https://github.com/rsn8887/uae4all2/releases/latest

    I fixed hotkeys causing game inputs in some cases. The stick and dpad can now be mapped separately. This is useful for games that use many keys, like Exile.

    Changelog

    1.83
    • stop hotkeys from affecting game controls in some cases
    • always allow left stick to control on screen keyboard
    • allow mapping of stick and dpad independently
    [​IMG]

    [​IMG]

    [​IMG]
     
    hexdump, Badablek, Cid2mizard and 3 others like this.
Loading...