Commit Graph

246 Commits

Author SHA1 Message Date
twinaphex 7472922ee0 Move compat/ over to libretro SDK 2014-10-21 07:58:58 +02:00
twinaphex dde86f5b6b Refactor compat/ 2014-10-21 06:15:19 +02:00
twinaphex c62d52de0f Start properly implementing libretro SDK for boolean.h include
header, glsym, and rthreads
2014-10-21 05:05:52 +02:00
twinaphex b61b6fa84b Move Retrolaunch to separate repo 2014-10-16 07:34:59 +02:00
twinaphex ec9a217090 Change VID/PID passing to autodetect function - now int32_t
values
2014-09-30 20:35:58 +02:00
twinaphex aea679456d (Input autodetect) Start setting up input autodetect so that it
can look at matching VID/PIDs
2014-09-30 18:18:02 +02:00
twinaphex d43b9082e7 Move input_autodetect code to input_autodetect.c 2014-09-30 17:48:31 +02:00
Higor Eurípedes 83b6aeb6cc Fix C++ build linkage 2014-09-15 13:14:19 -03:00
twinaphex 11866d42f8 Cleanups 2014-09-15 06:43:50 +02:00
Lioncash a7aa077cc6 Remove some unused variables. 2014-09-05 19:27:46 -04:00
Lioncash a907ee634f retroarch-joyconfig: Fix two printf specifiers 2014-09-03 21:39:10 -04:00
twinaphex 1b27dfbcbd Rename rarch_fnmatch to fnmatch_rarch 2014-08-15 21:35:41 +02:00
twinaphex 012c3269c3 (retrolaunch) cleanups 2014-08-13 07:38:22 +02:00
twinaphex 48493314b8 Add content struct that fetches all members from db file 2014-08-13 06:53:35 +02:00
twinaphex 9a22a2c068 (Retrolaunch) cleanups 2014-08-13 06:07:00 +02:00
twinaphex 3f65822ad6 Refactor retrolaunch - no longer launches RetroArch based on
inferred game but instead just spits out game description name -
will be refactored into RetroArch proper later
2014-08-13 05:24:22 +02:00
twinaphex 6d56cce631 (Retrolaunch) Add way to infer game name description 2014-08-13 05:12:35 +02:00
twinaphex c0763649d4 (retrolaunch ) make function static 2014-08-13 04:15:45 +02:00
twinaphex f3cfa8283a (retrolaunch) cleanups pt. 2 2014-08-13 03:50:53 +02:00
twinaphex 521daf2dd6 (retrolaunch) cleanups 2014-08-13 03:44:55 +02:00
twinaphex d328e0fbd0 Move SHA-1 hashing to hash.c 2014-08-13 03:36:44 +02:00
twinaphex 343097fbd5 (retrolaunch) SHA1 cleanups 2014-08-13 03:32:35 +02:00
twinaphex 0522b9be78 Move homegrown fnmatch implementation to compat/ 2014-08-13 03:13:41 +02:00
twinaphex 77432a7f24 (retrolaunch) cleanups 2014-08-13 03:08:07 +02:00
twinaphex dd72443211 (retrolaunch) cleanups 2014-08-13 02:51:49 +02:00
twinaphex b76a2c2cee Refactor away input_joypad_poll - trivial wrapper function 2014-08-03 00:44:07 +02:00
Themaister 08cfb27f35 Fix some C++ issues. 2014-06-17 17:10:24 +02:00
Themaister 59c64f9c5a Fix off-by-one error with PASSPREV.
Fix include bug in cg2glsl.py.
2014-05-16 16:17:02 +02:00
twinaphex c5a6e16503 Add gas-preprocessor.pl to tools/ 2014-04-17 21:15:05 +02:00
twinaphex 0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
Themaister 6d6e964672 Fixup CXX_BUILD.
Cleans lots of sign-related warnings as well.
2013-11-16 17:31:49 +01:00
Themaister 7aa8b40759 Fixup C89 for loops. 2013-10-22 21:37:56 +02:00
Lioncash cae9591c2f Missed a spot for closing file handle fd in function get_sha1. 2013-10-14 00:05:07 -04:00
Lioncash 98bdd6896e Fix a memory leak in function find_first_cue in retrolaunch/cd_detect.c. 2013-10-13 23:24:49 -04:00
Lioncash 51d7ec925e Fix a memory leak in function get_sha1 in retrolaunch/main.c. 2013-10-13 23:22:41 -04:00
Themaister 880dec8c7f Clarify cg2glsl requires cgc 3.1. 2013-10-07 23:09:49 +02:00
Themaister 4627c106e4 Fix NTSC shaders by preprocessing first.
If vertex shader is in an #include, it wouldn't get column_major fix
applied.
2013-10-07 23:06:41 +02:00
Themaister fa39a1ec39 Add -quiet and -I to cg2glsl.
Fixes cases where #include is used.
2013-10-07 22:50:48 +02:00
Saggi Mizrahi b466f4ba83 Updated retrolaunch
* Make core name fully explicit since it might not follow convention
* Add missing entries in for sega cd and pce cd in cores.conf
* Add support for n64 core autoselection

Signed-off-by: Saggi Mizrahi <ficoos@gmail.com>
2013-09-20 21:48:38 +03:00
twinaphex dccff3905d (cg2glsl.py) change suceeded to succeeded 2013-09-19 02:47:45 +02:00
Themaister f8c385a28c Fix cg2glsl when uniform half4x4 is used. 2013-08-18 18:06:55 +02:00
Themaister 846e72ad1e Allow spaces for matrix hack. 2013-08-13 16:58:43 +02:00
Themaister ef97f05dff Use correct texture() in core. 2013-08-11 01:09:17 +02:00
Themaister ad12cc8ab6 Fix some miscompilations with unused variables. 2013-08-11 01:09:17 +02:00
Themaister 1a071c4992 Updates and fixes for cg2glsl. 2013-08-11 01:09:17 +02:00
Themaister 954727aa79 Fixups for cg2glsl. 2013-08-11 01:09:14 +02:00
Themaister 2aaa148adc Fixes to cg2glsl. 2013-08-11 00:56:00 +02:00
Themaister 184e407e5d Work around awkward GLSL compiler bug on iOS. 2013-05-31 14:04:20 +02:00
Themaister a292b5252c Remove binary from repo. 2013-05-28 09:37:58 +02:00
Yohann Bianchi cdfa97a41e Fixes issues pointed by Themaister
configure option is now --global-config-dir
2013-05-28 01:59:06 +02:00
Yohann Bianchi 937b112e71 Adds --config-dir option in configure script to let the user set a custom path for system wide config file 2013-05-27 17:58:59 +02:00
Squarepusher 525993e55d Merge pull request #207 from ficoos/retrolaunch_work
Retrolaunch improvements
2013-05-20 23:16:50 -07:00
Saggi Mizrahi 00eb501a1c retrolaunch: Change core selection in retrolaunch
This changed makes it so that retrolaunch will choose cores based on a
preference configuration called cores.conf.

This means that different systems can select what cores they prefer to
use when running certain games. Games that don't work on specific cores
can be marked in launch.conf with !core_name and retrolaunch will choose
the next core for that system.

Also launch.conf is now optional meaning that users don't need the cddb
and the dat files to be able to use core auto-selection. They just need
cores.conf.

Signed-off-by: Saggi Mizrahi <ficoos@gmail.com>
2013-05-21 00:12:38 -04:00
Saggi Mizrahi c038c92f68 retrolaunch: Add genesis multitap games
Even though it is not yet supported by libretro

