PDA

View Full Version : yay updates :)


Shish
2005-02-20, 17:41
I'm actually more of a programmer than I am an anime fan, so I found it very interesting -- I always seem to enjoy behind the scenes documentaries more than movies... but to get to the point - any chance of your tools / documentation / source code being downloadable anywhere? And would you accept patches, or rather do everything yourself so you know where it all is?

Haeleth
2005-02-21, 04:31
Yes, I'm going to release things publicly (and as open source, of course) when they reach a suitable stage. In the case of my RealLive tools, that shouldn't be too long now. I doubt I'll get many patches when I do, though. Not that many other OCaml users in the game-hacking community. ;)

If people really are interested in this stuff, I might even update more often... ^^

zalas
2005-02-21, 04:46
You know... one of my coworkers wrote part of documentation build system in OCaml (well, the xml file finder). Python has some nice ML-ish features, but I really miss currying :(

mansal
2005-02-21, 06:50
Umm.. that update wasn't dull at all. It's great to hear where you are in your work. Seriously, very very seriously! I'm not saying you should pay so much attention to the front page as to make it a burden, but an update now and then is just awesome!

JudicatorOmega
2005-02-21, 15:11
I'm interested in that kind of stuff as well... Since I want to learn to be a programmer/coder/whatever after I finish high school (currently a senior).

Go ahead and post whatever stuff even if you don't think much people will "understand" what it is.

Misu
2005-02-21, 15:17
I second that, I find programming updates fasincating, it lets us see where some of your insanity is going XD, and as a junior programmer, its quite fun to look at and try to understand ^^.

adun50
2005-02-21, 16:24
yeah, all your comments on your programming is quite interesting. since I do programming at uni so its all good for me.

Slipgate
2005-02-21, 20:22
What the hell, I'll throw my hat in with this as well.

On that note, my friend who I always talk about and who is watching Air with me finds your code a lot more reasonable and simple than what some of the TAs give us here :).

Slipgate

Haeleth
2005-02-22, 03:58
my friend who I always talk about and who is watching Air with me finds your code a lot more reasonable and simple than what some of the TAs give us here :)
Obviously someone with FORTRAN experience. ;)

Well, sounds like my attempt to bore people failed. I guess I'll have to try harder next time. :p

gp32
2005-02-22, 05:28
Well, sounds like my attempt to bore people failed. I guess I'll have to try harder next time. :p
Naaah, all you have to do the next time around is write your update in Esperanto ... as it has been demonstrated to us in other threads here that ROT13 won't be sufficiently mystifying :p

Aldareon
2005-02-24, 14:56
Naaah, all you have to do the next time around is write your update in Esperanto ... as it has been demonstrated to us in other threads here that ROT13 won't be sufficiently mystifying :p
Esperanto? I thought that was a "universal" language?

The code looked close to something like BASIC, what with the goto commands. I guess if you really wanted to bore people, you could try showing the bytecode or the MIPS commands. I like writing in MIPS .. gives you the feeling that you are programming the actual hardware ^_^

Haeleth
2005-02-24, 15:06
Well, that was the RealLive equivalent of MIPS assembler. That's about as close to the virtual hardware as you can get and stay human-readable.

Still, if you want bytecode...
000001d0h: 40 00 00 0A 08 00 23 01 04 E8 03 02 ; @.....#..・.
000001e0h: 00 01 28 24 FF 00 00 00 00 24 FF 05 00 00 00 29 ; ..($....$....)
000001f0h: 24 01 5B 24 FF 00 00 00 00 5D 5C 1E 24 C8 0A 09 ; $.[$....]\.$ネ..
00000200h: 00 23 01 0A 64 00 01 00 01 28 24 01 5B 24 FF 00 ; .#..d....($.[$.
00000210h: 00 00 00 5D 29 0A 0A 00 23 00 03 C9 00 00 00 00 ; ...])...#..ノ....
00000220h: 0A 0B 00 23 00 01 04 00 05 00 00 28 24 01 5B 24 ; ...#.......($.[$
00000230h: FF 00 00 00 00 5D 29 7B 28 24 FF 00 00 00 00 29 ; ....]){($....)
00000240h: 9B 00 00 00 28 24 FF 02 00 00 00 29 BC 00 00 00 ; ・..($....)シ...
00000250h: 28 24 FF 03 00 00 00 29 DD 00 00 00 28 24 FF 04 ; ($....)ン...($.
00000260h: 00 00 00 29 F2 00 00 00 28 29 13 01 00 00 7D 0A ; ...)・..()....}.
00000270h: 0D 00 24 01 5B 24 FF 00 00 00 00 5D 5C 1E 24 FF ; ..$.[$....]\.$
00000280h: 64 00 00 00 23 00 01 00 00 00 00 00 13 01 00 00 ; d...#...........
00000290h: 0A 11 00 24 01 5B 24 FF 00 00 00 00 5D 5C 1E 24 ; ...$.[$....]\.$
000002a0h: FF C8 00 00 00 ; ネ...
(That's the opening part of an infinite loop containing a <tt>case</tt> block - you can see the <tt>goto_case</tt> function that the latter block compiles to running from 0x223 to 0x26e, but there's no sign of the loop because it's been optimised away.)

Aldareon
2005-02-24, 20:32
Success! That was very uninteresting. I hate bytecode. You got me bored with that one ^_^

Just wondering - are you using UltraEdit as your editor? The layout just looked familiar. Then again, I guess all other editors lay things out the same way.

Haeleth
2005-02-25, 04:12
*breathes a sigh of relief*

For a moment I thought I was going to have to go all the way to compiler error messages. :p

(Yep, that's UltraEdit. Buggy as hell, but for what I do, the convenience of being able to switch between text and hex that conveniently makes it invaluable.)

2005-02-28, 01:23
a bit off topic, but I am wondering if you know anything about cracking open archive format files. Like the .RIO used in KgNE

Shish
2005-02-28, 04:35
For a moment I thought I was going to have to go all the way to compiler error messages. :p

I'm not bored yet ;_;

Haeleth
2005-02-28, 05:28
a bit off topic, but I am wondering if you know anything about cracking open archive format files. Like the .RIO used in KgNE
Not a lot. For KgNE in particular, you could try http://www.haun.org/susie/. (I don't have the game, so I don't know how well that one works.)

I'm not bored yet ;_;
Oooh, that was a dangerous thing to say.

Slipgate
2005-02-28, 07:36
I would think compiler error messages would frustrate, rather than bore, you.

Slipgate

2005-02-28, 09:32
a bit off topic, but I am wondering if you know anything about cracking open archive format files. Like the .RIO used in KgNE
Not a lot. For KgNE in particular, you could try http://www.haun.org/susie/. (I don't have the game, so I don't know how well that one works.)


I tried Susie already, the plug-in for the .RIO format only works on the games using the older version. KgNE uses a new version which is not compatible.

Thanks though

HIGHWAY99
2005-02-28, 12:30
Still not bored. :p
So try giving the error messages a try.

JudicatorOmega
2005-02-28, 16:50
Its not really a feeling of boredom as it is a feeling of confusion.

Haeleth
2005-02-28, 17:05
You asked for it:
File "expr.ml", line 256, characters 65-66&#58;
This expression has type
&#91;< `AndOr of 'b * 'a * 'c * 'a
| `ExFunc of 'd
| `Func of KeTypes.location * 'e * 'f * 'g
| `FuncCall of 'h * 'a * 'i * 'j * 'k
| `IStr of KeTypes.location * 'l DynArray.t
| `IVar of KeTypes.location * int * 'a
| `Int of KeTypes.location * int32
| `LogOp of 'm * 'a * 'n * 'a
| `Op of KeTypes.location * 'a * KeAst.arith_op * 'a
| `Parens of 'a
| `Res of 'o
| `SChain of 'p * 'q list
| `SVar of KeTypes.location * int * 'a
| `Store of KeTypes.location * KeTypes.location
| `Unary of
&#40;KeTypes.location * KeTypes.location&#41; * &#91;> `Sub &#93; *
&#40;&#91;< `AndOr of &#40;KeTypes.location * KeTypes.location&#41; * 't * 'u * 'v
| `ExFunc of &#40;KeTypes.location * KeTypes.location&#41; * 'w
| `Func of KeTypes.location * 'x * 'y * 'z
| `FuncCall of
&#40;KeTypes.location * KeTypes.location&#41; * 'a1 * 'b1 * 'c1 * 'd1
| `IStr of &#40;KeTypes.location * KeTypes.location&#41; * 'e1
| `IVar of &#40;KeTypes.location * KeTypes.location&#41; * 'f1 * 'g1
| `Int of &#40;KeTypes.location * KeTypes.location&#41; * 'h1
| `LogOp of &#40;KeTypes.location * KeTypes.location&#41; * 'i1 * 'j1 * 'k1
| `Op of &#40;KeTypes.location * KeTypes.location&#41; * 'l1 * 'm1 * 'n1
| `Parens of 's
| `Res of &#40;KeTypes.location * KeTypes.location&#41; * 'o1
| `SChain of &#40;KeTypes.location * KeTypes.location&#41; * 'p1
| `SVar of &#40;KeTypes.location * KeTypes.location&#41; * 'q1 * 'r1
| `Store of KeTypes.location * KeTypes.location
| `Unary of 'r
> `Store `Unary &#93;
as 's&#41;
as 'r
> `AndOr `ExFunc `IStr `IVar `Int `LogOp `Op `Parens `SChain `SVar `Store
`Unary &#93;
as 'a
but is here used with type 's
Types for tag `SVar are incompatible

Okay, maybe I'll stop trying to bore people now, it's getting boring. ;)

And I even have a couple of ideas for posts that might potentially be interesting, which strikes me as a far more interesting idea.