General Chat
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsGeneralGeneral Chat

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old July 27th, 2004, 04:04 AM
Guldstrand Guldstrand is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: SWEDEN
Posts: 7 Guldstrand User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Edit .exe files?

Hi!

Im looking for a program/editor where i can open .exe files, and edit/change the script.

(Just for open source project of course.)

Reply With Quote
  #2  
Old July 27th, 2004, 04:49 AM
jam wil's Avatar
jam wil jam wil is offline
James Williams
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Calgary // Kelowna
Posts: 377 jam wil User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 15 m 7 sec
Reputation Power: 3
RE: Edit .exe files?

once a program is compiled into a .exe, there is no turning back... the only way to get the sourcecode of a program is for the author to release it, hence the term open-source... check out www.sourceforge.net for a huge index of open source programs...

Reply With Quote
  #3  
Old July 27th, 2004, 04:52 AM
Guldstrand Guldstrand is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: SWEDEN
Posts: 7 Guldstrand User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Edit .exe files?

Hmm, ok...

But what is the most easiest way to create OWN programs then?

What software do i need for it?


Reply With Quote
  #4  
Old July 27th, 2004, 05:04 AM
jam wil's Avatar
jam wil jam wil is offline
James Williams
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Calgary // Kelowna
Posts: 377 jam wil User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 15 m 7 sec
Reputation Power: 3
RE: Edit .exe files?

well, you have to decide what programming language your going to use... then go download notepad++ as your editor program... then find a site specific to your programming language and learn how to do it and then download a compiler programmer to compile it to a .exe

Reply With Quote
  #5  
Old July 27th, 2004, 02:01 PM
tkarkkainen's Avatar
tkarkkainen tkarkkainen is offline
Moderator
Click here for more information
 
Join Date: Apr 2007
Location: Finland
Posts: 2,331 tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)  Folding Points: 26229 Folding Title: Starter FolderFolding Points: 26229 Folding Title: Starter Folder
Time spent in forums: 6 Days 15 h 33 m 41 sec
Reputation Power: 5
RE: Edit .exe files?

Do you know any programming? If not, I'd suggest you to try Java first. Check Sun's java site for more information. Java won't create exe files, but the sources are compiled into bytecode which is read by an interpreter when the program is run. Many people say that Java is only good for little games on websites, but in fact when there's no need for fast 3D graphics or other code that needs to co-operate much with devices, I'd say Java is a very good choice. For example, the 3D engine for the game IL-2 Sturmovik is written in C++, but everything else is written in Java. Java is also the beginning language in many schools, including universities.

If you want a more challenging language, you could pick C or C++. However, many beginners may find great fustration with those. The C/C++ IDE (Integrated Development Environment) I use in Windows is Bloodshed Dev-C++. In Linux I use KDevelop.

Not all languages need compiling, there are scripting languages too, and PHP is one of them. PHP is used especially as a server side web scripting language. In fact, I don't know if many people use it for other purposes, although it is possible. Another easy scripting language is Python. There are even modules that allow creating GUI applications with them. PHPGtk for php (sorry, I found no good link) and PyGTK for Python.

Those are the easy choises. Then there's the good old Perl, which is widely used. Unfortunately, I have very little experience with Perl, so I'm not going to talk about it.

Wow, what a long post. I hope it helps (otherwise my fingertips bleed for nothing ;) ) Naturally this didn't cover all programming or scripting languages. The best way to begin programming --in my opinion-- is to pick a language that's said to be beginner-friendly, and get a book that's written for beginners.

Reply With Quote
  #6  
Old July 27th, 2004, 08:53 PM
pickleman78 pickleman78 is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Dallas,TX,USA
Posts: 582 pickleman78 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via AIM to pickleman78
RE: Edit .exe files?

Don't forget about VB, that makes exe's, and is supposed to be very easy to learn

Reply With Quote
  #7  
Old July 27th, 2004, 10:29 PM
dasnov dasnov is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 157 dasnov User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
RE: Edit .exe files?

the point of the exe file is to prevent others from looking at the source code...

Reply With Quote
  #8  
Old July 27th, 2004, 11:47 PM
jam wil's Avatar
jam wil jam wil is offline
James Williams
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Calgary // Kelowna
Posts: 377 jam wil User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 15 m 7 sec
Reputation Power: 3
RE: Edit .exe files?

ya... when you compile source code into a .exe file, all of your code turns into a whold bunch of 1's and 0's (binary code). I don't know but I think that'd be a little tough to edit...

Reply With Quote
  #9  
Old July 28th, 2004, 03:46 AM
dasnov dasnov is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 157 dasnov User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
RE: Edit .exe files?

also I think it is ussually illegal to decompile a program, because most license aggremants say you can not edit the program.

Reply With Quote
  #10  
