PDA

View Full Version : OpenJazz: Multiplayer


Alister
Mar 15, 2009, 02:26 PM
Once again, there's a new version of <a href="http://www.alister.eu/jazz/oj/">OpenJazz</a>.

For those of you who aren't familiar it, it's an open source re-implementation of the Jazz Jackrabbit 1 engine. It needs <a href="http://www.libsdl.org/download-1.2.php">SDL</a> to run. Before you try to play it, put OpenJazz.exe, openjazz.000, modplug.dll and sdl.dll in your Jazz 1 directory.

As usual, this version includes a number of small improvements. But it also has a major new feature: Multiplayer.

There are currently three modes to choose from: Cooperative, Battle and Team Battle. Just like in JJ2, you can change your player's fur, bandana, gun and wristband colours. You can also press F9 to view the player list.

Multiplayer isn't working properly yet. It works locally, but so far I've been unable to get it to work over the internet. I am behind a router, though, so you may have more luck.

Enjoy!

DoubleGJ
Mar 16, 2009, 03:43 AM
Sounds awesome. Who wants to try it out with me? I'm most certain I'm not behind a router.

Ricerind
Mar 16, 2009, 09:50 AM
I've edited my OpenJazz for Mac OS X package in the J2O downloads to this latest version. I also got sound working! Mac users rejoice!

n0
Mar 18, 2009, 04:53 AM
It's pretty sweet! I even got it to run on Vista64, but I had to install the jj1 cd through Dosbox. Can't wait to see if we can get multiplayer working.

BlueDragon
Mar 20, 2009, 10:25 AM
well you might try hamachi.
If you need a network i made 1 a long time ago(thought JJ1 will some day have MP and i was right :P).

Name: JJ1Server
Pass:No password

Troglobite
Mar 20, 2009, 06:42 PM
I tried multiplayer over hamachi a few days ago, but was unable to connect, or have others on the network join. Not sure if its just me, but I'm guess even with Hamachi, we may have to wait until the next update.

Alister
Mar 22, 2009, 11:44 AM
There's a new version up now. I've made some changes which should hopefully help.

Ricerind
Mar 23, 2009, 08:12 AM
Yet another new update for Mac in the J2O downloads section.

Troglobite
Mar 25, 2009, 06:35 PM
I just played the PC version online. It actually works! Althogh there are some serious bugs. For example, dying can cause the screen to black out, and stay that way.

Marijn
Mar 26, 2009, 04:13 AM
yes. And I expected that the hoverboard doesnt work.. I excepted a strange bug there, as soon I hit the hoverboard, it works.. only the board dissapears :D

Black Ninja
Mar 28, 2009, 03:04 PM
I just tried a LAN game of OpenJazz for Mac, and it was awesome. All it needs is a CTF mode. <s>And a JJ1 Semi CTF conversion.</s>

Also, good work on adding sound, Ricerind.

Ricerind
Mar 28, 2009, 11:51 PM
Also, good work on adding sound, Ricerind.

Thanks! It was actually far easier than I'd anticipated.

Alister
Mar 29, 2009, 02:19 PM
Right, there's a new version that gets rid of the blacking-out bug.

The board has always been a problem. It's not part of Jazz's hovering sprites. But if I superimposed it, it would be there when playing as the bird in Birdland.

CTF mode is tricky, because there are no flag/base sprites. Something could be used as a substitute, though. Capture the bird?

Violet CLM
Mar 29, 2009, 03:42 PM
Airboard: DD's notes say that all that sprite pointer stuff is in Block 11, as in "Accessory Animations" in J1E.

plunK
Mar 30, 2009, 09:10 AM
capture the bird? yes man that totally wins those birds are so cute id totally want to go steal one

Nonomu198
Mar 30, 2009, 11:26 AM
Would the flag-bird fly once you get shot once? Sounds like a very turtle(DEVAN SHELL)-happy game.

Ricerind
Mar 30, 2009, 11:41 AM
New Mac version available.

Black Ninja
Mar 30, 2009, 03:22 PM
New Mac version available.

Very awesome. I've been secretly hoping you'd implement file storage outside of the .app.

Troglobite
Apr 1, 2009, 07:09 PM
Ok, played online again. Works quite well. However, at one point time ran out, or something, and both players died at the same time. We respawned on the checkpoint, but we couldn't move (although shooting still worked), and constantly were gaining lives.

plunK
Apr 6, 2009, 02:13 PM
Ya i was with troglobite....andf to add to his statement it changed his name to the same as mine and i had a bird only he could see

vanfanel
May 20, 2009, 02:51 AM
In the DMG you've uploaded, the READMe is missing.
Where should we put the JJ1 data files???

Thanks!

Alister
May 26, 2009, 02:43 PM
There's a new version. The time-running-out bug and the bird bug have been fixed. I couldn't reproduce the name-changing bug.

Troglobite
May 26, 2009, 06:18 PM
I think the name change may have been caused by something else. I'm pretty sure it wasn't caused by openjazz

Cpp
May 27, 2009, 02:59 AM
This name changing bug just sounds soooo familiar.

vanfanel
May 27, 2009, 07:26 AM
As for the MAC version, sound/music is not working on PowerPC macs, and colors seem to be all wrong for most resolutions.
Endianess problems, I suspect...

Neo2001
May 30, 2009, 05:53 AM
Since version from March 22, 2009 there's been problem with defining keys of gamepad. When I'm trying to define "UP key", I got message "press control", the game does not respond, I can only press ESC; however in game, joypad works (B1-shot, B2-jump, B3-change). This problem didn't occur in previous (20090315) version (I was only unable to assign Button1).

Ricerind
May 31, 2009, 04:16 AM
I've noticed that sometimes jump stops working, and you have to move to a different position to be able to jump again. This appeared in the second latest version, and is quite common.

Ricerind
Jun 5, 2009, 01:58 AM
As for the MAC version, sound/music is not working on PowerPC macs, and colors seem to be all wrong for most resolutions.
Endianess problems, I suspect...

It appears that on PowerPC Macs the sound problem is unique to the music, as the sound effects in the latest version of OpenJazz work fine. The colour distortion when changing resolutions is a bug in OpenJazz in general and as far as I know it is not unique to Mac, let alone PowerPC.

Black Ninja
Jun 5, 2009, 12:22 PM
Ricerind, I'd like to take this time to somewhat randomly thank you for the awesome work porting OpenJazz to the Mac platform, and always quite expediently after the official release. The Mac crowd in the JCF is very small and not too vocal (with the exception of my ranting), so it's good to see us get some support once in a while.

Thanks again.

Ricerind
Jun 6, 2009, 10:34 AM
Thanks! Speaking of which, there's another version I need to upload :)

Ricerind
Jun 7, 2009, 08:51 AM
I've uploaded the latest version.

Alister
Jun 21, 2009, 11:21 AM
New version!

The colour problem that appears when you change resolution has been fixed. I don't know what the problem with sound is. I don't get any sound in Linux, but I suspect that's just an issue with my install.

Neo2001: Oops. I made a silly mistake there. It's now fixed.

Ricerind: I've fiddled about a bit, and I think I've fixed the jumping problem. I didn't get it very often, though, so it's hard to be sure.

defalcon
Aug 21, 2009, 11:44 PM
Okay. How is it that someone has ported this game to the Dremcast, GP2X, GP32, the Palm Pilot, the Wii and even the PSP, and yet there's not a port for the Nintendo DS yet? :P

Stijn
Aug 22, 2009, 02:05 AM
Oh hey, defalcon!

Alister
Aug 22, 2009, 09:41 AM
If you know anyone who can port stuff to the DS, feel free to give them a poke!

Btw, OpenJazz is now on SourceForge (<a href="https://sourceforge.net/projects/openjazz">here</a>). All contributions are welcome - from large chunks of code to niggling bug reports!

plunK
Aug 22, 2009, 07:14 PM
Using the nifty Program SUPER
http://www.erightsoft.com/SUPER.html
you can convert ROM's to .nds which is the DS game file. This would still leave 2 problems, making OJ into a ROM and finding a way to run it over DS without modding it (DS's are a pain to use custom content on)

defalcon
Aug 23, 2009, 06:48 AM
Plunk: not sure that's entirely necessary...the DS has a large homebrew community, just like the other consoles.

Alister: Ah, I wish. I don't know anyone with any coding ability :P

Stijn: Hey...the name is familiar, but I'm blanking. Sorry. Did you have a prior username?

Stijn
Aug 23, 2009, 11:10 AM
Flash/Fl@$h :)

Ninja
Sep 4, 2009, 07:59 AM
Alister, you're one of the coolest organisms on this planet. Also, seeing this on the DS would be insane.

Warz
Nov 15, 2009, 09:27 AM
This is pretty awesome! Good job...! I havn't tried it online yet, but I'm wondering do you need to open any specific port? I tried entering "ip : port" but I couldn't enter the colon symbol... so is there any default port?

I think it's pretty amazing how you can see this huge part of the level by simply dragging the game screen all accross your screen.

plunK
Jan 24, 2010, 04:01 PM
So ive just been fiddling around and playing with openjazz lately and Ive got some bugs to report.

-Only the frog boss actually works, the others all either have broken sprites or just stand there
-Holidaius Monkeys Have broken sprites
-Random Jazzes inside the walls of technoir
-You can't see water

-I had more but forgot atm.

Violet CLM
Jan 24, 2010, 11:09 PM
Basically those are things that aren't coded yet. Water relies on an alternate palette being applied to certain parts of the level, which evidently isn't part of OpenJazz at this point. Those Technoir Jazzes are the reflective red water event, but that's not a behavior that OpenJazz recognizes so they just appear as standard sprite-unspecified objects. The Holidaius monkeys result from OpenJazz not having a detailed enough understanding of the JJ1 bullet ("attack") system. Most bosses have non-standard behaviors so it's not surprising they would be added pretty late in the game.

Alister
Jan 26, 2010, 11:21 AM
What Unknown said.

Boss movement hasn't been a top priority (though perhaps it should be).

I don't know what's up with those monkeys, beyond the fact that they're apparently firing non-existent bullets. I'll look into it.

Random Jazzes appear in other levels, too. They'll disappear as more events are implemented correctly.

Water (and other region-specific palette effects, like the white screens in Letni) can't be implemented properly in SDL. OpenJazz needs SDL in order to work on a broad range of platforms. There are some workarounds I've thought of, but they're not ideal.

ninja: Aww, shucks...

Warz: Yes, the port is 10052. I figured most JJ2ers would already have this port open. Of course, not all OJ users are JJ2ers, and I've completely failed to document this anywhere. Oops.

Violet CLM
Jan 26, 2010, 09:31 PM
JJ1 uses non-existent bullets in a few cases -- all that come to mind are the dogs and monkeys from Holidaius -- to force enemies to stop moving until their firing animation is finished playing, which can take some time. Setting some combination of the attack values to 0 makes JJ1 consider the bullet null and not create it at all.

Alister
Feb 15, 2010, 10:04 AM
Brand new version <a href="http://www.alister.eu/jazz/oj/download.php">out now</a>. With race mode and mostly-working-but-without-animation cutscenes!

I'm not sure the iPhone version is going to happen any time soon. The person who was working on it couldn't get it to run at an acceptable speed.

BlueDragon
Feb 16, 2010, 10:55 AM
Alister i was thinking...
Why don't you make a server list for OJ? If you need I could host the OJ MS for a while.

Is it possible for you to implant such a thing?

And are you able to provide a OJ source code in C# format?
I'm a C# dev and don't like C and C++ that much.

Alister
Mar 5, 2010, 03:40 AM
I was planning on eventually adding server list support.

There's so much to be done, though, it may not happen soon. For example, the following still have to be dealt with:
-Bosses
-Other broken events
-Physics bugs
-Bonus levels
-Animated portions of cutscenes
-Visual effects, e.g. greyscale screens in Letni, reflective pools in Technoir, water
-Sound effects' speed/pitch

And that's just off the top of my head!

There's a <a href="http://alister.eu/jazz/oj/">new version</a>. There are a bunch of bug fixes, and it's now possible to use JJ2-style controls (up arrow for swimming upwards, enter to change weapons. At least, I think enter is JJ2's default. It's what I use). There's also a water level indicator, which is handy.

BlueDragon
Mar 5, 2010, 03:49 AM
Well i just hope server list support comes soon. I can provide the domain name for it.(Paid domain not a free one :D!).

Hmm... i always use:
Q-shoot,W-jump,E-up,D-down,F-right,S-left,C-run,X-change weapon,T-chat,Y-team chat

Strange isn't it :P?

BSzili
Mar 5, 2010, 12:02 PM
I just downloaded the new version, and i have a little problem with it: the enter key doesn't works at the input fields (player name, multiplayer connect, etc.). It does the same thing for my friend. Am i using the wrong key? :confused:

Alister
Mar 6, 2010, 06:01 AM
Oops! Thanks for pointing that out, it's now fixed.

tiranog
Mar 6, 2010, 04:57 PM
Hello.

Im working on Dedicated Server for Linux/Mac.

Somebody know network packets for Jazz2?

slaanesh
Mar 6, 2010, 07:10 PM
I'm currently updating the GP32 version of OJ. I just completed the update to the latest source. Just wondering, after the latest update to bullet.cpp, some bullets look like they are shooting out of Jazz's ears. Is this a little bug? Or have I missed something.

Alister
Mar 7, 2010, 03:16 AM
tiranog: If you're working on a dedicated server for Jazz2, you're in the wrong thread. If you're working on a dedicated server for OpenJazz, I'd recommend against it - the protocol is far from final, and OpenJazz will eventually be able to run in dedicated mode anyway.

slaanesh: It's a sort of half-old, half-new bug.

Previously, the player always shot from a fixed point. This was bad because it meant you couldn't shoot lower while crouching, so in the latest version the point is retrieved from the current animation.

In Jazz's falling animation, he does shoot out of his ears, presumably to account for people's delayed reactions. Every now and then, OpenJazz thinks Jazz is falling even when he isn't, which is why the bullets shoot out of his ears.

As well as fixing crouching, the changes mean that when Jazz is teetering on the edge of a platform, it no longer looks like he's shooting out of his... erm... posterior. You decide whether or not this is a good thing! ;)

BlueDragon
Mar 7, 2010, 04:32 AM
Alister if you can implant the server list i will gladly help whit my domain for it. But i cannot host it.

tiranog
Mar 7, 2010, 05:27 AM
I Can't create new thread -.- about dedicated server for jazz2.

BlueDragon
Mar 7, 2010, 09:45 AM
I Can't create new thread -.- about dedicated server for jazz2.

I think you need a few posts before you can create threads.

Pickle
Mar 10, 2010, 12:11 PM
I will support ports to GP2X, Wiz, and Pandora.
Pandora and Wiz are running with the latest svn.
The Gp2x currently crashes starting a level, haven't had a change to debug.

One thing id like to see with the 320x240 devices is for the resolution selection to be able to change between the 2 resolutions 320x200 and 320x240. Haven't looked close enough to see why it doesn't work.

Also a note to any other porters, libmodplug has misaligned data, i have already modified a copy of the library that has enough fixes in it to run openjazz music.

szmol96
Jul 25, 2013, 12:22 AM
Good job! Is it available for Android?

MrAlextov
Aug 13, 2013, 10:37 AM
Good job! Is it available for Android?

IDK, I Also wonder if newer version available in Dreamcast