Jump to content


Photo

Changing Umd Size Is Possible


  • Please log in to reply
7 replies to this topic

#1 xbill

xbill

    X-S Senior Member

  • Members
  • PipPip
  • 246 posts

Posted 18 September 2004 - 12:31 PM

It is possible to add or remove text or data, even if it changes the umd file size, without crashing the game.

It's also possible to remove lots of extra stuff that is not used such as alternate language files (deu, esp, ita, fra) Optimizations may also be possible; such as removing zero padding, and reducing Unicode files to plain ASCII.

There is a simple structure to the umd file.

Most of the data in the umd file are the resource files themselves.
There is an index with name, offset, and size of the resource files. There is also a footer that contains the index offset and umd file size.

To change the size and then manually adjust the entries in the index and footer is laborious and a time-consuming task.

I'm working on a program that extracts or bundles the resource files from the umd file and adjusts the offsets and file size. Currently, the program extracts all the files of the RS3 xboxdynamic.umd. I'm adding the capability to extract RS3 BA xboxdynamic.umd, and RS3 xboxfiles.umd. Once that works, I'll work on the bundle process.

Here's a look at some structures of the umd file.

CODE

struct umdfooter
{
DWORD umd_type; // signature of a umd file
DWORD index_offset; // offset to the index table
DWORD filesize;// reported file size
DWORD version; // version of engine
DWORD gf_id; // game file identifier
};

struct indexentry
{
BYTE entrylen; // length of filename string
char * filename; // path and name of file
DWORD offset; // offset within the umdfile
DWORD filesize; // size of the resource file
DWORD zero_pad;
};


The RS3 (not BA) xboxdynamic.umd file contains 536 resource files. The version that I have (US, NTSC) has a file size of 2,498,072 bytes.



#2 IronestMaiden

IronestMaiden

    X-S X-perience

  • Members
  • PipPip
  • 340 posts
  • Xbox Version:unk

Posted 19 September 2004 - 12:09 AM

and i wasnt the only one saying you could add text.good one df

#3 Visor

Visor

    X-S Young Member

  • Members
  • Pip
  • 57 posts

Posted 20 September 2004 - 11:45 AM

Good work xbill. Maybe you can help Iron here on going prone.

Iron, good thing for you isn't it? Now you have a way our of your inability to group words together and understand sentences.

#4 Visor

Visor

    X-S Young Member

  • Members
  • Pip
  • 57 posts

Posted 23 September 2004 - 07:30 PM

xbill, with this project - would it be possible to add the new map settings into the UMD ? might this open the door for M.A.P. and BA ?

#5 IronestMaiden

IronestMaiden

    X-S X-perience

  • Members
  • PipPip
  • 340 posts
  • Xbox Version:unk

Posted 23 September 2004 - 09:27 PM

visor im gonna one up you and stop being an asshole do the same!All M.A.P. ever did was test and write .ini/int files,anybody can do that,but what they didnt do was find out how to fix the problems with textures in some of the best pc maps.what i am talking about is the problem of when you would throu a grenade,blow up a remote charge or turn on thermals the level would crash and the game would revert back to the main menu,this was caused because either the burn mark that was left from an explosion or the brightness of the thermals is too much for the engine it cant handle it.i have many many maps that map never released(including a plantation of pot plants,this was my favorite),that had these problems but i never had access to the new unreal editor i had the old version.
Anyways back to the topic of bringing maps to black arrow.the problem with loading pc maps with the black arrow engine is simply the ini not being written correctly,remember they have to incorporate the options of false for total conquest/retreival as well as the camping settings that go along with that.but once we learn how to successfully make the new ini's,then new maps will be available in rs3;ba.As for adding new modes of play to these maps or putting any other maps in the game and adding total conquest into it all i think it would entitle is putting the objects of the transmitters into the ported map with the help of unreal editor of course.

#6 dietz

dietz

    X-S Young Member

  • Members
  • Pip
  • 41 posts
  • Location:NL
  • Xbox Version:none
  • 360 version:none

Posted 24 September 2004 - 05:12 PM

QUOTE
All M.A.P. ever did was test and write .ini/int files,anybody can do that,but what they didnt do was find out how to fix the problems with textures in some of the best pc maps.


You don't know what you're talking about.
Yes, there are maps that can be ported easily without any map changes.
But there were many maps being ported that needed a lot of work to make it right.
Missing Textures, missing Static Meshes, Crash fixes,...

You try playing Zen, Slaughter or Combat Zone without doing map changes...
And that's just a few of them that needed crash fix, etc.

#7 IronestMaiden

IronestMaiden

    X-S X-perience

  • Members
  • PipPip
  • 340 posts
  • Xbox Version:unk

Posted 25 September 2004 - 02:48 PM

simple things that can be done with unreal editor its not as if you have to learn a whole language for that matter any to port maps.its not as if what map did was godlike work,anybody with minimal knowledge of unreal editor could have done that

#8 dietz

dietz

    X-S Young Member

  • Members
  • Pip
  • 41 posts
  • Location:NL
  • Xbox Version:none
  • 360 version:none

Posted 25 September 2004 - 03:38 PM

QUOTE
simple things that can be done with unreal editor its not as if you have to learn a whole language for that matter any to port maps.its not as if what map did was godlike work,anybody with minimal knowledge of unreal editor could have done that


Did I tell otherwise?
You told M.A.P. did only test/write the ini and int files.
Well, why didn't most of the games 'released' by M.A.P. not run
without changing (a lot more) than that?
That's what I want to correct you on... You just don't know!!!

But anyway.
There are so many maps that CAN be ported, but I don't
have the time to check/test them all out...
Can you give me a link to that map you like so much ?
Maybe I can have a look at it...

Edited by dietz, 25 September 2004 - 03:40 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users