Old July 28th, 2004, 04:14 AM
pickleman78 pickleman78 is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Dallas,TX,USA
Posts: 582 pickleman78 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via AIM to pickleman78
RE: Edit .exe files?

Ya, it is usually illegal, though some companies have won in cases involving reverse engineering (I beleive it was someone making a PlayStation emulator won a case in which they reverse engineered the PS BIOS). Anyway, the point of compiling isn't really to protect the code, its to put it into a machine readabl format. The computer doesn't care if you made it in C++, or VB, or whatever, it just runs the generated instructions. Compiling generally takes a while because it has to take all the instructions and put them into a computer readable form as opposed to a human readable form, it just so happens that the human readable form is pretty much lost in this translation, it can't be restored to exactly how it started. Its compiled to save time so the computer doesn't have to translate it every run. Thats the disadvantage to things like Java. Its put into a form that can be read by the interpreter, which then translates that into machine readable code, which is why its slower than a compiled language.

For an example on why "decompiling" doesn't work right, go to babelfish.altavista.com and translate a phrase like
"I need to go to the bathroom, do you have any fish?", translate that into another language, then translate it back, you probably won't get the same result. Same with code.

If you want to edit some aspects, you can generally use a resource editor, and a hex editor, both allow you to edit some of the stuff. A resource editor allows you to edit styles and such, and if you know the offsets and such, a hex editor can allow you to change numerical values, and limits and such

Reply With Quote
  #11  
Old July 28th, 2004, 05:31 AM
Guldstrand Guldstrand is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: SWEDEN
Posts: 7 Guldstrand User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Edit .exe files?

pickleman: Thanks for your great reply, now i know much more then before.

Reply With Quote
  #12  
Old July 28th, 2004, 12:36 PM
tkarkkainen's Avatar
tkarkkainen tkarkkainen is offline
Moderator
Click here for more information
 
Join Date: Apr 2007
Location: Finland
Posts: 2,331 tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)  Folding Points: 26229 Folding Title: Starter FolderFolding Points: 26229 Folding Title: Starter Folder
Time spent in forums: 6 Days 15 h 33 m 41 sec
Reputation Power: 5
RE: RE: Edit .exe files?


Quote:
Don't forget about VB, that makes exe's, and is supposed to be very easy to learn


I didn't actually forget about it, I just didn't mention it, and here's why. When I started programming, I started with VB. Had I known more about other possibilities... well, I'm not sure if Java existed then, but anyway, had I known more about them, I'd picked one of the others.

Visual Basic is fast to learn, and it's fast to create simple programs with it, yes. But the programs created with it tend to be slower than with other languages, and they require runtime libraries that are very often missing from most computers. In addition to those, its syntax differs a lot from other languages. Many languages have syntax that looks like C syntax.

Example in VB
Code:
If variable = 634 Then
   'do something
Else
   'do something else
End If


Example in C:
Code:
if ( variable == 634 ) {
    //do something
}else{
    //do something else
}


The most difficult difference to learn is that VB uses '=' in the if row and C uses '=='. Another good example is the for loop.

VB:
Code:
For i = 0 To 9
   'do something
Next i


C:
Code:
for ( i = 0; i < 9; i++ ) {
    //do something
}


What I'm trying to say here, is that VB might make learning other languages a bit difficult (well, so might Python.)

Well, of course you can do whatever you like

Reply With Quote
  #13  
Old July 28th, 2004, 05:39 PM
jam wil's Avatar
jam wil jam wil is offline
James Williams
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Calgary // Kelowna
Posts: 377 jam wil User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 15 m 7 sec
Reputation Power: 3
RE: Edit .exe files?

C looks just like php... If I know php (which I do) how hard would it be to pick up C?

Reply With Quote
  #14  
Old July 29th, 2004, 01:31 AM
dasnov dasnov is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 157 dasnov User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
RE: RE: Edit .exe files?

Quote:
C looks just like php... If I know php (which I do) how hard would it be to pick up C?


Yeah... c++ and php are similar in syntax, but they are for two totatally diffrent purposes, and two totally diffrent concepts. But I think that c++ is easier to pick up after learning php because like you said the syntax is similar.

Example Php:
php Code:
Original - php Code
  1.  
  2. if($variable == $variable2){
  3. $variable = $variable3;
  4. }


Example C++
Code:
if(variable == variable2){
variable = variable3;
}


Reply With Quote
  #15  
Old July 29th, 2004, 07:58 PM
jam wil's Avatar
jam wil jam wil is offline
James Williams
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Calgary // Kelowna
Posts: 377 jam wil User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 15 m 7 sec
Reputation Power: 3
RE: Edit .exe files?

Ya, I know they are two completely different things with completely different purposes but I could probably learn programming in C++ (actually making programs) pretty easily if I already know php... I will check it out for sure!

Reply With Quote
Reply

Viewing: Codewalkers ForumsGeneralGeneral Chat > Edit .exe files?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek