Comments (40)
Thank you so much !
I'll tell you what happen when I'll try.
I really would love it if you manage to recompile it, if I can provide any help please let me know : I'd be glad to help in anyway I can
from nfsiise.
Well I'm not the right person to answer that question, so I've asked the one I mentioned earlier to join the conversation. Hopefully it will work out :)
from nfsiise.
Oopsy, I had so many folders due to testing earlier versions, I moved the files from the zip to the wrong place and ran the new apk with the old files.
No more error message once the new files were put in the right place
from nfsiise.
Hi!
Last work on Android was 6 years ago. I guess new toolchain will not compile it. Also it doesn't have any touchscreen support - you need mouse+keyboard or gamepad to paly on Android.
Compiling it now with new toolchain will need rework, so it's not that easy.
I have somewhere old unsigned APK, but it doesn't work to me on new phone (looks like missing write permissions or...?).
best would be some day to port it to 64-bit, Vulkan, touchscreen and widescreen π
Edit:
I can upload this unsigned APK is you want, but you'll run it on your responsibility and I don't promise it'll work. On my phone with Android 13 it runs to menu, shows error about missing disk space and crash when loading race (Could not allocate track memory). I don't remember when it writes data on Android, but it looks like it can't write data in APK cache data or /sdcard
.
from nfsiise.
hey, thanks for replying so quickly :)
Yes I'd like it if you could give me a link to your old APK I still have old android devices and I'd try it on them (with keyboard or gamepad if needed)
since I have been searching quite a lot about emulating NFS2SE on android, the problems you report remind me of two things : there's a patch that people use to run the game on wine and recent windows system to prevent it from refusing to launch after an error message claiming (wrongly) there's too little memory available. And of course it's been a few Android updates that writing files in the android folder is a problem for old apps... some apps relocate there files to another folder (I don't know if you can do that) other need to copy the file manually by connecting the android device to a windows computer through USB cable.
I hope this gives you some ideas, thanks again for replying and for your original work :)
from nfsiise.
Remove .zip
suffix (GitHub doesn't allow me to upload .apk
): NFSIISE-debug.apk.zip
Put all game data into /sdcard/NFSIISE
or /storage/emulated/0/NFSIISE
directory.
Maybe I'll recompile it and make it playable on new Androids (save data should be in writable places for APK).
Edit: It's called "debug", but IIRC it's just unsigned release build.
from nfsiise.
Hi, unfortunately my try failed : I get an error message saying "Probably crash !" and "Application closed with a signal 11"
Maybe that error code will tell you what I should do ?
from nfsiise.
Hmm, I don't know. Maybe I have to build a new APK π
Signal 11 is just crash (SIGSEGV).
What will happen i when you remove /sdcard/NFSIISE
- do you have crash or message about missing data?
from nfsiise.
Hmm, I don't know. Maybe I have to build a new APK π
πππ
Signal 11 is just crash (SIGSEGV).
What will happen i when you remove
/sdcard/NFSIISE
- do you have crash or message about missing data?
The error message gets much simpler to understand if I do that : "can't find "gamedata" and/or "fedata" directories in current working directory !"
from nfsiise.
The error message gets much simpler to understand if I do that : "can't find "gamedata" and/or "fedata" directories in current working directory !"
Maybe it can see directories, but can't read files (no permissions). The last thing: Go to application information in Android and grant all permissions manually. Many devices allows to go to information by tap-and-hold and popup menu. If not, find applications in Android settings and find this app.
from nfsiise.
Maybe it can see directories, but can't read files (no permissions). The last thing: Go to application information in Android and grant all permissions manually. Many devices allows to go to information by tap-and-hold and popup menu. If not, find applications in Android settings and find this app.
I've just checked : the only permission was storage access and it was already on.
from nfsiise.
I've managed to compile with new toolchain and run this game on new phone with Android 13. I'll push changes when I finish it.
from nfsiise.
Whoohoo ! That's wonderful news !!
from nfsiise.
Could you try this: NFSIISE-debug-02.03.2024-18.40.apk.zip ?
From the updated README:
On Android devices, copy gamedata, fedata, install.win, text.*, nfs2se.conf.template into /sdcard/NFSIISE or /storage/emulated/0/NFSIISE (create NFSIISE directory first).
from nfsiise.
I got "cannot open configuration file "nfs2se.conf"
from nfsiise.
Do you have all required files in /sdcard/NFSIISE
including nfs2se.conf.template
, install.win
, text.*
?
from nfsiise.
Nope, I forgot to add them, I just put both folders from the original game, I'll try that in a few minutes
from nfsiise.
Ok, I've downloaded every file from the "Need For Speed II SE" folder on your github page and put them in the NFSIISE folder on my phone alongside the 2 folders from the original game... no more error message, but a black screen. Did I forgot some other files ?
Or maybe I should put them in a subfolder ?
Γdit : since it works on your side, could you make a screenshots of thΓ© content of your NFSIISE folder ? That would help me make sure I've put everything in thΓ© right place
from nfsiise.
Used Termux
Command: find /sdcard/NFSIISE > /sdcard/files.txt
Btw. Does it work on PC?
from nfsiise.
Er... I didn't understand your last message (sorry probably my poor english's fault), what did you mean about Termux ?
And are you asking me to try the game on Windows ?
from nfsiise.
I mean, I used Termux to generate file tree. Look at attached files.txt
, you'll see file structure.
And are you asking me to try the game on Windows ?
Windows or Linux - maybe your data are incorrect?
from nfsiise.
ok, so I've got the same files, in the same place and unfortunately I get a black screen when launching the game
And yes the original game works on Windows (I used the same file in a dosbox pure emulator and the game plays just fine both 3dfx and DirectX versions)
from nfsiise.
And yes the original game works on Windows (I used the same file in a dosbox pure emulator and the game plays just fine both 3dfx and DirectX versions)
Could you download nfs2se-win32.zip
from https://github.com/zaps166/NFSIISE/releases and check this on Windows?
from nfsiise.
works perfectly on windows, so I took the same files to the phone (in case my previous copy was corrupted) and still got black screen :(
not sure what it means, but after opening the game and getting the black screen, if the phone goes to sleep and I unlock it, it's still the black screen of course, but the virtual keyboard pops up
EDIT : just tested on my older phone, there it works like a charm
from nfsiise.
ok so I've got very good news : I've copied the files from my old phone (where the game works) to my new phone... and now it works there too !!
well almost : on the old phone I could manage the mouse pointer with the touch screen and use the game menu to select a track a car and then launch the race. On my current phone (Android 13) the game gets to the menu and then the menu keeps rolling as if I was pressing the down key all the time.
I'm going to connect a joystick or keyboard and try again.
I've noticed some weird behavior when trying to force game end through the android keys (show all apps, close all) : a message appears telling how much memory has been freed, but the game is still running (engine sound can be heard) and I have to close again a few times before the app is really closed
I've got a last side question : when I run the game with your modifications (both windows and android) the view is from inside the car (I don't see my own car), on the original game, the players car is on screen, is it a setting that you changed on purpose or something I should change from the menu (I haven't search a lot for now) ?
from nfsiise.
Good that's finally working!
I've got a last side question : when I run the game with your modifications (both windows and android) the view is from inside the car (I don't see my own car)
Change camera view ("C" button by default).
the game gets to the menu and then the menu keeps rolling as if I was pressing the down key all the time.
It uses accelerometer as a gamepad, try to put phone on a desk with screen up and keep phone in this position. I can disable this behavior, but with this it's possible to assign keys in game menu and play by tilting phone π
from nfsiise.
Updated package to d48f64c (could you test?): NFSIISE-debug-02.03.2024-22.30.apk.zip
from nfsiise.
I'm going to test right now :)
I had found the "C" key for the camera in the meantime (I was playing on the windows version to explore options)... but how can I simulate pressing the "c" key on android ? I suppose I can plug a keyboard once and change view by pressing C, on the windows version I noticed the changes are kept the next time you open the game
from nfsiise.
You can assing a gamepad key for camera view in game settings.
I have a bit motivation to do some improvements, so maybe I'll improve gamepad in this game!
from nfsiise.
It seems just perfect !! Thank you so much !
I've played with bluetooth keyboard and then bluetooth gamepad and it worked just fine ;)
I've noticed than the controls are more accurate with the keyboard, but that's nowhere near limiting my joy of playing the game. Once again, thank you so much for what you've done :)
from nfsiise.
I have a bit motivation to do some improvements, so maybe I'll improve gamepad in this game!
I have no idea about how hard it is to do, but... what about an on screen virtual gamepad ?
from nfsiise.
That's new APK: NFSIISE-debug-03.03.2024-23.14.apk.zip
Changes:
- you can use touchscreen as a touchpad to move mouse cursor
- tap-and-hold presses RETURN key
- back button presses ESC key
- fixed issue with bad image scaling (happened from time to time)
- download the newest
nfs2se.conf.template
from master branch and rename it tonfs2se.conf
(nfs2se.conf.template
is no longer used on Android!) - you can disable accelerometer as joystick in
nfs2se.conf
(don't forget to update this file!) - remove#
fromAccelerometerAsJoystick
line and set it to0
- it will no longer "keeps rolling as if I was pressing the down key all the time" when your phon is in various positions
what about an on screen virtual gamepad ?
That's too much for now, maybe someday... π
from nfsiise.
Thanks again for your fantastic work. I will try the latest APK as soon as possible.
One final question : would you agree/be interested in your work being turned into a Retroarch core ? I know someone who's been thinking about making a core for NFSIISE...
from nfsiise.
Retroarch
I don't know this project, hmm.
from nfsiise.
Besides old computers and consoles, RA also allows old PC games to run on modern hardware
Let me know if you are interested
Edit : of course it's ok if you are not interested, I'm already very grateful for your work :)
from nfsiise.
Let me know if you are interested
What I should do? Maybe just make a script and prepare config file to run it there?
from nfsiise.
Now you can download released ZIP for Android, many things has been improved!
from nfsiise.
Thank you so much, I will try this today and send the link to my RetroArch contact :)
from nfsiise.
Everything runs smoothly... but I get this error message each time I launch the app. I just press on OK and the game works perfectly
(Just to make things clear : the file nfs2se.conf is actually in the directory, despite the error message)
from nfsiise.
nfs2se.conf
or nfs2se.conf.template
? You need nfs2se.conf
(as in ZIP). Remove the old file and copy new from ZIP. It's working good on my 3 phones π
from nfsiise.
Related Issues (20)
- execvp: No such file or directory. HOT 6
- If i try to start nfs2se.exe Error message: MOVIE FILE NOT FOUND HOT 4
- game not running HOT 1
- Possiblity to turn off texture filtering
- Add support for cockpits HOT 2
- Lag issue while playing HOT 3
- Question about the stf files in .nfs2se/stats/ HOT 2
- Original game bug: Gamepads with more than 15 buttons can't bind buttons HOT 18
- Implementing online sync HOT 4
- Wrong special chars in other langs HOT 1
- Error while launching HOT 15
- Widescreen support? HOT 2
- NFSIISE on a Mac HOT 4
- [Linux Mint DE 6] Works like butter but no audio HOT 3
- gles2 renderer - GLSL shader compilation error (aarch64 Linux / Panfrost) HOT 15
- Bus error with release version HOT 27
- 3D Glasses Fix: Question about adding Direct3D support (3rash/Thrash API) HOT 15
- Feature request: Use DPAD (HAT/POV) HOT 5
- Compilation error due to SDL2 not updated HOT 2
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 nfsiise.