Introducing Intel Monkey (Another New Version: 0.4.1b)

This new stand alone release based on the legendary War in the Pacific from 2 by 3 Games adds significant improvements and changes to enhance game play, improve realism, and increase historical accuracy. With dozens of new features, new art, and engine improvements, War in the Pacific: Admiral's Edition brings you the most realistic and immersive WWII Pacific Theater wargame ever!

Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition

Post Reply
User avatar
DivePac88
Posts: 3119
Joined: Wed Oct 08, 2008 9:50 pm
Location: Somewhere in the South Pacific.

RE: Introducing Intel Monkey (New Version: 0.4.1b)

Post by DivePac88 »

Just like to say a big thank you there witpqs for this excellent program, I use it extensively now a-days, alongside tracker and reporter. [&o][&o][&o]
Image
When you see the Southern Cross, For the first time
You understand now, Why you came this way
User avatar
bigred
Posts: 4037
Joined: Thu Dec 27, 2007 1:15 am

RE: Introducing Intel Monkey (New Version: 0.4.1b)

Post by bigred »

Thanks witpqs:

Image
Attachments
a1.jpg
a1.jpg (126.54 KiB) Viewed 514 times
---bigred---

IJ Production mistakes--
tm.asp?m=2597400
User avatar
witpqs
Posts: 26376
Joined: Mon Oct 04, 2004 7:48 pm
Location: Argleton

RE: Introducing Intel Monkey (New Version: 0.4.1b)

Post by witpqs »

Good news, bigred!

Thanks, Des!

[:)]
User avatar
fulcrum28
Posts: 763
Joined: Sun Feb 28, 2010 1:28 pm

RE: Introducing Intel Monkey (New Version: 0.4.0)

Post by fulcrum28 »

I have just installed and when i click on IntelMoneky-J "a syntax error" message is reported

1) first I open and run one turn in witP admiral
2)then I go to tools folder and click on IntelMonkey-J
3)syntax error message is reported
User avatar
witpqs
Posts: 26376
Joined: Mon Oct 04, 2004 7:48 pm
Location: Argleton

RE: Introducing Intel Monkey (New Version: 0.4.0)

Post by witpqs »

ORIGINAL: fulcrum28

I have just installed and when i click on IntelMoneky-J "a syntax error" message is reported

1) first I open and run one turn in witP admiral
2)then I go to tools folder and click on IntelMonkey-J
3)syntax error message is reported
Please cut & paste the message here and I'll have a look at it.

From looking at the list you provided, did you run the utility provided to create the Bases.txt file that Intel Monkey needs?

Another thing to check is, where is Intel Monkey installed? It is pre-configured to work properly when in in the tools\Intel Monkey sub-folder underneath your main WITP-AE folder. If you have it in a different place you will need to edit it to tell it where to look for the \save\archive sub-folder.

Also, do you have the '-archive' switch in your WITP-AE shortcut so that it creates the archive of report files that Intel Monkey needs as input?
cmdrsam
Posts: 102
Joined: Mon May 10, 2010 2:25 am

RE: Introducing Intel Monkey (New Version: 0.4.0)

Post by cmdrsam »

Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python33\lib\subprocess.py", line 1090, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Python33\lib\tkinter\__init__.py", line 1442, in __call__
return self.func(*args)
File "C:\Users\Mike Cooper\Downloads\Intel Monkey V0-4-1b\GetBasesFromScenario
V1-1.py", line 72, in do
p = subprocess.check_output(cmd, universal_newlines=True)
File "C:\Python33\lib\subprocess.py", line 571, in check_output
with Popen(*popenargs, stdout=PIPE, **kwargs) as process:
File "C:\Python33\lib\subprocess.py", line 818, in __init__
restore_signals, start_new_session)
File "C:\Python33\lib\subprocess.py", line 1096, in _execute_child
raise WindowsError(*e.args)
FileNotFoundError: [WinError 2] The system cannot find the file specified


This is what pops up when I try and run. Have 3.3 python and latest version of intelmonkey.
User avatar
witpqs
Posts: 26376
Joined: Mon Oct 04, 2004 7:48 pm
Location: Argleton

RE: Introducing Intel Monkey (New Version: 0.4.0)

Post by witpqs »

