Commit Graph

204 Commits

Author SHA1 Message Date
Jon Maddox 56c1a5e0f1 build the ios app
* import the build config
* clean the build
* build the app
* codesign the emulator core dynamic libraries
* package the app into an IPA with the preferenced mobile provisioning
2013-03-25 11:44:00 -04:00
Jon Maddox 80678332ec add build config file 2013-03-25 11:38:39 -04:00
Jon Maddox bf810b0b1e set the codesigning setting for Release for Distribution 2013-03-25 11:37:41 -04:00
Jon Maddox 2926e4533d removes the tmp directory 2013-03-25 09:18:29 -04:00
Jon Maddox 845b87fbba main core build script, calls all the build scripts for all of the cores 2013-03-25 09:18:18 -04:00
Jon Maddox c04d96a59b nestopia and snes9x-next build scripts
These get built in a tmp directory under ios. Steps:

* Clone (or pull master) repo
* build core
* move core to modules directory
2013-03-25 09:17:56 -04:00
meancoot 250857190f (iOS) Add diagnostic view and logging for BTstack; access it from the settings menu. 2013-03-24 18:23:46 -04:00
meancoot 4e973d8e27 (iOS, BTstack) Will now accept a connection from either a PS3 pad or a WiiMote. Might still get confused if a device other than those two show up. 2013-03-24 16:18:57 -04:00
meancoot d83d941669 (iOS, BTstack) Some cleanup. No more ObjC in the input code. 2013-03-24 13:13:36 -04:00
meancoot 003c3c1476 (iOS, BTstack) The thread never returns, it just waits. 2013-03-24 12:18:48 -04:00
twinaphex f36869ecbc (iOS) Build fix 2013-03-24 06:08:12 +01:00
meancoot a7497ab416 (iOS) Move BTstack into a thread. It may still need synchronization with the input buffers, but shouldn't cause crashes or anything. 2013-03-23 21:13:30 -04:00
meancoot e3b4cb9a2d (iOS) Add disabled draft of SixAxis support. 2013-03-23 21:13:30 -04:00
meancoot 95259d4b86 (iOS) Move all bluetooth processing to WiiMoteHelper.m; delete BTstackManager.m 2013-03-23 21:13:30 -04:00
meancoot a2122ff858 (iOS, WiiMote) Don't call calc_joystick_state for classic controller. The sticks aren't used so no point in doing the math (especially that sqrt). 2013-03-21 16:49:01 -04:00
meancoot d39f5280f9 (iOS) Change handling of iterate loop 2013-03-21 16:36:48 -04:00
meancoot f0774266a1 (iOS) Add a range based setting for input_overlay_opacity. 2013-03-21 14:00:32 -04:00
Squarepusher e1aff3cfa6 Merge pull request #159 from maddox/non-jailbreak
Enable for Non-Jailbroken Phones
2013-03-20 20:48:01 -07:00
Jon Maddox 200809f430 ignore dotted files/dirs including '.' and '..' 2013-03-20 22:48:58 -04:00
Jon Maddox c551bca665 open directly to the Documents directory 2013-03-20 22:44:11 -04:00
Jon Maddox 8d500d2cf2 i did! 2013-03-20 22:43:01 -04:00
Jon Maddox fa7730fc49 dot the system directory to hide it from iTunes Sharing
This esssentially hides the retroarch system directory when viewing the
documents directory through iTunes Sharing.

You can't browse folders this way anyways, so having it visible is
essentially useless anyways.

You can of course still get to this directoy via tools like iTools
(non-jailbroken) or ssh'ing into the device (jailbroken).
2013-03-20 22:27:47 -04:00
meancoot 563244065f Merge branch 'master' of https://github.com/Themaister/RetroArch 2013-03-20 20:58:14 -04:00
meancoot aee42b0f5f (iOS) Refactor RAGameView:
Block system draw calls and use [GLKView display] to update the screen.
   Put logic in C functions rather than calling a selector on RAGameView.
