Crash on Linux AMD64

3 replies [Last post]
anr
Joined: 02/21/2009

Hullo,

I'm trying to convert my PPC Mac pers2.dat to Linux, but gootool is crashing.

Log info below.

Thanks,

--
Adriano

Feb 21, 2009 9:26:48 PM com.goofans.gootool.GooTool main
INFO: Launching gootool 0.10.2.222
Feb 21, 2009 9:26:48 PM com.goofans.gootool.GooTool main
INFO: Java version 1.6.0_10 from Sun Microsystems Inc. in /usr/lib/jvm/java-6-sun-1.6.0.10/jre
Feb 21, 2009 9:26:48 PM com.goofans.gootool.GooTool main
INFO: OS Linux version 2.6.27-11-generic on amd64
Feb 21, 2009 9:26:49 PM com.goofans.gootool.r a
INFO: Found World of Goo at stored location of "/usr/local/WorldOfGoo" at: /usr/local/WorldOfGoo
Feb 21, 2009 9:26:49 PM com.goofans.gootool.T run
SEVERE: runTask com.goofans.gootool.at threw exception
org.bouncycastle.crypto.DataLengthException: data not block size aligned
at org.bouncycastle.crypto.BufferedBlockCipher.doFinal(BufferedBlockCipher.java:293)
at com.goofans.gootool.aA.a(SourceFile:77)
at com.goofans.gootool.aA.a(SourceFile:50)
at com.goofans.gootool.bc.b(SourceFile:62)
at com.goofans.gootool.W.(SourceFile:30)
at com.goofans.gootool.Z.a(SourceFile:67)
at com.goofans.gootool.Z.a(SourceFile:50)
at com.goofans.gootool.at.a(SourceFile:39)
at com.goofans.gootool.T.run(SourceFile:88)
Feb 21, 2009 9:26:49 PM com.goofans.gootool.GooTool main
SEVERE: Uncaught exception

anr
Joined: 02/21/2009

Ah, silly me. You have to do it thru the website, it worked.

Hmm, great game, but I wonder if it would be hard to make a {little,big}-endian-portable profile...

Thanks,

--
Adriano

Joined: 11/04/2008

Actually it's not endianness, the encryption method is completely different between platforms (it's AES on Windows/Linux and simple rotating XOR on Mac). This is a tradeoff 2dboy said they made so that the Mac version could support both PPC and Intel Macs.

Complicated AES encryption (Windows/Linux)
Trivial XOR "encryption" (Mac)

I doubt 2dboy would have bothered with encryption in the first place if they knew how quickly it would be cracked and how useful modding would be to their game.

-davidc

anr
Joined: 02/21/2009

Ah, interesting. Thanks for the pointers!

--
Adriano