Comments (27)
In the original upload, the config was done through the gradle variables. This meant we were allowed to set the orientation through the Android manifest file. Now, since we use a config from the resources folder, the orientation is set on app start.
Which core are you referencing? I did an update last night that fixed a crashing issue on snes9x.
from ludere.
Yknow what, I just noticed there's a bug: I forgot to set the system directory to the new location! That means the bios was never getting detected. Sadly even after fixing this issue it still crashes on rotating with PCSX :(
I'll continue to work on this.
from ludere.
By the way, just wanted to say I really appreciate the testing <3
from ludere.
Hey man, I will try get an answer this week for you :)
from ludere.
It was the https://docs.libretro.com/library/pcsx_rearmed/ with the core option: pcsx_rearmed_neon_enhancement_no_main=enabled
from ludere.
I think the better approach is to try and fix this issue from the source instead of putting a bandaid on it with locking rotation. Have you tried bundling a BIOS for the PCSX core in the system folder? The system folder acts exactly like RetroArch's, so follow the PCSX instructions for adding a BIOS and see if that fixed the issue.
from ludere.
Good point, I will try with the bios and get back to you.
from ludere.
i have tried this with a few different roms and with bios and all of them crash on rotate.
from ludere.
Thanks for taking the time to test. Could you possibly try another core besides PCSX? I wonder if there are other PSX emulators in libretro that don't have this issue. If I recall correctly, even retroarch crashed on exiting the core with PCSX. I'll see if I can find a way to not reinitialize the core on rotate or at least catch the exception.
from ludere.
No problem man, happy to help! and I'm struggling to find the Beetle PSX HW core in and of the folders in: http://buildbot.libretro.com/nightly/android/latest/
I can get it in the retro arch android app.
from ludere.
I think it goes by mednafen_psx and mednafen_psx_hw, not sure why though. Give that a shot :D
from ludere.
I haven't been able to get them working, seems they rely on the bios more than pcsx. but i have used the bios files i have and cant get the game to start.
from ludere.
@MrThista Would you be able to confirm that the bug still indeed occurs on the latest tag? I did a large number of changes that could have perhaps fixed this issue.
from ludere.
Awesome, thanks! I'm speaking with the LibRetroDroid developer to try to resolve this as well, as for my device, the PCSX and Beetle cores both crash, even in the sample app. It's super helpful to have multiple testers :D
from ludere.
Hey, tried to run another build and I cant work out where to place the rom. Also where have the options for R1 and R2 gone from the config?
from ludere.
Place it here: app/src/main/res/raw/rom
The L2 and R2 buttons are removed temporarily as I am working on improving the on-screen controls.
from ludere.
can I manually add the buttons back in? and into a folder called rom or in the raw folder? and do you no longer specify the rom name in the config ? :)
from ludere.
You can internally revert this commit: c1c6b48
And you want to put it in a folder called raw
, but the file is called rom
. I'll specify this in the README
from ludere.
and rom.[filetype] or rom with no file type?
from ludere.
Just rom
. The reason is that using this method lets Ludere load the ROM into RAM directly from the APK so we don't need to extract it internally.
from ludere.
Got an error trying to build: Rom is about 500mb
Task :app:mergeReleaseResources FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':app:mergeReleaseResources'.A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
AAPT2 aapt2-4.1.0-6503028-windows Daemon #0: Compile 'W:\Android Dev\ROMAPK\PS1 - Diskworld Noir\app\src\main\res\raw\rom' timed out, attempting to stop daemon.
This should not happen under normal circumstances, please file an issue if it does.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.Get more help at https://help.gradle.org
from ludere.
Interesting, how large is the ROM? What happens if you try instead to just put an empty file called "rom" instead of the real file?
from ludere.
500mb and with a blank romfile its a success.
from ludere.
Looks like it's an issue with the ROM size; Android Studio's heap can't package it into the APK. This is one of the reasons I was considering saving the analog controls for the Standalone branch of Ludere. You can try with a smaller ROM file, or I can let you know when the standalone branch is ready. I appreciate your help by the way <3
from ludere.
I was able to package a 1.6gb rom previously that worked. and sure man keep me posted :P. I appreciate all your work on the app. some great stuff man.
from ludere.
The LibretroDroid developer told me it's due to loading the file as bytes instead of directly from a file. I'm going to need to workaround this by copying a temporary cached rom to the device.
from ludere.
Let me know when its ready to test :)
from ludere.
Related Issues (14)
- building HOT 5
- pcsx_rearmed can't load games and force close happens at start HOT 2
- (genesis_plus_gx && picodrive) goes to black screen and just shows the controller HOT 3
- ERROR: An existing connection was forcibly closed by the remote host
- ppsspp core issues HOT 1
- workflow does not work any more!! HOT 3
- while trying to build the apk online the result is an empty zip
- multi-touch Android 13 issue?
- Can a menu option be added instead of the on-screen save/load state buttons. HOT 5
- Is it possible to have the lower screen of the Nintendo ds respond to touch. HOT 3
- Question.. PSX Multi Disc HOT 6
- PCSX Core , Analog Mode not recognized on games HOT 1
- black screen HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ludere.