#Debug launcher is not working after latest release (26 apr 2025)

1 messages · Page 1 of 1 (latest)

velvet light
#

Seems that someone has hardcoded something, please check

Exe path C:\Program Files\Beyond-All-Reason cwd C:\Program Files\Beyond-All-Reason
Setting path to C:\Program Files\Beyond-All-Reason
Traceback (most recent call last):
  File "BAR_Debug_Launcher.py", line 44, in <module>
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:/Users/Peti/AppData/Local/Programs/Beyond-All-Reason'
[7272] Failed to execute script 'BAR_Debug_Launcher' due to unhandled exception!```
wheat mountain
#

I wonder, who is Peti

velvet light
#

not me, I also do not have such user on my pc

untold hawk
#

Well, no wonder it can't find it emocoffee

#
#DEBUGGINGS
sys.argv.append("C:/Users/Peti/AppData/Local/Programs/Beyond-All-Reason/2025-01-18_17-59-17-091_Supreme Isthmus Winter v1.8_2025.01.3.sdfz")
barinstallpath = "C:/Users/Peti/AppData/Local/Programs/Beyond-All-Reason"
os.chdir(barinstallpath)
```![pepehmm](https://cdn.discordapp.com/emojis/969578001618579516.webp?size=128 "pepehmm")
#

@graceful granite was that supposed to get uncommented in the last commit?

graceful granite
#

Lol why that's a me!

graceful granite
#

@velvet light

untold hawk
#

what's the 9 for?

#
  File "BAR_Debug_Launcher.py", line 44, in <module>
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:/Users/Peti/AppData/Local/Programs/Beyond-All-Reason'
[13452] Failed to execute script 'BAR_Debug_Launcher' due to unhandled exception!```
#

same thing as above

graceful granite
#

dafuw

#

oh i couldnt push

#

goddam gh desktop

untold hawk
#

launched a replay

#

so the path problem is gone

#

should I test the engine recognition and/or download?

graceful granite
untold hawk
#

NuttyWombat did and the unzip failed for him, I'll try shortly

#
ERROR: engine.2025.04.01.7z
engine.2025.04.01.7z
Open ERROR: Can not open the file as [7z] archive


ERRORS:
Is not archive

Can't open as archive: 1
Files: 0
Size:       0
Compressed: 0
ERROR: 7z.exe failed to extract engine archive engine.2025.04.01.7z with return code 2 using command "C:\Program Files\7-Zip\7z.exe" x -y -oC:\Games\BaR\Beyond-All-Reason\data\engine\rel2504.2025.04.01 engine.2025.04.01.7z
Terminating:```
#

it's also still looking for rel2504.2025.04.01 instead of recoil_2025.04.01

graceful granite
#

hmmm

#

did it dl the file "engine.2025.04.01.7z"? @untold hawk

untold hawk
#

I don't think so, actually?

#

it used to download them, but I can't see it anywhere

#
https://github.com/beyond-all-reason/spring/releases/download/2025.04.01/spring_bar_.rel2504.2025.04.01_windows-64-minimal-portable.7z
"C:\Program Files\7-Zip\7z.exe" x -y -oC:\Games\BaR\Beyond-All-Reason\data\engine\rel2504.2025.04.01 engine.2025.04.01.7z```
graceful granite
#

ah the path is bad again

untold hawk
#

nevermind it did download it, was looking in the wrong place

#

C:\Games\BaR\Beyond-All-Reason in my case

#

yeah, looks like a path problem

graceful granite
# untold hawk

nah thats too small of a file, gotta be an upstream problem

untold hawk
#

you're right pepeyep

#

the link is https://github.com/beyond-all-reason/spring/releases/download/2025.04.01/spring_bar_.rel2504.2025.04.01_windows-64-minimal-portable.7z

#

are you running into the name problem again?

graceful granite
#

running into me being lazy, please try again

untold hawk
#

it launched :o

#

ok, but I think it keeps re-downloading the engine every time pepehmm

#

oh I see

#

Engine rel2504.2025.04.01\spring.exe not found in known engines it's still looking for this

#

but extracts into the correct folder

#

so it will keep re-downloading the engine on every launch

#
https://github.com/beyond-all-reason/spring/releases/download/spring_bar_%7BBAR105%7D105.1.1-2577-g77272e9/spring_bar_.BAR105.105.1.1-2577-g77272e9_windows-64-minimal-portable.7z
Failed to extract engine archive engine.105.1.1-2577-g77272e9.7z (b'\x03\x03\x01\x1b', 'BCJ2 filter is not supported by py7zr. Please consider to contribute to XZ/liblzma project and help Python core team implementing it. Or please use another tool to extract it.')
Terminating:```
and an older engine version didn't work
#

for some reason it defaulted back to unzipping it with python peepoShrug

#

I'm gone for now, will come back to this tomorrow if needed

graceful granite
wispy pendant
graceful granite