September 08, 2010, 02:52:43 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New members: I'm testing a different CAPTCHA system that hopefully is less prone to spambot abuse. Email me at jf@jonof.id.au if you have problems.
 
   Home   Help Search Login Register  
Pages: [1] 2 3 ... 20
  Print  
Author Topic: SWP Updates  (Read 23812 times)
ProAsm
Moderator
Fixture
*
Posts: 477



View Profile
« on: May 10, 2009, 05:14:11 AM »

Update SWP to 4.1.5

I've been working on this section for quite some time now and finally got it going but needs testing as there is bound to be a bug or 2.

1. User Maps section in the Episodes.
All .map files that are present in the Maps directory will be displayed for use in this section.
If the map has its own mapname.mid file, mapname.grp file, mapname_hrp.zip file then these will get loaded as well together with a mapname.def and a mapname.cfg - previous SwCustom.exe, I say previous because I am dumping the name SwCustom.txt in preference to the mapname.cfg or modname.cfg etc.
Should a map have any of these files to load, SWP will create a startup commandline and restart SWP as currently there is no way to remove old Hrp's or restart new ones 'on the fly'.
Skill level requirement is also activated under this section.

2 Addons section in the Episodes.
All .grp and .zip files found in the Games directory will be listed here.
In this case SWP will be restart with a complete comandline utilizing whatever is necessary.
For instance with any Addon, like Rampage.grp, the command will be:
Swp.exe -jGames -gRampage.grp -hRampage.def -cRampage.cfg
On startup of an addon it will also look for and load (in this case) Rampage_Hrp.zip if it existed.

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

//----------------------------------------------------------

Update SWP to 4.1.6

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

This is an experimental update although I seem to have got it working ok.
Basically the animations like SW.ANM can now be of good quality using either .png or .jpg files in the animation.
These files can be any size but must all be either .png or all .jpg
Care must be taken in the filesize as I found anything above 150k tends to lag the animation a bit on slower PC's.
The files only need to be zipped together and placed in the root folder.
I have added a section to the SwCustom file as follows:

animation
{
"sw.anm" // Swp1001.. 43 frames
"swend.anm" // Swp2001.. 70 frames
"sumocinm.anm" // Swp3001.. 84 frames
"zfcin.anm" // Swp4001.. 142 frames
}

Here you can give your animation any name provided its a .zip file.
In SW there are only 4 animations so the files need to start with the appropraite names as shown and each animation currently needs the same required number of frames (files) as original.
There is a new SwpAnim.cfg inside the SWP.grp file that triggers the new animations.
Because this now takes priority I have added a provision for several old TC's so they can still run their animations.
If no new animation is found, SWP will revert back to the original.

To see how it works and how to change or add your own animation download this file and just add it to your directory.
http://www.proasm.com/files/sw/SwpAnim.zip
Here is an attempt to improve the original but I'm no graphic artist
http://www.proasm.com/files/sw/SwpAnim2.zip (just rename it to SwpAnim.zip)

At some stage I will create a new Help file to document all the latest stuff in more detail.

//----------------------------------------------------------

Update SWP to 4.1.7

Fixed orange tint on blue sprites.
Fixed Escape key in not working in F1 Help.
Fixed for all cutscene and animations not playing correctly.
Fixed menu text when no hrp is used (8 bit mode)
Added missing sound options to SWP.cfg defaults.

http://www.proasm.com/files/sw/Swp417.zip
Logged

supergoofy
Participant
**
Posts: 65



View Profile
« Reply #1 on: May 10, 2009, 05:58:04 AM »

Hi, I'm registered.  Grin

This is my first post here. Grin
Logged
Another Duke Fan
Lurker

Posts: 6



View Profile
« Reply #2 on: May 10, 2009, 08:31:56 AM »

I registered here too now. Somehow pitty that both improvement projects SW and DUKE are torn apart, however glad that they both still continue after all. 
Logged

Marked
Participant
**
Posts: 97



View Profile
« Reply #3 on: May 11, 2009, 10:18:05 AM »

Proasm:  As I was saying in the other forum, for some reason I can't get the add-ons to work in SWP. I typed in the command lines you showed in your other post and it only starts up a regular game. There must be something simple I'm missing.If I can't figure it out I will just continue to run the add-ons from a seperate folder using JFSW and the HRP.
Logged
Arch-Valentine
Lurker

Posts: 9


View Profile
« Reply #4 on: May 11, 2009, 03:21:28 PM »

Hello again.

I've been using the SWPstartup to load individual levels with skill level 4, and it's been working great. However I've noticed that the music doesn't change. (Level 1 is the only one different) I went ahead and tried going through normally in SWP, and playing some levels and it still does this. I also tried to load a level and a song via the music selection area, and it just takes me to the intro for Shadow Warrior. I've also tried selecting the Play random songs in the ingame menu but get nothing but that same song. Any clues?
Logged
ProAsm
Moderator
Fixture
*
Posts: 477



View Profile
« Reply #5 on: May 12, 2009, 12:13:13 AM »

1. Marked
What happens when you select the games grp file from the new 'Addons' section in the Episodes - does it work ok there.
Remember game addons should go in the Games folder.
Using the batchfile, you need everything in the root folder which kinda sucks.
What happens if you use SwpStartup ?
Sounds like you are putting everything in the root folder.
Maybe start again by downloading the SwpInstall and work from there.

2. Arch-Valentine
As I stated in a previous post a while back, none of the software is error checked yet, in otherwords I dont check to see if you are trying to use selected music wth the normal game etc.
With the normal game startup the only thing that should work is the internal random music for the different levels (I think)
I will however check this out again.
Once I get the 'final' documentation done, I'll do all the error checking in SWP, SwpStartup and Playwang etc... Smiley

*** Edit ***
Ok I see there is a problem with the level selection + music - I will check this lot out as I must have ovrrwritten something with all the lastest stuff Smiley

« Last Edit: May 12, 2009, 12:23:19 AM by ProAsm » Logged

ProAsm
Moderator
Fixture
*
Posts: 477



View Profile
« Reply #6 on: May 12, 2009, 05:16:22 AM »

Update SWP to 4.1.8

Fixed the music problem regarding game levels.
http://www.proasm.com/files/sw/swp418.zip

Update SwpStartup to 3.0

Fixed music commandline error in SwpStartup.
http://www.proasm.com/files/sw/SwpStartup30.zip

Music functions.
When playing the default episodes from the game only the default level music will be used.
The -music command only effects user maps or game levels selected from the commandline.
The Random Music option effects only user maps and music found in the 'Music' folder but will be bypassed if a -music command is used.

Arch-Valentine you can give this a good test out now Smiley

Logged

supergoofy
Participant
**
Posts: 65



View Profile
« Reply #7 on: May 12, 2009, 06:55:44 AM »

Something that I notice with previous SwpStartup 2.9. Although I choose in SwpStartup the trilinear filtering, in game it shows Bilinear and I have to set it to Trilinear from the video options (in game).
Logged
Arch-Valentine
Lurker

Posts: 9


View Profile
« Reply #8 on: May 12, 2009, 07:39:44 AM »

So I take it that if I select levels from SWPstartup its supposed to go to the same song? If I play normally, the songs switch from level to level. I was hoping that if you select a level it has a default song, but this doesn't seem to be the case. If I swtrek to another level it plays the same music from the previous level I was in as well. Seems odd. I also see that I can select songs from SWPstartup now and they play the level instead of going to the intro. That's about the only difference I noticed with 4.1.8.
Logged
ProAsm
Moderator
Fixture
*
Posts: 477



View Profile
« Reply #9 on: May 12, 2009, 07:59:33 AM »