ORIGINAL: cmdrsam

Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python33\lib\subprocess.py", line 1090, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Python33\lib\tkinter\__init__.py", line 1442, in __call__
return self.func(*args)
File "C:\Users\Mike Cooper\Downloads\Intel Monkey V0-4-1b\GetBasesFromScenario
V1-1.py", line 72, in do
p = subprocess.check_output(cmd, universal_newlines=True)
File "C:\Python33\lib\subprocess.py", line 571, in check_output
with Popen(*popenargs, stdout=PIPE, **kwargs) as process:
File "C:\Python33\lib\subprocess.py", line 818, in __init__
restore_signals, start_new_session)
File "C:\Python33\lib\subprocess.py", line 1096, in _execute_child
raise WindowsError(*e.args)
FileNotFoundError: [WinError 2] The system cannot find the file specified


This is what pops up when I try and run. Have 3.3 python and latest version of intelmonkey.
Sam,

Python does look like it's running, so that's good.

Are you trying to run the main Intel Monkey program or are you trying to run the utility "GetBasesFromScenario"? I ask because that seems to be part of the error you pasted in. You are right to do that first, because the Bases.txt file it creates is needed. I just need to know to help troubleshoot the problem.

Give me an overview of how you installed things - for example, you downloaded the zip file of course. What folder did you extract it into? Did you extract all the files? Or, are you trying to run things directly from the zip file (that doesn't seem to work too well, BTW)?

I'm sure we can coach you through this and get it working. [8D]
cmdrsam
Posts: 102
Joined: Mon May 10, 2010 2:25 am

RE: Introducing Intel Monkey (New Version: 0.4.0)

Post by cmdrsam »

Unzipped the folder into it's own folder. I went through and changed the short cut key to have archive. Then double clicked the get base key. Input directory was where my matrix game save is at. Output directory is the same default directory. Game scenario is 003.

Thanks sir for the response. Can't wait to find out what I am doing wrong. Because I really want your program to work for me. Lol.
User avatar
witpqs
Posts: 26376
Joined: Mon Oct 04, 2004 7:48 pm
Location: Argleton

RE: Introducing Intel Monkey (New Version: 0.4.0)

Post by witpqs »

OK, but are we talking about the program "GetBasesFromScenario"? That's a critical piece of info for me to know. Assuming that is the case (you are running GetBasesFromScenario when you get the error):

- Input folder is your SCEN folder, not the save game folder.

- Output directory should be where Intel Monkey is installed (which should be the default, just like you said).

- Included in the zip file is the program "witploadAE.exe". GetBasesFromScenario calls upon that program, and it has to be in the same folder as GetBasesFromScenario. That's one thing to double-check. If it is not there you will certainly get an error.

let me know if any of that helps.
cmdrsam
Posts: 102
Joined: Mon May 10, 2010 2:25 am

RE: Introducing Intel Monkey (New Version: 0.4.0)

Post by cmdrsam »

Significant improvement as I am now able to access the screen to get reports. I have zero days however it says on my screen. Now most of that is my fault because I didn't have archive set up until right before I posted first message. Do I have to have Intel monkey running while I'm playing?
User avatar
witpqs
Posts: 26376
Joined: Mon Oct 04, 2004 7:48 pm
Location: Argleton

RE: Introducing Intel Monkey (New Version: 0.4.0)

Post by witpqs »

ORIGINAL: cmdrsam

Significant improvement as I am now able to access the screen to get reports. I have zero days however it says on my screen. Now most of that is my fault because I didn't have archive set up until right before I posted first message. Do I have to have Intel monkey running while I'm playing?
Each time you run Intel Monkey it "starts over" from scratch, reading in all the applicable files from that archive sub folder underneath the save sub folder. So, you don't have to have Intel Monkey running when AE is running. In fact, you could (if you wanted to) not run Intel Monkey for 50 turns, then run it, and it would look just the same as if you ran it every turn.

Because Intel Monkey does not (currently) keep it's own database, it relies on all the files being present in that archive sub folder. If you were to, say, play 1,000 turns and then delete all those archive files, Intel Monkey would come up empty. So of course never do that! [:D] My plans are for Intel Monkey to keep a database in the future. Right now there are still many improvements to come in how the report files are processed, meaning that there is more information in them to be found that Intel Monkey does not yet recognize. When those improvements are pretty much all done it will be time to look at exactly what sort of database is best for IM and use that to help with some advanced reporting functions.
cmdrsam
Posts: 102
Joined: Mon May 10, 2010 2:25 am

RE: Introducing Intel Monkey (New Version: 0.4.0)

Post by cmdrsam »

Thank you sir. Think we are almost there I can now get to the screen saying basic signt report and basic combat. But clicking on these buttons says no days and no reports.

Trying to type this on my phone. Ok I have monkey in its own folder. Still in my download section. First line I have set for scenario through my matrix folder where game is at. Second line is set at default. Third line, I mispoke and it not 003 but 009. I clicked the proceed button and it appears to work fine. Few lines says something about cvs files. The I exit that and clicked on intelmonkey a. Because I am allied. And that's where it tell me after clicking basic Sig or combat buttons I have zero days.
User avatar
witpqs
Posts: 26376
Joined: Mon Oct 04, 2004 7:48 pm
Location: Argleton

RE: Introducing Intel Monkey (New Version: 0.4.0)

Post by witpqs »

ORIGINAL: cmdrsam

Thank you sir. Think we are almost there I can now get to the screen saying basic signt report and basic combat. But clicking on these buttons says no days and no reports.

Trying to type this on my phone. Ok I have monkey in its own folder. Still in my download section. First line I have set for scenario through my matrix folder where game is at. Second line is set at default. Third line, I mispoke and it not 003 but 009. I clicked the proceed button and it appears to work fine. Few lines says something about cvs files. The I exit that and clicked on intelmonkey a. Because I am allied. And that's where it tell me after clicking basic Sig or combat buttons I have zero days.
OK. You know how to get the Bases.txt file and you know it has to be in the same folder as Intel Monkey, so that part is good.

Next up is how does Intel Monkey find your archive sub folder? By default, if you do not edit the Intel monkey program file (the .py file), Intel Monkey is set up to presume it is in a certain sub folder. You have a folder for your main AE install

- Main AE install folder (exact name does not matter)
-- tools
--- Intel Monkey (exact name of this folder does not matter, but this is where Intel Monkey expects to be installed.)

From that spot, Intel Monkey backs upwards two levels, then goes downwards through the SAVE folder to find the archive folder.

- Main AE install folder (exact name does not matter)
-- SAVE
--- archive

So the easiest thing to do, is just copy (or move) that whole folder that you've created in your download section. Move it so that it is inside the 'tools' folder.
cmdrsam
Posts: 102
Joined: Mon May 10, 2010 2:25 am

RE: Introducing Intel Monkey (New Version: 0.4.0)

Post by cmdrsam »

Hey, guess what works. Thank you for your response and patience to walk me through this. Also very much appreciate the time it took you to make this program.
User avatar
witpqs
Posts: 26376
Joined: Mon Oct 04, 2004 7:48 pm
Location: Argleton

RE: Introducing Intel Monkey (New Version: 0.4.0)

Post by witpqs »

[:)]
Chris21wen
Posts: 7668
Joined: Thu Jan 17, 2002 10:00 am
Location: Cottesmore, Rutland

