Go Back   Forums > Community Chatterbox > Tech Corner > Programming
Memberlist Forum Rules Today's Posts
Search Forums:
Click here to use Advanced Search

Reply
 
Thread Tools Display Modes
Old 19-11-2008, 02:26 PM   #1
Rogerwilco
Forum hobbit

 
Join Date: Nov 2008
Location: Lehi, United States
Posts: 39
Default Modifying a Saved game for Dummies

Modifying a Savedgame for Dummies

Ever wanted to know how to Modify/Cheat a game?
If, for nothing else, then the satisfaction of knowing how to do it?

Well, I'll lead you through on how.

This will be different: nothing on Hex, Binary, octal, 2 bit, 4 bit, Single value, Kitchen sink, etc. etc. Only thing you'll need is a readily available abandonware interpreter.

It'll be explained in a simple, common sense way. Simple programming.
All you'll need to do at first is change a path, file name and a value or two. I'll write the rest. Just cut and past to your program.

(Programming!?! Interpreter!?! I've never programmed in my life!)

The Interpreter is simple: I'll cover that in a bit . . ..

Programming? How's this for easy.

A& = 10000
OPEN "c:\Xeen\dark01.sav" FOR BINARY AS #1
PUT #1, 14848, A&
CLOSE

You just gave yourself 10,000 Widgits, Money, Gems, or whatever. Or 50,000 or 5 Million.

You'll follow along with me as I delve into the World of Xeen, though what I'll show you will work with any saved game.

So, if you're interested, this is what you do.

Google qb45.zip. It's out there, for free, in multiple sites.

Unzip it in its own folder, make a shortcut to qb45.exe, set it to full screen.
(If you don't know how to do that, let me know)

Next message, we'll start with an easy one: finding and modifying a single value(Item) like Gold, Gems, etc. I'll write the code.
Rogerwilco is offline                         Send a private message to Rogerwilco
Reply With Quote
Old 19-11-2008, 03:07 PM   #2
SlowCoder
Game freak

 
Join Date: Oct 2008
Location: Alligator Point, United States
Posts: 121
Default

Sounds like an interesting offer. We'll see if you get any hits. I doubt you'd get too many though, due to the fact that the abandonware population is relatively small, and most of those are interested in completing the game on their own terms.

Comments:
* Many savegames are binary, not in plain text that is easily readable. So, just saying PUT #1,12345,"10000" won't be sufficient.
* The location of specific data in a savefile can, depending on the game, be different on a save-by-save basis. You'd likely need to search the file dynamically to identify the proper location of the data to be changed. That source would also need to be provided to the user who requests it.
* To anyone who wants to try this: Make sure you make a backup of your savegames before modifying them, otherwise you might lose your hard worked game progress.

On a side note: I believe QB45 is still licensed by MS, and is not legally free to download.
SlowCoder is offline                         Send a private message to SlowCoder
Reply With Quote
Old 19-11-2008, 05:46 PM   #3
Rogerwilco
Forum hobbit

 
Join Date: Nov 2008
Location: Lehi, United States
Posts: 39
Default

Hey, slowcoder, thanks for the reply....

Yup, you're right on the first one, that's why I did this:

Whatever&=10000

Put #1, 8858, Whatever&

QuickBasic will return an error code if you try and number instead of a variable

I know that the savegame files change, later on, if anyone's interested, I've written a little routine to work around that.

Also a simple file compare for more advanced stuff...

But I agree, Wait and see the response....

Rogerwilco and out
Rogerwilco is offline                         Send a private message to Rogerwilco
Reply With Quote
Old 19-11-2008, 05:49 PM   #4
Rogerwilco
Forum hobbit

 
Join Date: Nov 2008
Location: Lehi, United States
Posts: 39
Default

oops....missed one....

Microsoft did release all DOS Basics, along with Visual Basic for Dos...which never took off...I wonder why...
Rogerwilco is offline                         Send a private message to Rogerwilco
Reply With Quote
Old 19-11-2008, 06:40 PM   #5
SlowCoder
Game freak

 
Join Date: Oct 2008
Location: Alligator Point, United States
Posts: 121
Default

Quote:
Originally Posted by Rogerwilco View Post
I know that the savegame files change, later on, if anyone's interested, I've written a little routine to work around that.
Hope you don't mind me asking, but exactly how does your routine go about this? Each game may have a totally different savegame format. And each savegame file for any particular game may appear completely random, unless you get into it in binary or hex mode. I am genuinely interested here. Not being smart or critical.

Quote:
Originally Posted by Rogerwilco View Post
Microsoft did release all DOS Basics, along with Visual Basic for Dos...which never took off...I wonder why...
I've not been able to find any official documentation that MS has released any of these as abandonware. I find it even less likely, as it is Microsoft, who, to my knowledge, have never released anything for free. Heck, you still can't even install any version of MSDOS legally without a license.

If I'm incorrect, please show me.
SlowCoder is offline                         Send a private message to SlowCoder
Reply With Quote
Old 19-11-2008, 07:25 PM   #6
dosraider
Dismembered.
 
dosraider's Avatar

 
Join Date: Aug 2007
Location: Dixmuide, Belgium
Posts: 2,767
Default

Quote:
Originally Posted by SlowCoder View Post
I've not been able to find any official documentation that MS has released any of these as abandonware. I find it even less likely, as it is Microsoft, who, to my knowledge, have never released anything for free. Heck, you still can't even install any version of MSDOS legally without a license.

If I'm incorrect, please show me.
http://en.wikipedia.org/wiki/QBasic
Scroll down to 'external links' and you can download it directly from microsoft.ftp.
http://download.microsoft.com/downlo...-us/olddos.exe

So yes, and it's old news, you seem to missed that one.


And VBasic:
http://en.wikipedia.org/wiki/Visual_Basic
All you need@MSDN
http://msdn.microsoft.com/en-us/vbrun/default.aspx
__________________

Not a member of The Victorious People's Shoutbox Liberation Army.
Not a member of the GAG Guerrilla. Don't get A Grip!
FOR RENT
*Advertising space*

Last edited by dosraider; 19-11-2008 at 07:35 PM.
dosraider is offline                         Send a private message to dosraider
Reply With Quote
Old 19-11-2008, 07:45 PM   #7
SlowCoder
Game freak

 
Join Date: Oct 2008
Location: Alligator Point, United States
Posts: 121
Default

Quote:
Originally Posted by dosraider View Post
http://en.wikipedia.org/wiki/QBasic
Scroll down to 'external links' and you can download it directly from microsoft.ftp.
http://download.microsoft.com/downlo...-us/olddos.exe

So yes, and it's old news, you seem to missed that one.


And VBasic:
http://en.wikipedia.org/wiki/Visual_Basic
All you need@MSDN
http://msdn.microsoft.com/en-us/vbrun/default.aspx
Hehe ... Trying to prove me incorrect, eh? Haha! Fooled you!

The link you provided for QBasic is for QBasic, not QuickBasic. QBasic was provided free with later versions of DOS and Windows. It had essentially the same IDE as QuickBasic, but lacks functionality like source compiling and debugging that is present in the pay QuickBasic 4.5.

The link for VBasic is for newer versions, not the old VBDOS. Still no indication that it's free.

* Licks finger and uses it to draw an invisible "1" in the air. "Score one for SlowCoder!" * Gawd, I'm a dog!

Last edited by SlowCoder; 19-11-2008 at 07:47 PM.
SlowCoder is offline                         Send a private message to SlowCoder
Reply With Quote
Old 19-11-2008, 07:55 PM   #8
dosraider
Dismembered.
 
dosraider's Avatar

 
Join Date: Aug 2007
Location: Dixmuide, Belgium
Posts: 2,767
Default

Oh my, in a nitpicking mood, aren't we?

Details, small details, microscopic even.

Pfffffffffffffff.


A propos, I even don't wanna know where that finger was before you licked it.
YEKS.



grmbl grmmmmpfff.
__________________

Not a member of The Victorious People's Shoutbox Liberation Army.
Not a member of the GAG Guerrilla. Don't get A Grip!
FOR RENT
*Advertising space*
dosraider is offline                         Send a private message to dosraider
Reply With Quote
Old 19-11-2008, 08:07 PM   #9
SlowCoder
Game freak

 
Join Date: Oct 2008
Location: Alligator Point, United States
Posts: 121
Default

Quote:
Originally Posted by dosraider View Post
Oh my, in a nitpicking mood, aren't we?
Details, small details, microscopic even.
Only when I'm ... hmmm ... right. :bleh:

Quote:
Originally Posted by dosraider View Post
A propos, I even don't wanna know where that finger was before you licked it.
YEKS.
Yep, you probably don't. :bleh: For me to tell you would probably set off some subroutine of your elderness firewall and launch you into a flamefest of all that is unsuitable in society!
SlowCoder is offline                         Send a private message to SlowCoder
Reply With Quote
Old 19-11-2008, 09:17 PM   #10
dosraider
Dismembered.
 
dosraider's Avatar

 
Join Date: Aug 2007
Location: Dixmuide, Belgium
Posts: 2,767
Default

Quote:
Originally Posted by SlowCoder View Post
Only when I'm ... hmmm ... right. :bleh:
Ohwell, even if it isn't fully ABWare or FreeWare it certainly is PiratedWarez.
And that's a fact.
__________________

Not a member of The Victorious People's Shoutbox Liberation Army.
Not a member of the GAG Guerrilla. Don't get A Grip!
FOR RENT
*Advertising space*
dosraider is offline                         Send a private message to dosraider
Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
A question about slightly modifying Strife... Simoneer Tech Corner 0 25-05-2009 09:44 PM
Chaos Overlords Multiplayer Saved game TMK Troubleshooting 0 13-12-2007 04:04 PM
Cyberia1 Problems With Loading Saved Game edemark Troubleshooting 9 18-01-2007 04:12 PM
Incredible Crash Dummies, The [NON-PC] Frodo Invalid Requests 3 28-10-2006 05:58 PM
I Did It, I Saved Her! The Niles Gaming Zone 14 16-02-2005 01:36 PM


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump
 


The current time is 09:25 AM (GMT)

 
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.