This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION] maps  (Read 3140 times)

akriso

  • Contributors
  • Loreweaver
  • *****
  • Posts: 107
    • View Profile
[QUESTION] maps
« on: February 23, 2014, 03:32:51 am »
hello.

how can I get a list of objects ( wmo ) that are placed on the map ?


get noggit crash when opening map

7221 - (MapTile.cpp:51): Opening tile 30, 30 ("WorldMapsGoldRushBGGoldRushBG_30_30.adt") from MPQ.
7277 - (errorHandling.h:64): [Error] There was an exception of type "SIGSEGV"
"Invalid storage access; most frequently caused by attempting to store some value in an object pointed to by a bad pointer. (Segment violation.)".
Please excuse the inconvenience. You may want to report this error including the log to the developers.

7281 - (StackWalker.cpp:1133): [Error] OS-Version: 6.1.7601 (Service Pack 1) 0x300-0x1
7353 - (StackWalker.cpp:1133): [Error] 0141721C (noggit): (filename not available): (function-name not available)
7353 - (StackWalker.cpp:1133): [Error] 013E8CA7 (noggit): (filename not available): (function-name not available)
7353 - (StackWalker.cpp:1133): [Error] 711BB9DF (MSVCR100): (filename not available): XcptFilter
7353 - (StackWalker.cpp:1133): [Error] 01448B6B (noggit): (filename not available): (function-name not available)
7353 - (StackWalker.cpp:1133): [Error] 7657336A (kernel32): (filename not available): BaseThreadInitThunk
7353 - (StackWalker.cpp:1133): [Error] 77479F72 (ntdll): (filename not available): RtlInitializeExceptionChain
7353 - (StackWalker.cpp:1133): [Error] 77479F45 (ntdll): (filename not available): RtlInitializeExceptionChain
« Last Edit: February 23, 2014, 03:47:57 am by Admin »

Milly

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 503
    • View Profile
Re: [QUESTION] maps
« Reply #1 on: February 23, 2014, 03:40:34 am »
Sorry but your English is entirely incomprehensible. What files are you talking about?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

akriso

  • Contributors
  • Loreweaver
  • *****
  • Posts: 107
    • View Profile
Re: [QUESTION] maps
« Reply #2 on: February 23, 2014, 03:47:23 am »
sorry, updated first post
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] maps
« Reply #3 on: February 23, 2014, 09:48:44 am »
Open the ADT in a text editor, search for WMO. There'd your list.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Skarn

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 807
    • View Profile
    • http://skarn-project.net
Re: [QUESTION] maps
« Reply #4 on: February 23, 2014, 10:06:40 am »
You can use loadinfo and fileinfo tools to extract the list, delete crashing models and then import it back.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

akriso

  • Contributors
  • Loreweaver
  • *****
  • Posts: 107
    • View Profile
Re: [QUESTION] maps
« Reply #5 on: February 23, 2014, 10:47:05 pm »
i get list of all files used in adts... how i can get easy list of textures for it ?

« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] maps
« Reply #6 on: February 24, 2014, 12:37:21 am »
Just filter that list for blp files only?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

akriso

  • Contributors
  • Loreweaver
  • *****
  • Posts: 107
    • View Profile
Re: [QUESTION] maps
« Reply #7 on: February 24, 2014, 01:21:50 am »
Quote from: "schlumpf"
Just filter that list for blp files only?

for example  - part of file :

DWMOPANDARIAGOLDRUSHPA_BG_HUMANFORGE01.WMO
WORLDWMOPANDARIAZONEB2CPA_ZONEB2C_GRANDSTAIRWAY.WMO
WORLDWMOPANDARIAMOGUPA_MOGURUINS_9.WMO
WORLDWMOPANDARIAMOGUPA_MOGURUINS_1.WMO
WORLDWMOPANDARIAMOGUPA_MOGURUINS_7.WMO
WORLDAZEROTHBURNINGSTEPPESPASSIVEDOODADSORCTOOLRACKBURNINGSTEPPESORCTOOLRACKBURNINGSTEPPES.M2
WORLDAZEROTHELWYNNBUILDINGSGOLDMINEGOLDMINETRACKCURVE.M2
WORLDAZEROTHELWYNNBUILDINGSGOLDMINEGOLDMINETRACKS.M2
WORLDCRITTERFISHFISH01.M2
WORLDCRITTERFLIESFLIES01.M2
WORLDEXPANSION01DOODADSGENERICBURNINGLEGIONCANNONBU_CANNON_BASE.M2
WORLDEXPANSION01DOODADSHELLFIREPENINSULASUPPLIESHELLFIRESUPPLIES_01.M2
WORLDEXPANSION01DOODADSHELLFIREPENINSULASUPPLIESHELLFIRESUPPLIES_03.M2
WORLDEXPANSION01DOODADSTEROKKARWEBSTEROKKARWEB01.M2
WORLDEXPANSION01DOODADSTEROKKARWEBSTEROKKARWEB02.M2
WORLDEXPANSION01DOODADSTEROKKARWEBSTEROKKARWEB03.M2
WORLDEXPANSION01DOODADSTEROKKARWEBSTEROKKARWEB04.M2
WORLDEXPANSION02DOODADSAZJOL-NERUBAZJOL_WEB_01.M2
WORLDEXPANSION02DOODADSAZJOL-NERUBAZJOL_WEB_02.M2
WORLDEXPANSION02DOODADSAZJOL-NERUBAZJOL_WEB_ROPE_ANGLED_02.M2
WORLDEXPANSION02DOODADSAZJOL-NERUBAZJOL_WEB_ROPE_ANGLED_03.M2
WORLDEXPANSION02DOODADSAZJOL-NERUBAZJOL_WEB_ROPE_STRAIGHT_03.M2
WORLDEXPANSION02DOODADSAZJOL-NERUBSHRUBSAZJOL_MUSHROOM01.M2
WORLDEXPANSION02DOODADSGENERICGOBLINGOBLIN_FUELCELL.M2
WORLDEXPANSION02DOODADSGENERICHUMANBARRIERSND_HUMAN_BARRIER_END.M2
WORLDEXPANSION02DOODADSGENERICHUMANFENCEHU_FENCE01_NORTHREND.M2
WORLDEXPANSION02DOODADSGENERICHUMANFENCEHU_FENCEPOST_NORTHREND.M2
WORLDEXPANSION02DOODADSGENERICHUMANHU_PULLEY_CRATES.M2
WORLDEXPANSION02DOODADSGENERICHUMANHU_ROPE01.M2


how to get blp for it easy?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Skarn

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 807
    • View Profile
    • http://skarn-project.net
Re: [QUESTION] maps
« Reply #8 on: February 24, 2014, 05:05:55 am »
Just open the adt either in hex editor or in text editor. Usually every zone has about 5-7 textures in total.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

akriso

  • Contributors
  • Loreweaver
  • *****
  • Posts: 107
    • View Profile
Re: [QUESTION] maps
« Reply #9 on: February 24, 2014, 09:12:13 am »
Quote from: "Skarn"
Just open the adt either in hex editor or in text editor. Usually every zone has about 5-7 textures in total.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] maps
« Reply #10 on: February 24, 2014, 10:42:40 am »
Search for blp there, yes.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [QUESTION] maps
« Reply #11 on: February 24, 2014, 12:19:33 pm »
As he has green models there in screen, i think he has missing M" or WMO Textures. Here you have to look inside the m2 or wmo to find the textures.

Use 010edit and fitting model temaplte to find the textures.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

akriso

  • Contributors
  • Loreweaver
  • *****
  • Posts: 107
    • View Profile
Re: [QUESTION] maps
« Reply #12 on: February 24, 2014, 02:07:40 pm »
Quote from: "Steff"
As he has green models there in screen, i think he has missing M" or WMO Textures. Here you have to look inside the m2 or wmo to find the textures.

Use 010edit and fitting model temaplte to find the textures.

I have a list of files that I got from adt. Are i can somehow quickly find all blp used by these files?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] maps
« Reply #13 on: February 24, 2014, 03:27:43 pm »
Code: [Select]
(strings foo.adt | grep -i "(wmo|m2|mdx)" | while read file; do strings $file | grep -i blp; done) | sort -u
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

PhilipTNG

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 709
    • View Profile
Re: [QUESTION] maps
« Reply #14 on: February 24, 2014, 09:43:00 pm »
Quote from: "akriso"
I have a list of files that I got from adt. Are i can somehow quickly find all blp used by these files?

You'll have to extract the m2/wmo that are in the list from the patches of where they come. Unless you want to make a string dumper to run against multiple wmo/m2 files at a time, if you don't know how or don't want to, you'll have to look them up individually with 010 Editor and the Templates as noted by Steff. Keep in mind that WMO's also contain M2 files as well.

I made myself a dumper a year ago with 010 Editor and Windows cmd to scan adt's for m2/wmo files, then also to scan m2/wmo for blp's so I could extract only what I needed as to not have patches with ungodly large file sizes of unneeded data.

I also used this for my 9 gigabyte Cata-MoP Content Package , otherwise it would have been around 17 gigabytes in size if I did not remove the Vanilla, TBC, < 3.2.0x data out of the package.

Quote from: "schlumpf"
Code: [Select]
(strings foo.adt | grep -i "(wmo|m2|mdx)" | while read file; do strings $file | grep -i blp; done) | sort -u

As per his screenshot, it seems the issue is with the various wmo/m2 files, not necessarily the adt tilesets.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »