AZO234 / NP2kai

Neko Project II kai
http://domisan.sakura.ne.jp/article/np2kai/np2kai.html
MIT License
254 stars 62 forks source link

Check if Neko Project II is already running #32

Open frank-deng opened 6 years ago

frank-deng commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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?)