Skip to content

Instantly share code, notes, and snippets.

View theraphim's full-sized avatar

Paul Komkoff theraphim

View GitHub Profile
import com.twitter.util.{Future => TwFuture}
import scala.concurrent.{Future => ScFuture, promise => ScPromise}
implicit def twFutureToScala[T](twFuture: TwFuture[T]): ScFuture[T] = {
val prom = ScPromise[T]
twFuture.onSuccess { res: T =>
prom.success(res)
}
twFuture.onFailure { t: Throwable =>
prom.failure(t)
}
@l1x
l1x / wizardry_8_save_game.txt
Created August 6, 2013 00:25
Wizardry 8 sav files
WIZARDRY 8 HEX-EDIT
By Zyvr (zyvrmaccom)
Steps:
1.Open your save file (/save/*.sav) with a hex-editor.
2.Locate the nick-name of your character.
3.The order of characters' attributes in the .sav is L1-R1-L2-R2-L3-R3.
Each charater takes 1866 bytes.
4.See below for the positions for the attributes. Take the byte which
represents the first letter of the nick name as relative byte 0000.