Renegade Projects Network Forums

Full Version: Patching extra functionality into <gamemd.exe>
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
if you are going to duel boot with only 5GB on a second partition, I'd recommend something a lot smaller than windows XP, such as windows 98.

windows XP needs atleast a 3GB drive, and thats without software, windows 98 would happily run with only half a gig.

Guest

Cedega runs Yr with no problems. Heck, it even runs Renegade and TS
there you go look, no need to stop patching Tongue you can do crew for 1.06 after all.
Nope.

I just tried WINE (not Cedega yet) to run IDA.
It works, but as slooow as it is, I really don't want to work with that.
Try it out yourself and you will understand.

I will try YR with Cedega (which actually is an advanced version of WINE which can just handle DirectX) as soon as I have it.
Maybe IDA runs faster with that one as well.

But with the usual WINE I can forget that.
it generated an except, its here if PD ever gets back to hacking. or jonwil.
@ Guest:
Any hint how you got it to work?

Quote:Your system requires the use of pthreads but the maximum system allowed stack size of 2052 kB may be too small for some games.

This is the message I get. On transgaming.org it's considered working, so it must be me doing something wrong.

Bad news btw, I'll need to use a no-cd-crack to run it on Linux, so probably I'll built one into the RP.

Guest

Himm. Wierd error. Mst be your distr is configured wth a phreads max stack size of 2052kb. I built my own distr, so no silly limits are installed. Smile
PD, isnt the CD check handled by the yuri.exe or ra2md.exe, not gamemd.exe?

Guest

There are TWO CD checks
One in yuri.exe or ra2md.exe for copy protection, and one in gamemd.exe just for looking for the files
if you copy the files to hard disk, it doesn't check the CD. AFAIK anyway.

i'm not asking you, but an optional NO-CD switch could be usefull. for 1 i wouldn't have to drag my YR CD with me everywhere i go.

and you were originally going to write anti no-CD patching into it Tongue

oh, and if you get round to it, please look at solving why it doesn't work on my laptop... its annoying...
And that is the reason why I still have my 98SE partition Wink
That, and the fact that my linux partition is only 10 gigs big and I can't resize it. And you all know how long 10 gigs last Shift eyes

Anyway, I have a full version of Cedega here (i.e. not the CVS version), contact me soon if you want it (i.e. during the weekend).
And I'm 110% sure there are free replacements for all the tools you used, be it the disassembler or the chm compiler.

Oh, and not to forget: Wise move. Which distribution?
Debian 3.1r0 "sarge", I like it pretty much Smile

A thing I hate about Linux is that you need to dl and install all the libraries yourself, and that it seems to be really hard to uninstall things (like glib, if you wanna update it).
I got the latest WineX (Cedega) CVS and compiled it, though YR seems to need freetype, and whatever i install concerning freetype, it would still throw the same error...

But I'm still new to Linux, and I guess I'll be able to fix it (if not somebody's faster and posts a nice hint here Wink).

@DCoder:
What ra2md.exe and YURI.exe do is still a mystery to me.
Like BobingAbout said, you can simply place all the cd stuff in your game dir and it's being read.
YR no-cd-cracks just contain gamemd.exe.
ra2md.exe (the real launcher) reads ra2md.lcf, which is a textfile, and runs the file referenced by RUN2. That is yuri.exe. This one handles cd-check and reads yuri.lcf, which points to the real game engine (gamemd.exe) and runs it.

Look at my site's download section, there's Saberhawk's RA2_YR_Update, which, among other stuff, bypasses the cd check. I use it, and I have no problems running the game from Alcohol's ISOs. And it contains only ra2.exe, ra2.lcf, yuri.exe, yuri.lcf.
you still need to use alcahols iso with it? thats kinda pants... i used to use a YR image before that didn't need a patch. not really got the diskspace for the game and CD images on my laptop.

aparantly, if you simply copy your YR CD(the files in the CDs root directory, not any other folders) into your RA2 folder, it should work.
Got a Windows partition again, that solves alot of problems.

Additional features in 106:

- FourthCrew=
- DomLight=yes/no and DomCapture=yes/no for PsyDom clones

and some surprise:
[attachmentid=41]
[attachmentid=42]
Rolling eyes It required much less effort than expected...