Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Other Games > Master of Orion I/II > Modifying and Hex editing MOO2
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
AvA_Majestic is offline AvA_Majestic
Settler

May 2004
time: 05:36
  Old Post 28-05-2004 07:47
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Modifying and Hex editing MOO2 Support Apolyton, buy Civilization III: Complete

Hey guys.
Found this forum through google, looking for information on how to mod MOO2.

I've found all the lbx editors, OCL, etc, and that lets me change some things.

The defensive anti blitz mod had a change via the hex editor that changed the number of space units for missile bases. I've had little experience (read: none) with hex editors. I understand what hexadecimal is, etc, but how would the creator of the mod found out that those values were the ones for the size of the missile base. It could not be trial and error, since the number of addresses is huge.

I'd like to be able to add a few new weapons/techs, increase the lifespan of the game a bit

Anyone have any experience with this kind of thing? I've read the other threads here, but thought we could use a newer one.


Peace
Majestic

Whoha is offline Whoha
King
The TOC is supposed to be classified guys...
Dec 2001
time: 23:36
  Old Post 28-05-2004 08:35
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Increase Your PM Length

He likely found them by trial and error, thats how you find stuff unless you have some more tools at your disposal.

There wouldn't be all that many 300 values in the executable, since its 2 bytes, but get a strange enough number, and it cuts down on the guess and testing that you'd have to do. In his case its the 6th occurence of 2C 01 in the executable, so if he did guess and test, then he got lucky, I counted a bunch of them.

AvA_Majestic is offline AvA_Majestic
Settler

May 2004
time: 05:36
  Old Post 28-05-2004 08:57
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

Perhaps I know less about hex than I thought (and I didn't think I knew much) but how does one identify 2C 01 as 300?
By direct conversion you get 11,000 roughly.
Converting it to decimal characters as two separate ones you get 44 and 1?

Sorry for my lack of understanding. The only editing i've done in past games has been in languages I could make sense of, rather than actually trying to understand the exe file

Whoha is offline Whoha
King
The TOC is supposed to be classified guys...
Dec 2001
time: 23:36
  Old Post 28-05-2004 09:51
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Put an end to popups!

300 is a number in base 10, its coresponding number in base 16 is 12C, however this is stored in multiple bytes. Depending on how its being read it can be in the form 2C 01 or 01 2C, most of the time the least significant bits are the first to be read. Its all in the interpretation. The first byte is 44, but the second byte is 256, not 1.

Leonidas is offline Leonidas
King

May 2000
time: 05:36
  Old Post 28-05-2004 10:53
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

Interesting information

AvA_Majestic is offline AvA_Majestic
Settler

May 2004
time: 05:36
  Old Post 28-05-2004 13:22
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Full PM-box? Change here!

ok, that makes a little more sense, thanks.

AvA_Majestic is offline AvA_Majestic
Settler

May 2004
time: 05:36
  Old Post 02-06-2004 14:25
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Avatar Enlargement: We've got the solution

Trying to find the value for space units in a ground battery. He must be a very patient guy as there are literally hundreds of that 2 byte pair

AvA_Majestic is offline AvA_Majestic
Settler

May 2004
time: 05:36
  Old Post 02-06-2004 15:27
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Support Apolyton buy from Amazon

Well there are exactly 161 incidences of that value
I think i've tested about 50 with no luck, going to keep trying though.

Also, in a similar vein, what are the function of the .lbx file types? Are they simply archives with all the sound and graphical data? There is no actual game mechanics stuff in an of the LBX files, is that correct?

Whoha is offline Whoha
King
The TOC is supposed to be classified guys...
Dec 2001
time: 23:36
  Old Post 02-06-2004 21:13
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Help yourself to an AD-FREE life

they have data for ship space/hit points apparently, they do have game mechanics stuff in them, but some thing were hard coded for some reason. According to the anti-blitz mod its changed even the ground installation hitpoints without editing the executable.

AvA_Majestic is offline AvA_Majestic
Settler

May 2004
time: 05:36
  Old Post 03-06-2004 07:13
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Help yourself to an AD-FREE life

using the OCL editor you can edit weapon values, ship values, tech values etc. You cannot however create new weapons, techs, etc. Thats what I was hoping to do, but it really does not look good.

Whoha is offline Whoha
King
The TOC is supposed to be classified guys...
Dec 2001
time: 23:36
  Old Post 03-06-2004 08:01
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

yea, that doesn't look like it will be possible. What kind of weapons were you thinking of adding?

Whoha is offline Whoha
King
The TOC is supposed to be classified guys...
Dec 2001
time: 23:36
  Old Post 03-06-2004 08:02
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

adding a new weapon to the game would probably require the lbx file format,the format of the files contained within, and the source code to the game.

muxec is offline muxec
Prince
Mingapulco
Jul 2002
time: 07:36
  Old Post 03-06-2004 20:33 Visit muxec's homepage!
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Tired of ads?

Really modable game must be based on open source DLLs.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:36.
Apolyton Time is 00:36.
    top of page
Rate This Thread:
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0368 seconds (85.76% PHP - 14.24% MySQL) with 29 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net