Question: Using java, Create a program that will write to a binary file to replace values at the approiate location for a game called ULTIMA 5.

Using java,

Create a program that will write to a binary file to replace values at the approiate location for a game called ULTIMA 5. The program will modify the main char stats as demonstrated below. I've completed this process by using hex editor in the file game folder called SAVED.GAM by manually change the values by converting decimal to hexadecimal.

the main stats of char values have:

So the 15th hex or 15th offset controls the dex and converting 99 decimal to hex will give 63 in hex. And so on 14th offset or 14th hex will give str and 63 will give decimal value of 99.

MODIFIED SAVED.GAM file is here that will give u these stats below -> https://ufile.io/zte69

ORIGINAL SAVED.GAM file is here -> https://files.fm/u/rbkh9486#_

Please just give atleast one stats in the program so i can get started and continue on from there.

Stats requirements for main char in this assignment

Using java, Create a program that will write to a binary file

I've already completed changing the necessary requirements

for example, the assignment i'm working on requires me to modify the stats of my main character in game for old game called Ultima_5 in SAVED.GAM file. The purpose of this program is to automate the change without needing to manually change it first time.

Information regarding how to run this game and contents

In order to do this assignment, you must first download the game, Use DOSBox to run the game and use hex editior to modify the values.(Remember to mount it in DOS command For example if your Ultima_5 file is in your C drive type in

1. mount c c: /YourGamefilename

2. c:

3. cd YourGameFilename

4. cd Ultima_5

5. ULTIMA.EXE

ALL the stats are in SAVED.GAM file

Dex is offset 15 or 15th hex. STR is offset 14 or 14th hex. INT is offset 16 or 16th hex and so on...

INSTURCTIONS FOR THE ASSIGNMENT IS HERE -> https://ufile.io/q108v

Game is located here -> https://ufile.io/0fyfy

Usermanuel -> https://ufile.io/sq5bv

MODIFIED SAVED.GAM file is here that will give u these stats below -> https://ufile.io/zte69

Attribute Value Str Int Dex HP Max HP999 Exp Gold Attribute Value Str Int Dex HP Max HP999 Exp Gold

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!