![]() |
I need help applying the JJ2 America listserver patch in WINE
I legally own Jazz Jackrabbit 2 (My two-CD CDROM case with TSF and 1.21 is sitting right in front of me) but then I switched to Linux.
If someone could zip up (or something) the contents of the JJ2 CD (Not TSF) for me, I'd be eternally grateful. (I tried getting it off the internet, but it didn't INSTALL and it lacks the tilesets.) New problem: I don't know how to merge the .regs in Linux. Can anyone help me with that? My Jazz Version: 1.23 Operating system: Linux Fedora core 2/Wine Wine 20040716 Any ideas? |
Well let me see, I might do this for you, if I remember, and has no one has done it already. And if I remember to do it, then it'll be done tommorow. Btw, people might still consider this being illegal, for stupid reasons.
|
Linux can read CDs.
If you're using Wine/WineX, you need to set a drive letter for the CD-ROM mount point in the configuration file. For example, make a section like this in ~/.wine/config (or ~/.winex/config) Code:
[Drive E]If your emulator doesn't support mounting directories like that, you can still copy everything from the CD and put it in the emulator root (C:\) folder. Or even make a symbolic link in there to the CD-ROM mount point (e.g. "ln -s /mnt/cdrom ~/.emulator/c_drive/cdrom", replacing with the appropriate paths) |
Oh yes, here's a nice tip if you want to run JJ2 windowed in the normal Wine. I recommend against actually switching to the real windowed mode, because it's extremely slow. (we're talking 5 to15fps here)
Instead edit your wine config file (/home/username/.wine/config) and add these lines to the appdefaults section: Code:
[AppDefaults\\Jazz2.exe\\x11drv] |
The only problem, Link, is that Linux isn't loading my CDs at all.
I'll try to get my dad's help with this, but it's been happening for a bit (And I can't load 'em from Root, it thinks the CDs don't exist.) It's probably a loose connection between the CD-Drive and whatever it connects to, but I don't want to have the possibility of messing up my computer from opening the case myself. |
Quote:
|
I've checked, as root, and /mnt/cdrom/ is empty. So yes.
|
It's probably not a hardware problem if you installed Linux from a CD. To mount a CD-ROM drive, do the following.
1. Create a mount point if it doesn't exist. Type "mkdir /mnt/cdrom" 2. Determine the device filename by looking in your message log. Type "dmesg" and scroll up (if you're in a window, otherwise you'll need to do "dmesg | less"), and find the lines that reference your drives. They will look something like (these are mine): hda: WDC WD600BB-00CCB0, ATA DISK drive blk: queue c03c7a20, I/O limit 4095Mb (mask 0xffffffff) hdc: CD-R/RW RW7060A, ATAPI CD/DVD-ROM drive hdd: DVD-ROM DDU220E, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: attached ide-disk driver. hda: host protected area => 1 hda: 117231408 sectors (60022 MB) w/2048KiB Cache, CHS=7297/255/63, UDMA(33) hdc: attached ide-cdrom driver. hdc: ATAPI 24X CD-ROM CD-R/RW drive, 2048kB Cache, DMA Uniform CD-ROM driver Revision: 3.12 hdd: attached ide-cdrom driver. hdd: ATAPI DVD-ROM drive, 512kB Cache, DMA You can see from that that "hda" is my hard drive, "hdc" is my CD-R/RW drive, and "hdd" is my DVD-ROM drive. The filenames, respectively, would be /dev/hda, /dev/hdc, and /dev/hdd. Your setup might be different, but that's why you're doing this step. 3. Try a mount command with the device filename you determined in step 2. Do this with a valid CD in the drive: "mount /dev/hdc /mnt/cdrom" 4. If this works (it should), your drive will be mounted at /mnt/cdrom and you can access it through that directory. If it doesn't work, you either have a driver problem or a hardware problem. In either case, "dmesg" will show you the log and it should say something about the problem. Look at the section where it initiates the drives, and also at the bottom after trying to mount\read. 5. If you mounted the drive successfully, you can add it to /etc/fstab to make it easier in the future. Add a line like: /dev/hdc /mnt/cdrom iso9660 noauto,ro,user 0 0 Now you can mount the drive just by typing "mount /mnt/cdrom" or "mount /dev/hdc". |
It spun the CD a bunch, then didn't do anything. /mnt/cdrom is still empty.
|
I feel like an idiot now. I misspelled cdrom while trying to mount.
|
From here on is for suggestions/help with the new problem, please.
As I said, any ideas? |
You should post a reply to say you solved the old problem, and with the new problem if necessary. I wasn't sure what you meant until I scrolled up and found "Any ideas?"
Anyway, if you're using wine, the registry is stored in the files "user.reg" and "system.reg" in your wine directory (~/.wine/ probably). If you run JJ2 it will create the registry keys for you, and you can edit the values by editing those files. Most of the keys for JJ2 are in user.reg; the only one in system.reg is the list servers key. All the keys should be created when you run JJ2, but some of the values may not be unless you use them (like multiplayer names/colors). To add the list server values, open system.reg and find the line that starts with: Code:
[Software\\Epic MegaGames\\Jazz Jackrabbit 2\\1.23\\List Servers]Code:
"000"="jazz.contrabandent.com" |
Grath, you haven't posted in almost a year. :O
|
Both problems have been solved.
One last one, which might be beyond everyone's wisdom. It doesn't do sound in either JJ2 or The Rosetta Stone, another windows program I've tried. Both have sound... Anyone know how to fix this problem? |
Quote:
You may also try some different drivers in your wine config file (~/.wine/config as you probably know by now). You can do it by scrolling to this part of the file. Code:
[WinMM] |
Does your sound work in other programs? (Normal Linux, not in wine)
|
Absolutely. In every program.
I've checked, sound programs not loaded. |
My solution should work........
|
Quote:
|
| All times are GMT -8. The time now is 05:14 PM. |
Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
JCF © 2001-Infinity Jazz2Online