06-19-2004, 07:17 PM | #81 |
Re: Birgers/JB\'s WinRott Port
I tested my post by selecting and downloading the zip,
it decoded perfectly, and I loaded the zip into winzip and it tested ok. Make sure your running news shark 2.0, specify your news server in the setup, subscribe to 'alt.binaries.games', scan the headers in that group, select and download my zip, it should yEnc decode automatically after the parts are downloaded, it should then save the decoded file to the folder specified in the setup window for news shark. If you have done all of this and your still getting junk, then the file is corrupted on your server probably. All I can do is re-post the zip again once this one expires off of the server. jbailey |
|
06-19-2004, 07:19 PM | #82 |
Re: Birgers/JB\'s WinRott Port
Hey, Another Duke Fan, are you able to run everything ok?
just checking... jbailey |
|
06-19-2004, 08:18 PM | #83 |
Re: Birgers/JB\'s WinRott Port
Ok, I finally got the zip file in whole.....excpet it messed up. The zip had errors on every file except readme and sdl.dll everything else failed to unzip.
|
|
06-19-2004, 09:44 PM | #84 |
Re: Birgers/JB\'s WinRott Port
Ok, I'll repost the file again under a different name, it will
still have 'rotfiles' in the subject line... jbailey |
|
06-20-2004, 10:20 AM | #85 |
Re: Birgers/JB\'s WinRott Port
Ok now this is starting to become frustrating....
I got the zip faster this time and it was much smaller. However once again only the readme file was uncorrupted. Everything else had header errors in winzip and CRC failures in winAce. Well at least we tried.... Thanks anyway. |
|
06-20-2004, 10:56 AM | #86 |
Re: Birgers/JB\'s WinRott Port
Sorry your having all those problems, I downloaded my
2nd post and checked it, it was fine. If your email clears up, let me know and I'll try and re-send to your email. jbailey |
|
06-22-2004, 04:19 AM | #87 |
Re: Birgers/JB\'s WinRott Port
If the file isn't too big - under 1.5 MB or so - you could just mail it to me. I've got some webspace I can upload it to.
|
|
06-22-2004, 06:25 AM | #88 |
Re: Birgers/JB\'s WinRott Port
Sure, let me have email address and I'll send the zip file
to you, the file size is 1.6 megs. You might want to put a note up saying that these files are experimental at best, and are not guaranteed to operate as expexted. Also, you can put up my email address as the one to contact for questions and/or problems. jbailey |
|
06-22-2004, 07:35 AM | #89 |
Re: Birgers/JB\'s WinRott Port
One thing....does this port work with Lan play? Does the music work? Those are the only two things that won't currently work in my dos version...
|
|
06-22-2004, 05:26 PM | #90 |
Re: Birgers/JB\'s WinRott Port
Here's the text from the included readme:
---------------------------------------------------------------------- cygrott.exe - registered version rott built with gcc 3.4.0 seems to be the most stable, good sound effects, no music (mixer problem). watrott.exe - registered version rott built with openwatcom 1.2 (older exe) has good music, sound effects ok with reverb. sdl.dll & sdl_mixer.dll - latest versions built with msvc 7.0 sdl_mixer has a couple of changes to help with stutter. libmmd.dll - Since I accidently built a executable with the intel compiler(and not the one I thought I had selected) this dll may or may not be required, copy to same directory as these executables. May also be required for these particular versions of sdl & sdl_mixer. cygwin1.dll - required dll for all exe's built with cygwin, copy to same folder as cygrott.exe. I did not include any versions of rott built with msvc 7.0 because of moderate - extreme instability, the bad reverb (problem seems to be in fx_man.c) in playing back sound effects (music is ok). The game tends to lock up/crash constantly. If you still want to try this version let me know. -------------------------------------------------------------------- If any kind of network play is still active, it will be like the original rott executable, these executables might still do 'old style' lan play, but no internet stuff. As far as audio goes, that one thing seems to be the biggest problem overall with getting rott to run properly on current systems. I'm sure that eventually, everything will be up and running, just not sure when, I don't work on rott all the time, and also, there are better coders out there then me. It would be nice if a small team could get together just to work out these particular problems (no opengl stuff). We would be concentrating on just getting the basic stuff running properly. As always, any problems/questions, post here! jbailey |
|
06-23-2004, 10:00 AM | #91 |
Re: Birgers/JB\'s WinRott Port
Hi, I'm quite new in this forum section, so first off I'd like to know what changes have you made to this port compared to the orginal icculus team rott windows port (v.1.0).?
secondly could you mail your port to me also at [email protected]
__________________
"You should be glad I'm with you to point out all your stupid mistakes." |
|
06-23-2004, 05:05 PM | #92 |
Re: Birgers/JB\'s WinRott Port
The changes I've made were mainly to incorporate other
coders bug fixes/patches and to try and get the audio playing properly. I'm not doing anything fancy, just trying to get the basic stuff to run properly on current systems, the biggest problem is audio, either music works and sound effects are messed or it's the other way around depending on what version of the rott executable your trying to run. I'll send the zip tonight, be sure and read the readme first before doing anything. These might not run as expected on any system other then mine, these files are experimental at best. jbailey |
|
06-23-2004, 05:12 PM | #93 |
Re: Birgers/JB\'s WinRott Port
Hey Skynet, I just tried sending the zip to your email and
it got returned under a general error. Please everybody, I don't mind too much sending this zip out, but be sure your email can handle 2 meg or better file sizes. Thanks! jbailey |
|
06-24-2004, 01:13 AM | #94 | |
Re: Birgers/JB\'s WinRott Port
Quote:
Sorry, my e-mail box was too full. I cleaned some stuff out of it and I can now receive total of 3 megs. Please, send it again.
__________________
"You should be glad I'm with you to point out all your stupid mistakes." |
||
06-24-2004, 05:17 AM | #95 |
Re: Birgers/JB\'s WinRott Port
jbailey's files are online now, you can download them at http://mitglied.lycos.de/aurorashp/rott.html
Unfortunately neither of the two builds work for me. CYGROTT gives me the message "Couldn't create preferences directory: Permission denied". WATROTT plays the music, but my screen remains blank. |
|
06-24-2004, 06:28 AM | #96 |
Re: Birgers/JB\'s WinRott Port
I tested both of those executables before zipping, and I was
able to play the game in both cases, however I will check into those problems. jbailey |
|
06-24-2004, 04:51 PM | #97 |
Re: Birgers/JB\'s WinRott Port
I was afraid that if people started asking me to send them
my experimental rott work, that they might have problems running it. My system has a lot of programming stuff on it, and the paths set up in my environment access a lot of stuff at both the command line and gui level, for stuff that I will be sending to other people from now on, I'm going to test any further rott executables both in my current environment and in a 'isolated' environment, that is all paths will be killed etc, etc to make my system as generic as possible to other systems, and if a failure occurs there, then I've caught it before sending the files to anybody. jbailey |
|
06-24-2004, 05:15 PM | #98 |
Re: Birgers/JB\'s WinRott Port
Ok, I just tested the watrott executable & the cygrott
executable in my isolated environment and cygrott runs fine, it plays the demos and I can play the game, watrott runs pretty much as expected, it plays music & sound effects but it's a little shakey (it's always been like that, due to the sound effects playback). I got no reference to the message you posted about the program not being able to create a preferences directory, anything the game is going to create should be in the same folder as the executable itself. But you can check to make sure that the game folder isn't write protected. And watrott's blank screen problem might be caused by the wrong sdl and/or sdl_mixer dll's being used, unzip the 2 sdl files included in the zip to the same folder as the executable, and make real sure that there are no other sdl.dll and/or sdl_mixer.dll files accessable from any other paths, and try it again. Also, on more little thing. I used the command line version of pkzip to make the zip I've sent out, the file 'sdl_mixer.dll' has been truncated to 'sdl_mixe.dll' you will have to rename that file, that's my fault and I should have looked more closely. jbailey |
|
06-24-2004, 06:11 PM | #99 |
Re: Birgers/JB\'s WinRott Port
Another thing you could look at in relation to the blank
screen is make sure your 'SDL_VIDEODRIVER' variable is set to 'windib', that seems to work good for me. jbailey |
|
06-24-2004, 08:49 PM | #100 |
Re: Birgers/JB\'s WinRott Port
For those who are interested, here's the code in rott that is
NOT running under the cygnus version of rott or the main reason there is no music in this version of the rott executable.(cygrott.exe): -------------------------- #ifdef DUKE3D // Duke3D-specific. --ryan. void PlayMusic(char *_filename) { //char filename[MAX_PATH]; //strcpy(filename, _filename); //FixFilePath(filename); char filename[MAX_PATH]; long handle; long size; void *song; long rc; MUSIC_StopSong(); // Read from a groupfile, write it to disk so SDL_mixer can read it. // Lame. --ryan. handle = kopen4load(_filename, 0); if (handle == -1) return; size = kfilelength(handle); if (size == -1) { kclose(handle); return; } // if song = malloc(size); if (song == NULL) { kclose(handle); return; } // if rc = kread(handle, song, size); kclose(handle); if (rc != size) { free(song); return; } // if // save the file somewhere, so SDL_mixer can load it GetPathFromEnvironment(filename, MAX_PATH, "tmpsong.mid"); handle = SafeOpenWrite(filename, filetype_binary); SafeWrite(handle, song, size); close(handle); free(song); //music_songdata = song; music_musicchunk = Mix_LoadMUS(filename); if (music_musicchunk != NULL) { // !!! FIXME: I set the music to loop. Hope that's okay. --ryan. Mix_PlayMusic(music_musicchunk, -1); } // if } #endif --------------------- Believe me when I say I've tried every trick I can think of to get this to compile & link under cygwin/gcc 3.40. This code is from dukemusc.c. If this code can be made to work under gcc, we should have both music & sound effects. jbailey |
|
06-24-2004, 09:19 PM | #101 |
Re: Birgers/JB\'s WinRott Port
Now that i finally get to try it....it doesn't work. The cgywin version just loads then a black prompt flashes and quickly ends. The watcom version did work, but is there something I should be worried about with that one? My joystick doesn't work either...its usb, but it works with other dos and windows games...
|
|
06-24-2004, 10:09 PM | #102 |
Re: Birgers/JB\'s WinRott Port
If your getting a quick black screen and then it drops back
to the desktop, it probably can't find a file it needs to run, do the following: Go to a commandline prompt and type 'cygrott > out.txt' I'm not sure if your computer will support that command, but try it and hopefully you will have a file called 'out.txt' post the contents here. I got the same error earlier when I was running a test with cygrott, it just needed another file copied over to it's current location. jbailey |
|
06-26-2004, 09:57 AM | #103 |
Re: Birgers/JB\'s WinRott Port
your port works brilliantly for me JBailey the Cygrott one anyways, I only get the sound FX but id prefer them to just the music. Watrott keeps saying it can't find the msvcr70d.dll even though its right there in the folder.
But at least one of them works awsome.
__________________
First One To Find Dopefish Gets A Chew Toy!!!!! |
|
06-26-2004, 02:25 PM | #104 |
Re: Birgers/JB\'s WinRott Port
Thanks for the comment! I didn't include the msvcr70d.dll
because I figured most people already had it, and due to the problems people were having getting my zip in their email. I can't post that file here because of file size restrictions. I guess I could zip up that 1 file, and maybe get remy to put that zip up too if a lot of people don't have or can't get that file.I'm currently working to get music running in the cygwin version of rott, I can get the code active and compile the object module (dukemusc.o) I just can't get it to link because of several undefined references to _kclose, _kfilelength etc, etc. If you want the shareware version of cygrott.exe, let me know... (Remy will have to put that up also). jbailey |
|
06-26-2004, 02:34 PM | #105 |
Re: Birgers/JB\'s WinRott Port
Here's all the errors I'm getting during the linking:
/cygdrive/e/cvs/rott/rott/dukemusc.c:359: undefined reference to `_kopen4load' dukemusc.o(.text+0x4da):/cygdrive/e/cvs/rott/rott/dukemusc.c:363: undefined reference to `_kfilelength' dukemusc.o(.text+0x4f7):/cygdrive/e/cvs/rott/rott/dukemusc.c:366: undefined reference to `_kclose' dukemusc.o(.text+0x527):/cygdrive/e/cvs/rott/rott/dukemusc.c:373: undefined reference to `_kclose' dukemusc.o(.text+0x54e):/cygdrive/e/cvs/rott/rott/dukemusc.c:377: undefined reference to `_kread' dukemusc.o(.text+0x562):/cygdrive/e/cvs/rott/rott/dukemusc.c:378: undefined reference to `_kclose' collect2: ld returned 1 exit status MAKE: *** [rott] Error 1 I can't find a lib that has the right definitions in it, I might have to try and create my own lib, but first I need to find the source code that defines the above undefined references. Or find the proper lib. If I can get this 1 thing fixed, cygrott just might have music (hopefully). jbailey |
|
06-27-2004, 12:57 PM | #106 |
Re: Birgers/JB\'s WinRott Port
I think those functions are part of the build engine, they are file manipulation routines written by Ken Silverman. They are in cache1d.c .They are part of the group file system.
|
|
06-27-2004, 02:07 PM | #107 |
Re: Birgers/JB\'s WinRott Port
Thanks!, it didn't even occur to me to look in the duke3d
/build code. I'll see if I can get this code to work... jbailey |
|
06-27-2004, 02:48 PM | #108 | |
Re: Birgers/JB\'s WinRott Port
Quote:
|
||
06-27-2004, 03:16 PM | #109 |
Re: Birgers/JB\'s WinRott Port
<Sigh> This is getting irritating, I tried compiling the
cache1d.c code using the included makefile for gcc, and I keep getting 3 errors related to cache1d.c: 'implicit fuction definition errors' for 'read' 'close' 'lseek' lines 283, 285, & 294 in 'build\src\cache1d.c' This usually suggsts that no prototypes could be found for the listed functions, I tried prototyping some code, but all that did was make things worse(although it did make the original errors go away). I'm not giving up though, but if anyone here has some ideas, post them here. Note that I can't use a different compiler here, I have compiled this code before successfully, but the object modules were in a different format (not .o) this has to be done with cygwin. Thanks! jbailey |
|
06-27-2004, 07:17 PM | #110 |
Re: Birgers/JB\'s WinRott Port
Ok, I actually got gcc to generate cache1d.o, had to mess with the makefile some, but now I'm getting a truck load of undefined references related to cache1d.c. I'm assuming that if I include enough code/libs, this thing will actually link........ jbailey |
|
06-27-2004, 08:43 PM | #111 |
Re: Birgers/JB\'s WinRott Port
This is one of those things where fixing 1 problem creates
a lot of others, it's starting to look like I can't just simply keep adding object code from duke3d to try and fix this. This is as far as I can get right now: ----------------------------------------------------------------------- gcc -g -I/cygdrive/c/SDL127/sdl-1.2.7/include -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o engine.o engine.c gcc cin_actr.o cin_efct.o cin_evnt.o cin_glob.o cin_main.o cin_util.o dosutil.o engine.o isr.o modexlib.o rt_actor.o rt_battl.o rt_build.o rt_cfg.o rt_crc.o rt_com.o rt_debug.o rt_dmand.o rt_door.o rt_draw.o rt_floor.o rt_game.o rt_in.o rt_main.o rt_map.o rt_menu.o rt_msg.o rt_net.o rt_playr.o rt_rand.o rt_scale.o rt_sound.o rt_spbal.o rt_sqrt.o rt_stat.o rt_state.o rt_str.o rt_swift.o rt_ted.o rt_util.o rt_view.o rt_vid.o rt_err.o scriplib.o w_wad.o watcom.o z_zone.o byteordr.o dukemusc.o pragmas.o kplib.o cache1d.o audiolib/audiolib.a -L/cygdrive/e/cvs/rott/rott -lSDL -lSDL -lSDL_mixer -lcrtdll -lmsvcrt -lfmod -lm -Wl,-E -o rott kplib.o(.text+0x6776): In function `kzfindfile': /cygdrive/c/jfduke5/build/src/kplib.c:2544: undefined reference to `_wildmatch' cache1d.o(.text+0x78): In function `initcache': /cygdrive/c/jfduke5/build/src/cache1d.c:82: undefined reference to `_initprintf' cache1d.o(.text+0x1f5): In function `allocache': /cygdrive/c/jfduke5/build/src/cache1d.c:115: undefined reference to `_mulscale32' cache1d.o(.text+0x63d): In function `suckcache': /cygdrive/c/jfduke5/build/src/cache1d.c:178: undefined reference to `_copybuf' cache1d.o(.text+0x6f5):/cygdrive/c/jfduke5/build/src/cache1d.c:183: undefined reference to `_copybuf' cache1d.o(.text+0xa6f): In function `initgroupfile': /cygdrive/c/jfduke5/build/src/cache1d.c:315: undefined reference to `_kmalloc' cache1d.o(.text+0xabd):/cygdrive/c/jfduke5/build/src/cache1d.c:317: undefined reference to `_kmalloc' cache1d.o(.text+0xc2b): In function `uninitsinglegroupfile': /cygdrive/c/jfduke5/build/src/cache1d.c:343: undefined reference to `_kfree' cache1d.o(.text+0xc40):/cygdrive/c/jfduke5/build/src/cache1d.c:344: undefined reference to `_kfree' cache1d.o(.text+0xdc0): In function `uninitgroupfile': /cygdrive/c/jfduke5/build/src/cache1d.c:387: undefined reference to `_kfree' cache1d.o(.text+0xdd5):/cygdrive/c/jfduke5/build/src/cache1d.c:388: undefined reference to `_kfree' cache1d.o(.text+0x14c0): In function `kfilelength': /cygdrive/c/jfduke5/build/src/cache1d.c:561: undefined reference to `_Bfilelength' cache1d.o(.text+0x170c): In function `cleanupsearchgroup': /cygdrive/c/jfduke5/build/src/cache1d.c:626: undefined reference to `_kfree' cache1d.o(.text+0x1777): In function `beginsearchgroup': /cygdrive/c/jfduke5/build/src/cache1d.c:643: undefined reference to `_kmalloc' cache1d.o(.text+0x1800):/cygdrive/c/jfduke5/build/src/cache1d.c:652: undefined reference to `_wildmatch' cache1d.o(.text+0x18cb):/cygdrive/c/jfduke5/build/src/cache1d.c:664: undefined reference to `_pow2char' cache1d.o(.text+0x1920):/cygdrive/c/jfduke5/build/src/cache1d.c:667: undefined reference to `_pow2char' cache1d.o(.text+0x19bb):/cygdrive/c/jfduke5/build/src/cache1d.c:676: undefined reference to `_pow2char' cache1d.o(.text+0x1a82): In function `getsearchgroupnext': /cygdrive/c/jfduke5/build/src/cache1d.c:694: undefined reference to `_pow2char' cache1d.o(.text+0x239a): In function `lzwcompress': /cygdrive/c/jfduke5/build/src/cache1d.c:848: undefined reference to `_clearbuf' cache1d.o(.text+0x23b4):/cygdrive/c/jfduke5/build/src/cache1d.c:849: undefined reference to `_clearbuf' cache1d.o(.text+0x2659): In function `lzwuncompress': /cygdrive/c/jfduke5/build/src/cache1d.c:913: undefined reference to `_copybuf' collect2: ld returned 1 exit status MAKE: *** [rott] Error 1 ------------------------------------------------------------------------ Now I'm fairly sure that if I do a search in the duke3d code, I'll find the code for most if not all of this stuff, but everytime I try that, each added object file just creates more undefined references then the one before it, at one point I had added 'engine.o', I got literally hundreds of undefined references, it's starting to look like the code in cache1d.c will have to be made 'self contained' if that's possible. If anyone has any suggestions, post them here. Oh, the additional libraries on gcc's command line actually fixed a few undefined references. If this executable ever links successfully, it's probably going to be rather large. And I'm REALLY hoping this gets the music playing after all of this stuff.. Thanks! jbailey |
|
06-28-2004, 10:47 PM | #112 |
Re: Birgers/JB\'s WinRott Port
how big is the shareware exe?
__________________
First One To Find Dopefish Gets A Chew Toy!!!!! |
|
06-29-2004, 06:25 AM | #113 |
Re: Birgers/JB\'s WinRott Port
It's approximatly 1.7 megs.
jbailey |
|
06-29-2004, 07:39 AM | #114 |
Re: Birgers/JB\'s WinRott Port
I PMed ya jbailey...me loves the shareware episode
__________________
First One To Find Dopefish Gets A Chew Toy!!!!! |
|
06-29-2004, 08:53 PM | #115 |
Re: Birgers/JB\'s WinRott Port
Sent you the file, did you get it ok? And did it run properly?
jbailey |
|
06-30-2004, 03:16 AM | #116 |
Re: Birgers/JB\'s WinRott Port
just checked email 1/2 hour ago
i got it all and it works well, well it did after i copied the cygwin.dll over :P thank you very muchly indeed :>
__________________
First One To Find Dopefish Gets A Chew Toy!!!!! |
|
07-02-2004, 09:54 AM | #117 |
Re: Birgers/JB\'s WinRott Port
By pure accident I found this : http://www.oakland.edu/~lcmatero/files/rott32.zip
It works for me! Sound, music and speed are all great on windows XP. Try it if the other ones don't. It has unstable 640 > resolutions but just run the rott32registered instead. |
|
07-02-2004, 06:38 PM | #118 |
Re: Birgers/JB\'s WinRott Port
Thanks! I'll look at that...
jbailey |
|
07-03-2004, 03:06 AM | #119 |
Re: Birgers/JB\'s WinRott Port
The rott32 zip doesnt seem to allow me to reload save games
Cygrott didnt work for me to begin with because it couldnt find SDL_MIXER.DLL that was when i discovered that it was wrongly named SDL_MIXE.DLL so i added the R myself It then couldnt find the msvcr70d.dll, which i copied over from ROTT32. It then didnt recognise the msvcr70d.dll till i installed the rest of ROTT32 into the same folder, which i noticed used older versions of the dll files (SDL.DLL v 1.2.5.0 and SDL_MIXER.DLL v 1.2.4.0)
__________________
First One To Find Dopefish Gets A Chew Toy!!!!! |
|
07-03-2004, 03:37 AM | #120 |
Re: Birgers/JB\'s WinRott Port
Sometimes getting this code to work can be a real pain,
the misnamed sdl_mixer.dll was my fault because I used a older version of zip to make the zip file and then did not check the file for errors. The rest of the errors were just 'luck'. But if you pay attention to the errors, you can usually fix the problem... jbailey |
|
Bookmarks |
Tags |
port, winrott |
|
|