Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Open Forums » Beyond Jazz Jackrabbit 2

OpenJazz

Reply
 
Thread Tools
ThunderPX

JCF Member

Joined: Dec 2002

Posts: 1,350

ThunderPX is doing well so far

Dec 28, 2005, 01:28 PM
ThunderPX is offline
Reply With Quote
I still want remixes of the JJ1 songs. Better samples and new drumbeats should do =P
Odin

Banned

Joined: Dec 2003

Posts: 3,776

Odin is doing well so far

Dec 28, 2005, 01:42 PM
Odin is offline
Reply With Quote
Why? We want OpenJazz to stick as close to the original JJ1 as possible, so I don't think that remixes are really an option. New, cleaner samples would be a plus though.
Uniacke1

JCF Member

Joined: May 2002

Posts: 73

Uniacke1 is doing well so far

Dec 28, 2005, 02:10 PM
Uniacke1 is offline
Reply With Quote
I agree. You can make remixes if you want, but not in the original game, and I feel the original samples are pretty good...
Now, back to what I wanted to say... Has anyone figured out the weapon sprites yet?
Once that's done, it seems as if it would be a simple matter to make jazz be able to shoot.
(but that doesn't include killing enemies...)
__________________
<html>
This is not a signature, so don't read it, don't forget it, and don't ignore it.
- You know it's time to leave JCS when you are mocked by an admin.
-What if a coincidence is an excuse we use when we don't know why?


<a href="http://vintagepc.viralnet.org/" > My Site.</A>

</html>
TaZaR

JCF Member

Joined: Jun 2001

Posts: 132

TaZaR is doing well so far

Dec 28, 2005, 04:57 PM
TaZaR is offline
Reply With Quote
As I know all sprites stored in one file. And as you see, he figured out the sprites, because you can see the the enemies and jazz in the levels.

Quote:
I still want remixes of the JJ1 songs. Better samples and new drumbeats should do =P
That's not a bad idea, that should be an add-on for openjazz...
__________________

http://projectx.fateback.com/
Ice M A N

JCF Member

Joined: Jan 2001

Posts: 580

Ice M A N is doing well so far

Dec 28, 2005, 05:35 PM
Ice M A N is offline
Reply With Quote
Quote:
Originally Posted by Toxic Bunny
I've got music working using libmodplug. It needs quite a considerable amount of polishing up, and Ice M A N may come up with something better, but it's a start.

Using libmodplug means that, if you edit a level with JCS94, you'll be able to have background music in any of the following formats:
(Deep breath)
669, amf, ams, dbm, dmf, dsm, far, it, mdl, med, mod, mt2, mtm, okt, psm, ptm, s3m, stm, ult, umx, wav and xm.
If you've got libmodplug working I won't put too much effort into my way (I probably will do it on the weekend regardless).. Does that library play the music by itself or do you go through sdl_mixer in the end anyway like you hinted at on ICQ? Otherwise, how will that work when we get to the sound effects playing simultaneously? or can it play multiple things at once as well (I haven't looked into libmodplug except for the PSM loading code)
Feline

JCF Member

Joined: Jun 2001

Posts: 213

Feline is doing well so far

Dec 29, 2005, 12:29 AM
Feline is offline
Reply With Quote
Quote:
Originally Posted by Toxic Bunny
Listening to Haunted.it in Medivo
Now we're talking. ^^
__________________
Visit my DeviantArt gallery:
http://atomicfeline.deviantart.com




Thanks to Dalspots for the awesome banner!
Stijn

Administrator

Joined: Mar 2001

Posts: 6,965

Stijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to behold

Dec 29, 2005, 02:27 AM
Stijn is offline
Reply With Quote
I think I need to download this after all
Uniacke1

JCF Member

Joined: May 2002

Posts: 73

Uniacke1 is doing well so far

Dec 29, 2005, 03:34 AM
Uniacke1 is offline
Reply With Quote
*tsk *tsk *tsk. Shame on you... You should have done that long ago...
__________________
<html>
This is not a signature, so don't read it, don't forget it, and don't ignore it.
- You know it's time to leave JCS when you are mocked by an admin.
-What if a coincidence is an excuse we use when we don't know why?


<a href="http://vintagepc.viralnet.org/" > My Site.</A>

</html>
Alister

JCF Member

Joined: Mar 2001

Posts: 908

Alister is doing well so far

Dec 29, 2005, 11:51 AM
Alister is offline
Reply With Quote
Quote:
Originally Posted by Ice M A N
If you've got libmodplug working I won't put too much effort into my way (I probably will do it on the weekend regardless).. Does that library play the music by itself or do you go through sdl_mixer in the end anyway like you hinted at on ICQ? Otherwise, how will that work when we get to the sound effects playing simultaneously? or can it play multiple things at once as well (I haven't looked into libmodplug except for the PSM loading code)
The library produces a data stream, which I use with SDL's own basic audio functions. The SDL documentation advises against using the basic audio functions to mix more than two streams, so it may be necessary to switch to SDL_mixer later.

I had to modify libmodplug to get PSMs to loop. In sndmix.cpp, lines 376 and 409 shouldn't be commented out (though only line 376 matters for OpenJazz).
__________________
OpenJazz: Site - Talk
Palette Suite: Site - Talk
Yours truly: Site
Doubble Dutch

JCF Member

Joined: Mar 2004

Posts: 3,072

Doubble Dutch is doing well so far

Dec 29, 2005, 07:58 PM
Doubble Dutch is offline
Reply With Quote
Quote:
As I know all sprites stored in one file.
Really? As far as I knew there were several sprite files, one large general one and several smaller ones for each planet. I'm intriuged.
__________________

nonne amicus certus in re incerta cernitur?

/)_/)
(^.^)
((")(")
Feline

JCF Member

Joined: Jun 2001

Posts: 213

Feline is doing well so far

Dec 30, 2005, 01:56 AM
Feline is offline
Reply With Quote
Quote:
Originally Posted by Doubble Dutch
Really? As far as I knew there were several sprite files, one large general one and several smaller ones for each planet. I'm intriuged.
That is how it works. Not all of them are stored in one file.
__________________
Visit my DeviantArt gallery:
http://atomicfeline.deviantart.com




Thanks to Dalspots for the awesome banner!
TaZaR

JCF Member

Joined: Jun 2001

Posts: 132

TaZaR is doing well so far

Dec 30, 2005, 04:41 AM
TaZaR is offline
Reply With Quote
Oh, okay. I think, I'm probably just knowed about that big one file.
__________________

http://projectx.fateback.com/
jmetal88

JCF Member

Joined: Dec 2005

Posts: 5

jmetal88 is doing well so far

Dec 30, 2005, 09:15 AM
jmetal88 is offline
Reply With Quote
Quote:
Originally Posted by Toxic Bunny
Alternatively, have you tried alt+enter? That switches to fullscreen once the game is running.
I can't do alt+enter on a handheld. It has A, B, X, Y, Start, Select, Vol +, Vol -, L, R, Stick button, and Up, Down, Left, Right. I was intending to get the port running and then redefine controls to the joybutton layout.


Info on the GP2X:

GP2X is a multimedia/gaming handheld put out by the obscure Korean company, GamePark Holdings. You may recognise them as the creators of the GP32, or you may not. I know there's someone by the name of 'toxibunny' registered on the gp32x.com boards, of course I have no way of knowing if that's you or not, last post was made in April...

Anyways, to find out more, visit gp32z.com, or gp32x.com, or gp2x.co.uk, or gp2x.com.

EDIT: Still just the black screen... maybe something's messed up in my SDL library...

Last edited by jmetal88; Dec 30, 2005 at 09:33 AM.
Alister

JCF Member

Joined: Mar 2001

Posts: 908

Alister is doing well so far

Dec 30, 2005, 07:42 PM
Alister is offline
Reply With Quote
Quote:
Originally Posted by jmetal88
I can't do alt+enter on a handheld.
Haha, yes, I'm an idiot.

I read up on the GP2X on Wikipedia when you first mentioned it.

Quote:
Originally Posted by jmetal88
I know there's someone by the name of 'toxibunny' registered on the gp32x.com boards, of course I have no way of knowing if that's you or not, last post was made in April...
That's not me.


Quote:
Originally Posted by jmetal88
EDIT: Still just the black screen... maybe something's messed up in my SDL library...
I doubt it's SDL if it's a core part of the system. Still, no idea what it could be, I'm afraid.
__________________
OpenJazz: Site - Talk
Palette Suite: Site - Talk
Yours truly: Site
Uniacke1

JCF Member

Joined: May 2002

Posts: 73

Uniacke1 is doing well so far

Dec 31, 2005, 04:03 AM
Uniacke1 is offline
Reply With Quote
actually, he's just afraid to admit he might have messed up horribly.
(just kidding...)
Keep up the good work!
__________________
<html>
This is not a signature, so don't read it, don't forget it, and don't ignore it.
- You know it's time to leave JCS when you are mocked by an admin.
-What if a coincidence is an excuse we use when we don't know why?


<a href="http://vintagepc.viralnet.org/" > My Site.</A>

</html>
jmetal88

JCF Member

Joined: Dec 2005

Posts: 5

jmetal88 is doing well so far

Dec 31, 2005, 04:56 PM
jmetal88 is offline
Reply With Quote
The GP2X SDL library was a fan-released add-on. It could very well have problems, although noone else seems to be having trouble getting SDL apps ported... There was a page of tips somewhere for porting SDL apps to GP2X, but I can't remember where.....

EDIT: Found it, got the port up and running. Now to figure out how to redefine the controls....

*wow*

Looks like the 2X uses a completely different method of input, I'll have to re-write all the input stuffs....

Last edited by jmetal88; Dec 31, 2005 at 10:31 PM.
Alister

JCF Member

Joined: Mar 2001

Posts: 908

Alister is doing well so far

Jan 14, 2006, 07:14 PM
Alister is offline
Reply With Quote
The OpenJazz website is up, complete with a new version.

So, who can spot the difference between this version and the last?
__________________
OpenJazz: Site - Talk
Palette Suite: Site - Talk
Yours truly: Site
Ice M A N

JCF Member

Joined: Jan 2001

Posts: 580

Ice M A N is doing well so far

Jan 14, 2006, 07:43 PM
Ice M A N is offline
Reply With Quote
You, my friend, are crazy amazing times a hundred.

For a somewhat hackish way to get OSX support (without resorting to specifiying a file on the commandline) in the ballpark of main.c:879 you can add

Code:
#ifdef __MACH__
	count = (unsigned int)(strstr(argv[0],"app/Contents/MacOS")-argv[0]);
#endif
(i.e. so it sets count to that, and the the code from the other #else still goes back to the / )
so it looks something like
Code:
...
#else
#ifdef __MACH__
	count = (unsigned int)(strstr(argv[0],"app/Contents/MacOS")-argv[0]);
#endif
    while ((argv[0][count] != '/') && (count >= 0)) count--;
#endif
I'll give a look into getting the music working on X now and then see about a binary soon after...

EDIT about editting: it's very fun in vB 3.5 (I think it's new anyway)
EDIT2: minor progress update on music in OSX: makeing some headway with endian conversions.. still some bugs/details to work out (I'm now getting static instead of silence, but it's not music yet).. because of these problems we(/I?) will need to distribute a customized version of libmodplug for openjazz/osx..? unless I'm the only person who would use openjazz on OSx.. in which case I can keep it to myself..

Last edited by Ice M A N; Jan 14, 2006 at 11:21 PM.
White Rabbit

JCF Member

Joined: Aug 2001

Posts: 4,478

White Rabbit is doing well so far

Jan 15, 2006, 02:02 AM
White Rabbit is offline
Reply With Quote
...lol.
It was fun while I lasted.
(Fix the springs).
Alister

JCF Member

Joined: Mar 2001

Posts: 908

Alister is doing well so far

Jan 15, 2006, 04:09 AM
Alister is offline
Reply With Quote
Quote:
Originally Posted by Ice M A N
You, my friend, are crazy amazing times a hundred.
There's no way all that progress would have been made in such a short time without being able to read what event data does in J1CS. So it is you, my friend, who are crazy amazing times a hundred, along with the rest of J1CS Corp.

Thanks for the MacOSX code, I'll add it straight away.

Quote:
Originally Posted by Ice M A N
EDIT2: minor progress update on music in OSX: makeing some headway with endian conversions.. still some bugs/details to work out (I'm now getting static instead of silence, but it's not music yet).. because of these problems we(/I?) will need to distribute a customized version of libmodplug for openjazz/osx..? unless I'm the only person who would use openjazz on OSx.. in which case I can keep it to myself..
Every other system needs a customized version of libmodplug. If you put all your changes in ifdefs, they could be distributed together and called libmodplug-oj or something.

Quote:
Originally Posted by White Rabbit
(Fix the springs).
With such a charming request, how could I possibly refuse? Seriously, though, that's the next thing I'm planning to do, after I've sorted out a few other glaring physics glitches.
__________________
OpenJazz: Site - Talk
Palette Suite: Site - Talk
Yours truly: Site
Uniacke1

JCF Member

Joined: May 2002

Posts: 73

Uniacke1 is doing well so far

Jan 15, 2006, 04:10 AM
Uniacke1 is offline
Reply With Quote
Ooooh... music...
BTW, here are the lev names (although you probably figgered it out long ago):
1. Turtle terror
2 ballistic bunny
3 rabbit's revenge
4. gene machine
5 the chase is on
6 the final clash
A outta dis world
B turtle soup
C wild wabbit
X holiday Hare
Z bonus levels.

-- I'm surprised at the progress this project is making!
__________________
<html>
This is not a signature, so don't read it, don't forget it, and don't ignore it.
- You know it's time to leave JCS when you are mocked by an admin.
-What if a coincidence is an excuse we use when we don't know why?


<a href="http://vintagepc.viralnet.org/" > My Site.</A>

</html>
Feline

JCF Member

Joined: Jun 2001

Posts: 213

Feline is doing well so far

Jan 15, 2006, 02:03 PM
Feline is offline
Reply With Quote
The progress in this project is amazing. I can only imagine the massive amount of effort that it took to make it. I'm glad to be a part of it.
__________________
Visit my DeviantArt gallery:
http://atomicfeline.deviantart.com




Thanks to Dalspots for the awesome banner!
Ice M A N

JCF Member

Joined: Jan 2001

Posts: 580

Ice M A N is doing well so far

Jan 16, 2006, 11:06 PM
Ice M A N is offline
Reply With Quote
%^!@#&*$.. when I had the static I was SOOOOOO close to haveing it working and then I tried a million other things to debug it.. turns out I just needed to change the audio format in sound.c to

audioSpec.format = AUDIO_S16MSB;


or what I should've actually used AUDIO_S16SYS which goes whichever way based on a define.. Oh well. I learned a fair bit in the process.

(Actually, now that I think about it I could try to change the endianness of that stuff too.. I'll look into it.. )No.. using SYS should be the "right" way to do it because s3m,mod,wav(had to get PPC version of loader from elsewhere) all also produce static..

so after tomorrow (4 more pages to write before 5pm for Political Theory class...) I'll wrap my endian changes the way the rest of libmodplug does it (changeing endianness of variables as the relevant structures are read rather then preprocessing the file) and all will be good in the world

Anyway: Music in OSX port = a done deal.
MetaFox

JCF Member

Joined: Jan 2006

Posts: 1

MetaFox is doing well so far

Jan 24, 2006, 12:17 PM
MetaFox is offline
Reply With Quote
GPF has ported OpenJazz to the Sega Dreamcast:

http://gpf.dcemu.co.uk/OpenJazz.shtml
TaZaR

JCF Member

Joined: Jun 2001

Posts: 132

TaZaR is doing well so far

Jan 24, 2006, 12:27 PM
TaZaR is offline
Reply With Quote


By the way, I didn't replyed for the last release, but I'm happy with it. Lot of new features, and it's getting really closer that, what is sould be. Good job TB!
__________________

http://projectx.fateback.com/
n00b

JCF Veteran

Joined: May 2004

Posts: 5,578

n00b is an asset to this forumn00b is an asset to this forum

Jan 24, 2006, 12:59 PM
n00b is offline
Reply With Quote
Thats nifty Metafox.
cooba

JCF Veteran

Joined: Jan 2004

Posts: 7,815

cooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of light

Jan 24, 2006, 02:54 PM
cooba is offline
Reply With Quote
....
UNKNOWNFILE

JCF Member

Joined: Aug 2005

Posts: 1,146

UNKNOWNFILE is doing well so far

Jan 24, 2006, 05:40 PM
UNKNOWNFILE is offline
Reply With Quote
Rule: Use FMod. It is less sux than modplug.
__________________
I'm sick and tired of this community. So goodbye.

PS: Unreal > JJ2.
Ice M A N

JCF Member

Joined: Jan 2001

Posts: 580

Ice M A N is doing well so far

Jan 24, 2006, 07:09 PM
Ice M A N is offline
Reply With Quote
It's not a particularly good rule when the idea was to get JJ1's PSM files to play.. Or does Fmod play them? I didn't think it did... (and writing a plugin for it hardly counts)...
Violet CLM

JCF Éminence Grise

Joined: Mar 2001

Posts: 11,048

Violet CLM has disabled reputation

Jan 24, 2006, 07:26 PM
Violet CLM is offline
Reply With Quote
Quote:
Originally Posted by Uniacke1
Ooooh... music...
BTW, here are the lev names (although you probably figgered it out long ago):
1. Turtle terror
2 ballistic bunny
3 rabbit's revenge
4. gene machine
5 the chase is on
6 the final clash
A outta dis world
B turtle soup
C wild wabbit
X holiday Hare
Z bonus levels.

-- I'm surprised at the progress this project is making!
My guess is that he wants to read the names out of the original files... OpenJazz is a reader, and makes up as little information as possible.
__________________
Doubble Dutch

JCF Member

Joined: Mar 2004

Posts: 3,072

Doubble Dutch is doing well so far

Jan 24, 2006, 10:10 PM
Doubble Dutch is offline
Reply With Quote
hey're found in the exe; I could give you the offsets if you want, but I'm sure they're easily found.

Song music is [of course] found in the level files, so no problems there.
__________________

nonne amicus certus in re incerta cernitur?

/)_/)
(^.^)
((")(")
UNKNOWNFILE

JCF Member

Joined: Aug 2005

Posts: 1,146

UNKNOWNFILE is doing well so far

Jan 25, 2006, 06:41 AM
UNKNOWNFILE is offline
Reply With Quote
I'm trying to modify the game into playing the title music in the menus, but I can't find the function for it. Could you give me its usage?
__________________
I'm sick and tired of this community. So goodbye.

PS: Unreal > JJ2.
TaZaR

JCF Member

Joined: Jun 2001

Posts: 132

TaZaR is doing well so far

Jan 25, 2006, 08:52 AM
TaZaR is offline
Reply With Quote
By the way, the "cracking" sounds with the music are my computer's bugs, or the openjazz's?
__________________

http://projectx.fateback.com/
Ice M A N

JCF Member

Joined: Jan 2001

Posts: 580

Ice M A N is doing well so far

Jan 25, 2006, 10:56 AM
Ice M A N is offline
Reply With Quote
Quote:
Originally Posted by UNKNOWNFILE
I'm trying to modify the game into playing the title music in the menus, but I can't find the function for it. Could you give me its usage?
loadMusic("menusng.psm");

because each menu has it's own loop and you can be thrown into the menu system from at least a couple ways (main menu normally, episode select if hitting esc while playing, ...), I keep track of a musicPlaying variable, calling loadMusic() and freeMusic() when appropriate (although musicPlaying may be redundant since you could probably test if something is null or whatever)...

but yeah.. it's cool to have music in the menu

Quote:
Originally Posted by TaZaR
By the way, the "cracking" sounds with the music are my computer's bugs, or the openjazz's?
I can't speak for the windows version, but on my computer (OSX) it's pretty much as good as you could reasonably expect..
UNKNOWNFILE

JCF Member

Joined: Aug 2005

Posts: 1,146

UNKNOWNFILE is doing well so far

Jan 25, 2006, 01:09 PM
UNKNOWNFILE is offline
Reply With Quote
VC++6 hates this file. Yecch.
__________________
I'm sick and tired of this community. So goodbye.

PS: Unreal > JJ2.
jmetal88

JCF Member

Joined: Dec 2005

Posts: 5

jmetal88 is doing well so far

Jan 25, 2006, 06:26 PM
jmetal88 is offline
Reply With Quote
GP2X port

Wow... I've been taking a rather extended break from the porting (due to me needing to know more about coding before being able to go on), and today I find out someone else has already ported it to the 2x... Guess that saves me a lot of work...
Alister

JCF Member

Joined: Mar 2001

Posts: 908

Alister is doing well so far

Jan 26, 2006, 03:21 AM
Alister is offline
Reply With Quote
Quote:
Originally Posted by Uniacke1
BTW, here are the lev names (although you probably figgered it out long ago)
I'm trying to avoid copyright infringement in this project by only using data from the original data files. As DD said, the episode names are in jazz.exe. I figured they would be in different locations in each of the different versions (not to mention the patched versions), so I did not try to read them.

Quote:
Originally Posted by Ice M A N
Anyway: Music in OSX port = a done deal.
You are the M A N, if you'll forgive the pun.

Quote:
Originally Posted by MetaFox
GPF has ported OpenJazz to the Sega Dreamcast
Wow. Tell Troy/GPF I said thanks. *integrates code*

Quote:
Originally Posted by UNKNOWNFILE
Rule: Use FMod. It is less sux than modplug.
Fmod doesn't play PSMs.

On the subject of menu music, I'll add that in the next release. If you can't wait that long, do the following in menu.c:
Add loadMusic("menusng.psm"); to loadMenu(),
Add freeMusic(); to freeMenu()
Add loadMusic("menusng.psm"); to newGameDifficultyMenuLoop() before loadNextLevel() is called
Add freeMusic(); to newGameDifficultyMenuLoop() after levelLoop() is called

That should work, but I'm on a soundless computer now so I can't test it.

Quote:
Originally Posted by TaZaR
By the way, the "cracking" sounds with the music are my computer's bugs, or the openjazz's?
That happens when the audio data isn't being processed fast enough. I got it to work on my old computer by reducing settings.mFrequency (sound.c, line 92) and audioSpec.freq (sound.c, line 109). The problem returned when I ran it on my newer, much faster computer, so I'm going to have to find a better fix.

Quote:
Originally Posted by aegis
BASS!
Again, no PSM support.

Quote:
Originally Posted by jmetal88
Wow... I've been taking a rather extended break from the porting (due to me needing to know more about coding before being able to go on), and today I find out someone else has already ported it to the 2x... Guess that saves me a lot of work...
Really? Don't suppose you could give me more details, because nobody's told me. Google reveals rumours of a Nintendo DS port, too.

Perhaps I should have added my e-mail address to the website...
__________________
OpenJazz: Site - Talk
Palette Suite: Site - Talk
Yours truly: Site
Haze

JCF Member

Joined: Mar 2001

Posts: 535

Haze is doing well so far

Jan 26, 2006, 04:36 AM
Haze is offline
Reply With Quote
By the way, I noticed how you used "non-endorsed" links on the About-page of the OpenJazz site. Well, just nab the links from the Hideout if you want endorsed links. I endorse.

You can find the links on the following page: http://www.dutchfurs.com/~haze/blog/...s/pc/shareware

Or these should be direct links in the correct order:
http://www.dutchfurs.com/~haze/blog/...pqMXN3LnppcA==
http://www.dutchfurs.com/~haze/blog/...pqMWhoLnppcA==
http://www.dutchfurs.com/~haze/blog/...pqMWhoOTUuemlw
__________________

Last edited by Haze; Jan 26, 2006 at 05:05 AM.
Ice M A N

JCF Member

Joined: Jan 2001

Posts: 580

Ice M A N is doing well so far

Jan 26, 2006, 06:37 AM
Ice M A N is offline
Reply With Quote
Quote:
Originally Posted by Toxic Bunny
Really? Don't suppose you could give me more details, because nobody's told me. Google reveals rumours of a Nintendo DS port, too.
http://www.gp32wip.com/

The GP2X source (and binary) for OpenJazz is on the right sidebar..
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT -8. The time now is 03:17 AM.