summaryrefslogtreecommitdiffstatshomepage
path: root/docs/source/commandline
Commit message (Collapse)AuthorAgeFilesLines
* docs: Updated documentation on INI file handling. Vas Crabb4 days1-8/+6
|
* Various cleanups: Vas Crabb2026-04-041-3/+1
| | | | | | | | | | * emu/device.cpp: Take std::string_view tag in constructor. * emu/save.cpp: Cleaned up interface for reporting error messages. * docs: Cleaned up stuff that's no longer relevant. * machine/s3c44b0.cpp: Overhauled logging. * osd/modules/lib/osdobj_common.cpp: Removed CoreAudio options that no longer do anything. * Cleaned up some more stuff to prepare for 64-bit offs_t.
* Switched language standard to C++20, bumped compiler requirement to GCC 11. ↵ Vas Crabb2026-04-021-4/+1
| | | | | | | | | | | (#15182) * Hackery to allow UTF-8 strings as well as plain strings: - emu/ioport.h: Allow char8_t for names in field configuration helper. - emu/device.h, emu/gamedrv.h: Allow char8_t for descriptions and manufacturers. - util/language.h: Allow char8_t message input. * util/strformat.h: Allow char8_t format and string arguments with char output. * ui/videoopt.cpp: Deal with UTF-8 strings as a distinct type. * osd/windows: Assume Windows 8 or later.
* -plugins/inputmacro: Added support for non-wrapping analog inputs. Vas Crabb2026-01-062-19/+0
| | | | | | | | -emu/inputdev.cpp, emu/emuopts.cpp: Removed core off-screen reload hack now that the same thing can be achieved more flexibly with plugins. -ui/pluginopt.cpp: Changed the "previos menu" item text to make what it does more obvious.
* cpu/drccache.cpp: Defer allocating to start, allow forcing W^X mode. (#14760) Vas Crabb2026-01-042-3/+25
| | | | | | | | | | | | | | | | | | cpu/drccache.cpp: Added helpers for allocating structures/objects in the cache. cpu/drccache.cpp: Supply desired alignment when allocating cache memory (not fully implemented). cpu/drccache.cpp: Log some statistics on destruction. emu/emuopts.cpp: Added -[no]drc_rwx option to allow forcing W^X mode when writable executable pages are permitted. cpu/mips, cpu/powerpc: Allow DRC cache size to be set externally at configuration time, so systems can override the default. cpu/dspp, cpu/e132xs, cpu/unsp: Don't allocate DRC resources if recompiler is disabled.
* Tidy some stuff, bump version in documentation. Vas Crabb2025-12-241-14/+23
|
* add artfont option for changing default font of .lay files text elements hap2025-12-232-3/+21
|
* docs: fix a typo in the documentation for the default values for the ↵ Christian Brunschen2025-10-031-2/+2
| | | | | `comm_localport` and `comm_remoteport` flags: 15122 -> 15112. (#14254) See https://github.com/mamedev/mame/blob/master/src/emu/emuopts.cpp#L192 and following.
* docs: fix assorted typos (#14152) Roman Donchenko2025-09-091-2/+2
|
* -dynax/ddenlovr.cpp: Identified some DIP switch settings for Majiang Xingyun ↵ Vas Crabb2025-06-091-2/+5
| | | | | | | | | Shenlong, marked other settings as unknown. -sound/sdl_sound.cpp: Corrected SDL verson detection macro. -docs: A few sound documentation updates.
* docs: remove unneeded note on -speed setting hap2025-06-061-4/+2
|
* docs: fix spacing after prev commit hap2025-05-311-2/+2
|
* sound: change audio_latency meaning similar to what it was before (20ms ↵ hap2025-05-311-7/+8
| | | | steps for portaudio, xaudio2, wasapi), old mame.ini default setting of 2 should work fine
* sound: print verbose message if module doesn't support audio_latency option, hap2025-05-311-12/+10
| | | | docs: small update, remove references to dsound
* attotime: fix lockup with as_string and negative attotime, hap2025-05-301-4/+6
| | | | | | video: fix issue with throttling when mame runs at slow motion (-speed lower than 0.2) options: change mimimum speed setting from 0.01 to 0.1 (mame would crash with very low value, and besides, video throttle still fails below 0.1), ui: add speed slider when cheats are enabled
* misc: small spelling correction hap2025-05-291-1/+1
|
* -sound: Removed DirectSound sound module. Vas Crabb2025-05-291-18/+8
| | | | | -sound/xaudio2_sound.cpp: Use more fine-grained locking in voice callbacks, simplified further simplified buffer queueing.
* -sound/wasapi_sound.cpp: Improved error handling and buffer management. Vas Crabb2025-05-261-33/+86
| | | | | | | | | | | | | | | | | | | | | -lib/osdobj_common.cpp: Made WASAPI sound the default on Windows and made DirectSound lower priority than XAudio2. -osd/eminline.h: Made multiply/divide helper names a bit more consistent with other functions. -osd/eigcc.h: Moved helpers that use the __int128 type here, and fixed availability detection for them. -osd/eigccx86.h: Added fast multiply/divide helpers for x86-64. -docs: Updated the list of supported sound modules. -exidy/exidy.cpp: Use the 1 Coin/1 Credit setting listed in the manual for Venture by default. -emu/sound.cpp: Fixed GCC uninitialised local variable warnings in sound_manager::run_effects().
* sound: change audio_latency to seconds (float), so people with existing ↵ hap2025-05-201-4/+4
| | | | mame.ini won't get broken sound
* sound: remove references to portaudio options that were removed hap2025-05-182-101/+0
|
* sound: change audio_latency duration option to milliseconds hap2025-05-181-12/+7
|
* docs: remove mentions of removed compressor cmdline option hap2025-05-092-15/+0
|
* New sound infrastructure. Olivier Galibert2025-04-271-1/+1
| | | | | | | | | | | | | | | | | Should be added soon: - mute - speaker/microphone resampling To be added a little later: - compression - reverb Needs to be added by someone else: - coreaudio - direct - portaudio - xaudio2 - js
* Cleaned up the mess from #12610: Vas Crabb2024-08-272-3/+20
| | | | | | | * Command line options need to be documented. * Don't assume C strings returned as option values remain valid indefinitely. * Fixed wording for option description.
* -osd: Update slider list on demand rather than on frame updated (fixes MT08857). Vas Crabb2024-04-271-1/+1
| | | | -konami/konamigq.cpp: No need to cancel a newly allocated timer.
* input/input_sdl.cpp: Added an SDL lightgun provider. Vas Crabb2024-04-263-42/+52
| | | | | | | | | | This does essentially the same thing as the Win32 lightgun provider, mapping the absolute pointer position over the window to gun axes. Also added a bunch of const in the windows input handling code. docs: Bumped version, as features that are not in a releaesd version of MAME are now documented.
* Initial touch input support: Vas Crabb2024-04-121-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Feed mouse/pen/touch pointer events through UI input manager with Win32 and SDL. * Started migrating UI code to use new API and reworking mouse/touch interaction. * emu/render.cpp: Support pressing multiple clickable layout items simultaneously. * emu/render.cpp: Allow UI elements to be drawn in any window. * emu/rendlay.cpp, luaengine_render.cpp: Added layout view events for pointer input. * ui/ui.cpp: Allow the UI handler to control pointer display. * ui/analogipt.cpp: Added mouse/touch and more keys for navigating field state list. * ui/menu.cpp: Use vertical swipe to scroll and horizontal swipe to adjust. * ui/menu.cpp: Draw after processing input - greatly improves responsiveness. * ui/menu.cpp: Ignore keyboard/gamepad input during pointer actions. * ui/selmenu.cpp: Made left/right info pane arrows repeat when held. * ui/selmenu.cpp: Use middle click to move keyboard focus. * ui/selmenu.cpp: Let filter list scroll if it's too tall, and use a bit of horizontal padding. * ui/selmenu.cpp: Improved divider sizing. * ui/state.cpp: Don't allow clicks to pass through the confirm deletion prompt to the menu. * ui/simpleselgame.cpp: Fixed error message display and graphics/sound status not showing. * ui/simpleselgame.cpp: Allow tap/click to dismiss error message. * ui/utils.cpp: Show UI for choice filters when there are no choices - it's less confusing. * modules/input/input_sdl.cpp: Made scaling for mouse scroll better match RawInput and DirectInput. * modules/input/input_rawinput.cpp: Added support for horizontal scroll axis. * modules/input/input_win32.cpp: Added support for scroll axes and more buttons to mouse/lightgun. * modules/debugger/debugimgui.cpp: Don't fight over events with the UI manager - it breaks menus. * osd/windows/window.cpp: Translate mouse position to window cooridinates for scroll wheel events. * osd/sdl/window.cpp: Supply last mouse position for scroll wheel events if possible. * scripts/build/complay.py: Made zero input mask an error - it was only being used to block clicks.
* Fixes and cleanup: Vas Crabb2024-03-121-3/+3
| | | | | | | | | | | | | | | | roland/roland_d70.cpp: Use object finders, use memory shares rather than ram_device, fixed Endianness bugs, fixed bad indentation, fixed double-qualified member functions, use m_ prefix consistently for members, use lowercase hex digits, don't allow writes to ROM, fixed header #include order. docs: Corrected docmented default for ui_mouse option. tektronix/tek440x.cpp: #include local headers first, etc. bus/a2bus/snesmax.h: Fixed copy/pasted comment. yamaha/ympsr2000.cpp: Put code in an anonymous namespace.
* docs: Fixed typo in -wavwrite option example. (#11919) Angelo Salese2024-01-091-1/+1
|
* docs: Fixed documentation compilation warning. (#11586) Firehawke2023-10-011-1/+1
| | | Fixes a title underline too short warning.
* docs: Fixed many editing errors and spelling errors. (#11575) Tom Cariello2023-09-292-10/+10
| | | Also fixed outdated link to contributing guidelines.
* Adjustments to option priority interactions: Vas Crabb2023-05-091-11/+16
| | | | | | | | | | | | emu/sound.cpp: Made -volume in source file INI or higher priority context take precedence over volume read from CFG file. This matches behaviour of -bgfx_screen_chains. emu/input.cpp: Made explicit -no{mouse|joystick|lightgun} take precedence over -{mouse|trackball|adstick|paddle}_device etc. from lower priority levels. Alos got rid of a bunch of unnecessary simple_list.
* clifront.cpp: Changed -listbios to work more like -listslots, showing all ↵ Vas Crabb2023-04-101-45/+52
| | | | BIOS options in a system.
* Cleaned up some recent changes. Vas Crabb2023-02-041-4/+4
|
* docs: Clarified documentation of input options. Vas Crabb2023-02-032-19/+59
| | | | | | | | | Made explanation of interaction between device class enable options (-[no]mouse, -[no]joystick, -[no]lightgun) and automatic device class enable options (-*_device) more explicit. Also documented that -mouse_device mouse is set by default in both relevant places. Provided a better explanation of the purpose of -dual_lightgun.
* Various input and OSD refactoring: Vas Crabb2023-01-292-5/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | osd: Supply OSD object to modules on initialisation. Encapsulated some event handling in the OSD objects rather than leaving it in free functions. Put various stuff in namespaces. osd/modules/input: Enabled dinput, xinput and winhybrid modules for Windows SDL builds, and enabled background input for dinput and xinput (and by extension winhybrid) modules. Also fixed some COM and X11 resource leaks. osd/modules/input/input_sdl.cpp: Flipped SDL mouse button order to match Windows, and exposed vertical and horizontal scroll as Z and rZ axes. Moved SDL UI event handling out of input devices into OSD object. osd/modules/input_rawinput.cpp: Changed lightgun Z axis token so it's correctly identified as a relative axis (it maps to the scroll wheel equivalent). osd: Added an option to choose the network provider module. Mostly useful if you build with both TUN/TAP and pcap support included, or if you want to disable emulated networking completely. emu/input.cpp: Use a better strategy for assembling input code names that uses fewer temporary strings and doesn't require use of the non-Unicode-aware space trimming function (fixes MT08552). osd/modules/input_dinput.cpp: Improved polling logic. osd: Made various parts of the input code less dependent on concrete emu objects, and reduced inappropriately passing around the machine object. Made input modules less dependent on OSD implementation. Encapsulated some stuff and got rid of some vestigial newui and SDL1 support code. Cleaned up some interfaces. Moved OSD options classes to their own files. Prepare to remove main.h from emu.h - it's mostly used to get the application name, which the vast majority of emulated devices don't need to do.
* Miscellaneous fixes and refactoring: Vas Crabb2023-01-282-36/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ui/analogipt.cpp: Fixed bar graph display for fields with ranges that wrap through zero. emu/inputdev.cpp: Separateed analog axis deadzone and switch threshold settings, reduced default deadzone, and fixed a potential division by zero if the deadzone and saturation settings are equal. emu/ioport.cpp: Fixed behaviour of absolute analog fields where range passes through zero - it previously only worked for specific combinations of mask, minimum and default. Removed a workaround from universal/getaway.cpp that is no longer necessary. emu/input.cpp: Fixed unintuitive behaviour when an absolute field is assigned an OR combination of a relative control folled by an absolute control (e.g. Mouse X or Joy 1 LSX). Also fixed reading axis input sequences where an axis code is followed by a switch code (these can only be produced by manually editing configuration files, not through MAME's UI), and fixed the returned type when multiple relative axes sum to zero. osd/modules/input_dinput.cpp: Fixed hat switches being stuck in up position when input is suspended in the background taito/taitoio_yoke.cpp: Give throttle control a distinct type, and don't auto-centre. osd: Added option to select MIDI provider module (currently only PortMidi and the dummy module are available). Also put various things in namespaces, and fixed builds including SDL sound module with native Windows OSD. emu/validity.cpp: Added check to catch I/O port fields using UI input types. emu/inpttype.ipp: Renamed inputs that were causing confusion. "Bill" and "Track" were causing confusion for translators and hence likely causing confusion for many users, especially those who are not native English speakers. "Track" as an abbreviation for "Trackball" was frequently being mistranslated, e.g. in the sense of a CD track selection button or even in the sense of a railway track. There's no reason to abbreviate it. "Bill" in the US English sense as a banknote is too ambiguous and was causing confusion for translators. It's better to use the less ambiguous "Banknote". Corrected Greek translations of "Trackball". Don't run GitHub Actions on issue template changes.
* Add -listbios command to list alternate BIOSes for drivers and devices AJR2023-01-242-2/+22
|
* osd: Added option to accept SDL game controller/joystick input when losing ↵ Vas Crabb2023-01-145-43/+111
| | | | UI focus.
* docs: Updated default joystick providers. Vas Crabb2023-01-141-6/+6
|
* osd: Added support for mapping files to sdlgame joystick provider and made ↵ Vas Crabb2023-01-141-25/+50
| | | | | | | | | | | | | | | | | it default with SDL. This changes behaviour, however I think it's a net positive: * Most games using Steam Input or SDL2 to read game controllers have this behaviour, so users have come to expect it. * This module is better at giving meaningful names to buttons on common controller, and assigning axes consistently. * Button/axis mapping files using a widely-used format are supported. * The old behaviour is still available with `-joystickprovider sdljoy` if anyone wants it. The new option for controller mapping files is in the general OSD options rather than SDL options as it can be extended to DirectInput in the future.
* -osd: Better XInput and SDL game controller input enhancements: Vas Crabb2023-01-122-6/+9
| | | | | | | | | | | | | | | * Added initial support for XInput controller subtypes, starting with driving, arcade and flight controllers. * Check XInput capabilities to ignore buttons and hats that aren't present. * Added preliminary SDL Game Controller joystick provider. Reconnection and mixed Game Controller/Joystick devices are unsupported. * Show the input token for the highlighted control on input device menus. -ui: Allow menus to set required space above and below menu when metrics change. Fixes the initial bad layout on the system selecton menu, or bad layout after resizing windows.
* osd/sdl: Removed keyboard/mouse/joystick device mapping options. Vas Crabb2022-07-152-23/+37
| | | | | | | | | The keyboard and mouse device mapping options did nothing at all, mostly because of lack of support for separating inputs from multiple devices. The joystick options were useless when you have two of the same kind of controller, and you can achieve the same thing with controller configuration files.
* docs: Added page describing how MAME searches for media. Vas Crabb2022-03-101-6/+66
| | | | | | | Also made error messages for missing CHDs and missing files for software parts using the image file loader show search paths, and changed the (poorly named) bitbanger device to use the image file loader rather than the ROM loader for software items.
* Clean up various loose ends: Vas Crabb2022-02-033-54/+49
| | | | | | | | | | | | | | | | | | | | | frontend: Exposed debug symbol tables and parsed expressions to Lua (these can be used when the debugger is not active). Also made it simpler to walk input types. imagedev/bitbngr.cpp: Added software list loader support (used by sitcom). sitcom.cpp: Replaced bankdev with a memory view. Also added a bar graph for the timer DAC output, and made the DL1414 displays squarer in the layout like they are in real life. They still don't look right because the internal segment drawing code doen't draw the segments the right width. docs: Fixed broken links and added missing links in command line options index. Also removed documentation for an option that no longer exists and fixed some inconsistent terminology. Separated includes by module in various drivers.
* -emu/ioport.cpp: Made default behaviour better. Vas Crabb2021-11-031-5/+4
| | | | | | | | | | | | | | | * If an input is configured to some combination of controls that are not present at all, ignore the setting altogether for the session. * Fixed relative axes with PORT_RESET not responding to absolute controls (MT07685). * Fixed relative axes not responding to an absolute control if the value doesn’t change every frame (eg. holding a stick against the stop). * Changed the scaling for absolute controls assigned to relative axes to make defaults more sane (e.g. arkanoid or spdheat with a joystick). -frontend: Fixed some localisation issues in Analog Controls menu. -docs: Added documentation on assigning inputs.
* plugins: Moved the timecode recording functionality to a plugin. Vas Crabb2021-11-021-16/+0
|
* -docs: Started documenting plugins. Vas Crabb2021-10-241-13/+65
| | | | | | | | | * Also added a couple of missing command-line options, and added a local table of contents to the (rather long) command line options page. -Added a separate CI target for localisation updates that produces an artefact, and removed the message catalogs from the trigger paths for the Linux CI build.
* Various improvements to the user experience: Vas Crabb2021-10-131-5/+6
| | | | | | | | | | | | | | | | | | Extended the memory access prefixes in debugger expressions to support address space names. Made the debugger history command aware of how much history it has collected, and added a help topic for it to the built-in debugger help. Started updating the documentation for the web site, and corrected some of the more misleading built-in debugger help. Made some corrections to Chinese localisation after discussion with YuiFAN. Darkened the UI red colour a little. cpu/m6502/st2205u.h: Marked sound imperfect.
* emu/video.cpp: Set file names via -snapname when exiting in -seconds_… (#8633) 0kmg2021-09-301-2/+2
|