Forum Archive

Go Back   3D Realms Forums > 3D Realms Topics > Other Apogee/3D Realms Games > Shadow Warrior Source Code
Blogs FAQ Community Calendar

Notices

 
 
Thread Tools
Old 07-15-2007, 03:01 PM   #121
ProAsm

ProAsm's Avatar
Re: Swp updated.
Quote:
Originally Posted by heebijeebi View Post
all the non-shareware-levels have the same music when I play with the last swp version....
Are you refering to Music or CDMusic ?
If its CDMusic then is the SwCustom.txt file in use or not because the 'old' SwCustom.txt had all that tracks as 4.

Also !!!
These are ALL the same music:

KOTOKI12.MID
NIPPON34.MID
SANAI.MID
YOKOHA03.MID
E1L03.MID
EXECUT11.MID
HOSHIA02.MID
KOTEC2.MID

These are the default Non Shareware levels and their music:

level 5 - yokoha03.mid
level 6 - nippon34.mid
level 7 - execut11.mid
level 8 - execut11.mid
level 9 - sanai.mid
level 10 - kotec2.mid
level 11 - kotec2.mid
level 12 - yokoha03
level 13 - nippon34
level 14 - kotoki12.mid
level 15 - hoshia02.mid
level 16 - hoshia02.mid
level 17 - None
level 18 - sanai.mid
level 19 - kotec2.mid
level 20 - None
level 21 - None
level 22 - None



A Senario !!!

Regarding a saved game.
You save a game with Music or CDMusic ON.
Next time you play, you decide to switch Music and CDMusic OFF.
You now decide to load that game you saved.
Does the music play as you saved with music ON, or does it remain silent. ?
__________________
http://www.proasm.com
Last edited by ProAsm; 07-15-2007 at 03:21 PM.
ProAsm is offline  
Old 07-16-2007, 06:44 AM   #122
heebijeebi
Re: Swp updated.
Quote:
Originally Posted by ProAsm View Post
Also !!!
These are ALL the same music:

KOTOKI12.MID
NIPPON34.MID
SANAI.MID
YOKOHA03.MID
E1L03.MID
EXECUT11.MID
HOSHIA02.MID
KOTEC2.MID
ok lol that explains everything
__________________
SW HRP 07-03-07
heebijeebi is offline  
Old 07-19-2007, 03:23 PM   #123
Hendricks266
Re: Swp updated.
I just thought of something else. Could you add the CDDevice and PlayCD options into the in-game menu if they aren't already there?
Hendricks266 is offline  
Old 07-19-2007, 03:59 PM   #124
ProAsm

ProAsm's Avatar
Re: Swp updated.
I did look at that and its awkward.
I have made quite significant changes which effects both the SwpSetup and SwpStartup in that up to now to disable music you set MusicDevice=-1 but that screwed up the Savedgame stuff as well as the CDDevice, so I have now enabled the MusicOn in the [Options] and now leave the MusicDevice and CDDevice to their respective settings rather.
Devices can only be set in the setup applications but the MusicOn and PlayCD could now both be done in menu.
Only problem is if MusicOn has a major effect on PlayCD but not the other way around.
__________________
http://www.proasm.com
ProAsm is offline  
Old 07-21-2007, 04:13 AM   #125
ProAsm

ProAsm's Avatar
Re: Swp updated.
Swp update 3.8.7

The Theme song music has changed a little to incorporate the different bosses - just made life easier.
Themes covering cdatracks and midi music (songs) have been changed in the SwCustom.txt.
Code:
theme 1 // game startup menu
{
    song "theme.mid"
    cdatrack 2
}
theme 2 // bonus screen
{
    song "endlev3.voc"
    cdatrack 3
}
theme 3 // serpent boss
{
    song "serpent.mid"
    cdatrack 13
}
theme 4 // sumo boss
{
    song "sumo.mid"
    cdatrack 13
}
theme 5 // zilla boss
{
    song "zilla.mid"
    cdatrack 13
}
theme 6 // endgame sequence
{
    song "ending.mid"
    cdatrack 14
}
Music Logics:

