[Music] Jimmy's Jukebox -- Seeking dev assistance re:ZScript

For high-res texture/sprite projects, sprite-fix patches, music add-ons, music randomizers, and other graphic/sound-only projects.
Forum rules
The Projects forums are only for projects. If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.
User avatar
Xaser
 
 
Posts: 10773
Joined: Sun Jul 20, 2003 12:15 pm

Re: [Fun] Jimmy's Jukebox -- v8 User Jukebox now available!

Post by Xaser »

danyudanyu0821 wrote:i love un19........................................
That is 39 more punctuation marks than the average human is fit to ingest. You may want to see a doctor about that.
User avatar
Jimmy
 
 
Posts: 4725
Joined: Mon Apr 10, 2006 1:49 pm
Preferred Pronouns: He/Him

Re: [Fun] Jimmy's Jukebox -- v8 User Jukebox now available!

Post by Jimmy »

Plus it makes your posts take reeeeeally long to read. :?
User avatar
insightguy
Posts: 1730
Joined: Tue Mar 22, 2011 11:54 pm

Re: [Fun] Jimmy's Jukebox -- v8 User Jukebox now available!

Post by insightguy »

really now?
Last edited by insightguy on Mon Nov 07, 2011 8:06 pm, edited 1 time in total.
User avatar
Zero X. Diamond
Posts: 676
Joined: Tue Dec 22, 2009 12:46 am

Re: [Fun] Jimmy's Jukebox -- v7! :D

Post by Zero X. Diamond »

Jimmy wrote:
Jimmy wrote:
Zero X. Diamond wrote:Would there be any easy way to mod this mod in order to use your own custom selection of music? I've been following this for a while quietly, wondering about it, so I figured I'd finally just come forward and ask. Curious because I have an extensive music collection and always like being able to use it in my games when possible.
What I suppose I could do (for v8, possibly) is create another Jukebox "map" which is filled with blank collections so the user can add their own fairly easily. :) Stick around for a while after v7 is released and the new v8 (which hopefully won't take as long) should have that.
Your wish is my command!
http://jimmy.phenomer.net/wad-files/j-j ... 8-user.pk3

Here is the v8 "User Jukebox", as promised. This provides a blank slate for users to create their own collections.

Look up "help.txt" for some step-by-step instructions on how to set them up. Could someone give this a test-drive and get back to me on how well it works? :D
I come back to find this and I'm very excited! However, after following the instructions provided step-by-step, I am unable to get SCRIPTS.TXT to compile in MAP00.WAD. It tells me that it can't find the include files. When I export those to the ACC directory, the warning goes away, but when I try to run the mod it just tells me "can't find script 2" when I try to add a playlist. What gives? I'm using SLADE3 if that's any help.

EDIT: Now I noticed I also get

Code: Select all

UNKNOWN P-CODE 491718838 IN SCRIPT 790
UNKNOWN P-CODE -1478422361 IN SCRIPT 770
immediately upon starting the level on top of it not being able to start script 2.

EDIT #2: Testing the other switches in the map reveals that none of the scripts can be found despite my recompiling. What the heck's going on?
Last edited by Zero X. Diamond on Tue Nov 08, 2011 1:58 pm, edited 1 time in total.
User avatar
Jimmy
 
 
Posts: 4725
Joined: Mon Apr 10, 2006 1:49 pm
Preferred Pronouns: He/Him

Re: [Fun] Jimmy's Jukebox -- v8 User Jukebox now available!

Post by Jimmy »

I ran into the same problem a number of times while testing this out. I think pretty much all the script files need to be recompiled. :? (Not sure why, I thought that using a library would alleviate that situation.)

I think I missed out one file in the help textfile.
User avatar
Zero X. Diamond
Posts: 676
Joined: Tue Dec 22, 2009 12:46 am

Re: [Fun] Jimmy's Jukebox -- v8 User Jukebox now available!

Post by Zero X. Diamond »

How do I go about doing that? I know nothing about ACS at all apart from literally what I read in your help file.
User avatar
Tapwave
Posts: 2096
Joined: Sat Aug 20, 2011 8:54 am
Preferred Pronouns: No Preference
Graphics Processor: nVidia with Vulkan support

Re: [Fun] Jimmy's Jukebox -- v8 User Jukebox now available!

Post by Tapwave »

Why did i just realize this existed?
This is fucking awesome.
User avatar
Jimmy
 
 
Posts: 4725
Joined: Mon Apr 10, 2006 1:49 pm
Preferred Pronouns: He/Him

Re: [Fun] Jimmy's Jukebox -- v8 User Jukebox now available!

Post by Jimmy »

Zero X. Diamond wrote:How do I go about doing that? I know nothing about ACS at all apart from literally what I read in your help file.
I assume you're using SLumpEd or SLADE3? (If not, please do because they're mighty useful. :P)

You need to open the PK3, go to the /acs folder, and right-click the files and select the Compile option for each one in turn. Do "array" first, then "collect", then "jukebox". Then recompile MAP00.wad's SCRIPTS lump.

This is a major PITA that did get the best of me a couple of times. Hopefully that should work for you. :)

