1. pedro702

    pedro702 GBAtemp Legend
    Member

    Joined:
    Mar 3, 2014
    Messages:
    10,786
    Country:
    Portugal
    yeah this happens to me alot dont know why, wiimote gets stuck like there is a wall on several games, if you use an usb mouse it never gets stuck, the weird thing is control F1 on the mapper its not stuck while in games it gets stuck by invisible walls for some reason.
     
  2. Tetsuo Shima

    OP Tetsuo Shima GBAtemp Advanced Maniac
    Member

    Joined:
    Oct 29, 2008
    Messages:
    1,611
    Country:
    Italy
    How many cycles are you using? Maybe you could try increasing them a little.
    I don't have Dungeon Master, but for the Eye of the Beholder games I've used these mappings:
    EOB2.png
     
  3. gZa

    gZa Newbie
    Newcomer

    Joined:
    May 4, 2021
    Messages:
    7
    Country:
    United Kingdom
    I'll have a play about with the cycles but like I said it DOES self-correct itself after a bit of a waggle. (It's just borked on start up).

    I originally figured it might be to do with the resolution of the game but like you said there's so much fiddling about needed.

    Thanks for the WiiMote suggestion but I've got so used to recently playing the PCEngineCD version (Theron's Quest) that I now like the horizontal WiiMote for movement. I'll post the map file when I get it perfected.
     
    Tetsuo Shima likes this.
  4. pedro702

    pedro702 GBAtemp Legend
    Member

    Joined:
    Mar 3, 2014
    Messages:
    10,786
    Country:
    Portugal
    im quotting you because you probably know this since you coded homebrew on wii, how many free mb does the wii have for homebrew? i remember being 20ish?am i wrong? i want to know what is the max i can put in memory on dosbox.
     
  5. niuus

    niuus GBAtemp Maniac
    Member

    Joined:
    Mar 4, 2016
    Messages:
    1,462
    Country:
    Venezuela
    For the kind of DOS games emulation that can be done on either Nintendo consoles, 16 is more than enough, don't go overkill just for the sake of it. You're not going to run Windows 98, after all.
     
    Tetsuo Shima likes this.
  6. Tetsuo Shima

    OP Tetsuo Shima GBAtemp Advanced Maniac
    Member

    Joined:
    Oct 29, 2008
    Messages:
    1,611
    Country:
    Italy
    A little update:
    I've managed to run a few demanding games at reasonable speed on Wii.
    - Alone in the Dark 2 is very close to full speed and definitely playable.
    - Heretic performances improve very much if you patch the main exe with Dos32a. It now runs at playable speed at 12500 cycles, but it's still not full speed and it will stutter a little when there are many enemies on screen. However, being a Doom-like game, I'm impressed with these results. I'm also very happy because the excellent source port is not working with Wiiflow.
    - Hexen is similar to Heretic, just a little bit slower. TBH this is not really enjoyable.
    - Ecstatica doesn't like dos32a, but it's playable from start to finish with Dos4gw, even if there are some stutterings.
    - Warcraft: Orcs & Humans is working good with Dos32a and plays very well with the Wiimote as a mouse.

    So, now I'd like to unleash some Dos power on you!
    Here is a little tutorial to include in your .conf files a very simple menu, where you can choose to launch the game, launch the game setup (to install the game or to configure sound), patch the main exe with dos32a, undo the dos32a patch (in case the game doen't like it), and close the game.
    To make your choice you simply press 1, 2, 3, 4 or 5 on the Virtual keyboard.
    I really like this approach, because you can do everything you need with just a single .conf file per game and your controller, without the need of a real keyboard or a PC.

    So, let's start over. I will use the game "Heretic" as an example.
    In this example I assume that the game files are in usb:/DosBox/games/heretic
    This game requires that you patch the main .exe replacing Dos4GW with Dos32a. This will give you better performances on Dosbox.
    Download the latest Dos32a package from https://dos32a.narechk.net/index_en.html
    Extract the archive and copy it inside the game folder (usb:/DosBox/games/heretic/dos32a)
    This is the code to paste in the autoexec section, at the bottom of the .conf file.
    Code:
    [autoexec]
    # Lines in this section will be run at startup.
    # You can put your MOUNT lines here.
    
    mount -u c:
    mount -u d:
    
    @echo off
    mount c: usb:/dosbox/games/heretic
    C:
    goto launcher
    
    :launcher
    cls
    ECHO.
    ECHO ------------------------------------------
    ECHO HERETIC LAUNCHER
    ECHO ------------------------------------------
    ECHO 1) Launch Game
    ECHO 2) Launch Game Setup
    ECHO ------------------------------------------
    ECHO 3) Embed Dos32a in main .EXE
    ECHO 4) Restore Dos4GW in main .EXE
    ECHO ------------------------------------------
    ECHO 5) Exit program
    ECHO ------------------------------------------
    ECHO.
    choice /c12345 /s Which program do you want to run? [1-5]: /n
    if errorlevel 5 goto exit
    if errorlevel 4 goto dos4gw
    if errorlevel 3 goto dos32a
    if errorlevel 2 goto setup
    if errorlevel 1 goto game
    
    :setup
    cls
    SETUP
    goto launcher
    
    :dos32a
    cls
    copy HERETIC.EXE HERETIC.OLD
    set dos32a=C:\dos32a
    C:\dos32a\binw\sb /r HERETIC.EXE
    C:
    pause
    cls
    echo.
    echo -----------------------------------------
    echo PROCESS COMPLETED !
    echo -----------------------------------------
    echo DOS32A was successfully embedded.
    echo You can undo this operation choosing
    echo option number 4.
    echo -----------------------------------------
    echo.
    echo !! HAPPY RETROGAMING FROM TETSUO !!
    echo Press a key to continue
    echo -----------------------------------------
    echo.
    pause>nul
    goto launcher
    
    :dos4gw
    cls
    copy HERETIC.OLD HERETIC.EXE
    pause
    cls
    echo.
    echo -----------------------------------------
    echo PROCESS COMPLETED !
    echo -----------------------------------------
    echo DOS4GW was successfully restored.
    echo.
    echo.
    echo -----------------------------------------
    echo.
    echo !! HAPPY RETROGAMING FROM TETSUO !!
    echo Press a key to continue
    echo -----------------------------------------
    echo.
    pause>nul
    goto launcher
    
    :game
    cls
    HERETIC
    goto exit
    
    :exit
    exit
    Tell me if you like it and if you want me to explain these Dos commands and what they do.:rolleyes:
     
    Last edited by Tetsuo Shima, May 18, 2021
    niuus and Tototi like this.
  7. pedro702

    pedro702 GBAtemp Legend
    Member

    Joined:
    Mar 3, 2014
    Messages:
    10,786
    Country:
    Portugal
    nice but dont hexen and heretic got a native source port on wii? i think so, also with wiiu overclock you can even get star wars dark forces fullspeed, and im guessing wiiu overclock would help with those games you got there if you had a wiiu instead of wii :P

    Btw i got terminator rampage(needs cycles max) running fullspeed(the game is abit junky but that is how it performs on every cpu even i think the game was programmed with awful framerate no matter the cpu power it just inst smooth.

    If you can ever find a a way to make terminator future shock or skynet run better specialy indoors let me know.

    im happy i can play dark forces on wiiu now fullspeed max details and max screen size, such great game imo.
     
  8. Tetsuo Shima

    OP Tetsuo Shima GBAtemp Advanced Maniac
    Member

    Joined:
    Oct 29, 2008
    Messages:
    1,611
    Country:
    Italy
    As I said, the sourceports are not working on Wiiflow so it's like they don't exist for me.
    See it like this, I'm the creator of Rhapsodii Shima and the new Plugins Pack, it took me more than 2 years of work and headaches.
    My Wii boots straight up to Wiiflow and I refuse categorically to use any other launcher. So no WFL support means no game for me.
    Heretic is really enjoyable on Dosbox, and you can't even remap controls on the source port.
    You also didn't get the whole point with the tutorial. Heretic was just an example, you can alter the autoexec part to suit any game that needs it.
    About Terminator or Darkforces... do some researches to see if they're using Dos4GW (internally or externally). If they use it, chances are that you can increase performances alot replacing it with Dos32a.
    This tutorial is only covering the internal patching of the .exe, I will cover the other method too.
     
    niuus likes this.
  9. pedro702

    pedro702 GBAtemp Legend
    Member

    Joined:
    Mar 3, 2014
    Messages:
    10,786
    Country:
    Portugal
    i already use dos32a and it made little diference tbh for me.
     
  10. Tetsuo Shima

    OP Tetsuo Shima GBAtemp Advanced Maniac
    Member

    Joined:
    Oct 29, 2008
    Messages:
    1,611
    Country:
    Italy
    Usually if the game actually boots with Dos32a, you get a noticeable performance improvement. Is there a file called Dos4gw,exe in your games folders? If it's true, you can simply replace it with dos32a.exe renamed to dos4gw.exe
    If there's no such file, but when the game is launching you can see a Dos4gw message on the dos prompt, then you have to use the internal method that I posted.
    With Dos32a you can sometimes use memsize=64 in your .conf (not with Heretic though, but I've read it works for Blood). This will give a substantial performane boost.
    Unfortunately, not all dos4gw games can work with dos32a, but if they don't they refuse to start at all or (in Ecstatica's case) the game will have messed up graphics. But when it's starting ok I could always see an improvement in speed.

    Ah on a separate note: point and click adventures are also working very good. I'm enjoying Darkseed at the moment, a game unsupported by ScummVM for reasons beyond me.
    I'm also using Dosbox to play the EGA version of Monkey Island, my favourite one for nostalgic reasons. It's working in ScummVM too but they couldn't remove the copy protection because of stupid Lucas Arts (c'mon LA... it's 2021! Why you agreed to remove the copy protection from all your VGA games except for an inferior 16 color version? Now, THIS is really stupid!).
     
  11. niuus

    niuus GBAtemp Maniac
    Member

    Joined:
    Mar 4, 2016
    Messages:
    1,462
    Country:
    Venezuela
    I guess this could be cool to try with Rayman. I'll check it later.

    — Posts automatically merged - Please don't double post! —

    Really? I could have sworn that i played it many years ago on the Wii. Have you tried with latest stable/daily from their buildbot?
     
  12. pedro702

    pedro702 GBAtemp Legend
    Member

    Joined:
    Mar 3, 2014
    Messages:
    10,786
    Country:
    Portugal
    i will try with 64mb thing since i did replace the dos file already and renamed it to correct thing.
     
  13. Tetsuo Shima

    OP Tetsuo Shima GBAtemp Advanced Maniac
    Member

    Joined:
    Oct 29, 2008
    Messages:
    1,611
    Country:
    Italy
    Dark Seed is not supported, it's not present in the supported games list. It's not working on PC as well
     
  14. niuus

    niuus GBAtemp Maniac
    Member

    Joined:
    Mar 4, 2016
    Messages:
    1,462
    Country:
    Venezuela
    Shame it isn't supported on ScummVM yet. Now i remember how i played it on the Wii: with WiiSXRX.

    BTW, just so you are aware if you're looking for it in the future, at least Dark Seed II was indeed being worked on for ScummVM, though they seem to have stopped development for the engine in 2014.
     
    Last edited by niuus, May 20, 2021
    Tetsuo Shima likes this.
  15. NiteOwl

    NiteOwl Member
    Newcomer

    Joined:
    Oct 8, 2018
    Messages:
    20
    Country:
    Ecuador
    Hey, I tried System shock, theme hospital and star wars dark forces with dos32a, massive improvement; simcity 2000 and syndicate crashed after a few seconds with dos32a. I could play some of simcity the some green letters appeared in the upper left, and syndicate crashed after selecting between syndicate wars and amercian revolt with this message:

    Audio initialization failed.
    Error type 10 code 5

    Game failed to start under DOS32A with this error

    I tried to play tim, tim 2, zed, sim farm by having the dos32a.exe file in the same folder as the game executable (tim.exe, tim2.exe, zed.exe, simfarm.exe) and putting these lines at the end of a bat file (thats how i apply diferente configs for my games):
    dos32a tim.exe (this works in system shock, theme hospital and swdf),
    I get this error: DOS/32A fatal 3003. File tim.exe does not contain any valid exec format.
    I also tried using @Tetsuo Shima instructions but I cant get to the launcher, the game just starts with dos4gw
     
    Last edited by NiteOwl, May 20, 2021
  16. Disorarara

    Disorarara GBAtemp Fan
    Member

    Joined:
    Sep 12, 2012
    Messages:
    327
    Country:
    System Shock runs on Wii? How fast? Also can anyone check how fast Mortal Kombat Trilogy runs?
     
  17. Tetsuo Shima

    OP Tetsuo Shima GBAtemp Advanced Maniac
    Member

    Joined:
    Oct 29, 2008
    Messages:
    1,611
    Country:
    Italy
    Thanks for your report @NiteOwl I can't remember, are you on Wii or Wii-U?
    If you post your [autoexec] section I will try to help you with the dos32a patching. Does tim stands for The incredible machine?
     
  18. NiteOwl

    NiteOwl Member
    Newcomer

    Joined:
    Oct 8, 2018
    Messages:
    20
    Country:
    Ecuador
    @Tetsuo Shima Im on wii, im running system shock with 9684 cycles, 3 frame skips and high res graphics (in game configuration, low, high and max graphics), it runs a little slower than what iv seen in youtube videos, and a little choppy because of the frame skip, so far thats the best configuration ive tried, also some slow downs in the music.
    These are the bat files iv tried for tim (the incredible machine)
    # This is the configuration file for DOSBox 0.74. (Please use the latest version of DOSBox)
    # Lines starting with a # are comment lines and are ignored by DOSBox.
    # They are used to (briefly) document the effect of each option.

    [sdl]
    # fullscreen: Start dosbox directly in fullscreen. (Press ALT-Enter to go back)
    # fulldouble: Use double buffering in fullscreen. It can reduce screen flickering, but it can also result in a slow DOSBox.
    # fullresolution: What resolution to use for fullscreen: original or fixed size (e.g. 1024x768).
    # Using your monitor's native resolution with aspect=true might give the best results.
    # If you end up with small window on a large screen, try an output different from surface.
    # windowresolution: Scale the window to this size IF the output device supports hardware scaling.
    # (output=surface does not!)
    # output: What video system to use for output.
    # Possible values: surface, overlay.
    # autolock: Mouse will automatically lock, if you click on the screen. (Press CTRL-F10 to unlock)
    # sensitivity: Mouse sensitivity.
    # waitonerror: Wait before closing the console if dosbox has an error.
    # priority: Priority levels for dosbox. Second entry behind the comma is for when dosbox is not focused/minimized.
    # pause is only valid for the second entry.
    # Possible values: lowest, lower, normal, higher, highest, pause.
    # mapperfile: File used to load/save the key/event mappings from. Resetmapper only works with the defaul value.
    # usescancodes: Avoid usage of symkeys, might not work on all operating systems.

    fullscreen=false
    fulldouble=false
    fullresolution=original
    windowresolution=original
    output=surface
    autolock=true
    sensitivity=100
    waitonerror=true
    priority=higher,normal
    mapperfile=mapper-0.74.map
    usescancodes=true

    [dosbox]
    # language: Select another language file.
    # machine: The type of machine DOSBox tries to emulate.
    # Possible values: hercules, cga, tandy, pcjr, ega, vgaonly, svga_s3, svga_et3000, svga_et4000, svga_paradise, vesa_nolfb, vesa_oldvbe.
    # captures: Directory where things like wave, midi, screenshot get captured.
    # memsize: Amount of memory DOSBox has in megabytes.
    # This value is best left at its default to avoid problems with some games,
    # though few games might require a higher value.
    # There is generally no speed advantage when raising this value.

    language=
    machine=svga_s3
    captures=capture
    memsize=16

    [render]
    # frameskip: How many frames DOSBox skips before drawing one.
    # aspect: Do aspect correction, if your output method doesn't support scaling this can slow things down!.
    # scaler: Scaler used to enlarge/enhance low resolution modes. If 'forced' is appended,
    # then the scaler will be used even if the result might not be desired.
    # Possible values: none, normal2x, normal3x, tv2x, tv3x, rgb2x, rgb3x, scan2x, scan3x.

    frameskip=2
    aspect=false
    scaler=normal2x

    [cpu]
    # core: CPU Core used in emulation. auto will switch to dynamic if available and
    # appropriate.
    # Possible values: auto, normal, simple.
    # cputype: CPU Type used in emulation. auto is the fastest choice.
    # Possible values: auto, 386, 386_slow, 486_slow, pentium_slow, 386_prefetch.
    # cycles: Amount of instructions DOSBox tries to emulate each millisecond.
    # Setting this value too high results in sound dropouts and lags.
    # Cycles can be set in 3 ways:
    # 'auto' tries to guess what a game needs.
    # It usually works, but can fail for certain games.
    # 'fixed #number' will set a fixed amount of cycles. This is what you usually
    # need if 'auto' fails (Example: fixed 4000).
    # 'max' will allocate as much cycles as your computer is able to
    # handle.
    # Possible values: auto, fixed, max.
    # cycleup: Amount of cycles to decrease/increase with keycombos.(CTRL-F11/CTRL-F12)
    # cycledown: Setting it lower than 100 will be a percentage.

    core=auto
    cputype=auto
    cycles=fixed 3800
    cycleup=10
    cycledown=20

    [mixer]
    # nosound: Enable silent mode, sound is still emulated though.
    # rate: Mixer sample rate, setting any device's rate higher than this will probably lower their sound quality.
    # Possible values: 22050, 44100, 48000, 32000, 16000, 11025, 8000, 49716.
    # blocksize: Mixer block size, larger blocks might help sound stuttering but sound will also be more lagged.
    # Possible values: 2048, 4096, 8192, 1024, 512, 256.
    # prebuffer: How many milliseconds of data to keep on top of the blocksize.

    nosound=false
    rate=22050
    blocksize=512
    prebuffer=20

    [midi]
    # mpu401: Type of MPU-401 to emulate.
    # Possible values: intelligent, uart, none.
    # mididevice: Device that will receive the MIDI data from MPU-401.
    # Possible values: default, win32, alsa, oss, coreaudio, coremidi, none.
    # midiconfig: Special configuration options for the device driver. This is usually the id of the device you want to use.
    # or in the case of coreaudio, you can specify a soundfont here.
    # When using a Roland MT-32 rev. 0 as midi output device, some games may require a delay in order to prevent 'buffer overflow' issues.
    # In that case, add 'delaysysex', for example: midiconfig=2 delaysysex
    # See the README/Manual for more details.

    mpu401=intelligent
    mididevice=default
    midiconfig=

    [sblaster]
    # sbtype: Type of Soundblaster to emulate. gb is Gameblaster.
    # Possible values: sb1, sb2, sbpro1, sbpro2, sb16, gb, none.
    # sbbase: The IO address of the soundblaster.
    # Possible values: 220, 240, 260, 280, 2a0, 2c0, 2e0, 300.
    # irq: The IRQ number of the soundblaster.
    # Possible values: 7, 5, 3, 9, 10, 11, 12.
    # dma: The DMA number of the soundblaster.
    # Possible values: 1, 5, 0, 3, 6, 7.
    # hdma: The High DMA number of the soundblaster.
    # Possible values: 1, 5, 0, 3, 6, 7.
    # sbmixer: Allow the soundblaster mixer to modify the DOSBox mixer.
    # oplmode: Type of OPL emulation. On 'auto' the mode is determined by sblaster type. All OPL modes are Adlib-compatible, except for 'cms'.
    # Possible values: auto, cms, opl2, dualopl2, opl3, none.
    # oplemu: Provider for the OPL emulation. compat might provide better quality (see oplrate as well).
    # Possible values: default, compat, fast.
    # oplrate: Sample rate of OPL music emulation. Use 49716 for highest quality (set the mixer rate accordingly).
    # Possible values: 22050, 49716, 44100, 48000, 32000, 16000, 11025, 8000.

    sbtype=sb16
    sbbase=220
    irq=7
    dma=1
    hdma=5
    sbmixer=true
    oplmode=auto
    oplemu=default
    oplrate=22050

    [gus]
    # gus: Enable the Gravis Ultrasound emulation.
    # gusrate: Sample rate of Ultrasound emulation.
    # Possible values: 22050, 44100, 48000, 32000, 16000, 11025, 8000, 49716.
    # gusbase: The IO base address of the Gravis Ultrasound.
    # Possible values: 240, 220, 260, 280, 2a0, 2c0, 2e0, 300.
    # gusirq: The IRQ number of the Gravis Ultrasound.
    # Possible values: 5, 3, 7, 9, 10, 11, 12.
    # gusdma: The DMA channel of the Gravis Ultrasound.
    # Possible values: 3, 0, 1, 5, 6, 7.
    # ultradir: Path to Ultrasound directory. In this directory
    # there should be a MIDI directory that contains
    # the patch files for GUS playback. Patch sets used
    # with Timidity should work fine.

    gus=false
    gusrate=22050
    gusbase=240
    gusirq=5
    gusdma=3
    ultradir=C:\ULTRASND

    [speaker]
    # pcspeaker: Enable PC-Speaker emulation.
    # pcrate: Sample rate of the PC-Speaker sound generation.
    # Possible values: 22050, 44100, 48000, 32000, 16000, 11025, 8000, 49716.
    # tandy: Enable Tandy Sound System emulation. For 'auto', emulation is present only if machine is set to 'tandy'.
    # Possible values: auto, on, off.
    # tandyrate: Sample rate of the Tandy 3-Voice generation.
    # Possible values: 22050, 44100, 48000, 32000, 16000, 11025, 8000, 49716.
    # disney: Enable Disney Sound Source emulation. (Covox Voice Master and Speech Thing compatible).

    pcspeaker=true
    pcrate=22050
    tandy=auto
    tandyrate=22050
    disney=true

    [joystick]
    # joysticktype: Type of joystick to emulate: auto (default), none,
    # 2axis (supports two joysticks),
    # 4axis (supports one joystick, first joystick used),
    # 4axis_2 (supports one joystick, second joystick used),
    # fcs (Thrustmaster), ch (CH Flightstick).
    # none disables joystick emulation.
    # auto chooses emulation depending on real joystick(s).
    # (Remember to reset dosbox's mapperfile if you saved it earlier)
    # Possible values: auto, 2axis, 4axis, 4axis_2, fcs, ch, none.
    # timed: enable timed intervals for axis. Experiment with this option, if your joystick drifts (away).
    # autofire: continuously fires as long as you keep the button pressed.
    # swap34: swap the 3rd and the 4th axis. can be useful for certain joysticks.
    # buttonwrap: enable button wrapping at the number of emulated buttons.

    joysticktype=auto
    timed=true
    autofire=false
    swap34=false
    buttonwrap=false

    [serial]
    # serial1: set type of device connected to com port.
    # Can be disabled, dummy, modem, nullmodem, directserial.
    # Additional parameters must be in the same line in the form of
    # parameter:value. Parameter for all types is irq (optional).
    # for directserial: realport (required), rxdelay (optional).
    # (realport:COM1 realport:ttyS0).
    # for modem: listenport (optional).
    # for nullmodem: server, rxdelay, txdelay, telnet, usedtr,
    # transparent, port, inhsocket (all optional).
    # Example: serial1=modem listenport:5000
    # Possible values: dummy, disabled, modem, nullmodem, directserial.
    # serial2: see serial1
    # Possible values: dummy, disabled, modem, nullmodem, directserial.
    # serial3: see serial1
    # Possible values: dummy, disabled, modem, nullmodem, directserial.
    # serial4: see serial1
    # Possible values: dummy, disabled, modem, nullmodem, directserial.

    serial1=dummy
    serial2=dummy
    serial3=disabled
    serial4=disabled

    [dos]
    # xms: Enable XMS support.
    # ems: Enable EMS support. The default (=true) provides the best
    # compatibility but certain applications may run better with
    # other choices, or require EMS support to be disabled (=false)
    # to work at all.
    # Possible values: true, emsboard, emm386, false.
    # umb: Enable UMB support.
    # keyboardlayout: Language code of the keyboard layout (or none).

    xms=true
    ems=true
    umb=true
    keyboardlayout=auto

    [autoexec]

    mount c sd:\dosbox\games\tim
    c:
    set dos32a=C:\dos32a
    C:\dos32a\sb /r tim.exe

    EXIT

    # This is the configuration file for DOSBox 0.74. (Please use the latest version of DOSBox)
    # Lines starting with a # are comment lines and are ignored by DOSBox.
    # They are used to (briefly) document the effect of each option.

    [sdl]
    # fullscreen: Start dosbox directly in fullscreen. (Press ALT-Enter to go back)
    # fulldouble: Use double buffering in fullscreen. It can reduce screen flickering, but it can also result in a slow DOSBox.
    # fullresolution: What resolution to use for fullscreen: original or fixed size (e.g. 1024x768).
    # Using your monitor's native resolution with aspect=true might give the best results.
    # If you end up with small window on a large screen, try an output different from surface.
    # windowresolution: Scale the window to this size IF the output device supports hardware scaling.
    # (output=surface does not!)
    # output: What video system to use for output.
    # Possible values: surface, overlay.
    # autolock: Mouse will automatically lock, if you click on the screen. (Press CTRL-F10 to unlock)
    # sensitivity: Mouse sensitivity.
    # waitonerror: Wait before closing the console if dosbox has an error.
    # priority: Priority levels for dosbox. Second entry behind the comma is for when dosbox is not focused/minimized.
    # pause is only valid for the second entry.
    # Possible values: lowest, lower, normal, higher, highest, pause.
    # mapperfile: File used to load/save the key/event mappings from. Resetmapper only works with the defaul value.
    # usescancodes: Avoid usage of symkeys, might not work on all operating systems.

    fullscreen=false
    fulldouble=false
    fullresolution=original
    windowresolution=original
    output=surface
    autolock=true
    sensitivity=100
    waitonerror=true
    priority=higher,normal
    mapperfile=mapper-0.74.map
    usescancodes=true

    [dosbox]
    # language: Select another language file.
    # machine: The type of machine DOSBox tries to emulate.
    # Possible values: hercules, cga, tandy, pcjr, ega, vgaonly, svga_s3, svga_et3000, svga_et4000, svga_paradise, vesa_nolfb, vesa_oldvbe.
    # captures: Directory where things like wave, midi, screenshot get captured.
    # memsize: Amount of memory DOSBox has in megabytes.
    # This value is best left at its default to avoid problems with some games,
    # though few games might require a higher value.
    # There is generally no speed advantage when raising this value.

    language=
    machine=svga_s3
    captures=capture
    memsize=16

    [render]
    # frameskip: How many frames DOSBox skips before drawing one.
    # aspect: Do aspect correction, if your output method doesn't support scaling this can slow things down!.
    # scaler: Scaler used to enlarge/enhance low resolution modes. If 'forced' is appended,
    # then the scaler will be used even if the result might not be desired.
    # Possible values: none, normal2x, normal3x, tv2x, tv3x, rgb2x, rgb3x, scan2x, scan3x.

    frameskip=2
    aspect=false
    scaler=normal2x

    [cpu]
    # core: CPU Core used in emulation. auto will switch to dynamic if available and
    # appropriate.
    # Possible values: auto, normal, simple.
    # cputype: CPU Type used in emulation. auto is the fastest choice.
    # Possible values: auto, 386, 386_slow, 486_slow, pentium_slow, 386_prefetch.
    # cycles: Amount of instructions DOSBox tries to emulate each millisecond.
    # Setting this value too high results in sound dropouts and lags.
    # Cycles can be set in 3 ways:
    # 'auto' tries to guess what a game needs.
    # It usually works, but can fail for certain games.
    # 'fixed #number' will set a fixed amount of cycles. This is what you usually
    # need if 'auto' fails (Example: fixed 4000).
    # 'max' will allocate as much cycles as your computer is able to
    # handle.
    # Possible values: auto, fixed, max.
    # cycleup: Amount of cycles to decrease/increase with keycombos.(CTRL-F11/CTRL-F12)
    # cycledown: Setting it lower than 100 will be a percentage.

    core=auto
    cputype=auto
    cycles=fixed 3800
    cycleup=10
    cycledown=20

    [mixer]
    # nosound: Enable silent mode, sound is still emulated though.
    # rate: Mixer sample rate, setting any device's rate higher than this will probably lower their sound quality.
    # Possible values: 22050, 44100, 48000, 32000, 16000, 11025, 8000, 49716.
    # blocksize: Mixer block size, larger blocks might help sound stuttering but sound will also be more lagged.
    # Possible values: 2048, 4096, 8192, 1024, 512, 256.
    # prebuffer: How many milliseconds of data to keep on top of the blocksize.

    nosound=false
    rate=22050
    blocksize=512
    prebuffer=20

    [midi]
    # mpu401: Type of MPU-401 to emulate.
    # Possible values: intelligent, uart, none.
    # mididevice: Device that will receive the MIDI data from MPU-401.
    # Possible values: default, win32, alsa, oss, coreaudio, coremidi, none.
    # midiconfig: Special configuration options for the device driver. This is usually the id of the device you want to use.
    # or in the case of coreaudio, you can specify a soundfont here.
    # When using a Roland MT-32 rev. 0 as midi output device, some games may require a delay in order to prevent 'buffer overflow' issues.
    # In that case, add 'delaysysex', for example: midiconfig=2 delaysysex
    # See the README/Manual for more details.

    mpu401=intelligent
    mididevice=default
    midiconfig=

    [sblaster]
    # sbtype: Type of Soundblaster to emulate. gb is Gameblaster.
    # Possible values: sb1, sb2, sbpro1, sbpro2, sb16, gb, none.
    # sbbase: The IO address of the soundblaster.
    # Possible values: 220, 240, 260, 280, 2a0, 2c0, 2e0, 300.
    # irq: The IRQ number of the soundblaster.
    # Possible values: 7, 5, 3, 9, 10, 11, 12.
    # dma: The DMA number of the soundblaster.
    # Possible values: 1, 5, 0, 3, 6, 7.
    # hdma: The High DMA number of the soundblaster.
    # Possible values: 1, 5, 0, 3, 6, 7.
    # sbmixer: Allow the soundblaster mixer to modify the DOSBox mixer.
    # oplmode: Type of OPL emulation. On 'auto' the mode is determined by sblaster type. All OPL modes are Adlib-compatible, except for 'cms'.
    # Possible values: auto, cms, opl2, dualopl2, opl3, none.
    # oplemu: Provider for the OPL emulation. compat might provide better quality (see oplrate as well).
    # Possible values: default, compat, fast.
    # oplrate: Sample rate of OPL music emulation. Use 49716 for highest quality (set the mixer rate accordingly).
    # Possible values: 22050, 49716, 44100, 48000, 32000, 16000, 11025, 8000.

    sbtype=sb16
    sbbase=220
    irq=7
    dma=1
    hdma=5
    sbmixer=true
    oplmode=auto
    oplemu=default
    oplrate=22050

    [gus]
    # gus: Enable the Gravis Ultrasound emulation.
    # gusrate: Sample rate of Ultrasound emulation.
    # Possible values: 22050, 44100, 48000, 32000, 16000, 11025, 8000, 49716.
    # gusbase: The IO base address of the Gravis Ultrasound.
    # Possible values: 240, 220, 260, 280, 2a0, 2c0, 2e0, 300.
    # gusirq: The IRQ number of the Gravis Ultrasound.
    # Possible values: 5, 3, 7, 9, 10, 11, 12.
    # gusdma: The DMA channel of the Gravis Ultrasound.
    # Possible values: 3, 0, 1, 5, 6, 7.
    # ultradir: Path to Ultrasound directory. In this directory
    # there should be a MIDI directory that contains
    # the patch files for GUS playback. Patch sets used
    # with Timidity should work fine.

    gus=false
    gusrate=22050
    gusbase=240
    gusirq=5
    gusdma=3
    ultradir=C:\ULTRASND

    [speaker]
    # pcspeaker: Enable PC-Speaker emulation.
    # pcrate: Sample rate of the PC-Speaker sound generation.
    # Possible values: 22050, 44100, 48000, 32000, 16000, 11025, 8000, 49716.
    # tandy: Enable Tandy Sound System emulation. For 'auto', emulation is present only if machine is set to 'tandy'.
    # Possible values: auto, on, off.
    # tandyrate: Sample rate of the Tandy 3-Voice generation.
    # Possible values: 22050, 44100, 48000, 32000, 16000, 11025, 8000, 49716.
    # disney: Enable Disney Sound Source emulation. (Covox Voice Master and Speech Thing compatible).

    pcspeaker=true
    pcrate=22050
    tandy=auto
    tandyrate=22050
    disney=true

    [joystick]
    # joysticktype: Type of joystick to emulate: auto (default), none,
    # 2axis (supports two joysticks),
    # 4axis (supports one joystick, first joystick used),
    # 4axis_2 (supports one joystick, second joystick used),
    # fcs (Thrustmaster), ch (CH Flightstick).
    # none disables joystick emulation.
    # auto chooses emulation depending on real joystick(s).
    # (Remember to reset dosbox's mapperfile if you saved it earlier)
    # Possible values: auto, 2axis, 4axis, 4axis_2, fcs, ch, none.
    # timed: enable timed intervals for axis. Experiment with this option, if your joystick drifts (away).
    # autofire: continuously fires as long as you keep the button pressed.
    # swap34: swap the 3rd and the 4th axis. can be useful for certain joysticks.
    # buttonwrap: enable button wrapping at the number of emulated buttons.

    joysticktype=auto
    timed=true
    autofire=false
    swap34=false
    buttonwrap=false

    [serial]
    # serial1: set type of device connected to com port.
    # Can be disabled, dummy, modem, nullmodem, directserial.
    # Additional parameters must be in the same line in the form of
    # parameter:value. Parameter for all types is irq (optional).
    # for directserial: realport (required), rxdelay (optional).
    # (realport:COM1 realport:ttyS0).
    # for modem: listenport (optional).
    # for nullmodem: server, rxdelay, txdelay, telnet, usedtr,
    # transparent, port, inhsocket (all optional).
    # Example: serial1=modem listenport:5000
    # Possible values: dummy, disabled, modem, nullmodem, directserial.
    # serial2: see serial1
    # Possible values: dummy, disabled, modem, nullmodem, directserial.
    # serial3: see serial1
    # Possible values: dummy, disabled, modem, nullmodem, directserial.
    # serial4: see serial1
    # Possible values: dummy, disabled, modem, nullmodem, directserial.

    serial1=dummy
    serial2=dummy
    serial3=disabled
    serial4=disabled

    [dos]
    # xms: Enable XMS support.
    # ems: Enable EMS support. The default (=true) provides the best
    # compatibility but certain applications may run better with
    # other choices, or require EMS support to be disabled (=false)
    # to work at all.
    # Possible values: true, emsboard, emm386, false.
    # umb: Enable UMB support.
    # keyboardlayout: Language code of the keyboard layout (or none).

    xms=true
    ems=true
    umb=true
    keyboardlayout=auto

    [autoexec]

    mount c sd:\dosbox\games\tim
    c:
    set dos32a=C:\dos32a
    C:\dos32a\binw\sb /r tim.exe

    EXIT

    Ive done some research in vogons, came across this post , maybe tim.exe is not the main executable?
     
    Last edited by NiteOwl, May 21, 2021
  19. niuus

    niuus GBAtemp Maniac
    Member

    Joined:
    Mar 4, 2016
    Messages:
    1,462
    Country:
    Venezuela
    If you had searched for the PC requirements for that one, you would have immediately known :D. But i can tell you: not gonna happen, you need a Pentium processor. The only possibility for that full game to happen on the Wii would be a source port, like the one that leaked months ago.

    I don't think so, as the game does not use it, and it is an exceedingly simple game to run and play without too much CPU effort. Just tested it minutes ago.
     
  20. Tetsuo Shima

    OP Tetsuo Shima GBAtemp Advanced Maniac
    Member

    Joined:
    Oct 29, 2008
    Messages:
    1,611
    Country:
    Italy
    Yes, in rare cases the memory extender may not be inside the .exe file. If the file size is only a few kb it's a good sign the extender isn't there.
    However, as @niuus said, the incredible machine is not a Dos4GW game, infact there is no dos4gw prompt when you launch the game.
    Here are some things to change in your .conf to speed up games (not only for tim, these are the best settings on Wii in general that can really make a difference in performances). The ones in bold are the most important settings.

    output=surface --> output=overlay (ok not sure on this one, but it seems a little better to me)
    priority=higher,normal --> priority=highest,normal (makes full use of the CPU)
    machine=svga_s3 --> machine=vesa_noflb (this is not working for every game, but some games can improve a little with it).
    frameskip=2 --> frameskip=0 (always leave it to 0, I've never had any benefit in using frameskips, in general it only makes things get worse).
    scaler=normal2x --> scaler=none (now this is very important! Never use normal2x on Wii, it's not needed and you get a HUGE performance drop with it)
    core=auto --> core=dynamic or core=simple (if dynamic is not good)
    cycleup=10 --> cycleup=100
    cycledown=20 --> cycledown=100 (if it's lower than 100 it's a percentage and it's difficult to fine-tune performance with it)
    oplemu=default --> oplemu=fast
    prebuffer=20 --> prebuffer=150 (this will make all sound hiccups go away, and you can further increase cycles with it, even 1000 or 2000 more)
    joysticktype=auto --> joysticktype=fcs (this does not affect performance, but it's needed on the Wii to be able to bind keys to the D-pad, see this old post)

    you can also disable some things you don't use, for example:
    mpu401=intelligent --> mpu401=none
    pcspeaker=true --> pcspeaker=false
    tandy=auto --> tandy=off
    disney=true --> disney=false

    Not really sure if these last settings really make a difference, but I usually do it with the heaviest games.
     
    Last edited by Tetsuo Shima, May 21, 2021
    NiteOwl and niuus like this.
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - collection, Wiiflow, Dosbox