The Matrix Online Server Emulator
  • Search
  • Member List
  • Calendar
  • Help

Register


The Matrix Online Server Emulator The Matrix Online The MxO Client v
1 2 3 4 Next »
Resource Tools

Pages (2): 1 2 Next »
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Resource Tools
12-04-2012, 04:26 AM, (This post was last modified: 01-05-2012, 07:25 PM by rajkosto.)
#1
rajkosto Offline
MxoEmu Programmer
*******
Posts: 1,708
Threads: 52
Joined: Jun 2009
Reputation: 33
Resource Tools
http://mxoemu.info/reztools.zip

These tools require the Visual C++ 2010 SP1 x86 Redistributable, available from http://www.microsoft.com/download/en/det...px?id=8328

prettify:
Converts a SOE packmap_save.lta (that came with the game if you used station launcher to update it) to a rezmap.lta (difference is that aliases are detected, and file offsets/sizes are converted to file orders within a packmap)
this created rezmap.lta still needs some manual fixups (renaming extensions of loose files from txa to txb, clearing out a .wav file as source because it didn't exist, etc)
an already preconverted and working rezmap.lta is already included in the archive, so you don't even have to run this program.

reztool:
A tool that should be very similar to the one that Monolith used to generate packages. It has 3 modes:
-e (--extract-files) requires a rezmap.ltb (if named differently, override with -b) generated in PRODUCTION mode (the one that came with the game is production mode, as the non-loose files have been packed into packmaps) as well as atleast one rezmap.lta (specified as first unnamed parameter) from which it will take filenames from.
This will extract all the files from packmaps into the correct folders, so that you can later repack/develop with them
-d (--development) only uses the .lta rezmaps that you specify as input parameters, and outputs a rezmap.ltb file where all the records point to loose files, specifically the ones that you extracted earlier, and the ones originally loose. This allows you to run MXO without it using any packmaps, it will load all files individually, which means you can change them (size as well) to your heart's content. You only need to run -d again if you add files to the rezmap.lta files (which you probably won't do)
-p (--production) uses the .lta rezmaps that you specify as input parameters, and REGENERATES all the packmaps with the files marked as packed in the rezmap file, according to their order. It will also make a rezmap.ltb (overridable with -b) that uses the packmaps for packed files, and loose files for loose files (as the game would normally do)

reztool --help or -h to see a shorter screen explaining the options
reztool --version or -v to see it's version and author

EDIT:
update to v1.01 on 12.04.2012 changelog:
- adding error reporting (instead of silently omitting fields) when parsing the input files to both programs (which is important)
- speeding up the "sorting resources" step of reztool by 100x


example usage:
Code:
reztool -e -b rezmap.ltb rezmap.lta
This will extract the files from rezmap.lta and rezmap.ltb (requires production rezmap.ltb) into loose files. the "-b rezmap.ltb" part could have been omitted from this commandline, as that would be the default value anyway.

Code:
reztool -e -b rezmap_origsoe.ltb rezmap.lta
Same as before, but specifies an alternate rezmap.ltb filena,e to use for offsets (in case your rezmap.ltb file is currently a development one, or something like that, and you don't want to rename)

Code:
reztool -d rezmap.lta
Generate development rezmap.ltb that will use loose files from the filesystem. Use rezmap.lta as the file list.

Code:
reztool -d rezmap_1.lta rezmap_2.lta
Same as above, but now we are using 2 lists (maybe you like separating your lists by some criteria), the lists used will act as if they were merged into one file, duplicate rezids, etc will generate an error.

Code:
reztool -p -b rezmap_prod.ltb rezmap.lta
Generates a production rezmap.ltb named rezmap_prod.ltb as well as all of it's associated packmaps.

Event RezOverrides Editor:
http://mxoemu.info/rezoverrides.zip
A GUI application that lets you view and edit the contents of rez_events.ltb

[Image: K7L1EYt.png]
Website Find
Reply
12-04-2012, 08:03 AM,
#2
Neo VII Offline
Exiled Program
Posts: 363
Threads: 8
Joined: Oct 2009
Reputation: 10
RE: Resource Tools
where is the 'like' button. i don't see a 'like' button anywhere

[Image: SigVII-1.gif]
Find
Reply
12-04-2012, 10:32 AM, (This post was last modified: 12-04-2012, 12:39 PM by rajkosto.)
#3
rajkosto Offline
MxoEmu Programmer
*******
Posts: 1,708
Threads: 52
Joined: Jun 2009
Reputation: 33
RE: Resource Tools
We don't take too kindly to them facebooks around here, boy

[Image: K7L1EYt.png]
Website Find
Reply
12-04-2012, 02:08 PM,
#4
Sixxth Offline
World One Vet
Posts: 484
Threads: 4
Joined: Sep 2009
Reputation: 9
RE: Resource Tools
(12-04-2012, 10:32 AM)rajkosto Wrote: We don't take too kindly to them facebooks around here, boy


[Image: The-Tall-Man-Phantasm.jpg]

Website Find
Reply
12-04-2012, 04:10 PM, (This post was last modified: 12-04-2012, 04:10 PM by rajkosto.)
#5
rajkosto Offline
MxoEmu Programmer
*******
Posts: 1,708
Threads: 52
Joined: Jun 2009
Reputation: 33
RE: Resource Tools
update to v1.01 on 12.04.2012
check original post (download link is the same, so redownload)

[Image: K7L1EYt.png]
Website Find
Reply
17-04-2012, 02:34 PM,
#6
Aquilae Offline
Member
Posts: 138
Threads: 9
Joined: Oct 2009
Reputation: 1
RE: Resource Tools
runs reztool.exe

dosbox opens up, says 'No action specified' then closes...
Find
Reply
17-04-2012, 06:59 PM,
#7
rajkosto Offline
MxoEmu Programmer
*******
Posts: 1,708
Threads: 52
Joined: Jun 2009
Reputation: 33
RE: Resource Tools
No shit ? how about you read the first post ?

[Image: K7L1EYt.png]
Website Find
Reply
19-04-2012, 12:08 PM,
#8
Aquilae Offline
Member
Posts: 138
Threads: 9
Joined: Oct 2009
Reputation: 1
RE: Resource Tools
Tried that. Even redownloaded SP1.
Find
Reply
19-04-2012, 12:47 PM, (This post was last modified: 19-04-2012, 12:49 PM by QuiDormit.)
#9
QuiDormit Offline
Codebomber Extraordinaire
******
Posts: 932
Threads: 10
Joined: Jan 2010
Reputation: 18
RE: Resource Tools
No action specified seems to mean you're not using the flags from what I can tell.

So test this:


Open a Command Line, then type:

reztool.exe -h


You don't double click on this at all. This has to be run from a command line.

READ ME - MxO Emu FAQ
[Image: quisig.png]
Website Find
Reply
19-04-2012, 11:54 PM,
#10
rajkosto Offline
MxoEmu Programmer
*******
Posts: 1,708
Threads: 52
Joined: Jun 2009
Reputation: 33
RE: Resource Tools
there are usage examples in the first post, so no, you didn't read the whole thing, just the first couple of lines.

[Image: K7L1EYt.png]
Website Find
Reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)

Contact UsThe Matrix Online Server EmulatorReturn to TopLite (Archive) ModeRSS Syndication

Powered By MyBB, © 2002-2025 MyBB Group.
Theme by Ryan McGrane of Audentio Design.

Linear Mode
Threaded Mode