Signed-off-by: Saggi Mizrahi <ficoos@gmail.com>
2013-05-20 22:24:58 -04:00
Saggi Mizrahi 811baad078 retroluanch: Add a lot of games to launch.conf
Signed-off-by: Saggi Mizrahi <ficoos@gmail.com>
2013-05-20 22:07:47 -04:00
Themaister 0457e41ceb Fix cg2glsl batch when dir has slash suffix. 2013-05-20 23:46:40 +02:00
Themaister d54427983b Add automatic CGP -> GLSLP conversion. 2013-05-10 00:06:42 +02:00
Themaister b323640d7c Make joypad driver configurable. 2013-05-04 10:24:15 +02:00
Themaister 41d00190e4 Fix CXX warning. 2013-05-01 21:56:38 +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 04ac1e3efa Clarify when buttons are initially pressed. 2013-04-26 13:39:03 +02:00
Themaister e74f150239 Also dump input_driver used in retroarch-joyconfig. 2013-04-26 13:34:41 +02:00
Themaister 1da31a84ab Prompt user to "reset" joypad state.
Many joypad drivers have "stale state" lying around and need
some events to be fired to normalize. Broken initial state will
break joypad configure like this.
2013-04-26 13:32:11 +02:00
Themaister 0ac849d825 Let retroarch-joyconfig write autoconfigs. 2013-04-26 13:25:40 +02:00
Themaister 6193491e82 Fix wrong sampler translation in cg2glsl. 2013-04-16 15:44:41 +02:00
Themaister 48e7175e4b Improve compat in cg2glsl.
Allow vertex samplers, and fix "empty struct" bug.
2013-04-16 15:31:28 +02:00
Themaister 3ae5662dd2 Fixups in cg2glsl.
Don't allow struct names and varyings to collide.
Also add fixes for *.texture_size for PREV/PASS/ORIG, etc.
2013-04-13 16:34:04 +02:00
Themaister 6480f564c1 Treat _output_dummy_size as non-varying as well. 2013-04-13 13:47:13 +02:00
Themaister ec9ffce56f Replace IN.* in a cleaner way. 2013-04-13 02:41:23 +02:00
Themaister 3779ddbace Use LUTTexCoord attrib correctly in cg2glsl. 2013-04-13 02:07:37 +02:00
Themaister e8d89eb2b2 More compat fixes for cg2glsl.
Motion-blur shader works.
2013-04-13 01:58:44 +02:00
Themaister 49d713c2ee Fix some compat in cg2glsl. 2013-04-13 01:43:40 +02:00
Themaister e4089af307 Allow multiple samplers in cg2glsl. 2013-04-12 00:30:03 +02:00
Themaister 88e2ac3c9c Fix issue with blinky.cg in cg2glsl. 2013-04-12 00:30:03 +02:00
Themaister d7c1957586 Rename cg2xml to cg2glsl.
Outputs CGP/GLSL style shaders now.
2013-04-11 15:40:57 +02:00
Themaister 0d3e025121 Don't export deprecated prefixes in cg2xml. 2013-04-05 14:29:12 +02:00
Themaister 292bc36b43 Basic mouse grabbing for X11. 2013-03-29 18:55:54 +01:00
Themaister 2be53ac0f9 Add MENU_TOGGLE bind config. 2013-03-16 12:21:16 +01:00
Themaister 651cd600e3 Add disk control to retroarch-joyconfig. 2013-03-09 09:58:31 +01:00
sparklewind b1530d981d Added 3 titles from ps1.idlst that I looked up
I decided to include digital-only games too, as I feel that it's better in the long run to label them as such rather than ignore them. If you don't like it I'll remove it.
2013-02-24 03:39:19 +01:00
Sam Stenvall 367f43ea62 Fixed invalid regexp for Colin McRae games 2013-02-11 13:09:26 +02:00
Themaister 5bab9e1331 Fix compat with rubyFrameCount in cg2xml. 2013-01-26 14:44:25 +01:00
Themaister 3888b31c79 Fix compatibility with desktop GL in cg2xml. 2013-01-26 14:24:42 +01:00
Themaister d50a839fe0 Fix CXX_BUILD. 2013-01-19 02:26:02 +01:00
Saggi Mizrahi 73cc87677e (retrolaunch) Remove VLA
Signed-off-by: Saggi Mizrahi <ficoos@gmail.com>
2013-01-13 13:59:47 -05:00
twinaphex 39b1c6dacd (RLaunch) Avoid unistd.h includes on MSVC 2013-01-13 04:39:49 +01:00
twinaphex 46a2076e37 (RLaunch) Can compile in most of RLaunch now 2013-01-13 01:07:22 +01:00
Saggi Mizrahi 1c37ef4158 Replace pread() in lseek()+read()
Signed-off-by: Saggi Mizrahi <ficoos@gmail.com>
2013-01-12 18:54:33 -05:00
Saggi Mizrahi 8ec326996b Use portable commands instead of libgen.h commands for path handling
Signed-off-by: Saggi Mizrahi <ficoos@gmail.com>
2013-01-12 18:26:20 -05:00
Themaister e35c6375ee Fix C++ incompatibilities in retrolaunch. 2013-01-11 11:51:52 +01:00
Themaister 8abaebde6f Do not error out when finding file without ext. 2013-01-11 11:29:13 +01:00
Themaister 90bd020595 Do not segfault when given '--help' as argument. 2013-01-11 11:18:56 +01:00
Themaister 8664c4b990 Fix warning. 2013-01-11 11:04:28 +01:00
twinaphex 936e7b2709 (Retrolaunch) Fixup most warnings 2013-01-11 06:22:57 +01:00
Saggi Mizrahi 15ad74fdad Add retrolaunch
Signed-off-by: Saggi Mizrahi <ficoos@gmail.com>
2013-01-10 23:49:12 -05:00
Themaister f6d816dbc5 Improve GL_ES compat. 2013-01-04 20:35:30 +01:00
Themaister 804cadb6b5 Clarify batch mode for cg2xml.py. 2013-01-04 17:11:18 +01:00
Themaister 9105b441b8 Add cg2xml python tool. 2013-01-04 17:04:55 +01:00
Themaister 0b4cf2d053 Update license headers to 2013. 2013-01-01 01:41:15 +01:00
Themaister 34bd32c1fd Add RETRO_OVERLAY_NEXT bind. 2012-12-22 15:33:28 +01:00
Themaister 91edc8ff49 Add volume control.
It imposes no performance loss as it is performed
during s16->float conversion.