2013-03-20 20:54:38 -04:00
twinaphex 4cf0c1a00a (iOS) Add fb_alpha_libretro.info 2013-03-21 00:41:39 +01:00
meancoot 4f15a7d77c (iOS) Remove config file wrapper all together. 2013-03-20 19:07:00 -04:00
twinaphex d4664f47d9 (iOS) Remove some trivial wrapper functions around config_file.c 2013-03-20 04:07:55 +01:00
twinaphex 558cb0f66f (iOS/Griffin) Move ios_input.c and ios_joypad.c compilation to Griffin 2013-03-20 04:30:12 +01:00
meancoot e53a0a2e5a (iOS, ObjC removal) Convert RAConfig class into set of c helper functions. 2013-03-19 21:36:34 -04:00
meancoot ba9cb4e043 (iOS) Clean up BTstack dynamic loading. Rename ios_joypad.m to ios_joypad.c, there wans't any objective c code there to begin with. 2013-03-19 19:04:51 -04:00
meancoot a012045a2e (iOS, ObjC removal) Remove the RAInputResponder class, sendEvent in main.m now maintains and exports arrays of pressed keys and touches. 2013-03-19 18:39:13 -04:00
Jon Maddox b335bfbac6 enable iTunes File Sharing
Turning on iTunes File Sharing means being able to easily drop roms
into the app by dragging them in via iTunes.
2013-03-19 16:32:07 -04:00
Jon Maddox 08a4523bb2 use the app level documents directory instead of /var/mobile
This is a big change in that it changes the RetroArch system path where
it saves settings, game saves, etc. Using /var/mobile meant that
RetroArch only ran on jailbroken devices. This was the only thing
requiring a jailbreak.

Now not only will it work on vanilla devices, but all settings etc are
neating found in the app's documents directory.
2013-03-19 15:09:05 -04:00
twinaphex 6cbe1bcb57 (iOS) Compile in sinc resampler and set to SINC_LOWEST_QUALITY 2013-03-19 20:06:41 +01:00
twinaphex 4de07e0f1c (iOS) Don't compile with HAVE_NEON defined temporarily 2013-03-19 06:10:47 +01:00
twinaphex ef39eb50d3 (iOS) Don't compile in libz.dylib 2013-03-19 06:07:39 +01:00
twinaphex fac3ef0228 (iOS/Griffin) Compile in HAVE_NEON / HAVE_RGUI / WANT_MINIZ, etc. 2013-03-19 06:06:16 +01:00
twinaphex 70ac48a685 (iOS) Compile griffin.c - meancoot - check out if everything still
works in the iOS port
2013-03-19 05:57:51 +01:00
twinaphex 4c38e837ca (iOS) Build fix 2013-03-19 04:59:42 +01:00
twinaphex bf7c96435c Revert "(BTStack) Commit btstack deps to repo"
This reverts commit b2096c6bb0.

Conflicts:
	ios/RetroArch/input/BTStack/btstack/run_loop.h
2013-03-19 03:55:05 +01:00
twinaphex 401053307c Revert "(iOS/BTStack) Relative path includes"
This reverts commit 7b90adef58.

Conflicts:
	ios/RetroArch/input/BTStack/btstack/run_loop.h
2013-03-19 03:54:01 +01:00
twinaphex b90478fbb5 (iOS) Build fix in run_loop.h 2013-03-19 02:04:53 +01:00
meancoot 00d809436b (iOS) Send touch events directly to a shared RAInputResponder instance, bypassing NSNotificationCenter. 2013-03-18 20:52:35 -04:00
meancoot 2a4573854e (iOS) Load BTstack dynamically; no more separate nobtstack xcode scheme. 2013-03-18 20:32:24 -04:00
twinaphex 7b90adef58 (iOS/BTStack) Relative path includes 2013-03-18 23:43:44 +01:00
twinaphex b2096c6bb0 (BTStack) Commit btstack deps to repo 2013-03-18 23:32:25 +01:00
twinaphex 5790dbbc61 (iOS) Avoid some conditionals - WIIMOTE_DBG is undefined for regular
builds anyway
2013-03-18 18:52:37 +01:00
twinaphex 5f08cebf7c (iOS) Function pointer to set_keybinds NULL for now 2013-03-17 21:39:12 +01:00
meancoot debf31b7a4 (iOS) Various:
Re-add default config generation code, if a config file didn't exist it would not be possible to change settings while running.
   Sort emulator core list.
   Add .info files for more emulators.
