gabefraser / ttoffline-launcher-go

Toontown Offline Launcher rewritten in Go
2 stars 0 forks source link

Launcher crashes after downloading a phase file #1

Closed 2Epik4u closed 2 years ago

2Epik4u commented 2 years ago

Every time a phase file finishes downloading, I get this error.

Checking for game update...
Downloading phase_5.5.mf... 14 MB completee
panic: remove resources/default/phase_5.5.mf: no such file or directory

goroutine 1 [running]:
toontown-offline-launcher/patcher.decompressBzip2(0xc000172960, 0x22, 0xc000026440, 0x1e)
    /github/workspace/patcher/patcher.go:163 +0xfb
toontown-offline-launcher/patcher.downloadFile(0xc000430472, 0xc, 0xc0004306e0, 0x20, 0xc0004306c0, 0x11, 0x0, 0x0)
    /github/workspace/patcher/patcher.go:148 +0x4a4
toontown-offline-launcher/patcher.PatchFiles()
    /github/workspace/patcher/patcher.go:33 +0x287
main.main()
    /github/workspace/main.go:11 +0x27
gabefraser commented 2 years ago

Thanks mate. Fixed in release-v1.0.9.