jes icon indicating copy to clipboard operation
jes copied to clipboard

Having trouble opening the simulator

Open Silly-Person48 opened this issue 7 months ago • 8 comments

Everytime I open the file it asks me "how many creatures do you want?" I put how many I want, and then it just closes and nothing happens ( I have installed all of the requirements)

Silly-Person48 avatar May 18 '25 01:05 Silly-Person48

Same thing happens to me!!

mewhenieatthe avatar May 18 '25 09:05 mewhenieatthe

i was trying it earlier today and it states "jes_ui.py", line 16, in init pygame.font.init() ^^^^^^ NameError: name 'pygame' is not defined"

Silly-Person48 avatar May 21 '25 06:05 Silly-Person48

NameError: name 'pygame' is not defined"

pip install -r requirements.txt

If does not work, try pip install pygame and pip install numpy

dphdmn avatar Jul 22 '25 05:07 dphdmn

Also might be the font issue for the original question https://github.com/carykh/jes/issues/47#issuecomment-3101055010

dphdmn avatar Jul 22 '25 05:07 dphdmn

uhhh did i do something wrong

Image

Silly-Person48 avatar Sep 19 '25 11:09 Silly-Person48

Also might be the font issue for the original question #47 (comment)

i did this btw

Silly-Person48 avatar Sep 19 '25 22:09 Silly-Person48

uhhh did i do something wrong

It can't find the background image file, there can be many reasons for that. Make sure that you have all the files downloaded and extracted from the archive.

Then, you should run the script from the root directory of the repo (from the same folder the python script in), easiest way to do this is to type cmd in your file explorer path Currently it seems that you are running cmd from your user directory, although it's hard to say for sure based on screenshot like that

dphdmn avatar Sep 20 '25 10:09 dphdmn

uhhh did i do something wrong

It can't find the background image file, there can be many reasons for that. Make sure that you have all the files downloaded and extracted from the archive.

Then, you should run the script from the root directory of the repo (from the same folder the python script in), easiest way to do this is to type cmd in your file explorer path Currently it seems that you are running cmd from your user directory, although it's hard to say for sure based on screenshot like that

i have downloaded and extracted all the files and have opened the file from the correct directory

Silly-Person48 avatar Sep 20 '25 10:09 Silly-Person48