Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if Neko Project II is already running #32

Open
frank-deng opened this issue Feb 25, 2018 · 4 comments
Open

Check if Neko Project II is already running #32

frank-deng opened this issue Feb 25, 2018 · 4 comments

Comments

@frank-deng
Copy link
Contributor

Is it appropriate to add a feature of checking if Neko Project II is already running, so as to evade potential corruptions on disk images and floppy images?

@AZO234
Copy link
Owner

AZO234 commented Feb 26, 2018

I think few of methods.

  1. Selecting config file by command line.
  2. Lock reading to opened image files.

There may be some players enjoying NP2 by multiple driving.
Since quality can not be perfect, we recommend to backup images on user.
If it can be implemented, I will add it.

Thanks.

@AZO234
Copy link
Owner

AZO234 commented Feb 28, 2018

I implemented config file select by command line to SDL2 ver.
X11 ver already be implemented this.
libretro ver, RetroArch can drive multi window, but window activate can be only one.

Regards.

@frank-deng
Copy link
Contributor Author

Also, is it appropriate to identify NP2 sessions by configuration files, so that only one instance of NP2 is allowed for each configuration file?

@AZO234
Copy link
Owner

AZO234 commented Apr 16, 2018

It is natural that instances control files,
I think it is unnatural for a file to identify an instance.
An instance has a shorter lifecycle than a file.
(Stoic integrity is necessary?)

AZO234 pushed a commit that referenced this issue Apr 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants