Commit Graph

79 Commits

Author SHA1 Message Date
Jesse Talavera-Greenberg
cbf49a0b77
XDelta patch support (Take 2) (#15915)
* Add xdelta in deps

* Include <assert.h> in xdelta3.h

- Otherwise the static_assert calls can fail

* Build xdelta3 in Makefile.common

* Add xdelta support to the softpatching infrastructure

- The patching itself isn't fully implemented yet

* Adjust how xdelta3.h checks the sizes of some types

- Now checks max values instead of relying on autotools

* Add some enums that were excluded by the cherry-pick

* Remove stray whitespace

* Adjust SIZE macros in xdelta3.h

- Move them outside the XD3_USE_LARGEFILE64 block
- Add more SIZE declarations
- Make SIZEOF_UNSIGNED_LONG_LONG contingent on the presence of ULLONG_MAX

* Reintegrate xdelta support

* Enable support for xdelta's secondary compressors

- Necessary for some patches

* Fix some format specifiers

* Remove unnecessary files from xdelta

* Include xdelta3.h with a relative path

* Add xdelta3 headers to HEADERS variable

* Gate Xdelta support behind HAVE_XDELTA

- HAVE_XDELTA is on by default
- HAVE_PATCH is still required for HAVE_XDELTA to be meaningful
- Support is mostly contingent on the availability of LZMA
- Anything modern should be okay
- Legacy platforms (e.g. DOS) may need to have Xdelta support disabled
- At least until some other solution can be found

* Disable HAVE_XDELTA on platforms where the build recently failed

- These come from looking at the failed builds on GitHub
- These are guesses, and may turn out to be wrong

* Fix a potential memory leak

- Whoops, looks like I need to call two cleanup functions
- xd3_close_stream exists separately from xd3_free_stream

* Split the --help printout for --xdelta into its own strlcat call

- GCC was complaining about #ifdefs within macro arguments being non-portable

* Fix some incorrect printf format specifiers

* Modify Xdelta to adhere to C89

- It's mostly using RetroArch's INLINE macro instead of the inline keyword

* Slight cleanups

* Remove a stray comma that was hindering C89 builds

* Add XDelta support to CHANGES.md

* Change how the xdelta patch's name is computed

- To be in line with other recent refactoring

* Fix an incorrect merge

- Whoops, this part was from before I figured out how to get the size of a patched file

* Explain the song-and-dance behind computing a patched file's size

* Define some XDelta3-related constants to 0 on 32-bit platforms

* Adjust some Xdelta-related macro definitions

- Exclude the encoder, since we're not making patches
- Move some #defines to after inclusion of <stdint.h>, to fix undefined behavior
- Remove _WIN32_WINNT overrides, since they were for code that we're not using

* Fix Xdelta support

* Wrap an encoder-only function in `#if XD3_ENCODER`
2023-11-23 20:19:07 -08:00
Joe Osborn
4d81f70f00
Replay nomenclature (#15054)
* change bsv file suffix to replay, update strings

* Fix bsv cli args

* Fix help whitespace

* Fix another message

---------

Co-authored-by: Joseph C. Osborn <jcoa2018@pomona.edu>
2023-03-03 23:16:48 +01:00
Jonathan McDowell
750bc7bf8b
Remove remaining mentions of joyconfig (#14787)
IS_JOYCONFIG was removed back in 2015 (1b7576aa), but there are still
some mentions of retroarch-joyconfig in the docs and Makefiles. Clean
these up so folk aren't confused about the fact it's no longer
available.
2022-12-31 02:35:08 +01:00
LibretroAdmin
f5133d8cc4
Revert "Add Xdelta support for softpatching (#14706)" (#14743)
This reverts commit aaad220836.
2022-12-19 03:29:46 +01:00
Jesse Talavera-Greenberg
aaad220836
Add Xdelta support for softpatching (#14706)
* Add xdelta in deps

* Include <assert.h> in xdelta3.h

- Otherwise the static_assert calls can fail

* Build xdelta3 in Makefile.common

* Add xdelta support to the softpatching infrastructure

- The patching itself isn't fully implemented yet

* Adjust how xdelta3.h checks the sizes of some types

- Now checks max values instead of relying on autotools

* First crack at xdelta softpatching support

- There may be undiscovered edge cases or bugs

* Add xdelta in deps

* Include <assert.h> in xdelta3.h

- Otherwise the static_assert calls can fail

* Build xdelta3 in Makefile.common

* Add xdelta support to the softpatching infrastructure

- The patching itself isn't fully implemented yet

* Adjust how xdelta3.h checks the sizes of some types

- Now checks max values instead of relying on autotools

* First crack at xdelta softpatching support

- There may be undiscovered edge cases or bugs

* Remove trailing commas from the enums I modified

- C89 doesn't allow them

* Remove stray whitespace

* Adjust SIZE macros in xdelta3.h

- Move them outside the XD3_USE_LARGEFILE64 block
- Add more SIZE declarations
- Make SIZEOF_UNSIGNED_LONG_LONG contingent on the presence of ULLONG_MAX

* Add some RARCH_DBG calls for xdelta patching

* Enable support for xdelta's secondary compressors

- Necessary for some patches

* Fix some format specifiers

* Remove unnecessary files from xdelta

* Include xdelta3.h with a relative path

* Add xdelta3 headers to HEADERS variable

* Gate Xdelta support behind HAVE_XDELTA

- HAVE_XDELTA is on by default
- HAVE_PATCH is still required for HAVE_XDELTA to be meaningful
- Support is mostly contingent on the availability of LZMA
- Anything modern should be okay
- Legacy platforms (e.g. DOS) may need to have Xdelta support disabled
- At least until some other solution can be found

* Disable HAVE_XDELTA on platforms where the build recently failed

- These come from looking at the failed builds on GitHub
- These are guesses, and may turn out to be wrong

* Fix a potential memory leak

- Whoops, looks like I need to call two cleanup functions
- xd3_close_stream exists separately from xd3_free_stream

* Split the --help printout for --xdelta into its own strlcat call

- GCC was complaining about #ifdefs within macro arguments being non-portable

* Fix some incorrect printf format specifiers

* Modify Xdelta to adhere to C89

- It's mostly using RetroArch's INLINE macro instead of the inline keyword
2022-12-19 01:10:04 +01:00
Ömercan Kömür
f9c81f358a
(Docs) Update README.md latest RetroArch changes (#10092)
* 1.8.4 images && official links
* Update README.md
* Update README.md
* Update README.md
* new location
* images moved to docs folder
* Update README.md
* Update README.md
* Links have changed to markdown format
* Update README.md
* docs: Use https on libretro.com link
Co-Authored-By: Margen67 <Margen67@users.noreply.github.com>
Co-authored-by: Rob Loach <robloach@gmail.com>
2020-03-07 15:26:28 -05:00
twinaphex
b567bc7ead Revert "Remove BSV code - was obsolete and no longer working - input recording"
This reverts commit 7f731e390a.
2019-07-08 18:21:46 +02:00
twinaphex
7f731e390a Remove BSV code - was obsolete and no longer working - input recording
can be done in other ways instead of being held back by this old input
recording format - was decided along with Themaister that we want to
arrive at a codebase more easily maintained by all
2019-07-08 18:19:49 +02:00
radius
e1fa182620 mark these as deprecated 2016-08-27 21:56:37 -05:00
sergiobenrocha2
7ba35a9929 Fix some spelling errors (pendantic info lintian warnings). 2016-07-20 23:28:29 -03:00
orbea
aeaaf7a319 Move man pages to man6 to satisfy man standard sections 2016-05-22 17:05:13 -07:00
GeneralFailer
fb62f9bef5 Update retroarch.1 2016-05-07 23:42:48 +04:00
twinaphex
9daf29ac04 Update docs/retroarch.1 2015-01-24 04:09:40 +01:00
twinaphex
738d180816 Change some more instances of 'player' to 'user' 2014-12-05 14:21:04 +01:00
twinaphex
b61b6fa84b Move Retrolaunch to separate repo 2014-10-16 07:34:59 +02:00
twinaphex
fcbbf08109 (Recording) Bake in HAVE_RECORD implicitly 2014-08-12 05:28:43 +02:00
twinaphex
b517d706a1 Replace more ROM references 2014-07-28 20:13:23 +02:00
twinaphex
272002310d Rename more references to 'roms' 2014-07-28 20:01:27 +02:00
sergiobenrocha2
1c07039930 Added debian folder from hunterk PPA, updated Standards-Version, debhelper and compat, fixed lintian warnings and errors: added missing build-dependends and depends in debian/control, added simple man pages to cg2glsl and retrolaunch tools and fixed desktop entry. Added quilt patch (retroarch.cfg, friendly path to libretro cores and start directory), so you can change files only to debian system. Package has one lintian error yet: missing-dependency-on-libc. 2014-07-10 23:16:13 -03:00
twinaphex
a7cb3e22a7 (Menu) Replace some more RGUI strings 2014-06-10 02:44:19 +02:00
Themaister
67189e84f0 Fix man-page. 2014-05-09 18:52:45 +02:00
Themaister
6d6ec8b35a Allow toggling available device types in RGUI. 2014-04-12 14:12:06 +02:00
Themaister
b4eaf81fed Begin implementing SET_CONTROLLER_INFO. 2014-04-12 13:22:24 +02:00
Themaister
2d840ef826 Small bugfix and docs fix. 2014-04-04 15:13:44 +02:00
Themaister
a60d49293b Remove completely obsoleted "XML map" support.
This is from ancient times and no longer relevant.
2014-01-02 16:01:43 +01:00
Themaister
9e67406c40 Use skeleton config as basis for new configs. 2013-10-04 15:38:57 +02:00
Themaister
1a3d152ed2 Add some more example command lines to man-pages. 2013-10-01 12:35:20 +02:00
Themaister
7f299274df Don't try to load skeleton config.
Breaks RGUI since it's usually read-only.
2013-10-01 12:21:58 +02:00
Themaister
3ed9321468 Update man-page and --help.
Remove an obsolete per-game config support. It doesn't work with the
RGUI concept at all and is mostly just confusing.
2013-10-01 12:08:20 +02:00
Themaister
086caef070 Add input_libretro_device_pN setting.
Allows input device type to be saved in a config, which tremendously helps usability
for PlayStation 1 cores.
2013-09-22 11:09:14 +02:00
Themaister
b84b0e565b Update joyconfig docs. 2013-05-04 10:34:53 +02:00
Themaister
197c4db204 Add RETRO_ENVIRONMENT_SET_SUPPORT_NO_GAME.
Allows libretro core to not require a ROM to be loaded.
Kill stdin ROM loading support (pointless these days).
Replace "no ROM on CLI" behavior to be attempting to load a core with no
ROM.
2013-05-01 00:59:43 +02:00
Themaister
dfdcfac588 Add concept of meta "level" for hotkeys.
Used by retroarch-joyconfig to make misc key config easier.
2013-04-29 21:11:29 +02:00
Themaister
b714a6d7d1 Add timeout to joyconfig. 2013-04-29 16:12:15 +02:00
Themaister
0ac849d825 Let retroarch-joyconfig write autoconfigs. 2013-04-26 13:25:40 +02:00
Themaister
0ca210f99d Document behavior with no args. 2013-04-14 22:41:43 +02:00
Themaister
1395c32937 Add dummy core loading. 2013-04-14 16:29:30 +02:00
Themaister
c100b1371c Update command interface.
Use ';' to split args instead of ':' to avoid breaking
Windows path handling.
2013-03-17 11:11:14 +01:00
Themaister
7fadee0da3 Let $XDG_CONFIG_HOME fallback to $HOME/.config.
Use the specification more correctly. Keep fallback to
$HOME/.retroarch.cfg.
2013-02-26 18:46:07 +01:00
Themaister
e5f2afba33 Update docs to clarify that zipped roms work. 2013-01-22 00:01:25 +01:00
Anthony J. Bentley
af839da9c1 Manpage linting.
- uppercase title
- parseable dates (“month day, year”)
- kill excess whitespace
2012-12-01 20:50:35 -07:00
Themaister
8f9b68ad90 Add config file support to FFmpeg recording. 2012-11-23 22:46:36 +01:00
Themaister
690b592301 Purge SSNES-ism. 2012-10-27 22:05:58 +02:00
Themaister
8a1327cefd Add directory support for libretro_path/-L. 2012-10-11 22:31:47 +02:00
Themaister
8fdd41cf76 Fix derp in man-page. 2012-09-11 00:13:29 +02:00
Themaister
a8ab9c54bc Add --appendconfig option. 2012-09-11 00:10:44 +02:00
Themaister
f0d9cc09c9 Add --dualanalog/-A flag. 2012-08-16 21:21:19 +02:00
Themaister
a0ec6da2a8 Allow sending UDP commands from RetroArch. 2012-06-01 15:15:06 +02:00
Themaister
16ef16c733 Fixup wording. 2012-04-30 21:46:57 +02:00
Themaister
58bf26caad Fixups in manpages. 2012-04-22 11:40:36 +02:00