RE: Introducing Intel Monkey (Another New Version: 0.4.1b)

Post by Chris21wen »

I've decided I need something o help keep track of and organise Allied intel and this seems to fit. Two questions, do you need this program called Python (whatever that is) if so I'll skip it. If not where can I download it?
User avatar
witpqs
Posts: 26376
Joined: Mon Oct 04, 2004 7:48 pm
Location: Argleton

RE: Introducing Intel Monkey (Another New Version: 0.4.1b)

Post by witpqs »

ORIGINAL: Chris H

I've decided I need something o help keep track of and organise Allied intel and this seems to fit. Two questions, do you need this program called Python (whatever that is) if so I'll skip it. If not where can I download it?
Yes, you do. "python.org" is where to find it. There are two general versions, 2.x and 3.x as the language is in the midst of a multi-year upgrade process. You need the latest version of 3.x, which at the moment is 3.4.1.

This is the 32-bit installer: https://www.python.org/ftp/python/3.4.1/python-3.4.1.msi (should work on any Windows PC).

This is the 64-bit installer: https://www.python.org/ftp/python/3.4.1/python-3.4.1.amd64.msi (requires a 64-bit PC, which most of them are now).

A little explanation, Python is the language that Intel Monkey is currently written in, and the way that IM is currently distributed you do need to install Python (just like you need a certain version of Java installed in order to run Tracker).
User avatar
Reg
Posts: 2793
Joined: Fri May 26, 2000 8:00 am
Location: NSW, Australia

