Windows registery file editing

Place to talk about all that new hardware and decaying software you have.

Moderator: General Mods

Post Reply
clessoulis
Regular
Posts: 282
Joined: Sun Aug 08, 2004 12:22 am

Windows registery file editing

Post by clessoulis »

I was wondering if its possable to edit a registry to search for a different install folder.

Example:

If I installed Crysis on C:\EAgame\Crysis
However I need to have it on
D:\EAgames\Crysis

is there a pratical and easy solution to do this?

Is there a easy to way tell what the names of the files a installer is adding to your directory?
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

Not all games use the registry.. sometimes it is stored in a cfg or ini file.

The registry has certain areas it generally writes to for games... check out..

HKEY_CURRENT_USER/Software

HKEY_LOCAL_MACHINE/Software

As for the installer stuff.. there used to be "install protection software" like Norton Uninstall that used to do stuff like this.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
Rashidi
Trooper
Posts: 515
Joined: Fri Aug 18, 2006 2:45 pm

Post by Rashidi »

if you a bit techy, try Regmon
monitor the registry access of the game, then conclude what have to be done (or not do)

that of course if the game use registry...
clessoulis
Regular
Posts: 282
Joined: Sun Aug 08, 2004 12:22 am

Post by clessoulis »

I love you guys you're simply the best tech service.
clessoulis
Regular
Posts: 282
Joined: Sun Aug 08, 2004 12:22 am

Post by clessoulis »

Ok I can seem to get the file to load now that i've changed the registry but it doesnt play. It will being to play then just close itself.

Image

What I did was remove the files from my c drive. Burn them to a cdr which is my d drive. Is there any reason why this would start to boot then just stop like this?
Palin
Hazed
Posts: 96
Joined: Tue Nov 08, 2005 12:40 pm

Post by Palin »

Maybe its trying to do a write to a read only file and failing silently?
Gil_Hamilton
Buzzkill Gil
Posts: 4295
Joined: Wed Jan 12, 2005 7:14 pm

Post by Gil_Hamilton »

Yeah... it's not beyond the realm of possibility that it installs to the hard drive because it can't run from CD.
clessoulis
Regular
Posts: 282
Joined: Sun Aug 08, 2004 12:22 am

Post by clessoulis »

Interesting. Is there any way to moniter the exe file to tell where it tries to save at? Also is there away to hex edit the file to point towards a different directory?
Rashidi
Trooper
Posts: 515
Joined: Fri Aug 18, 2006 2:45 pm

Post by Rashidi »

clessoulis wrote:Is there any way to moniter the exe file to tell where it tries to save at?
umm, FileMon?
Palin
Hazed
Posts: 96
Joined: Tue Nov 08, 2005 12:40 pm

Post by Palin »

I think the question you should be asking yourself at this point is:

"Is this all really worth the effort I'm putting into it?"
odditude
Official tech support dood
Posts: 2122
Joined: Wed Jan 25, 2006 7:57 am

Post by odditude »

sanity-preserving method:

backup your saves.

uninstall game.

reinstall game in desired location.
Why yes, my shift key *IS* broken.
funkyass
"God"
Posts: 1128
Joined: Tue Jul 27, 2004 11:24 pm

Post by funkyass »

odditude wrote:sanity-preserving method:

backup your saves.

uninstall game.

reinstall game in desired location.
QFT
Does [Kevin] Smith masturbate with steel wool too?

- Yes, but don’t change the subject.
Gil_Hamilton
Buzzkill Gil
Posts: 4295
Joined: Wed Jan 12, 2005 7:14 pm

Post by Gil_Hamilton »

funkyass wrote:
odditude wrote:sanity-preserving method:

backup your saves.

uninstall game.

reinstall game in desired location.
QFT
Problem is... he can't run it from a CD that way, since the game won't install to a CD-R.
sweener2001
Inmate
Posts: 1751
Joined: Mon Dec 06, 2004 7:47 am
Location: WA

Post by sweener2001 »

virtual drive?
[img]http://i26.photobucket.com/albums/c128/sweener2001/StewieSIGPIC.png[/img]
clessoulis
Regular
Posts: 282
Joined: Sun Aug 08, 2004 12:22 am

Post by clessoulis »

The whole point is to make it run off the cd. This is gonna be for a setup of 4 pc's. None of the pc's that will be playing the game have more than 50MB of extra free space after a windows installation. SSD arent that big.

Btw yes its worth my effort to hex edit the save directory in the exe to always be im my documents.

In fact its worth me paying a decent ammount of money to someone if they know they can do it.
odditude
Official tech support dood
Posts: 2122
Joined: Wed Jan 25, 2006 7:57 am

Post by odditude »

Even if you manage this, keep in mind that the game may react rather poorly to the dramatically longer load times you'll find running from a CD vs. a hard drive.

At the minimum, expect there to be regular delays due to file seeks/loads.
Why yes, my shift key *IS* broken.
clessoulis
Regular
Posts: 282
Joined: Sun Aug 08, 2004 12:22 am

Post by clessoulis »

I'm sitting here looking at filemon and honestly I have no clue where the hell to start anyways.

Its obviously loading and writing files in 2 folders which is looking for on the cd. When it tries to write I guess it just fails.

Log folder and Backup folder. No clue how to mod the .exe to look for those folders else where.
Gil_Hamilton
Buzzkill Gil
Posts: 4295
Joined: Wed Jan 12, 2005 7:14 pm

Post by Gil_Hamilton »

Clessoulis' IQ: The one constant of the ZSNES Board over the years.
funkyass
"God"
Posts: 1128
Joined: Tue Jul 27, 2004 11:24 pm

Post by funkyass »

two words:

network shares.
Does [Kevin] Smith masturbate with steel wool too?

- Yes, but don’t change the subject.
Post Reply