XKobo?

Hi!

I just happened to find the incredibly addictive game ‘XKobo’ on the
Mandrake 8.0 distro. I quickly realized that fullscreen support,
(digital) joystick support, sound effects and maybe some transition
effects and other chrome could make this game a perfect retro gaming hit!

Now I’m looking for the author, Akira Higuchi, newer versions (anyone
seen a newer one than 1.9?), ports etc.

In particular, I’m wondering if anyone have considered porting it to SDL,
or maybe already done it? If not; anyone interested in helping out?

Anyway, download! :slight_smile: (If you have some Un*x-like OS and X, that is.)

http://happypenguin.org/show?XKobo

(The following patch may help with modern, “picky” compilers.)

—8<---------------------------------------------------------------------
diff -u xkobo-1.9/file.C xkobo-1.9-fixed/file.C
— xkobo-1.9/file.C Sat Apr 6 00:18:26 1996
+++ xkobo-1.9-fixed/file.C Thu Aug 16 17:47:25 2001
@@ -29,8 +29,9 @@
#include <errno.h>
}

-int load_block(char *file_name, void *t, int len)
+int load_block(char *file_name, void *_t, int len)
{

  • char *t = (char *)_t;
    int i, fd, ret = len;

    fd = open(file_name, O_RDONLY, 0);
    @@ -51,8 +52,9 @@
    return ret;
    }

