Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How do you attach CE 5.0 to cmd in Win XP

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
caricatur
How do I cheat?
Reputation: 0

Joined: 15 May 2005
Posts: 5

PostPosted: Mon May 30, 2005 1:42 pm    Post subject: How do you attach CE 5.0 to cmd in Win XP Reply with quote

I'm trying to hack an old game for dos. ("the punisher" by Paragon Software) I've tried using the dosbox emulator, but the assembly instructions are more complicated, and when i open the file manually or use the "look for this code in a file" i get squat. The thing about this game is that it has several programs that get run when they're needed.

Dosbox adapts to this and lists the propper name of the program being run, but cmd just lists the first one i ran (in a separate process listing). Scanning this is useless as it's just a sound driver loader, and it doesn't have the data of the other programs. Is there a way to get ce to look at a process that isn't even listed?

I tried using CE on a different computer but it doesn't let me attach the debugger to the dos window. That might be because it doesn't support the kernel mode or process watcher like my XP box does.

The variable pointer i'm trying to affect is one for bullets, unfortunately it also affects moving (you can't run and shoot at the same time) and the time display. If i nop it, if i assemble it differently it crashes eventually whenever i enter a new area, my attempts at code cave almoast always result in immediate crashes. Trying to decipher the code isn't easy since it is really cycling through pointer values. And I'm not sure which program data i'm looking at (dosbox seems to load all the programs at the same time) And freezing values is meaningless since it allocates them to a different memory area each time you start a mission.

The code values are alot different (higher values, more elaborate coding), so looking at the program isn't helpful as none of the functions i'm trying to access even exist in the orignal executable.

I've been playing around w/ this for over a month now. I've given up trying a few times already, but i keep coming back and trying something different once in a while. The bullets aren't even imortant, the game isn't hard. But this provides a few challenges i'm trying to overcome - A) hacking an original executable B) defeating DMA C)isolating the efect of changes for a very specific funtion.

Some of these challenges might disappear if i got access to just the original software, and i'm sure i could make my life easier by learning from a windows based program instead, but I don't want to give up on this yet. I'm sure there must be a way to do this. An intelligent response would be appreciated. I'm sure there are people out there who still play dos games (or remember playing them) Thanks
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25807
Location: The netherlands

PostPosted: Tue May 31, 2005 11:02 am    Post subject: Reply with quote

The debugger of ce is focused on 32-bit code only. So 16-bit dos code will not be able to get disassembled properly (unlesss it's a 32-bit extension you're using)

also, attach to ntvdm.exe for dos games, not cmd.exe

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
caricatur
How do I cheat?
Reputation: 0

Joined: 15 May 2005
Posts: 5

PostPosted: Tue May 31, 2005 7:00 pm    Post subject: Reply with quote

thanks for the clarification. Attaching to ntvdm didn't help though. Very few values changed. Looks like it's still searching adlib.com and not go.exe which is the one i want to hack.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites