Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using java, create a program that will write to a binary file and automically modify the values without requiring the user to modify the binary

Using java,

create a program that will write to a binary file and automically modify the values without requiring the user to modify the binary file using hex editior. In this specific file called SAVED.GAM i'm changing the stats of the main char and the STR of the char is located at 14th hex place (14th offset) and the values that gives a STR of 99 is 63 which is changing from DECIMAL to HEXDECIMAL.

image text in transcribed

image text in transcribed

THEREFORE,

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

image text in transcribed

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

Here is the SAVED.GAM binary file -> https://ufile.io/26hvx

00 00 65 6d 61 6e 00 00 00 00 00 0b 41 47 63 14 16 16 3c 00 3c 00 96 00 02 ff 07 01 Od le ff ff 2f 00 53 68 61 6d 69 6e 6f o0 AGC..-<. a ff od le o0 agc..->

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

What is a sales pipeline? How does it work? Why is it significant?

Answered: 1 week ago