Normal play.
CD Music has priority.
If you have Midi Music enabled and CD Music enabled but forgot to put in your CD, midi music will be selected.
Saved Game.
Saved games will use the music they were saved with most of the time.
If you load a saved game and it was saved with CD music but there is no CD in the drive, midi music will be selected.
If you saved the game with midi music and you currently have CD music enabled, CD music will be disabled and midi music will play.
When saving a usermap the chances are you will not have the same music as was saved with the map as SW selects a random music.
However if you had a mapname.mid to go with the map, then that midi will be used.
On the next level, after any saved game, settings will revert back to what they were before the saved game was loaded.
Games that get saved that have Bosses in them will not have their themes saved simply because the routine does not know if there is a Boss in the level
So any saved games with Bosses will have the current default cdatrack or midi music played.

Up to now in Sw and Swp, the MusicDevice has been set to -1 if Music is disabled.
This caused havoc in the loading of Savedgames if sound was enabled when saving.
Sw does have an option for this which is used in the menu if you disable Music, yet it was never used in any of the setup applications.
This 'MusicOn' found in the [Options] is now in use in both SwpSetup and SwpStartup, making previous setups incompatible with Swp3.8.7
This also helped the Music on/off work better in the game menu.

CD Music
Added a CD Music option to Sound Menu.

Mapname
The mapname has been added to the Game Paused display.

Bug (maybe)
Currently if you disable Midi Music in the Menu or during a level, you cannot enable it again in another level.
It will show its enabled but the music will not play and you need to restart the whole game.
The rest however seems to work quite well now although needs lotsa testing

http://www.proasm.com/files/sw/Swp38_7.zip
__________________
http://www.proasm.com
ProAsm is offline  
Old 07-21-2007, 03:20 PM   #126
TerminX

TerminX's Avatar
Re: Swp updated.
Instead of all this midi shit, it might be good if you tried to fix things like the broken viewscreen in the first level, et cetera. Just a thought.
TerminX is offline  
Old 07-21-2007, 03:44 PM   #127
ProAsm

ProAsm's Avatar
Re: Swp updated.
LOL thats fixed, well sort of, the red control now steers the yellow car with the silver key
I know.. I know.... its a hack, and a bad one... but it does the job until I can get it right
__________________
http://www.proasm.com
ProAsm is offline  
Old 07-22-2007, 03:53 AM   #128
0815Jack
Re: Swp updated.
the new version works great for me......thx ProAsm

only one issue: if you load old savegames with the new version then you will experirence strange game behavior .... but that was expected to be happening

EDIT: an ingame volume control of the CD music would ne nice.....if possíble
Last edited by 0815Jack; 07-22-2007 at 05:26 AM.
0815Jack is offline  
Old 07-22-2007, 02:46 PM   #129
ProAsm

ProAsm's Avatar
Re: Swp updated.
When CD Music is selected it auto uses the Midi Music volume but I see your problem.
Yes old saved games will have issues as they did not have the extra CD music saved and I had to put that slap in the middle of the file, just the way it works.
__________________
http://www.proasm.com
ProAsm is offline  
Old 07-25-2007, 07:21 AM   #130
ProAsm

ProAsm's Avatar
Re: Swp updated.
Swp update 3.8.8

There was a small bug in that if using midi music, it would sometimes dissapear during a F9 quickload.
This has now been fixed.

A 'Load Saved Game' command has been added to the commandline in the form:
Swp.exe /game# where # is 0 - 9

The SwpStartup application has been completely revamped with items placed in their correct places.
There is now also a option to load a saved game as well as starting at any level.
Ambience sound and Stat options also added.

NB 1 It is advised to delete your Swp.cfg before using 3.8.8
NB 2 Previously saved games will not work properly with this version.

http://www.proasm.com/files/sw/Swp38_8.zip

This will probably be the last beta unless more serious problems are found.
__________________
http://www.proasm.com
ProAsm is offline  
Old 07-26-2007, 11:12 PM   #131
veritron
Re: Swp updated.
Your website seems to have gone down.

Does anyone have a mirror for that file? If I get a copy I'll happily mirror it.
Last edited by veritron; 07-26-2007 at 11:15 PM.
veritron is offline  
Old 07-27-2007, 12:47 AM   #132
ProAsm

ProAsm's Avatar
Re: Swp updated.
The link seems fine to me.
Please do not mirror beta versions.
Wait for the final 3.8 which all going well will be this weekend.
__________________
http://www.proasm.com
ProAsm is offline  
Old 07-27-2007, 01:03 AM   #133
veritron
Re: Swp updated.
Quote:
Originally Posted by ProAsm View Post
The link seems fine to me.
Please do not mirror beta versions.
Wait for the final 3.8 which all going well will be this weekend.
that's awesome and i thank you for your hard work.

i am getting redirected to a domain squatter page when i follow your link - your dns name might've expired or something, I dunno.
veritron is offline  
Old 07-27-2007, 01:28 AM   #134
ProAsm

ProAsm's Avatar
Re: Swp updated.
The final will be identical link except for filename.
Quote:
i am getting redirected to a domain squatter page when i follow your link - your dns name might've expired or something,
Anyone else with this problem ?

Try this:
http://proasm.totalconversions.com/files/Swp38_8.zip
__________________
http://www.proasm.com
ProAsm is offline  
Old 07-27-2007, 01:39 AM   #135
veritron
Re: Swp updated.
Quote:
Originally Posted by ProAsm View Post
The final will be identical link except for filename.

Anyone else with this problem ?

Try this:
http://proasm.totalconversions.com/files/Swp38_8.zip
that is working, thank you very much.

whatever happened to the dns had to have happened within the past day or so.
veritron is offline  
Old 07-28-2007, 02:31 PM   #136
ProAsm

ProAsm's Avatar
Re: Swp updated.
Swp38 Release

Ok finally we have a release.

Swp38: http://www.proasm.com/files/sw/Swp38.zip

SwpStartup: http://www.proasm.com/files/sw/SwpStartup.zip

Source: http://www.proasm.com/files/sw/SwpSrc38.zip

Playwang: http://www.proasm.com/files/sw/Playwang31.zip

Many thanks to all those that helped and contributed towards getting the music and cd stuff right
__________________
http://www.proasm.com
ProAsm is offline  
Old 07-29-2007, 03:35 AM   #137
skitey

skitey's Avatar
Re: Swp updated.
nice nice....

only 1 thing about "Playwang"...
could you make it working that i don't had to copy/duplicate the HRP-contend to the Games Directory?
skitey is offline  
Old 07-29-2007, 08:31 AM   #138
ProAsm

ProAsm's Avatar
Re: Swp updated.
Why do you need to do that, I dont do that and it works ok ?
What happens if you dont do that ?

** Edit **
Ok I see what you mean, mmm I wonder when that went wrong.
I'll see what I can do.

** Edit 2 **
Make sure you do not have a SwCustom.txt file in your root folder else none of the game's textures or the game will load.
Thats the only problem I had.
I will make Playwang 3.2 look for this and rename the SwCustom.txt if it exists when playing TC / Addons.
Otherwise it seems to work fine, with both using the Sw_hrp.zip or using the highres folder.
__________________
http://www.proasm.com
Last edited by ProAsm; 07-29-2007 at 09:00 AM.
ProAsm is offline  
Old 07-29-2007, 12:56 PM   #139
Hendricks266
Re: Swp updated.
How about you add a command line switch for swcustom.txt?
Hendricks266 is offline  
Old 07-29-2007, 03:54 PM   #140
ProAsm

ProAsm's Avatar
Re: Swp updated.
You mean the switch must be present else the swcustom.txt just gets ignored ?
If so maybe a good idea.
But even so whatever is in the root folder always get priority.
This is the reason why I was against a common filename like swcustom.txt as in the beginning Swp had a file which was the same name as the .grp etc, so LoNukem had a file called LoNukem.cfg which Swp looked for although the extension should have been something else.
__________________
http://www.proasm.com
ProAsm is offline  
Old 07-29-2007, 04:27 PM   #141
Hendricks266
Re: Swp updated.
No, I mean like the /g and /h (plus /x for Duke) switches, but for swcustom.txt. So, it'll be something like /cLoNukem.cfg and it will use LoNukem.cfg as the swcustom.txt file.
Hendricks266 is offline  
Old 07-29-2007, 05:14 PM   #142
ProAsm

ProAsm's Avatar
Re: Swp updated.
Sorry, wires got twisted.
Yes thats exactly what I was refering to.
Ok I'll add it as you suggest.
__________________
http://www.proasm.com
ProAsm is offline  
Old 07-29-2007, 05:29 PM   #143
Hendricks266
Re: Swp updated.
From what I understand from your post before your last, the swcustom.txt will not be loaded at all without the switch. That should not be the case; it should default to swcustom.txt.
Hendricks266 is offline  
Old 07-30-2007, 01:33 AM   #144
ProAsm

ProAsm's Avatar
Re: Swp updated.
Ok wildo.
__________________
http://www.proasm.com
ProAsm is offline  
Old 07-30-2007, 05:19 AM   #145
ProAsm

ProAsm's Avatar
Re: Swp updated.
Just playing some TC's here I now see what skitey means by the lack of the HRP.
Basically the way Sw and Swp is currently configured, if a whatever.def file is included with a TC or map, it replaces the sw.def and not just adds to it.
That sucks, because if the author did not add a include sw.def we loose the whole hrp!
I'm gonna change that so that the sw.def loads first regardless, then any other /hWhatever.def that comes along is added to it.
__________________
http://www.proasm.com
ProAsm is offline  
Old 07-30-2007, 10:39 AM   #146
skitey

skitey's Avatar
Re: Swp updated.
thx for understanding
skitey is offline  
Old 07-30-2007, 01:53 PM   #147
ProAsm

ProAsm's Avatar
Re: Swp updated.
Swp update 3.9.1

These adjustments mainly concentrate on commandline extra's, TC and usermaps.

The SwCustom.txt file.
There is now a commandline option /c or -c immediately followed by a filename which represents a map's or TC's SwCustom.txt equivalent.
For instance with LoNukem it would be /cLoNukem.cfg
It can currently be any extention although I feeling sticking to a .cfg might pay dividends in the long run.
Basically Swp will first look for a /c command and if not found it will look for a local SwCustom.txt.

Directory Path.
There is now also a commandline option /j or -j immediately followed by the directory name.
This directory/folder will now be added to Swp's searchpath.
For example, you have a folder called Test, and in that folder you have a map call Dojo.map
You also have some graphics and stuff for your map thus you have a Dojo.def file
You want to change the way weapons and inventory works so you have a Dojo.cfg file which represents the SwCustom.txt
So you now create a batch file to load and execute your map with all the goodies.
Dojo.bat
Swp.exe /jTest /cDojo.cfg /hDojo.def /map Dojo.map
That will do the trick just fine.
You can also now zip the whole lot up into a Dojo.zip file and only have the zip file in the Test folder and add to your batch file:
Swp.exe /jTest /gDojo.zip /cDojo.cfg /hDojo.def /map Dojo.map

http://www.proasm.com/files/sw/Swp39_1.zip

LoNukem has been updated to accomodate the new /cLoNukem.cfg file.

http://www.proasm.com/files/swtcs/Lonukem_v24.zip
__________________
http://www.proasm.com
ProAsm is offline  
Old 08-20-2007, 05:58 PM   #148
Hendricks266
Re: Swp updated.
It looks like your hack for the Seppuku Station viewscreen is not needed any more.
http://www.jonof.id.au/forum/index.p...c=780.msg0#new
Hendricks266 is offline  
Old 08-21-2007, 09:29 AM   #149
ProAsm

ProAsm's Avatar
Re: Swp updated.
Yes JF wrote to me about that and I have the code that he fixed and was going to do a new release this weekend, just been very tied up with other stuff.
I will still leave my fix in until his can work with 32bpp.
__________________
http://www.proasm.com
ProAsm is offline  
Old 08-26-2007, 04:33 AM   #150
ProAsm

ProAsm's Avatar
Re: Swp updated.
Swp update 3.9.2

Added JonoF's TV monitor fix that appears in $bullet.
I have left the old fix in until later.

http://www.proasm.com/files/sw/Swp39_2.zip
__________________
http://www.proasm.com
ProAsm is offline  
Old 09-04-2007, 12:57 PM   #151
ProAsm

ProAsm's Avatar
Re: Swp updated.
For those who need self installation:

http://www.jonof.id.au/forum/index.p...sg8113#msg8113
__________________
http://www.proasm.com
ProAsm is offline  
Old 09-05-2007, 07:55 PM   #152
Hendricks266
Re: Swp updated.
ProAsm, there is a bug in the code to turn voxels on and off. The gun barrel (tile 764) does not go back to sprite form when voxels are turned off. They way it will work is that is will be aligned flat so that when you look at it from the side, it will look like a “|”. There may be another tile for the front somewhere, but I haven't looked.
Hendricks266 is offline  
Old 09-06-2007, 01:54 PM   #153
ProAsm

ProAsm's Avatar
Re: Swp updated.
Can you give me a map or level example where this tile is used as the obvious gun barrels I looked at use different more solid tiles.
__________________
http://www.proasm.com
ProAsm is offline  
Old 09-06-2007, 07:50 PM   #154
Hendricks266
Re: Swp updated.
$DOZER.MAP - MAP02. However, it is not present in the map itself, as there is an ST1 sprite for that. You'll have to tinker with the source code.
Hendricks266 is offline  
Old 09-09-2007, 02:02 PM   #155
ProAsm

ProAsm's Avatar
Re: Swp updated.
It would seem, no matter how I look at the 764 gun barrel, voxels on or off, it always looks the same to me.
Maybe I'm doing it wrong as if I cannot see it I cannot fix it
__________________
http://www.proasm.com
ProAsm is offline  
Old 09-09-2007, 04:11 PM   #156
NightFright

NightFright's Avatar
Re: Swp updated.
I am just playing through the game for the first time since I initially played it back in 1997. Good port, your SWP one. However I am not so satisfied with the MIDI solution, regarding that the same track is repeated over and over again in the non-shareware levels. The CD tracks sound much better. We need MP3 support soon!
NightFright is offline  
Old 09-09-2007, 09:41 PM   #157
ProAsm

ProAsm's Avatar
Re: Swp updated.
Thanks, and I agree about the MP3's
__________________
http://www.proasm.com
ProAsm is offline  
Old 09-10-2007, 07:55 AM   #158
NightFright

NightFright's Avatar
Re: Swp updated.
Hey, and "Playwang" is even better. It's simply *THE* utility to launch all the great addons out there. Great this is still being worked on.

One issue to report, though: If you use MIDI music in the original SW campaign and beat Zilla, the game crashes when it's supposed to play the "Lo Wang Rap" (from CD). You don't see the credits then, just the error message after the sentence "Lo Wang feels like a song now".
Last edited by NightFright; 09-10-2007 at 08:32 AM.
NightFright is offline  
Old 09-10-2007, 09:42 AM   #159
ProAsm

ProAsm's Avatar
Re: Swp updated.
mmm thats not good
I must admit I never tested it that far and will look at it asap.
__________________
http://www.proasm.com
ProAsm is offline  
Old 09-10-2007, 12:51 PM   #160
ProAsm

ProAsm's Avatar
Re: Swp updated.
For months now I cannot make long posts on this forum so will make short ones.....
__________________
http://www.proasm.com
ProAsm is offline  
 

Bookmarks


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 Off

Forum Jump


All times are GMT -6. The time now is 06:54 PM.

Page generated in 0.18712997 seconds (100.00% PHP - 0% MySQL) with 17 queries

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

Website is ©1987-2014 Apogee Software, Ltd.
Ideas and messages posted here become property of Apogee Software Ltd.