-int save_block(char *file_name, void *t, int len)
+int save_block(char *file_name, void *_t, int len)
{

  • char *t = (char *)_t;
    int i, fd, ret = len;

    fd = creat(file_name, 0644);
    diff -u xkobo-1.9/map.h xkobo-1.9-fixed/map.h
    — xkobo-1.9/map.h Wed Apr 3 23:58:52 1996
    +++ xkobo-1.9-fixed/map.h Thu Aug 16 17:44:43 2001
    @@ -38,10 +38,10 @@
    #define HIT_MASK (CORE | U_MASK | R_MASK | D_MASK | L_MASK)

class _map{

  • const int sx_log2 = MAP_SIZEX_LOG2;
  • const int sy_log2 = MAP_SIZEY_LOG2;
  • const int sx = 1 << sx_log2;
  • const int sy = 1 << sy_log2;
  • static const int sx_log2 = MAP_SIZEX_LOG2;
  • static const int sy_log2 = MAP_SIZEY_LOG2;
  • static const int sx = 1 << sx_log2;
  • static const int sy = 1 << sy_log2;
    int sitex[SITE_MAX];
    int sitey[SITE_MAX];
    int site_max;
    diff -u xkobo-1.9/xkobo.C xkobo-1.9-fixed/xkobo.C
    — xkobo-1.9/xkobo.C Sat Apr 6 04:17:24 1996
    +++ xkobo-1.9-fixed/xkobo.C Thu Aug 16 17:43:25 2001
    @@ -51,7 +51,7 @@

static int signal_delivered = 1;

-static void sig_handle(…)
+static void sig_handle(int)
{
signal_delivered = 1;
}
--------------------------------------------------------------------->8—

//David Olofson — Programmer, Reologica Instruments AB

.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
----------------------------> http://www.linuxdj.com/maia -' .- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter |--------------------------------------> david at linuxdj.com -’

In particular, I’m wondering if anyone have considered porting it
to SDL, or maybe already done it? If not; anyone interested in
helping out?
mhh… i am not sure i can’t help (the classical problem of self numerous
project)
but i am very interested if you do a win32/SDL port…
so please, keep me in touch.

Yeah!

I had the same idea since xkobo is a fantastic game. I tried to contact the
author approx 4 month ago, but no luck at all.

I started the port, but did not get far (ran out of time). If you want I can
help if you have time to drive the project.

/Thomas> ----- Original Message -----

From: david.olofson@reologica.se (David Olofson)
To:
Sent: Thursday, August 16, 2001 6:10 PM
Subject: [SDL] XKobo?

Hi!

I just happened to find the incredibly addictive game ‘XKobo’ on the
Mandrake 8.0 distro. I quickly realized that fullscreen support,
(digital) joystick support, sound effects and maybe some transition
effects and other chrome could make this game a perfect retro gaming hit!

Now I’m looking for the author, Akira Higuchi, newer versions (anyone
seen a newer one than 1.9?), ports etc.

In particular, I’m wondering if anyone have considered porting it to SDL,
or maybe already done it? If not; anyone interested in helping out?

Anyway, download! :slight_smile: (If you have some Un*x-like OS and X, that is.)

http://happypenguin.org/show?XKobo

(The following patch may help with modern, “picky” compilers.)

—8<---------------------------------------------------------------------
diff -u xkobo-1.9/file.C xkobo-1.9-fixed/file.C
— xkobo-1.9/file.C Sat Apr 6 00:18:26 1996
+++ xkobo-1.9-fixed/file.C Thu Aug 16 17:47:25 2001
@@ -29,8 +29,9 @@
#include <errno.h>
}

-int load_block(char *file_name, void *t, int len)
+int load_block(char *file_name, void *_t, int len)
{

  • char *t = (char *)_t;
    int i, fd, ret = len;

    fd = open(file_name, O_RDONLY, 0);
    @@ -51,8 +52,9 @@
    return ret;
    }

-int save_block(char *file_name, void *t, int len)
+int save_block(char *file_name, void *_t, int len)
{

  • char *t = (char *)_t;
    int i, fd, ret = len;

    fd = creat(file_name, 0644);
    diff -u xkobo-1.9/map.h xkobo-1.9-fixed/map.h
    — xkobo-1.9/map.h Wed Apr 3 23:58:52 1996
    +++ xkobo-1.9-fixed/map.h Thu Aug 16 17:44:43 2001
    @@ -38,10 +38,10 @@
    #define HIT_MASK (CORE | U_MASK | R_MASK | D_MASK | L_MASK)

class _map{

  • const int sx_log2 = MAP_SIZEX_LOG2;
  • const int sy_log2 = MAP_SIZEY_LOG2;
  • const int sx = 1 << sx_log2;
  • const int sy = 1 << sy_log2;
  • static const int sx_log2 = MAP_SIZEX_LOG2;
  • static const int sy_log2 = MAP_SIZEY_LOG2;
  • static const int sx = 1 << sx_log2;
  • static const int sy = 1 << sy_log2;
    int sitex[SITE_MAX];
    int sitey[SITE_MAX];
    int site_max;
    diff -u xkobo-1.9/xkobo.C xkobo-1.9-fixed/xkobo.C
    — xkobo-1.9/xkobo.C Sat Apr 6 04:17:24 1996
    +++ xkobo-1.9-fixed/xkobo.C Thu Aug 16 17:43:25 2001
    @@ -51,7 +51,7 @@

static int signal_delivered = 1;

-static void sig_handle(…)
+static void sig_handle(int)
{
signal_delivered = 1;
}
--------------------------------------------------------------------->8—

//David Olofson — Programmer, Reologica Instruments AB

.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
----------------------------> http://www.linuxdj.com/maia -' .- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter |--------------------------------------> david at linuxdj.com -’


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Yeah!

I had the same idea since xkobo is a fantastic game. I tried to contact the
author approx 4 month ago, but no luck at all.

I started the port, but did not get far (ran out of time). If you want I can
help if you have time to drive the project.

/Thomas> ----- Original Message -----

From: david.olofson@reologica.se (David Olofson)
To:
Sent: Thursday, August 16, 2001 6:10 PM
Subject: [SDL] XKobo?

Hi!

I just happened to find the incredibly addictive game ‘XKobo’ on the
Mandrake 8.0 distro. I quickly realized that fullscreen support,
(digital) joystick support, sound effects and maybe some transition
effects and other chrome could make this game a perfect retro gaming hit!

Now I’m looking for the author, Akira Higuchi, newer versions (anyone
seen a newer one than 1.9?), ports etc.

In particular, I’m wondering if anyone have considered porting it to SDL,
or maybe already done it? If not; anyone interested in helping out?

Anyway, download! :slight_smile: (If you have some Un*x-like OS and X, that is.)

http://happypenguin.org/show?XKobo

(The following patch may help with modern, “picky” compilers.)

—8<---------------------------------------------------------------------
diff -u xkobo-1.9/file.C xkobo-1.9-fixed/file.C
— xkobo-1.9/file.C Sat Apr 6 00:18:26 1996
+++ xkobo-1.9-fixed/file.C Thu Aug 16 17:47:25 2001
@@ -29,8 +29,9 @@
#include <errno.h>
}

-int load_block(char *file_name, void *t, int len)
+int load_block(char *file_name, void *_t, int len)
{

  • char *t = (char *)_t;
    int i, fd, ret = len;

    fd = open(file_name, O_RDONLY, 0);
    @@ -51,8 +52,9 @@
    return ret;
    }

-int save_block(char *file_name, void *t, int len)
+int save_block(char *file_name, void *_t, int len)
{

  • char *t = (char *)_t;
    int i, fd, ret = len;

    fd = creat(file_name, 0644);
    diff -u xkobo-1.9/map.h xkobo-1.9-fixed/map.h
    — xkobo-1.9/map.h Wed Apr 3 23:58:52 1996
    +++ xkobo-1.9-fixed/map.h Thu Aug 16 17:44:43 2001
    @@ -38,10 +38,10 @@
    #define HIT_MASK (CORE | U_MASK | R_MASK | D_MASK | L_MASK)

class _map{

  • const int sx_log2 = MAP_SIZEX_LOG2;
  • const int sy_log2 = MAP_SIZEY_LOG2;
  • const int sx = 1 << sx_log2;
  • const int sy = 1 << sy_log2;
  • static const int sx_log2 = MAP_SIZEX_LOG2;
  • static const int sy_log2 = MAP_SIZEY_LOG2;
  • static const int sx = 1 << sx_log2;
  • static const int sy = 1 << sy_log2;
    int sitex[SITE_MAX];
    int sitey[SITE_MAX];
    int site_max;
    diff -u xkobo-1.9/xkobo.C xkobo-1.9-fixed/xkobo.C
    — xkobo-1.9/xkobo.C Sat Apr 6 04:17:24 1996
    +++ xkobo-1.9-fixed/xkobo.C Thu Aug 16 17:43:25 2001
    @@ -51,7 +51,7 @@

static int signal_delivered = 1;

-static void sig_handle(…)
+static void sig_handle(int)
{
signal_delivered = 1;
}
--------------------------------------------------------------------->8—

//David Olofson — Programmer, Reologica Instruments AB

.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
----------------------------> http://www.linuxdj.com/maia -' .- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter |--------------------------------------> david at linuxdj.com -’


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Yeah!

I had the same idea since xkobo is a fantastic game. I tried to contact
the author approx 4 month ago, but no luck at all.

Ok… I didn’t get a bounce, but no reply either. He’s probably not using
that account these days.

I started the port, but did not get far (ran out of time).

Do you have any code? Any major gotchas?

If you want
I can help if you have time to drive the project.

I don’t know about time… heh But then again, the game is already
running, and doesn’t seem to have too heavy dependencies on non-portable
stuff. A quick 1:1 port shouldn’t be too much work - it’s probably the
adding of sound effects and stuff that might take some time.

Anyway, I’ll have a closer look at the code and report back.

//David Olofson — Programmer, Reologica Instruments AB

.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
----------------------------> http://www.linuxdj.com/maia -' .- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter |--------------------------------------> david at linuxdj.com -'On Thursday 16 August 2001 21:58, Thomas Lund wrote:

I think I’ve managed to track down Mr. Akira Higuchi who wrote the
game. :slight_smile:

//David Olofson — Programmer, Reologica Instruments AB

.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
----------------------------> http://www.linuxdj.com/maia -' .- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter |--------------------------------------> david at linuxdj.com -’

Hey, check this out!

http://pcrc.hongik.ac.kr/~hatemogi/wkobo/wkobo_e.html

//David Olofson — Programmer, Reologica Instruments AB

.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
----------------------------> http://www.linuxdj.com/maia -' .- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter |--------------------------------------> david at linuxdj.com -’

David Olofson wrote:

Hey, check this out!

http://pcrc.hongik.ac.kr/~hatemogi/wkobo/wkobo_e.html

Cool, Ported to Windows using Delphi.
Maybe I will contact the author and see if he is interested in porting it to JEDI-SDL? That probably won’t help those of you in the C world, but us Object Pascal folk need all the examples we can get our hands on :-).

L8R,

Dominique.
http://www.DelphiGamer.com

David Olofson wrote:

Hey, check this out!

http://pcrc.hongik.ac.kr/~hatemogi/wkobo/wkobo_e.html

Cool, Ported to Windows using Delphi.

(Meanwhile, I’m just doing it the other way around with Project Spitfire.
:slight_smile:

Maybe I will contact the author and see if he is interested in porting
it to JEDI-SDL? That probably won’t help those of you in the C world,
but us Object Pascal folk need all the examples we can get our hands on
:-).

…and this one is lots of fun to play with - literally! :wink:

//David Olofson — Programmer, Reologica Instruments AB

.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
----------------------------> http://www.linuxdj.com/maia -' .- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter |--------------------------------------> david at linuxdj.com -'On Friday 17 August 2001 21:36, Dominique Louis wrote:

Hi David,

David Olofson wrote:

(Meanwhile, I’m just doing it the other way around with Project Spitfire.
:slight_smile:

Can I ask what Project Spitfire is? Do you have a link handy?

Thanks

Dominique
http://www.DelphiGamer.com

Hmm… Well, the only trace left on the web is the very old page at

http://home.swipnet.se/~w-58984/psf_e.html

which is about the original DOS version. Note that you probably have to
apply that Borland Pascal 7.0 RTL patch to run it on anything faster than
some 200 MHz. (I don’t think the binary is patched.)

(Note that most modern video cards don’t handle the original VGA hardware
scrolling feature too well. On a real VGA card, the game scrolls at a
rock solid, perfectly smooth 60 Hz.)

In short, it’s a sideways scrolling shooter inspired by Project-X,
Armalyte, Salamander and that kind of games. (I’m probably going to make
the gameplay of the new version more aggressive, in a Doom kind of way…
Bumping against walls, health points, some “immediate impact” weapons
etc.)

//David Olofson — Programmer, Reologica Instruments AB

.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
----------------------------> http://www.linuxdj.com/maia -' .- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter |--------------------------------------> david at linuxdj.com -'On Saturday 18 August 2001 00:14, Dominique Louis wrote:

Hi David,

David Olofson wrote:

(Meanwhile, I’m just doing it the other way around with Project
Spitfire.

:slight_smile:

Can I ask what Project Spitfire is? Do you have a link handy?

BTW, the parallax scrolling demos use some background grahpics from the
original version of the game. :slight_smile:

//David Olofson — Programmer, Reologica Instruments AB

.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
----------------------------> http://www.linuxdj.com/maia -' .- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter |--------------------------------------> david at linuxdj.com -'On Saturday 18 August 2001 00:14, Dominique Louis wrote:

Can I ask what Project Spitfire is? Do you have a link handy?

David Olofson wrote:

which is about the original DOS version. Note that you probably have to
apply that Borland Pascal 7.0 RTL patch to run it on anything faster than
some 200 MHz. (I don’t think the binary is patched.)

Doh! I can’t even get it to execute on Windows 2000 pro. Maybe this has
something to do with my 800Mhz CPU :(. Is that patch a Runtime patch or
a compile time patch?

L8R,

Dominique.

Yeah!

I had the same idea since xkobo is a fantastic game. I tried to contact
the author approx 4 month ago, but no luck at all.

Ok… I didn’t get a bounce, but no reply either. He’s probably not using
that account these days.

Same here - sent a couple of mails to him, but no reply or bounce -
nothing.

But hey - the code is free to use, so lets port it!

I started the port, but did not get far (ran out of time).

Do you have any code? Any major gotchas?

Nah - I did the “lets do it all at one time” trick and died with nothing
finished. Implementing stuff while porting and adding sound, new
graphics, cleaning up the code to my own liking etc. Typical programmer
mistakes :slight_smile:

If you want
I can help if you have time to drive the project.

I don’t know about time… heh But then again, the game is already
running, and doesn’t seem to have too heavy dependencies on non-portable
stuff. A quick 1:1 port shouldn’t be too much work - it’s probably the
adding of sound effects and stuff that might take some time.

Time - yeah. Always the problem. If we give it a shot then the roadmap
should definitely be

  1. Get the game ported as is
  2. Clean up code to our liking/style
  3. Add stuff like sound, new gfx, new levels

Anyway, I’ll have a closer look at the code and report back.

OK - will do the same.

Maybe we should move this off the SDL list?!?!?!?! Getting slightly off
topicOn 16 Aug 2001 23:20:07 +0200, David Olofson wrote:

On Thursday 16 August 2001 21:58, Thomas Lund wrote:

//David Olofson — Programmer, Reologica Instruments AB

.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
----------------------------> http://www.linuxdj.com/maia -' .- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter |--------------------------------------> david at linuxdj.com -’


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Oh - BTW - latest version of xkobo I have seen is 1.11

Get it here:

ftp://metalab.unc.edu/pub/X11/contrib/games/xkobo-1.11.tar.gz

/Thomas

David Olofson wrote:>Hi!

I just happened to find the incredibly addictive game ‘XKobo’ on the
Mandrake 8.0 distro. I quickly realized that fullscreen support,
(digital) joystick support, sound effects and maybe some transition
effects and other chrome could make this game a perfect retro gaming hit!

Now I’m looking for the author, Akira Higuchi, newer versions (anyone
seen a newer one than 1.9?), ports etc.

In particular, I’m wondering if anyone have considered porting it to SDL,
or maybe already done it? If not; anyone interested in helping out?

Anyway, download! :slight_smile: (If you have some Un*x-like OS and X, that is.)

http://happypenguin.org/show?XKobo

(The following patch may help with modern, “picky” compilers.)

—8<---------------------------------------------------------------------
diff -u xkobo-1.9/file.C xkobo-1.9-fixed/file.C
— xkobo-1.9/file.C Sat Apr 6 00:18:26 1996
+++ xkobo-1.9-fixed/file.C Thu Aug 16 17:47:25 2001
@@ -29,8 +29,9 @@
#include <errno.h>
}

-int load_block(char *file_name, void *t, int len)
+int load_block(char *file_name, void *_t, int len)
{

  • char *t = (char *)_t;
    int i, fd, ret = len;
fd = open(file_name, O_RDONLY, 0);

@@ -51,8 +52,9 @@
return ret;
}

-int save_block(char *file_name, void *t, int len)
+int save_block(char *file_name, void *_t, int len)
{

  • char *t = (char *)_t;
    int i, fd, ret = len;
fd = creat(file_name, 0644);

diff -u xkobo-1.9/map.h xkobo-1.9-fixed/map.h
— xkobo-1.9/map.h Wed Apr 3 23:58:52 1996
+++ xkobo-1.9-fixed/map.h Thu Aug 16 17:44:43 2001
@@ -38,10 +38,10 @@
#define HIT_MASK (CORE | U_MASK | R_MASK | D_MASK | L_MASK)

class _map{

  • const int sx_log2 = MAP_SIZEX_LOG2;
  • const int sy_log2 = MAP_SIZEY_LOG2;
  • const int sx = 1 << sx_log2;
  • const int sy = 1 << sy_log2;
  • static const int sx_log2 = MAP_SIZEX_LOG2;
  • static const int sy_log2 = MAP_SIZEY_LOG2;
  • static const int sx = 1 << sx_log2;
  • static const int sy = 1 << sy_log2;
    int sitex[SITE_MAX];
    int sitey[SITE_MAX];
    int site_max;
    diff -u xkobo-1.9/xkobo.C xkobo-1.9-fixed/xkobo.C
    — xkobo-1.9/xkobo.C Sat Apr 6 04:17:24 1996
    +++ xkobo-1.9-fixed/xkobo.C Thu Aug 16 17:43:25 2001
    @@ -51,7 +51,7 @@

static int signal_delivered = 1;

-static void sig_handle(…)
+static void sig_handle(int)
{
signal_delivered = 1;
}
--------------------------------------------------------------------->8—

//David Olofson — Programmer, Reologica Instruments AB

.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
----------------------------> http://www.linuxdj.com/maia -' .- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter |--------------------------------------> david at linuxdj.com -’


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

David Olofson wrote:

which is about the original DOS version. Note that you probably have
to apply that Borland Pascal 7.0 RTL patch to run it on anything
faster than some 200 MHz. (I don’t think the binary is patched.)

Doh! I can’t even get it to execute on Windows 2000 pro. Maybe this has
something to do with my 800Mhz CPU :(.

The RTL bug makes the program terminate saying something like “runtime
error 201”.

However, when using WinNT or Win2k for something like this, you also have
to make sure that you’re running the program as Administator (or other
user with direct hardware access rights), or the graphics and sound can’t
work. (The game sets up the screen in a 320x232x256 Mode-X resolution,
and then uses hardware scrolling - both require directly touching the VGA
registers.)

Is that patch a Runtime patch or a compile time patch?

It’s a runtime patch.

//David Olofson — Programmer, Reologica Instruments AB

.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
----------------------------> http://www.linuxdj.com/maia -' .- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter |--------------------------------------> david at linuxdj.com -'On Saturday 18 August 2001 15:31, Dominique Louis wrote:

Hi

A friend of mine have written a runtime patch that works on Borland Pascal
7 (DOS target only) and Turbo Pascal 7. It’s called delayfix.
Since I don’t remember the exact address, and the exe is tiny, I post it
with this mail. If for some reason you don’t trust me, you can always get it
from it’s server webpage at http://royale.zerezo.com (french site), or
simply go to google.com.

Best regards,
IoDream.

-----Message d’origine-----De : sdl-admin at libsdl.org [mailto:sdl-admin at libsdl.org]De la part de
David Olofson
Envoy? : lundi 20 ao?t 2001 13:06
? : sdl at libsdl.org
Objet : Re: [SDL] XKobo - update 2

On Saturday 18 August 2001 15:31, Dominique Louis wrote:

David Olofson wrote:

which is about the original DOS version. Note that you probably have
to apply that Borland Pascal 7.0 RTL patch to run it on anything
faster than some 200 MHz. (I don’t think the binary is patched.)

Doh! I can’t even get it to execute on Windows 2000 pro. Maybe this has
something to do with my 800Mhz CPU :(.

The RTL bug makes the program terminate saying something like “runtime
error 201”.

However, when using WinNT or Win2k for something like this, you also have
to make sure that you’re running the program as Administator (or other
user with direct hardware access rights), or the graphics and sound can’t
work. (The game sets up the screen in a 320x232x256 Mode-X resolution,
and then uses hardware scrolling - both require directly touching the VGA
registers.)

Is that patch a Runtime patch or a compile time patch?

It’s a runtime patch.

//David Olofson — Programmer, Reologica Instruments AB

.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
----------------------------> http://www.linuxdj.com/maia -' .- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter |--------------------------------------> david at linuxdj.com -’


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
-------------- next part --------------
A non-text attachment was scrubbed…
Name: Delayfix.zip
Type: application/octet-stream
Size: 3020 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20010825/435a26df/attachment.obj

Hi !

Where can I find the Kobo DOS executable on which I can apply this patch on
?
I only manage to find a windows version (WKobo) that doesn’t work on my
system (“runtime error 201”) and this patch doesn’t work on it (not
surprising).

Note: If you have the executable but can’t remember the address you can
always
send it to me to @Xavier_Le_Pasteur since it is tiny…

Thanks in advance.

Hi

A friend of mine have written a runtime patch that works on Borland
Pascal
7 (DOS target only) and Turbo Pascal 7. It’s called delayfix.
Since I don’t remember the exact address, and the exe is tiny, I post it
with this mail. If for some reason you don’t trust me, you can always get
it> from it’s server webpage at http://royale.zerezo.com (french site), or
simply go to google.com.

Best regards,
IoDream.

-----Message d’origine-----
De : sdl-admin at libsdl.org [mailto:sdl-admin at libsdl.org]De la part de
David Olofson
Envoy? : lundi 20 ao?t 2001 13:06
? : sdl at libsdl.org
Objet : Re: [SDL] XKobo - update 2

On Saturday 18 August 2001 15:31, Dominique Louis wrote:

David Olofson wrote:

which is about the original DOS version. Note that you probably have
to apply that Borland Pascal 7.0 RTL patch to run it on anything
faster than some 200 MHz. (I don’t think the binary is patched.)

Doh! I can’t even get it to execute on Windows 2000 pro. Maybe this has
something to do with my 800Mhz CPU :(.

The RTL bug makes the program terminate saying something like “runtime
error 201”.

However, when using WinNT or Win2k for something like this, you also have
to make sure that you’re running the program as Administator (or other
user with direct hardware access rights), or the graphics and sound can’t
work. (The game sets up the screen in a 320x232x256 Mode-X resolution,
and then uses hardware scrolling - both require directly touching the VGA
registers.)

Is that patch a Runtime patch or a compile time patch?

It’s a runtime patch.

file://David Olofson — Programmer, Reologica Instruments AB

.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
----------------------------> http://www.linuxdj.com/maia -' .- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter |--------------------------------------> david at linuxdj.com -’


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Sorry for the confusion; XKobo is a game by Akira Higuchi that I’m
currently porting to SDL (~75% done). There are some ports already;

Windows (works for me on Win2k, except for sound…):
http://pcrc.hongik.ac.kr/~hatemogi/wkobo/wkobo_e.html

PocketBSD (broken links, unfortunately):
http://www.asahi-net.or.jp/~km5n-tkhs/pbsd/

SGI/DMedia by Masanao Izumo (sound effects):
http://www.goice.co.jp/member/mo/hack-progs/xkobo-1.11+.tar.gz

Linux/OSS by Masanao Izumo (sound effects):
http://www.goice.co.jp/member/mo/hack-progs/files/xkobo-1.11+linux+oss.tar.gz

Another Linux/OSS by me, based on Izumo’s SGI version:
<not yet on-line; mailed at request>

There is no DOS port of XKobo AFAIK.

Now, the runtime patching discussion was about “Project Spitfire”, which
I wrote as a programming project at uni some years ago. It has nothing in
common with XKobo (except that my SDL port uses the graphics engine from
the SDL port of Project Spitfire), but is a DOS/Mode-X game written in
Borland Pascal.

Because of a bug in the Borland runtime library, you need to patch
Project Spitfire to run it on a faster machine than something like a
Pentium 200. (And because most modern video cards aren’t fully VGA
compatible, the hardware scrolling may look terrible…)

//David Olofson — Programmer, Reologica Instruments AB

.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
----------------------------> http://www.linuxdj.com/maia -' .- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter |--------------------------------------> david at linuxdj.com -'On Monday 27 August 2001 12:03, Xavier Le Pasteur wrote:

Hi !

Where can I find the Kobo DOS executable on which I can apply this
patch on ?
I only manage to find a windows version (WKobo) that doesn’t work on my
system (“runtime error 201”) and this patch doesn’t work on it (not
surprising).

I got a reply from Akira Higuchi today! :slight_smile:

He finds the idea of an SDL port with sound effects and other
enhancements interesting. No statement on name, version, maintainer etc
regarding the port and continued development yet.

Meanwhile, my SDL port is about 75% done.

The graphics engine works (tested separately), but it’s not fully
connected to the game yet. Sound (fx + original code by Izumo) works, but
uses my own OSS “wrapper” and pthreads. Porting to SDL audio should be
trivial. Keyboard input works.

As soon as I get an official statement from the old maintainer, there
will be a web site with an initial release.

//David Olofson — Programmer, Reologica Instruments AB

.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
----------------------------> http://www.linuxdj.com/maia -' .- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter |--------------------------------------> david at linuxdj.com -’