RE: Introducing Intel Monkey (Another New Version: 0.4.1b)

Post by Reg »

ORIGINAL: witpqs

ORIGINAL: Chris H

I've decided I need something o help keep track of and organise Allied intel and this seems to fit. Two questions, do you need this program called Python (whatever that is) if so I'll skip it. If not where can I download it?
Yes, you do. "python.org" is where to find it. There are two general versions, 2.x and 3.x as the language is in the midst of a multi-year upgrade process. You need the latest version of 3.x, which at the moment is 3.4.1.

This is the 32-bit installer: https://www.python.org/ftp/python/3.4.1/python-3.4.1.msi (should work on any Windows PC).

This is the 64-bit installer: https://www.python.org/ftp/python/3.4.1/python-3.4.1.amd64.msi (requires a 64-bit PC, which most of them are now).

A little explanation, Python is the language that Intel Monkey is currently written in, and the way that IM is currently distributed you do need to install Python (just like you need a certain version of Java installed in order to run Tracker).

Hey Witpqs,

Did you ever get that tool running that builds Intel Monkey into a standalone application (that doesn't require the python programming environment to be installed)?

I'll PM you about it.

Cheers,
Reg
.
Cheers,
Reg.

(One day I will learn to spell - or check before posting....)
Uh oh, Firefox has a spell checker!! What excuse can I use now!!!
Chris21wen
Posts: 7668
Joined: Thu Jan 17, 2002 10:00 am
Location: Cottesmore, Rutland

RE: Introducing Intel Monkey (Another New Version: 0.4.1b)

Post by Chris21wen »

ORIGINAL: witpqs

ORIGINAL: Chris H

I've decided I need something o help keep track of and organise Allied intel and this seems to fit. Two questions, do you need this program called Python (whatever that is) if so I'll skip it. If not where can I download it?
Yes, you do. "python.org" is where to find it. There are two general versions, 2.x and 3.x as the language is in the midst of a multi-year upgrade process. You need the latest version of 3.x, which at the moment is 3.4.1.

This is the 32-bit installer: https://www.python.org/ftp/python/3.4.1/python-3.4.1.msi (should work on any Windows PC).

This is the 64-bit installer: https://www.python.org/ftp/python/3.4.1/python-3.4.1.amd64.msi (requires a 64-bit PC, which most of them are now).

A little explanation, Python is the language that Intel Monkey is currently written in, and the way that IM is currently distributed you do need to install Python (just like you need a certain version of Java installed in order to run Tracker).

Thanks. I'll think about it.
User avatar
witpqs
Posts: 26376
Joined: Mon Oct 04, 2004 7:48 pm
Location: Argleton

RE: Introducing Intel Monkey (Another New Version: 0.4.1b)

Post by witpqs »

ORIGINAL: Chris H

ORIGINAL: witpqs

ORIGINAL: Chris H

I've decided I need something o help keep track of and organise Allied intel and this seems to fit. Two questions, do you need this program called Python (whatever that is) if so I'll skip it. If not where can I download it?
Yes, you do. "python.org" is where to find it. There are two general versions, 2.x and 3.x as the language is in the midst of a multi-year upgrade process. You need the latest version of 3.x, which at the moment is 3.4.1.

This is the 32-bit installer: https://www.python.org/ftp/python/3.4.1/python-3.4.1.msi (should work on any Windows PC).

This is the 64-bit installer: https://www.python.org/ftp/python/3.4.1/python-3.4.1.amd64.msi (requires a 64-bit PC, which most of them are now).

A little explanation, Python is the language that Intel Monkey is currently written in, and the way that IM is currently distributed you do need to install Python (just like you need a certain version of Java installed in order to run Tracker).

Thanks. I'll think about it.
Laying tile on the kitchen floor for the umpteenth day in a row (not that big a room, just not my bag!), so bleary-eyed responses here. I should have added that the Python installation should be drop-dead automatic. You just run it, give it permission, maybe answer a question or two like any installation. After that you forget about it until/unless you decide to upgrade it later on.
Post Reply

Return to “War in the Pacific: Admiral's Edition”