11a10318 / WizWadWiz

5 stars 1 forks source link

Out of Memory Exception on repacking W101 root wad #2

Open Valla-Chan opened 1 month ago

Valla-Chan commented 1 month ago

After extracting W101's root.wad archive to a folder, I'm getting the error "Unhandled Exception: OutOfMemoryException" when trying to repack it via www.exe root.wad -c "[folderpath]"

I haven't changed any of the files inside it.

Valla-Chan commented 1 month ago

ah, an update to this: I'm getting the same error on trying to repack an extracted WizardCity-WorldData.wad as well, this time after the stage "offsets fixed". Is there something i am missing?

11a10318 commented 1 month ago

Hello! The thing you’re missing is that this is some poorly written abandonware from 5 years ago. I have no idea if the wad format changed at any point, as I haven’t been involved in the kingsisle ‘scene’ for years.
What I do know is that this program stupidly loads all the wad contents into memory at once, so if the extracted wad contents are larger than the .net memory limit (about 2gb I think), it’ll crash. You can increase the memory limit by setting the build target to 64bit in visual studio. I don’t intend to work on this or any other kingsisle-related projects. I’ve moved on from it all, this is just here for archival purposes.

On Sat, Aug 3, 2024 at 12:47 pm, Allison Ghost @.***> wrote: ah, an update to this: I'm getting the same error on trying to repack an extracted WizardCity-WorldData.wad as well. Is there something i am missing?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Valla-Chan commented 1 month ago

ah, gotcha, i appreciate the response nontheless.