Yes that is correct, the 'external' music is selected by SwpStartup and not by Swp
So if you select a game level, or a user map and then select a music, that music will play.
If you now swtrek, then you are not starting it from SwpStartup but from in the game so it does not know what music you want so it will revert back to the original selection, or the default level music.
If on the otherhand you start Swp.exe as normal, select an episode, a skill and start a level then everything defaults back to the original SW music.
The same will happen if you start a user addon .grp or .zip file.
The fix I did in SWP 418 was that it would not accept both the -music and -level at the same time, so that is now fixed.

What you can try, is make your own SwCustom.txt file (use the sample supplied) put it in the root folder, then in each 'Level' add the 'song' name of the music file you want played.
Just remember to remove this SwCustom file when playing addons else theirs wont work Smiley

Supergoofy, try this:
http://www.proasm.com/files/sw/SwpStartup31.zip
« Last Edit: May 12, 2009, 08:01:12 AM by ProAsm » Logged

supergoofy
Participant
**
Posts: 65



View Profile
« Reply #10 on: May 12, 2009, 08:22:52 AM »

Yep, SwpStartup v3.1 fixed the problem. I can select Trilinear filtering with SwpStartup and it shows Trilinear filtering within the game.

Many thanks Grin

Logged
Marked
Participant
**
Posts: 97



View Profile
« Reply #11 on: May 12, 2009, 09:36:12 AM »

I guess it is something simple after all. The 3 bottom choices in the episode selection are greyed out probably because I am using the shareware version of SW. I have the full version somewhere but I haven't been able to find the cd. Only the box. Angry
Logged
Arch-Valentine
Lurker

Posts: 9


View Profile
« Reply #12 on: May 12, 2009, 09:46:01 AM »

Oh wow I feel dumb. I decided to go find my SW CD so I could enable the CD music and I am glad I did. Besides it being 100 times more superior to Midi (Obviously) if I select a level via SWPstartup it plays the correct music for each level! So I have no more issues in regards to music. I don't think I've ever played SW with the CD music, so it shall be quite the treat. It definitely adds alot of immersion to such a classic game.

My question is, is there a way to play the CD music within SWP pr SWPstartup without the CD? I've already imported the files off the CD via Itunes....It would be neat if I could somehow point to a folder instead of the CD.

~Edit: Alrighty, I think I found a problem with the CD music. It plays the level music once and then stops. Unlike the MIDI that goes in a loop. This is sorta disappointing and I was wondering if there was a way to get the CD music to also loop like the midi. It kinda sucks to listen to such a cool ambient song for 1/3 of the level and then for the last 2/3's its just silence. I've tried this on multiple levels.
« Last Edit: May 12, 2009, 10:06:36 AM by Arch-Valentine » Logged
Marked
Participant
**
Posts: 97



View Profile
« Reply #13 on: May 12, 2009, 10:08:24 AM »

I'm totally confused now. I found the SW cd and grabbed the grp file and replaced the shareware one. It made no difference.My choices are still greyed out as though I have the shareware version. I guess I have to figure out these issues before I can figure out how to get the add-ons to run in SWP.

EDIT:  I remember now. Years ago when I bought Shadow Warrior it came in the original box with cd case and the 28 page booklet. But either through an accident or because it was a pirated version being sold in the stores it actually contained just the shareware version. I got ripped off. Good thing it cost only 5.00  I guess I'll have to go out and buy another "full version"
« Last Edit: May 12, 2009, 10:38:55 AM by Marked » Logged
ProAsm
Moderator
Fixture
*
Posts: 477



View Profile
« Reply #14 on: May 12, 2009, 04:19:02 PM »

LOL, yeah the retail version would help.
Gee I'm surprised you did so much work and just with the shareware Smiley

Arch-Valentine, to play the CD-Music without the CD, get yourself Daemon Tools which will create you a 'virtual' CD player, then create an image file from the SW CD and mount it.
Works like a charm Smiley
Logged

Pages: [1] 2 3 ... 20
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC