ata4 / bspsrc

A Source engine map decompiler
Other
688 stars 87 forks source link

map failed to compile #10

Open Jds1234 opened 10 years ago

Jds1234 commented 10 years ago

log error:

[info] Loading Z:\BackedUpStuff\SteamStuff\maps(any)\hl2maps\rp_mecklenburg.bsp [error] BspSource: Can't load Z:\BackedUpStuff\SteamStuff\maps(any)\hl2maps\rp_mecklenburg.bsp, caused by java.io.IOException: Map failed at sun.nio.ch.FileChannelImpl.map(Unknown Source) at info.ata4.io.buffer.ByteBufferUtils.openReadOnly(ByteBufferUtils.java:136) at info.ata4.io.buffer.ByteBufferUtils.openReadOnly(ByteBufferUtils.java:150) at info.ata4.bsplib.BspFile.createBuffer(BspFile.java:214) at info.ata4.bsplib.BspFile.load(BspFile.java:116) at info.ata4.bsplib.BspFile.load(BspFile.java:178) at info.ata4.bspsrc.BspSource.decompile(BspSource.java:98) at info.ata4.bspsrc.BspSource.run(BspSource.java:67) at info.ata4.bspsrc.gui.BspSourceFrame$5.run(BspSourceFrame.java:361) Caused by: java.lang.OutOfMemoryError: Map failed at sun.nio.ch.FileChannelImpl.map0(Native Method) ... 9 more

[info] Processed 1 file(s) in 0.2050 seconds

link to map:

https://www.dropbox.com/s/e3yu41rtfpvd4uj/rp_mecklenburg.bsp?dl=0

Jds1234 commented 10 years ago

i remember previous versions of bspsource were able to decompile this map...

ata4 commented 10 years ago

Do you have a 32 bit system, or a 32 bit Java installation? I've seen similar reports with the memory mapping issue in Java before. Normally, it should support files up to 2 GB in size, but this doesn't seem to be the case on 32 bit systems for some reason. If you have a 64 bit operating system, I'd strongly suggest to also install Java for 64 bit systems.

Jds1234 commented 10 years ago

i installed both 32-bit & 64-bit, yesterday, after i had an alert to update to jave 8 update 25

Jds1234 commented 10 years ago

i just installed java 64-bit only, and it now seems to decompiling it ok without errors...seems to be a bug installing 32 & 64-bit, on a win 7 professional 64-bit system, would it make any difference which version normally??

xhalo32 commented 8 years ago

i have the same problem.

xhalo32 commented 8 years ago

i was able to decompile maps earlier but not anymore?

fakelag28 commented 2 years ago

Eng: If you are still experiencing this problem, please completely reinstall Java and BSPDecompile Ru: Если вы ещё сталкиваетесь с этой проблемой, полностью переустановите Java и BSPDecompile