Commit Graph

207 Commits

Author SHA1 Message Date
Cookie
f06731784e
Android port (#656)
* initial files

* get building

* proper paths & default to virtual mouse

* Wrap gradle under cmake & build SDL3.aar

run cmake with  -DANDROID_NDK_PATH=/path/to/ndk to generate the .aar & run the gradle build

if using Android Studio you will have to run the aar script manually(or do the cmake cmd) then put the normal cmake args inside '-PcmakeArgs="-DCMAKE_BUILD_TYPE=Release ...."'  at `Settings > Build, Execution, Deployment > Gradle-Android Compiler > Command-line Options`
Check CMakeLists.txt Android build block for more info

* workflow and format

* dont cmake -> gradle -> cmake

* icons

* prevent first start crash due to missing isle.ini

dont force require gles3 (vulkan & software are options)

* cleanup

* cmake script & ci cleanup

use a cmake script to downoad SDL3 sources for aar building

* script cleanups & gradle stub for android studio

handle the env var setting for the sdl3 aar build script

* signing

needed repository secrets:
- keystore  :  key.jks in base64
- keystorePassword  :  Key store password
- keyAlias  :  Key alias, ex key0
- keyPassword  :  Key Password

* conditionally run action without keys

* compile SDL once & cross-platformize gradle tasks

* suggestions

* use find_package over manual configuration

* use MxString

---------

Co-authored-by: Anders Jenbo <anders@jenbo.dk>
Co-authored-by: Christian Semmler <mail@csemmler.com>
2025-08-15 15:12:35 +00:00
VoxelTek
e8140f9d51
Fix debug, improve isle-config (#672)
* Fix debug, improve `isle-config`

* Change to const char, rename to p_execName
2025-08-13 14:29:07 +00:00
Christian Semmler
6a8aaaabe2
Add widescreen.si to web port (#666)
* Add widescreen.si to web port

* Move logic
2025-08-11 04:41:42 +02:00
Christian Semmler
0f1b8e8430
Merge remote-tracking branch 'isle/master' 2025-08-10 13:16:30 -07:00
Christian Semmler
72dae4dd52
Merge remote-tracking branch 'isle/master' 2025-07-29 16:47:18 -07:00
Christian Semmler
89f2f5cefe
(Web port) Improve loading UX for HD Textures (#648) 2025-07-25 23:08:55 +00:00
Christian Semmler
7473330e47
(Web port) Add HD textures option (#647) 2025-07-24 22:10:15 +00:00
Christian Semmler
f677fe5091
Merge branch 'master' of github.com:isledecomp/isle-portable 2025-07-23 13:21:45 -07:00
Christian Semmler
c774a8edde
Merge remote-tracking branch 'isle/master' 2025-07-23 13:21:39 -07:00
Christian Semmler
1a2e03de47
Make Anisotropic filtering configurable (#641) 2025-07-23 20:18:05 +00:00
Christian Semmler
a5a3c4ec83
Upgrade OpenGL ES renderer to 3.0, add option for MSAA (#636) 2025-07-23 18:00:48 +00:00
VoxelTek
8f6bfe078b
Add MSAA to isle-config, improve Exclusive Fullscreen resolution options. (#638)
* Add dropdown for exclusive fullscreen resolutions

* Add MSAA support

* Make clang-format happy

* Fix tab order

* Make clang-format happy again
2025-07-23 19:33:39 +02:00
Fabian Neundorf
eae038f6a9
Clear unknowns in MxVideoParamFlags (#1648) 2025-07-22 20:58:00 +02:00
Christian Semmler
e86fd71560
Handle SDL_EVENT_FINGER_CANCELED (#633) 2025-07-20 16:33:53 +00:00
Steven
3c3c36c0b9
Added Windows (MSVC) and Linux debug builds to CI (#631)
Also fixed two warnings with the debug program
2025-07-19 20:05:09 +00:00
Anders Jenbo
71c767d92b
Fix bad merge (#628) 2025-07-19 16:00:01 +00:00
Christian Semmler
10195dcbcb
Add more rumble events (#627)
* Add more rumble events

* Add check for haptic
2025-07-18 22:52:42 +00:00
Christian Semmler
38213275cf
Proper cleanup on user requested exit (#624) 2025-07-18 21:40:25 +00:00
VoxelTek
84bd0a1a87
Rework of isle-config, add resolution adjustment and max framerate settings (#608)
* Add resolution adjustment, framerate limit, etc

- isle-config has been reworked to be a smaller, more organised window
- resolution adjustment has now been added to isle-config, so that the resolution on windowed game start can be set
- max framerate setting added to isle-config
- higher-quality options disabled in isle-config if computer has too little RAM (unlikely)

* Make clang-format happy

* Switch to MxS32, move variable declaration to end

* Adjust sizing of resolution spinboxes

* Add full screen video mode

When full screen is enabled, the game goes full-screen, and the screen resolution changes.

* Rework to add Exclusive Fullscreen option.

* Remove comment

* Raise max LoD value to 60

* Fix tab order

* Simplify code
2025-07-16 02:29:45 +00:00
VoxelTek
b6a4f65db4
Add CLI help message, accessible with --help (#614)
* Add CLI --help argument

* Make clang-format happy

* Move to switch instead of creating temp var

* Remove unnecesary break

Co-authored-by: Christian Semmler <mail@csemmler.com>

* Remove unnecesary break 2

Co-authored-by: Christian Semmler <mail@csemmler.com>

* Make clang-format happy again

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2025-07-16 00:29:42 +00:00
Christian Semmler
ad2832b096
(Web port) Pass vibration milliseconds into device haptics 2025-07-15 17:18:54 -07:00
Christian Semmler
deca5e5a2e
Add device and gamepad haptics to web port (#613)
* Add device and gamepad haptics to web port

* Update skip.yml
2025-07-15 23:50:14 +00:00
Christian Semmler
f20fc475c7
Integrate SDL Haptic API (#607)
* Integrate SDL Haptic API

* Close other devices

* Fixes
2025-07-15 23:47:37 +02:00
Christian Semmler
19edb0340e
Remove SDL mouse/touch event bug workaround (#606)
* Remove SDL mouse/touch event bug workaround

* Small refactor

* Add include
2025-07-14 18:51:11 +00:00
Korbo
ee6e230a4d
New 3DS banner sound, move 3DS data to packaging (#605)
* New 3DS banner sound

* move 3DS CIA data to packaging/3ds
2025-07-14 20:37:44 +02:00
Christian Semmler
21ce906a32
Add haptic feedback (rumble) (#596)
* Add rumble event for hit actor

* Add ini option
2025-07-13 20:26:47 -07:00
Christian Semmler
232ef07b51
Allow extensions to define options (#590)
* Allow extensions to define their own options

* Fixes

* Remove logging
2025-07-13 02:30:29 +00:00
Christian Semmler
42bac60ec5
Add new touch control scheme ("gamepad") (#587)
* Add new touch control scheme

* Add export

* Fix enum naming
2025-07-13 04:13:37 +02:00
Christian Semmler
7c91a14875
Extended full screen capabilities for Web port (#584)
* Extended full screen capabilities for Web port

* Add Emscripten patches

* Add back newline
2025-07-12 03:05:33 +02:00
Helloyunho
96f60cb683
🩹 fix: touch screens go beep and done (#573) 2025-07-10 12:43:46 +02:00
Christian Semmler
68c967ebdf
Add extensions, TextureLoader (#570)
* Add extensions, `TextureLoader`

* Fix wording

* Add to default ini

* Add folder to flatpak

* Use different enable strategy
2025-07-10 00:24:59 -07:00
Helloyunho
4e8ac86415
Dynamically on/off virtual cursor (#567)
*  feat: eliminate need of draw_cursor config

* 🩹 fix: type mismatch
2025-07-10 08:58:17 +02:00
Helloyunho
9d8cb64a19
Add iOS Port (#566)
*  feat: add ios support

* ⚗️ chore: trying some experiments to make ci working

* ⚗️ chore: is it really ci version problem?

* 💚 fix: it really is just a ci version issue

* 🩹 fix: go as low as possible

* 🩹 fix: support ipad
2025-07-10 08:34:52 +02:00
olebeck
4446aaaf53
translate and scale touch coordinates to the viewport (#565) 2025-07-09 12:55:26 +00:00
Christian Semmler
4dc8bfc0ac
Add full screen support (#560) 2025-07-09 00:17:20 +02:00
Christian Semmler
37c6abe3b5
Disable offscreen canvases in case of no WebGL support (#559) 2025-07-08 21:43:34 +02:00
Korbo
6aeeb520c4
3DS CIA support (#542) 2025-07-08 01:45:49 +02:00
Helloyunho
b82cfc4b36
Recheck through gamepads when gamepad is added or removed (#546)
* 🩹 fix: recheck through gamepads when gamepad is added or removed

* 🚑️ fix: oops i forgot to put lego1_export
2025-07-07 02:36:37 +00:00
Anders Jenbo
9e14aac98a
Implement real transition for 3DS (#538) 2025-07-06 15:00:39 +00:00
Helloyunho
04bcfde38b
Add Xbox One/Series X|S port (#526)
* chore: update README.md

*  feat: got the audio working

* 🔧 feat: add appxmanifest

* 🩹 fix: remove opengl stuff

* ⚗️ feat: add button support

* ⚗️ chore: try to make less modification from upstream

* 🩹 fix: doesnt compile

*  feat: forcibly draw cursor and map right joystick to cursor

* 🩹 fix: remap joystick

* 🎨 fix: formatting

* 🎨 fix: cmakelists formatting

* 🩹 fix: 3ds build

* 👷 feat: add xbox one ci build

* 💚 fix: github hates xbox series naming

* 💚 fix: dont run cpack for xbox one, vs does that for you

* 💚 fix: xbox one need to use vs as generator

* 💚 fix: please

* 💚 fix: it could be msix not bundle

* 💚 fix: try recursive directory search when upload release

* 🔨 feat: support cpack

* 👷 feat: better packaging

* 💚 fix: ignore if mv fails

* 🔧 feat: add mouse sensitivity config

* 🔥 chore: dont need you

* ⚗️ chore: use d3d11

*  feat: hardware acceleration!!

* 🚸 chore: change default cd path so user can easily copy the assets to xbox

* 🧑‍💻 chore: improve reusability

* 🚨 fix: formatting error

* 🚸 chore: draw cursor by default

* 🎨 chore: cmakelists formatting

* chore: match with upstream

* chore: more matching with upstream

* chore: don't need you

* 🩹 fix: apply changes

* 🔥 fix: we don't need controller map anymore

* 🩹 fix: use isle style include guard

* 🩹 fix: last newline fix

* 👷 chore: use cpack

* 💚 fix: try to fix ci

* 💚 fix: i tried my best...
2025-07-06 07:28:00 -07:00
Helloyunho
dbff98f354
🩹 fix: click trigger spam clicks (#537) 2025-07-06 15:22:21 +02:00
Anders Jenbo
fd0b6bcaca
Some quick dpad mouse control (#533) 2025-07-06 05:45:27 +00:00
Anders Jenbo
004b88e02e
Start virtual mouse at center of screen (#532) 2025-07-06 07:06:14 +02:00
Helloyunho
80514e2af7
Support gamepad (#527) 2025-07-05 21:27:24 +02:00
Anders Jenbo
af045eefed
Add fake mosaic to config tool (#522) 2025-07-04 17:41:18 +02:00
Anders Jenbo
92a96282b3
Fix tabbign in and out of fullscreen (#514) 2025-07-04 04:48:09 +02:00
Christian Semmler
f1b22ee025
Allow Web port to be playable in Firefox Private (#513) 2025-07-04 01:28:45 +02:00
Helloyunho
0191be7461
Make draw cursor feature work for modern platforms (#480) 2025-07-03 18:05:46 +02:00
Christian Semmler
be73b40ae8
Add monkey patch to Emscripten to disable OffscreenCanvas at runtime (#493)
* Add runtime option to disable OffscreenCanvas in web port

* Remove old patch
2025-07-03 02:10:02 +00:00
Christian Semmler
10b6d28cf8
Revert "Add resizable property to window creation (#477)"
This reverts commit 0e70735549.
2025-07-02 08:06:09 -07:00