It is however grouped together with check_mute.
2012-11-03 14:15:03 +01:00
Themaister d875c78988 Add input_enable_hotkey to joyconfig. 2012-11-02 23:27:08 +01:00
Themaister b73243b521 Fix CXX_BUILD. 2012-10-01 00:12:07 +02:00
Themaister d40cd53e24 Rewrite retroarch-joyconfig.
Rewrites a large chunk of retroarch-joyconfig to work with "any" joypad
driver. This allows e.g. the tool to work without X. SDL event pumps
require X to work (for some reason).
2012-09-29 21:57:03 +02:00
Twinaphex 4ba68cf450 Snes-isms changed 2012-07-07 16:28:01 +02:00
Themaister c440c7a50a Add support for RETRO_DEVICE_ANALOG. 2012-06-28 18:32:06 +02:00
Themaister 33271647af Update joyconfig for l2/r2/l3/r3. 2012-06-05 00:32:44 +02:00
Themaister ce740f8948 More fixups. 2012-04-21 23:31:57 +02:00
Themaister 9ab51ad23a SSNES => RetroArch. 2012-04-21 23:17:43 +02:00
Themaister e3a71a8c5b Fixup headers. 2012-04-09 22:05:26 +02:00
Themaister 62c96ea937 Change license header. 2012-04-09 22:03:57 +02:00
Themaister 9698cd7dbd Change headers. 2012-04-09 22:03:57 +02:00
Themaister 9ab02b12be Move compat functionality to compat/. 2012-03-16 23:26:57 +01:00
Themaister fd54b26532 Add to joyconfig. 2012-03-04 12:01:41 +01:00
Themaister 9c861f13be Fix additional exclamation marks. 2012-02-11 21:16:01 +01:00
Themaister 75408b689d Hook up binds. 2012-01-21 14:24:38 +01:00
Themaister b4248038fb Update license headers. 2012-01-08 01:12:05 +01:00
Themaister 44e2d66cf5 Mainstub clean. 2012-01-05 17:53:30 +01:00
Themaister d5fca50a2f Can build for C++. 2011-12-24 15:26:01 +01:00
Themaister 5a24037c61 Update joyconfig. 2011-11-26 16:02:49 +01:00
Themaister 466ab1ef8d Frame advance. 2011-10-17 21:30:58 +02:00
Themaister f48247a18b Style nits ... 2011-10-15 12:56:48 +02:00
Themaister 380384654c Add hold bind to joyconfig. 2011-05-24 11:56:55 +02:00
Themaister 6b6877afc1 DSP config option to ssnes-joyconfig. 2011-05-17 19:41:57 +02:00
Themaister efed98d5b6 Yay, works :) 2011-05-15 17:16:29 +02:00
Themaister 9f3b86e893 Update joyconfig. 2011-05-04 22:25:27 +02:00
Themaister b539df1ccd Added settings to ssnes-joyconfig. 2011-03-29 23:40:12 +02:00
Themaister 48dcd174a7 Add resetting support. (About time, ey?! :D) 2011-03-24 20:41:28 +01:00
Themaister 3fa037daee Fix minor issues. 2011-03-16 21:48:44 +01:00
Themaister 3033fb6791 Pausing support. 2011-02-05 20:46:58 +01:00
Themaister ca35dd79d2 Add misc bind for movie_record_toggle. 2011-02-02 19:34:44 +01:00
Themaister de331bcd9e Add rewind bind to ssnes-joyconfig. 2011-01-31 18:49:50 +01:00
Themaister 3aa4181380 Add possibility to configure misc binds as well. 2011-01-30 20:36:45 +01:00
Themaister 2267c7d048 Update licensing headers. 2011-01-23 20:29:28 +01:00
Themaister c7e6e73bcb Fix a blooper in headers. 2011-01-17 20:54:58 +01:00
Themaister e7e5363465 Fix index issues with joypads. 2011-01-15 16:52:45 +01:00
Themaister 92377b0426 Update man-pages some more. Add man-page for ssnes-joyconfig. 2011-01-15 16:50:26 +01:00
Themaister 422ba8a801 Add support for justifiers and multitap. 2011-01-10 16:53:37 +01:00
Themaister a2a31e5944 Update help function in ssnes-joyconfig 2011-01-10 09:13:22 +01:00
Themaister b8bb1b2814 Enable joyconfig to use more joypads. 2011-01-10 08:55:34 +01:00
Themaister 5a599d4cf2 Some additional cleanups. 2011-01-09 19:50:23 +01:00
Themaister 03e1323952 Windows is RETARDED. 2011-01-09 19:37:55 +01:00
Themaister 43316083d7 Update Win32 makefile 2011-01-09 17:24:13 +01:00
Themaister c5770039cc Update build system to include joyconfig 2011-01-09 15:58:49 +01:00
Themaister 413a261f44 Add a joyconfig tool :) 2011-01-09 15:44:35 +01:00