#Who's Tired of Moving Map files Every Time You Make a Change?

1 messages · Page 1 of 1 (latest)

ripe slate
#

Who's ready to have your mapmaking lives made easier with the new python widget (for lack of better words) I made?

  • Copies selected map file on UDK save
  • Moves it to cookedpc
  • Renames to UPK
  • Creates backup folder
  • Moves Overwritten UPK to backup folder
  • AutoLoads Map into Rocket League```
golden relic
#

Like the idea, but isn't there also a bakkesmod plugin that also moves files when you save in udk?

ripe slate
#

That's a Great question and I have no clue. peepolove

#

I did a quick search didn't see one

golden relic
ripe slate
#

Yeah I like using that one for sure. That one is a little bit different. To me its more of an easier to test than Rocket Plugin solution.

This one is windows based so you don't need to have BM or rocket league open and it will copy and paste your map file from your UDK folder to cookedpc folder every time you hit save on UDK. And renames it to UPK for you.

If you really wanted to you could use this for any file format. With a little bit of change in the code. Which I might do now...

sage parcel
#

another solution is to use a symlink

ripe slate
#

My little widget:
• Copies selected map file on UDK save
• Moves it to cookedpc
• Renames to UPK
• Creates backup folder
• Moves Overwritten UPK to backup folder
• AutoLoads Map into Rocket League

pure terrace
#

You could even make the map load automatically once it's moved by sending a command to bakkesmod through rcon

#

that would be even cooler

ripe slate
#

Lmfao bro…. You’re killing me… I just might look into that

astral patio
#

Ah you use the mods folder "skinner pathetic gif here" I rename it utopia, I think swaggles has a .bat that does something similar

ripe slate
#

Lol yeah I hate map swapping

ripe slate
ripe slate
golden relic
#

What are the 4 parts? Split to send via Discord?

ripe slate
#

Exactly

golden relic
#

Do I need something to merge it back together or can I download it and use it?

ripe slate
#

Just download it, run part1.exe (that builds the parts) then, after it’s done extracting run AMM.exe

golden relic
#

Alright, I don't know if I do it tonight but otherwise I'll do it later this week(end)

ripe slate
#

All good, I'm going out of town this weekend, thank you.

golden relic
ripe slate
#

mostly show off

ripe slate
#

hmm... anyone get a chance to try this...

golden relic
#

Have it downloaded but was not able to launch rocket league for some reason, when I've fixed that I'll try it

ripe slate
#

sheesh when was the last time you played?

golden relic
#

A couple of days ago, but I'm bad at remembering small tasks sadge. Keep coming up with other small tasks like creating more twitter accounts

astral patio
#

I'll be free in one hour I think, tell me how can I be of help boss

#

Do I need to have BM running?

golden relic
#

No, to install follow #1082365602280263701 message and fill in the paths from the first image in this post

astral patio
#

Aight, my laptop rebooted 3 times this week because of the blue screen of death so let's test it I'm sure it'll be fine

#

stop monitoring me leeroy

#

mm question

#

is it only for steam users?

#

may I humbly suggest to only have 3 backups or N backups laptop full like ravioli

golden relic
astral patio
#

good catch, my level isn't launching tho

#

the replacing and renaming is tho so 👏

golden relic
#

I don't know what could cause the map loading failed error, I guess you need to monitor countrymo more @ripe slate

astral patio
#

puts on second pair of underwear*

ripe slate
#

The map load error will happen when it can't send the RCON command

#

Umm.... I could probably make a box saying how many backups you want to save.. But 3 could go quick with 3 quick UDK saves

ripe slate
astral patio
#

bm is running but the loading still failes

#

do I need a specific plugin installed?

#

or enabled

ripe slate
#

mmm okay... where is your BakkesmodFolder located?

astral patio
#

rcon plugin is enabled in bm if it helps

ripe slate
#

haha yes it does.

astral patio
#

appdata roaming

ripe slate
#

\AppData\Roaming\bakkesmod\bakkesmod?

astral patio
#

yessir

ripe slate
#

hmmm...

#

ohhh

#

is rocket league still open?

astral patio
#

ya

ripe slate
#

aight one sec

astral patio
#

how do you check bm folder?

#

in your program I mean

ripe slate
#

does this come up at all

ripe slate
astral patio
#

how do you open that console

ripe slate
#

well what i sent is like a compiled version of the script so as far as i know there is no way

#

i could send you the raw python file

astral patio
#

if you guide me I can do whatever you want

ripe slate
#

lol... well actually... ill send you an new exe to replace one of the ones in the file... probably easier

ripe slate
# ripe slate

Mo did you get to a chance to press "f6" and check the bakkesmod console

astral patio
#

what I mean is how do you guess the bm folder

#

could it be useful to input that as well?

astral patio
ripe slate
#

the BM folder is figured out by grabbing the app/roaming from your pc... bakkesmod_folder = str(os.getenv('APPDATA') + '/bakkesmod/bakkesmod').replace('\\', '/')

astral patio
#

nothing happens in bm console btw

ripe slate
#

replace this in the subprocesses folder of automatic mover

ripe slate
astral patio
ripe slate
#

you scrolled through (i only ask because i had to)

astral patio
#

still nothing

ripe slate
#

hmmm

#

okay so the new exe i sent you to replace in the subprocess folder i added a command to print the bakkesmod folder and the rcon password

#

so if those dont pop up we know there something wrong there

astral patio
#

nothing happens at all in the console

ripe slate
astral patio
ripe slate
#

you replace the exe?

astral patio
#

ehm

ripe slate
#

youre being sneaky only showing me half the of the text in the black window 😉

astral patio
#

i though i had to replace the part 2

#

since it's not an exe file but a rar

ripe slate
#

haha no the part2 is because the exe is 9mb so i had to send it it two parts

#

the winrar will unzip it to one file

astral patio
#

i'll extract it there then

ripe slate
#

thanks for the help i know this is a pain in the butt

astral patio
#

ok so

#

currently i'm here

#

and it doesnt let me extract part2.rar

#

explain it to me like i'm five

ripe slate
#

okay let me explain this to you

#

IM A FUCKING MORON. I ONLY SENT YOU ONE OF THE TWO FILES. idk

astral patio
#

my idea is to do it all again an renaming it to automaticmapmoverpart2

#

ah so im missing the one with cfg and subprocess maybe

ripe slate
#

trying to send you part 1 now but it randomly disappeared

astral patio
#

maybe I stole it

ripe slate
#

bro windows is so smart its dumb and quaratined it

astral patio
#

puts on third pair of underwear*

ripe slate
#

alright so now if you run that then it will make AMMwatcher.exe and then you can replace the one you got now in subprocess folder

ripe slate
astral patio
#

mm

#

i don't think u'll like what i'm about to say

#

but i'll move the wtcher in the subprocess i guess

ripe slate
#

yes perfect

astral patio
#

aigth there s your weird string now

#

ah and the bakkesmod dir on top

ripe slate
#

hows it looking for the bakkesmod

#

the werid string is the rcon password

astral patio
#

yeah it's the same as the one that's on the bm page

#

nothing on f6 tho

ripe slate
#

I'm assuming the issue is the rcon just gotta figure out why

astral patio
#

sweats in HDD

ripe slate
#

lol better delete those save you some room

astral patio
#

Did you install the rcon?

ripe slate
#

no it was built in to bakkesmod

astral patio
#

or should I reinstall it

#

ah kk

ripe slate
#

\AppData\Roaming\bakkesmod\bakkesmod\bakkesmodsdk\bakkes_pathplugin.py can you open in notepad and send me the bakkesmod_server... should be line 14.

#

trying to find out what is different between yours and mine

#

also if you have better stuff to do i need to mow the lawn

astral patio
#

5 min an ill go

#

which port do you use in your program?

#

in line 14 I have the 127.0.0.1 and the port

#

which is pretty weird that it uses that port since I think I'm using it for something else

ripe slate
#

9002

#

wondering if this is something i need to have read in everytime for everyone.

astral patio
#

I have the 9002 as well

ripe slate
astral patio
#

I thought I was using it for a program but I stopped it and stil nthing on f6

#

you can mow the lawn I 'll try again in an hour i think

ripe slate
#

you know what i didnt .rstrip(" ") the password for spaces. maybe thats why

astral patio
#

where should I paste that

ripe slate
#

oh id have to recompile the watcher and send it again lol

#

i dont think thats whats wrong... but i guess it could be who knows... alright im going to go mow and give it some thought. thank you for all the help

astral patio
#

mm wait a sec

#

line 13

#

I def don't have an F:

#

i ll ty in an hour tho gtg

#

try

astral patio
#

hah

#

yeah replacing line 13 with my bakke plugin dir worked

#

HELL YEAH THAT SAVES TIME

astral patio
#

bakkesmod_folder = str(os.getenv('APPDATA') + '/bakkesmod/bakkesmod').replace('\\', '/') instead of

#

bakkesmod_folder = str(os.getenv('APPDATA') + '/bakkesmod/bakkesmod/plugins').replace('\\', '/') idkk

ripe slate
#

I think we might need a couple more people to see if my computer is different than others

golden relic
#

And what if we have identical computers? ||/s||

ripe slate
#

sheesh yall brothers?

#

@astral patio do you have \AppData\Roaming\bakkesmod\bakkesmod\data\rcon_commands.cfg?

Does it have rcon_refresh_allowed and load_workshop in it?

astral patio
#

yess

#

to all of them

golden relic
#

So I have bakkesmod and rocket league now open. Do I now only need the last 2 AMMwatcher parts or also the first 4?

astral patio
#

randommaps.cfg the hell is this

golden relic
#

I think that is a bakkesmod configuration file

astral patio
#

i think just the 4 should be fine

#

if that doesn t load ur level then download the last 2

ripe slate
astral patio
#

a little monitoring

golden relic
#

Yeah it works. Great addition that it loads the map with bakkesmod

ripe slate
#

lol i owe the credit to @pure terrace

pure terrace
#

I did nothing lol, I just pointed you to the right direction

ripe slate
#

exactly

#

dope idea

#

no clue why countrymo isnt working though

astral patio
#

It is

astral patio
ripe slate
#

Bro I never noticed you said it was working lol. Really though that doesn’t make any sense because mines set to steam but I use epic and my app doesn’t use that file at all… I was just curious if somehow your rcon ip was different. So weird

astral patio
#

Idk lol it worked after I changed that😂 great job btw, will definitely use it a lotpeepolove

ripe slate
#

Aww thanks mate

#

Making me feel special

astral patio
#

I bet no one mows the lawn like you do

ripe slate
astral patio
#

Damn looks fresh out of farming simulator lmao

ripe slate
#

hahahaha true dat. I don't have a huge lot (.25 acres in american) but i got lots of trees and hills so the ole push mower would take 2+ hours i can get it done in 45 mins or less with this bad boy

astral patio
#

Lmao my man got acres, that's a Winnie the Pooh unity of measurement

#

Still 45 min that's quite impressive actually

ripe slate
#

Lmfao I have 1/4 of one acre my bad.

#

Winnie the Pooh was the shit

#

Eeyore is my spirit animal.

astral patio
#

lol tbf depending on the day we can see ourselves in one of the characters

#

I'm mostly Ih-Oh

#

that reminds be of that fantastic game of winnie the pooh where I was Tigro and had to collect all the honey, that was an incredibly challenging game

ripe slate
#

Lmfao never heard of it

low path
#

@ripe slate getting some errors:

ripe slate
#

oh weird shouldnt be looking for amm.py might have sent the wrong version

ripe slate
#

oh i see for some reason it didnt write the csv file. maybe try running as admin

low path
#

Ok it looks like its working now! Whats the optimal workflow for this? Im used to using the bat script to copy over utopia retro, but this seems like it just takes the file name and changes the extension to upk. Im assuming I should be using the bakkes mod map loader in this case?

ripe slate
#

It makes a back up, puts a new copy of UPK, then launches it in rl if rl is open

#

As soon as you hit save in udk it runs

low path
ripe slate
#

That’s a great question I would assume cookedpc or cookedpc/mods. But I’m wondering if it’s possible to have it anywhere now that you ask.

low path
#

alright i have it in the mods folder it seems like everything is working great. Great job @ripe slate . Although it unfortunately didnt fix my problem. Im still getting the original issue I wrote in about where I dont see changes until I close RL and re-open. super frustrating cause it just starting doing this outta nowhere. Cant think of much that has changed in the last month... maybe its a windows 11 thing??

ripe slate
#

That is so weird

#

And thank you

low path
#

really excited to use this once I get my shit figured out!

ripe slate
#

Me too!

pure terrace
#

Just tried it and it works perfect for me 👌