2013-03-10 13:53:09 -04:00
meancoot e9497abc61 (iOS) Add (hacky) aspect ratio setting. 2013-03-10 00:05:19 -05:00
meancoot ac9b75a871 (iOS) Make settings changes take place even while the game is running. 2013-03-09 21:19:11 -05:00
meancoot 5310067cc5 (iOS) Rework BTstack handling:
No more BTDiscoveryView, just press the 'Start Bluetooth' button in the upper right corner and sync the wii remote.
   Add a per module setting to enable bluetooth as soon as a game starts.
   Stop bluetooth whenever a game is closed.
2013-03-06 12:15:26 -05:00
meancoot 14e80352e7 (iOS) Add directory 'ios/modules' which will be copied into the final app bundle. Populate it with module info files for all tested cores. If you place the built dylib files in here they will be copied into the bundle too. 2013-03-05 22:17:40 -05:00
meancoot 5365eec24d (iOS) Change some config file handling:
Don't require a config file.
   Don't load then write the config file every time a game is loaded (just to make sure it's there).
2013-03-05 20:57:26 -05:00
meancoot 92d0cac17a (iOS) Add Classic Controller support. 2013-03-05 20:45:15 -05:00
meancoot dbc3e3f7ff (iOS) Fix broken multi-touch code. 2013-03-05 20:28:59 -05:00
meancoot 3fd2db88e8 (iOS) Fix issue where new config files would not be generated. (Every version since be3aa0a063 was broken...) 2013-03-05 20:04:56 -05:00
meancoot 735bbdd013 (iOS) Major refactoring and simplification of UI logic 2013-03-05 00:14:26 -05:00
meancoot 30209b3ca9 (iOS) In module's .info file consolodate suggested_extension and recommended_extensions into supported_extensions. It occured to me that all three sections would never be used at the same time. 2013-03-04 05:03:13 -05:00
meancoot 6d94f278d4 (iOS) Some style cleanups to the settings code. 2013-03-04 01:37:00 -05:00
meancoot e4596f20b9 (iOS) Allow a custom display name to specified in a libretro core's info file. 2013-03-04 01:21:45 -05:00
meancoot 9914dff82a (iOS) Handle general options on settings menu better 2013-03-04 01:14:26 -05:00
meancoot e058034a24 (iOS) Make pause button briefly visible when game starts (again), and give it an image background.
I took ps_next.png from the overlays dir and flipped it, 'cause I'm lazy.
2013-03-03 23:28:22 -05:00
meancoot bda93007bc ios: Small fixes 2013-03-03 21:38:44 -05:00
meancoot 3f1f548e9f ios: Add 'keycode.h' which defines names for USB hid key symbols; use it to remove magic numbers in keyboard code. 2013-03-03 20:11:17 -05:00
meancoot 89c3120d71 ios: Reorganize project files 2013-03-03 19:15:58 -05:00
meancoot 08e6634eef ios: Clean up input code; make wiimote remapping work. 2013-03-03 18:50:38 -05:00
meancoot 55a8333ac2 ios: Start to add wiimote remapping support. 2013-03-02 15:24:03 -05:00
meancoot 32e73b4913 ios: Add method for emulator cores to specify likely support level by inspecting file extensions. 2013-03-01 21:01:52 -05:00
meancoot efa0e6be31 ios: Rework RAModuleList so the name of the loaded game is displayed. 2013-03-01 19:08:43 -05:00
meancoot 1178d82b5c ios: Don't show the 'Stop Bluetooth' button unless BTStack is running. 2013-03-01 19:02:55 -05:00
meancoot b9dcfca071 ios: Add a Stop Bluetooth button to the navigation bar. 2013-02-28 20:15:10 -05:00
meancoot f73511baa0 ios: Update WiiMote code using newer features from BTstack. Probably some bugs, so I recommend sticking with the nobtstack builds for now. 2013-02-28 18:38:49 -05:00
meancoot bd088a3332 ios: Move core selection to after game selection. Click the disclosure button to access core settings. (A method to allow core suggestions will be added later) 2013-02-27 04:03:31 -05:00
meancoot b89208f7fb ios: Move wiimote connection widget into settings menu. 2013-02-27 00:45:28 -05:00
meancoot fd52e8c537 ios: Add a RetroArch-nobtstack target to the Xcode project, use to build a version that doesn't depend on BTStack. 2013-02-26 23:25:42 -05:00
meancoot c941caa2ec ios: First revision of WiiMote support (code borrowed from imame4all) 2013-02-26 23:14:27 -05:00
meancoot d2119b75b1 ios: Remove regex filtering of directories. Its use case doesn't really apply to mobile devices. 2013-02-25 20:52:54 -05:00
meancoot 2b07954fac ios: Add Reset, Save State, Load State and State slot selection to the pause menu. 2013-02-25 16:56:12 -05:00
meancoot 2f25044915 ios: More refactoring 2013-02-25 16:20:54 -05:00
meancoot 06659f6e0d ios: Refactoring pause menu 2013-02-25 15:58:47 -05:00
meancoot ee87110972 ios:
Refactor input code.
   Add first draft of pause menu.
