darkside1222
Smash Cadet
- Joined
- Apr 22, 2010
- Messages
- 31
Please try the newer version that I posted above if u haven't (https://www.dropbox.com/s/tzqptgc3ie93djj/Crazy Hand Tater.zip?dl=0). I'm currently looking into other ways of optimizing and your option that u suggested will be considered but not until I try other things.I tried increasing the allocated size in every combination of 512,1024, and 1600(Highest value I could get where the program still ran) and got an OutOfMemoryError every time.
The exact error I get is:
java.io.IOException: Map failed
at sun.nio.ch.FileChannelImpl.map(Unknown Source)
at isotool.filesystem.ISOFileSystem.setFileData(ISOFileSystem.java:48)
at isotool.filesystem.ISOFileSystem.<init>(ISOFileSystem.java:32)
at isotool.filesystem.ISOFile.createRootFolders(ISOFile.java:86)
at isotool.filesystem.ISOFile.readSectors(ISOFile.java:77)
at isotool.filesystem.ISOFile.<init>(ISOFile.java:35)
at com.FileIO.loadISOFile(FileIO.java:82)
at com.MeleeEdit.main(MeleeEdit.java:430)
Caused by: java.lang.OutOfMemoryError: Map failed
at sun.nio.ch.FileChannelImpl.map0(Native Method)
... 8 more
Since we're caching each fighter file anyways, I think it might be a good idea to extract copies of fighter data to a folder when loading the ISO instead of caching them in the program itself. You could then use CrazyHand to edit the extracted fighter files, and then write changes from those files to the ISO.
I wouldn't suggest such a roundabout method of editing files except if I'm getting these errors I assume some other users will as well.
Thoughts or opinions on this?
Last edited: