jncraton / BWMetaAI

A StarCraft Brood War AI designed to follow the modern 1v1 metagame
Other
100 stars 12 forks source link

cannot find patch_rt file after patch 1.23.0 #20

Closed thcchoi closed 4 years ago

thcchoi commented 5 years ago

I have truly been enjoying your AI patch so far.

However after 1.23.0 patch there is no longer patch_rt file.

Is it possible for you to address this issue?

Any help or advice will be much appreciated :)

BoneHorror commented 5 years ago

Seeing as Blizz removed all mpq archives from RM, I think Craton will have to switch to Samase. Which is a great opportunity to start using AISE, but it will take some work :P

jncraton commented 5 years ago

Thanks for bringing this to my attention. I unfortunately don't have much time to commit to this project currently, and it sounds like this will be a fairly significant adjustment, as I'll need to learn some new tools. All that should need to happen is for the aiscript.bin from this project to be injected into the game somehow. I'm not familiar with the current tools to do this, nor do I know if they will work right away with the new patch.

Long term, I'd love to get UMS builds that work properly and don't require any modding. I tried this briefly (https://github.com/jncraton/BWMetaAI/releases/download/v2.1/2.Destination.BWMetaAI.Protoss.scx), but there seem to be issues with the scripts when they are used in UMS maps rather than melee.

I'm certainly open to suggestions and/or PRs to get this working again.

thcchoi commented 5 years ago

looks like patch_rt file is back hopefully it never disappears again ;)

thcchoi commented 5 years ago

never mind. it was a glitch on my laptop. patch_rt file no longer exists.. sorry about any confusion

BoneHorror commented 5 years ago

I will make a working samase build with it later tonight and see if the freeze issue still occurs.

jncraton commented 5 years ago

I've created some new EUD maps to try out. I haven't tested them extensively, but the Protoss AI worked for me in my limited testing.

You should be able to play against the AI by simply starting a single player UMS game on one of the maps found here:

https://github.com/jncraton/BWMetaAI/releases/tag/v2.3-alpha

BoneHorror commented 5 years ago

Forgot to follow up on my previous comment - the freeze issue no longer occured (at least in a limited number of test runs), but the AI just feels borked instead. Way slower than normal BWMeta D:

jncraton commented 5 years ago

@BoneHorror Thanks for the update. I'm glad it's at least working a little bit.

pha3z commented 5 years ago

Just chiming in. I have been lurking and watching this issue for the last month or so. I never got to even try BWMeta before the recent BW Update that has caused this compatibility issue. I am really hoping to get a chance to try out BW Meta. My family plays cooperatively on LAN against AI a lot, and we're pretty tired of the stock brood war AI doing the same dumb strategies over and over.

I'm very greatful BoneHorror is working on this. :) Do we anticipate regaining compatibility with the current version of BW?

I wish I could help, but I work in other languages, and I really wouldn't be of much use for this project.

BoneHorror commented 5 years ago

It's highly unlikely I will manage to make it work without issues using samase, so your best bet for playing vs BWMetaAI using JNCraton's EUD maps. I'm kind of too busy working on my Starcraft campaign to force either of our programmers to look into the PyAI compile bugs D:

pha3z commented 5 years ago

Bummer. Appreciate your time though! Thank you. :)

jncraton commented 4 years ago

Great! I'm glad that you were able to get this working. Thanks for sharing the details for others!

thcchoi commented 4 years ago

this works like a charm!!! thx heaps! now we can enjoy playing BWMetaAI again! Looking forward to more updates too!!

jncraton commented 4 years ago

Samase appears to be a workable method going forward, so I've updated the readme (1d29b9a87647eca0b213a102f9eff37cbd6deb16) to include using Samase for launching. Thanks @tastynibling for the instructions.

Please let me know if these instructions can be improved. I'm not very familiar with Samase, and I very rarely use Windows these days.

TreesAreTough commented 3 years ago

Samase has never worked for me. I have gone over and retried the instructions quite a few times at this point.

"Get Samase Get aiscript.bin from BWMetaAI's releases page Make the directory layout like this: StarCraft\x86\StarCraft.exe StarCraft\x86\sesame.exe StarCraft\x86\custom\scripts\aiscript.bin Make a shortcut to sasame.exe and add custom as a command line parameter. The name custom can be anything you want. Just make sure the directory and parameter match."

I have tried many times and this does not work for me. Can someone explain more of why you need to do a shortcut with a command line parameter. I have also tried the method of packing them together to make an exe and that will launch the game but its just the normal AI. Any tips?

BoneHorror commented 3 years ago

Create a bat file with a command similar to this except with names changed to whatever you have :retry samase.exe C:\samase\uedaip --pack C:\samase\uedaip.exe || pause if errorlevel 1 goto retry where \uedaip is a folder in which you have a scripts folder that has the bwmetaai scritps inside of them. If you're familiar with how command line programs work, samase is exactly the same. If it's not working, you're doing something wrong. Try googling until you can figure out how to launch programs from the command line.

BoneHorror commented 3 years ago

screw it, I wanted to write it like above since just making an exe makes it an outdated solution if there's another major patch, but here's an exe for the current samase/scr patch https://mega.nz/file/9toGwYKR#rYMSCMWBdncB5zNRbbv3DLVbl1tKWVRvwQUMUMZSxvs

TreesAreTough commented 3 years ago

screw it, I wanted to write it like above since just making an exe makes it an outdated solution if there's another major patch, but here's an exe for the current samase/scr patch https://mega.nz/file/9toGwYKR#rYMSCMWBdncB5zNRbbv3DLVbl1tKWVRvwQUMUMZSxvs

Thank you for your quick reply and current patch solution. I learned a little bit and got it working just now. I can see now I was up way too late trying and I got in a frustration cloud. I appreciate the info and help.