2013-02-23 23:03:59 -05:00
meancoot c551a6424e ios: Refactoring 2013-02-23 14:52:52 -05:00
meancoot be3aa0a063 ios: Create an objective-c wrapper around config_file_t, use it to simplify code. 2013-02-21 22:16:18 -05:00
meancoot b52aff0b8f ios: Use [UIImage imageNamed:] to load file and directory icons. 2013-02-21 20:33:05 -05:00
meancoot 5a7cee4e6e ios:
Immediately hide the exit bar if the device is rotated (after rotation its size would be wrong.)
   Fix status bar not being visible when a new instance is started.
2013-02-21 20:21:46 -05:00
meancoot 70d0ab91b7 ios: Fix .rafilter files not being closed in certain situations. 2013-02-21 15:37:51 -05:00
meancoot 4a076f4717 ios: Keep status bar visible while in the browser. Add a couple of missing license headers. 2013-02-21 12:37:58 -05:00
meancoot 1212116dfb ios: Some cover view improvements:
Don't allocate new views when reusing a cell.
   If a file item doesn't have an attached image, its filename will be printed in the cell instead.
   Images maintain aspect ratio when scaled.
2013-02-21 01:30:28 -05:00
meancoot cae85b7401 ios: Have the list_directory use objects to cache properties about the items. Quite a bit faster too. 2013-02-20 23:33:23 -05:00
meancoot b36ead4bf8 ios: Disable cover-art views if UICollectionView is not available. 2013-02-20 20:10:44 -05:00
meancoot 1edd531544 ios: Add proper license header to all files. 2013-02-20 19:52:52 -05:00
meancoot 9ac77f65d1 ios: Refactor browser code some. 2013-02-20 19:45:51 -05:00
meancoot 192f7d56d7 ios: If a .rafilter file has a single filter it is applied automatically. 2013-02-19 20:33:36 -05:00
meancoot b8f0c35833 ios: Add coverart support (iOS 6+ only). 2013-02-19 20:14:25 -05:00
meancoot 2daa926cc1 ios: Allow directories to be filtered by regex stored in a '.rafilter' file in the directory. 2013-02-18 19:09:35 -05:00
meancoot deb84a8463 ios: Clean up Xcode project 2013-02-18 14:59:43 -05:00
meancoot 6f495c5fcd ios: Make settings per module. 2013-02-18 11:57:24 -05:00
meancoot 6fc02c95d3 ios: Make it so the triple tap to exit button doesn't actuall prevent triple tapping. 2013-02-17 20:28:00 -05:00
meancoot c14b45f957 ios: Add a detail view that can load and display core info from a configuration file. 2013-02-17 19:35:43 -05:00