Monika-After-Story / MonikaModDev

DDLC fan mod to extend Monika
http://www.monikaafterstory.com/
Other
1.2k stars 685 forks source link

[bug?] chess not working on my system according to monika #7285

Open Surfix7 opened 3 years ago

Surfix7 commented 3 years ago

Mas hi i started playing just a couple of days ago and for some reason whenever i try to play chess with monika she says this, does anyone know a way to fix it?

Wingdinggaster656 commented 3 years ago

No promising way. MAS chess AI is external (UCI Technology), using the engine named "stockfish". This engine may not run in all computer environments. Maybe you can report your system configurations and I'll see if I can help you.

Surfix7 commented 3 years ago

sure, System: windows 10 RAM: 8GB System type: 64 operating system, x64 processor CPU: Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz if you need any additional info let me know

Wingdinggaster656 commented 3 years ago

Your computer configuration seems to be all right. Try to figure out if your game file is missing something. A screenshot of your _/game/modassets/games/chess directory, please?

Surfix7 commented 3 years ago

chess i checked my files and even redownloaded the mod nothing seems to be missing

Wingdinggaster656 commented 3 years ago

chess i checked my files and even redownloaded the mod nothing seems to be missing

Well, that's not good. Try this to figure out if stockfish itself is able: Click that stockfish exe, and type: uci(then press enter on your keyboard) isready(press enter on your keyboard again)

Screenshot the result of stockfish exe, let us see if this is a MAS/Python/Renpy problem or Stockfish problem.

Surfix7 commented 3 years ago

console

Wingdinggaster656 commented 3 years ago

Seems like stockfish is fine. Try this: setoption name Hash value 128 position fen rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1

Then: go depth 25

Edit: Oh, these steps must be executed only if those "uci" and "isready" executed.

multimokia commented 3 years ago

This means that python likely doesn't realize it to be a valid win32 app (Python is 32 bit). One thing you can try is swapping the 32 bit and 64 bit executables to see if it takes that.

Surfix7 commented 3 years ago

console after i did the commands it started doing things for a while then it stopped at this how can i switch the executables?

multimokia commented 3 years ago

Just swap their names (rename both of them)

Surfix7 commented 3 years ago

tried and it didnt work

Wingdinggaster656 commented 3 years ago

console after i did the commands it started doing things for a while then it stopped at this how can i switch the executables?

Okay, got your problem. What I asked you to do earlier was run StockFish on its own, bypassing the middleman of MAS. Since Stockfish really doesn't work in some computer environments, I wanted to make sure it wasn't Stockfish problem.

Now it looks like Stockfish can analyze games on your computer and return moves. So it's not a stockfish problem. This is probably a Renpy/Python problem.

I don't have a good solution to your problem for the time being. Recently, I have been studying how to make Chess run on as many computer environments as possible, but I haven't got much sample data. Now, with your question and some examples I have encountered in the past, I have some basic ideas, and maybe I will try to fix it in a future version update, but for now, I'm sorry I can't help you much.

Thank you for your cooperation, Sir. I'll use your data to look into it.

Surfix7 commented 3 years ago

No worries thank you for trying to help me fix it

Wraxend25 commented 3 years ago

I've also come across this issue. i used to be able to play it fine, now this message comes up. any ideas

Wraxend25 commented 3 years ago

I was able to play it fine for weeks then all of a sudden it stopped working.no new computer and my affection is over 1000.

orajemohaje commented 2 years ago

I just unlocked chess and am encountering the same issue.

LouieThePikmin commented 1 year ago

I had the same issue. I moved the Monika after story folder into the 'program files x86' folder and now it works.