You must be logged in to post messages.
Please login or register

Scenario Design
Moderated by Yeebaagooon, nottud

Hop to:    
loginhomeregisterhelprules
Bottom
Topic Subject: BAR/XMB reader
« Previous Page  1 2  Next Page »
posted 04 November 2002 03:48 PM EDT (US)   
Now available here - it can do lots of things, but most are currently broken so it has "experimental" status. However, it seems to work fine at extracting the contents of BAR files and converting XMB to XML, which allows lots of fairly significant changes to the game. You'll almost certainly need perl56.dll too (download, unzip, move into the same place as aomed.exe).
When you're in the program, click the "?" button for usage instructions. Several bits are likely to crash the program, but XMB and BAR ought to work - if they don't, please let me know. And if there are any nasty deaths, it might be helpful to copy the stack trace. But hopefully that won't happen too much

Coming soon: editing textures, scenarios, 3d models, and possibly more! (if I find anything else interesting)

Replies:
posted 04 November 2002 04:18 PM EDT (US)     1 / 34  
Thank you sir :]

<3

posted 04 November 2002 04:20 PM EDT (US)     2 / 34  
Cool prog =)

Will models/textures be supported soon ?

[This message has been edited by Larmir (edited 11-04-2002 @ 04:25 PM).]

posted 04 November 2002 08:04 PM EDT (US)     3 / 34  
Great stuff ykkrosh. However, when trying to look at the larger xmb files, it will truncate the output only part of the way through converting them. Is there any way you could fix this?

TheShædøwDåwn
If you're like me, then it's possible you're a clone generated from my stolen DNA. I suggest you turn yourself in for destruction immediately.
posted 04 November 2002 08:05 PM EDT (US)     4 / 34  
I have the same problem as TSD. It does crash, but I'm glad for it all the same.

_________________.##@@$$$@@##._____________
______________,##@$::%$$%%::$@##.__________
____________#@$:%%000000000%%:$@#_________
___________#@$:%00'___________'00%:$@#_______
__________#@$:%0'_______________'0%:$@#______
_________#@$:%0__________________0%:$@#_____
posted 05 November 2002 05:57 PM EDT (US)     5 / 34  
It works fine for me on proto.xmb (although it takes a little while to generate the 1.4MB XML, and IE takes forever to display it); if it gets as far as saying "Completed" then it ought to have written the entire file...
(I forgot to explicitly close the files in the code (oops!), but that shouldn't have caused the problem)

Try the new version (still here) which closes the files (and also understands UTF-8 properly). Hopefully it'll fix the problem, but it probably won't... How far does it reach on files like proto.xml? And does it cut off part of a line, or only at the end of a line? (there could be a 32k line limit in whatever you're viewing it with, but that's unlikely... I can't think of anything else, though )

posted 05 November 2002 06:16 PM EDT (US)     6 / 34  
Dont listen to TSD, his comp sux0rz
Actually, I dont have that problem. My proto.xml extracted fine.

1.39 MB (1,466,368 bytes)



Angel AzN | News Editor Lead EH, HeavenGames LLC
"Damn the torpedoes! Full speed ahead!" -Admiral Farragut, Civil War Battle of Mobile Bay
HeavenGamesEmpires Heaven | 3DMark05 Score3DMark03 Score | WearYELLOW
posted 05 November 2002 07:37 PM EDT (US)     7 / 34  
I was just wondering how exactly we can use this...other than learn what the info is or making a total mod..

like, can u place an edited .xml file somewhere and have it work for a scn??? also how do u convert .scn to .xml?

thanx
svede

posted 05 November 2002 07:53 PM EDT (US)     8 / 34  
I checked and it works like in BG2 and NwN. You simply put the file in folder(like a xmb file in data folder) and it,ll overwrite the one in the bar file.

I doubt you can convert ScN to XML since they are 2 completely different formats. Usually people use these data formats to edit the way the game works.


Area 42
EE Studio | AoM ZooM Editor
11 Relics Modpack(4.8) | Soccer Scenario(4.2) | SWGB Casino(4.7)
Quand un athlète fait cent fois l'salaire d'un médecin Moi j'dis qu'c'est ça l'déclin d'l'empire américain - Cowboys Fringants
The artist formerly known as Prin...errm...EO
posted 05 November 2002 10:16 PM EDT (US)     9 / 34  
good work!, now if i could just figure out how to change the background of the title screen....
posted 05 November 2002 11:12 PM EDT (US)     10 / 34  
I have found that xml files will be read insted of cmb for some reason... also I have edited the screens for the pregame cinematics (under the menu) successfully.... and guess what? You dont need to recompile the xmb .. the games likes to real the scn files better
posted 07 November 2002 04:10 PM EDT (US)     11 / 34  
It's possible but not a good idea to convert SCN to XML, since they're totally different. But I've been able to convert the beta's SCN files into editable text and back again, so with a few minor adjustments it should work for the new ones.

I'm working on DDT textures at the moment - some of them work fine, but others are completely different and still rather confusing. It's certainly possible to edit them (and the same for the 3d models), though it may take me a while

posted 07 November 2002 06:02 PM EDT (US)     12 / 34  
Yup, just change the file linking to the scn to another scn =\
Im working on trying to enable the Customize Unit for the Scenario Editor. I got the thing to clickable and the menu pops up, but I cant make it set =\.


Angel AzN | News Editor Lead EH, HeavenGames LLC
"Damn the torpedoes! Full speed ahead!" -Admiral Farragut, Civil War Battle of Mobile Bay
HeavenGamesEmpires Heaven | 3DMark05 Score3DMark03 Score | WearYELLOW
posted 07 November 2002 06:06 PM EDT (US)     13 / 34  
Good job guys! Keep it up. This is the stuff I've been waiting for.
posted 07 November 2002 11:57 PM EDT (US)     14 / 34  
can the program edit portraits of units? and which file contain portaits in it? thanks...
posted 08 November 2002 00:46 AM EDT (US)     15 / 34  
Hi Ykkrosh long time no see

What does the XMB and XML file open with?


obi wan
Scenario Designer, Modder, And Very Proud Member Of Galactic Battlestar, Mythic Battlegrounds
Winner of the Alasdair Award for Helpfulness ~-~ Ewok award for Creativity
Projects: Star Wars: The Tale of Ollan Parensu
posted 08 November 2002 02:17 AM EDT (US)     16 / 34  
Thanks Ykkrosh. Latest version fixed it for me. Got no idea why it did that, perhaps I was doing something wrong. (Not unheard of. )

Great work, it's a util that's going to become an essential for some people.


TheShædøwDåwn
If you're like me, then it's possible you're a clone generated from my stolen DNA. I suggest you turn yourself in for destruction immediately.
posted 08 November 2002 10:52 AM EDT (US)     17 / 34  
Ykkrosh, I'm unable to get this program to run under Windows XP or 98. I'm sure I'm missing something obvious but what is the usage? I tried it under DOS in Win 98 as well. The two files I tried it on was gamesettings.bar and scenarios.bar. Thanks,

- Tom

posted 08 November 2002 12:31 PM EDT (US)     18 / 34  
You need to download and put perl56.dll in the same directory as the program. It works like a charm here.

Area 42
EE Studio | AoM ZooM Editor
11 Relics Modpack(4.8) | Soccer Scenario(4.2) | SWGB Casino(4.7)
Quand un athlète fait cent fois l'salaire d'un médecin Moi j'dis qu'c'est ça l'déclin d'l'empire américain - Cowboys Fringants
The artist formerly known as Prin...errm...EO
posted 08 November 2002 01:54 PM EDT (US)     19 / 34  

Quoted from A_A:

can the program edit portraits of units?


Not yet - that bit is currently under development.

Quoted from obi wan:

What does the XMB and XML file open with?


You open XMBs with my program () and XMLs with either a text editor (like Notepad) or an XML editor (I've never used one, but I'm sure they exist)

Quoted from TheShadowDawn:

Latest version fixed it for me


That's strange, but good

Quoted from thandley:

what is the usage?


Just run aomed.exe by double-clicking on it, and it ought to start the GUI, from where you can click the "?" button for further information. If nothing at all happens when you try to run it, try what Larmir said and get perl56.dll (which ought to be all it needs).
posted 08 November 2002 05:27 PM EDT (US)     20 / 34  
Ykkrosh and Larmir, I forgot to add the perl56.dll. Great utility and thanks!

- Tom

posted 08 November 2002 05:37 PM EDT (US)     21 / 34  
How do you edit the main menu background? I tried editing the file so that it links to a scenario, but it didn't work. The background was black. Does it not work with the testing file, or does the file have to be in specific directory (other than scenario)? I may have simply forgot to put .scn, I'll check back on that.

««« Agarwaen »»»
««« "Guns don't kill people. Gaping holes in internal organs kill people." »»»
««« If Pro is the opposite of Con, what is the opposite of Pro-gress? »»»
««« Those who live by the sword get shot by those who don't. »»»
««« If ignorance is bliss, then why aren't you happy? »»»
posted 08 November 2002 06:31 PM EDT (US)     22 / 34  
Nevermind

««« Agarwaen »»»
««« "Guns don't kill people. Gaping holes in internal organs kill people." »»»
««« If Pro is the opposite of Con, what is the opposite of Pro-gress? »»»
««« Those who live by the sword get shot by those who don't. »»»
««« If ignorance is bliss, then why aren't you happy? »»»

[This message has been edited by Agarwaen (edited 11-08-2002 @ 06:31 PM).]

posted 08 November 2002 09:24 PM EDT (US)     23 / 34  

Quote:


can the program edit portraits of units?
Not yet - that bit is currently under development.

Actually, Im pretty sure AoM reads normal uncompressed TGAs. So this means that you can create a image from scratch, rename it to the right fiel name, and put it in the right directory and it should be read to AoM. So really all Ykkrosh needs to do is have a one way ddt converter .



Angel AzN | News Editor Lead EH, HeavenGames LLC
"Damn the torpedoes! Full speed ahead!" -Admiral Farragut, Civil War Battle of Mobile Bay
HeavenGamesEmpires Heaven | 3DMark05 Score3DMark03 Score | WearYELLOW
posted 08 November 2002 11:20 PM EDT (US)     24 / 34  
You know what? I'm reading Ender's Game (for about the fifth time) right now, and I read that quote in Agarwaen's signature no less than 5 minutes ago.

_________________.##@@$$$@@##._____________
______________,##@$::%$$%%::$@##.__________
____________#@$:%%000000000%%:$@#_________
___________#@$:%00'___________'00%:$@#_______
__________#@$:%0'_______________'0%:$@#______
_________#@$:%0__________________0%:$@#_____
posted 09 November 2002 02:09 PM EDT (US)     25 / 34  
The program (same download link) converts XML back to XMB now - apparently the XMLs didn't always work, but hopefully the XMBs will...

(I'm currently able to convert 1768 of the DDTs into BMPs, including almost all the icons, but there are still lots more )

« Previous Page  1 2  Next Page »
Age of Mythology Heaven » Forums » Scenario Design » BAR/XMB reader
Top
You must be logged in to post messages.
Please login or register
Hop to:    
Age of Mythology Heaven | HeavenGames