What's happening is that the number of entries in the array of tracks (array.acs) doesn't match the number specified in one of the other files, though it compiles fine... but when ZDoom comes to parsing it, something inevitably goes wrong, and it drops all the ACS for the current level because it can't cope. All the files have to read each other correctly in order for the whole map to work. I tell you, setting up this library has been a bitch-and-a-half. Libraries seem to make the task sound a lot easier than it actually is.
terranova wrote:Why did i just realize this existed?
This is fucking awesome.
Thanks! :lol:
User avatar
Zero X. Diamond
Posts: 676
Joined: Tue Dec 22, 2009 12:46 am

Re: [Fun] Jimmy's Jukebox -- v8 User Jukebox now available!

Post by Zero X. Diamond »

Alright, that was the problem; I didn't compile jukebox.acs to my knowledge the first time around. Thanks! Seems to work now, though the music's not playing. I know why this time though (I think) so all should be well. Will report back if failure repeats!

EDIT: Huh, no, that didn't fix it. I thought because it couldn't find D_THRUST1 that maybe it needed .MP3 on the end of it in the array, but that didn't fix it. Says the same thing except with .MP3 on the end of the error now. Also, if I load the first pack (the only one I've modified) and play it on the player thing, then scroll all the way to the end and then try to pass track 9 (and I made sure to change the appropriate numbers in the array to reflect that change, mind you) it instantly crashes ZDoom saying it tried to read from 00000000. Is this normal? My guess is that it's not.

EDIT #2: Fixed the former problem (despite the help file saying 8 letter lump names weren't necessary, apparently they are) but the latter persists.
User avatar
Tapwave
Posts: 2096
Joined: Sat Aug 20, 2011 8:54 am
Preferred Pronouns: No Preference
Graphics Processor: nVidia with Vulkan support

Re: [Fun] Jimmy's Jukebox -- v8 User Jukebox now available!

Post by Tapwave »

Just a few questions/suggestions.

Is there a next/previous album quick key? (Like the double arrow switch in the jukebox room, only bindable and usable everywhere.) If there is none, is it possible to add one?

Soundtracks: Is it possible to have SoD/Scythe2/HR1 in the next version?
User avatar
Jimmy
 
 
Posts: 4725
Joined: Mon Apr 10, 2006 1:49 pm
Preferred Pronouns: He/Him

Re: [Fun] Jimmy's Jukebox -- v8 User Jukebox now available!

Post by Jimmy »

Been making a few minor updates to the "actual" v8 of this, lately - should be ready for release quite soon. :)
terranova wrote:Is there a next/previous album quick key? (Like the double arrow switch in the jukebox room, only bindable and usable everywhere.) If there is none, is it possible to add one?
Yes, good idea. I'll get to work on that. ;)
terranova wrote:Soundtracks: Is it possible to have SoD/Scythe2/HR1 in the next version?
(I think I answered this one for you already on IRC some time ago, but still:) that's a no because they're mixed soundtracks (from all sorts of sources). Jukebox's main purpose is to include the soundtracks of megawads that are completely original. :) By all means use the User Jukebox to make a collection for it yourself - hopefully the process isn't too gruelling for you thanks to my terrible instructions. :lol:
Gez
 
 
Posts: 17937
Joined: Fri Jul 06, 2007 3:22 pm

Re: [Fun] Jimmy's Jukebox -- v8 User Jukebox now available!

Post by Gez »

How about Plutonia 2? I know some of it is included under your own mega-album and 42's one, but I think it'd make sense to make it its own soundtrack too.

And by the way, maybe splitting the artist albums into smaller, more manageable on their own albums?
User avatar
Tapwave
Posts: 2096
Joined: Sat Aug 20, 2011 8:54 am
Preferred Pronouns: No Preference
Graphics Processor: nVidia with Vulkan support

Re: [Fun] Jimmy's Jukebox -- v8 User Jukebox now available!

Post by Tapwave »

Gez wrote:How about Plutonia 2? I know some of it is included under your own mega-album and 42's one, but I think it'd make sense to make it its own soundtrack too.

And by the way, maybe splitting the artist albums into smaller, more manageable on their own albums?
I was going to ask that for the few original songs in Speed of Doom.
User avatar
Gothic
Posts: 808
Joined: Thu Jun 16, 2011 6:49 pm

Re: [Fun] Jimmy's Jukebox -- v8 User Jukebox now available!

Post by Gothic »

you forgot blood music :D
terranova wrote:HR1
those are the ROTT soundtracks
User avatar
Tapwave
Posts: 2096
Joined: Sat Aug 20, 2011 8:54 am
Preferred Pronouns: No Preference
Graphics Processor: nVidia with Vulkan support

Re: [Fun] Jimmy's Jukebox -- v8 User Jukebox now available!

Post by Tapwave »

Gothic wrote:you forgot blood music :D
terranova wrote:HR1
those are the ROTT soundtracks
I know. I discussed about this with Jimmy on the IRC.

Also, i dunno if Blood's music is in MIDI.

Return to “Graphic/Audio Patches”