Welcome to CMM

The CMM forum software was recently upgraded, some things may have changed and some things may be broken or not working. Please let me know by PM or on IRC if you have any problems using this forum.

Also, I've removed the skybox and shader links for now, the shader generator page was being abused and as we're moving towards a ue4 mapping base, they're redundant.

Pk3-Validator

For all your great and interesting ideas
madpew
Posts: 2
Joined: Tue Feb 07, 2012 9:38 am

Pk3-Validator

Postby madpew » Tue Feb 07, 2012 10:42 am

Hello everyone,

I read some topics about Map-Validation and the Mapping-Suite and stumbled across a tool I did some time ago that I didn't finish because I gave up mapping.
To keep things short here's the deal:

The Pk3-Validator currently
    unpacks the pk3,
    checks the naming of the pk3 in regard of the mapname
    checks for .aas, .bsp, levelshot, minimap, readme, .arena, .rad
    can autogenerate-arena file by looking at the entities in the bsp
    checks for files included that should not be distributed: .map .ase .md3 .qc thumbs.db
    checks textures for power of 2 dimensions
    checks the bsp to include intermission spawn, locationnames, spawnpoints, sounds and surfacesounds
alot more features were planned (checking for unused assets, checking for missing assets,...)

BUT, it's written in C# and therefore Windows-Platform only.
Now here's the question:
Is anyone interested in such a tool and is there any need to make it multiplatform?

Best regards, madpew

To clear things up here's the output when running the map ut4_orbital_sl through this tool (with additional info turned on)
Spoiler: show
pewMapValidator - v. 1.0
___ Checking 'ut4_orbital_sl.pk3'
|
( ) REQUIRED FILES
|
|-ERR- '/maps/ut4_orbital_sl.aas' missing.
| '-- No Bot-support?
|-ERR- '/maps/ut4_orbital_sl.rad' missing.
| '-- No Bumpmapping? Use Bumpy Compiler.
|-ERR- Wrong Naming: 'ut4_orbital_sl.txt' should be 'readme.txt'
|
( ) BSP COMMON ENTITIES
|
|-ERR- Intermission Spawn missing.
| '-- This Spawn is used when the map is over and the scoreboard shown.
|
( ) BSP SURFACE SOUNDS
|
|
( ) TEXTURES POWER OF 2
|
|-ERR- 'textures/esa_O/022301431074R980_N.jpg' failed. (294x259)
|-ERR- 'textures/esa_O/Aircos0002.jpg' failed. (48x48)
|-ERR- 'textures/esa_O/Aircos0002_S.jpg' failed. (256x180)
|-ERR- 'textures/esa_O/br2.jpg' failed. (330x256)
|-ERR- 'textures/esa_O/Buttons0022_S.jpg' failed. (85x128)
|-ERR- 'textures/esa_O/cell3.jpg' failed. (47x249)
|-ERR- 'textures/esa_O/cell4.jpg' failed. (47x47)
|-ERR- 'textures/esa_O/cm53bh_713400g.jpg' failed. (256x317)
|-ERR- 'textures/esa_O/crate5.jpg' failed. (504x504)
|-ERR- 'textures/esa_O/door.jpg' failed. (353x294)
|-ERR- 'textures/esa_O/doorexit.jpg' failed. (353x294)
|-ERR- 'textures/esa_O/DoorsIndustrial.jpg' failed. (512x590)
|-ERR- 'textures/esa_O/emiliebresse.jpg' failed. (256x192)
|-ERR- 'textures/esa_O/graph.tga' failed. (256x159)
|-ERR- 'textures/esa_O/graph2.tga' failed. (256x192)
|-ERR- 'textures/esa_O/holog.jpg' failed. (232x511)
|-ERR- 'textures/esa_O/instinct2.jpg' failed. (31x33)
|-ERR- 'textures/esa_O/iss_virus.jpg' failed. (256x197)
|-ERR- 'textures/esa_O/Kr0t4L_icon.jpg' failed. (768x256)
|-ERR- 'textures/esa_O/Leather0072_S.jpg' failed. (265x256)
|-ERR- 'textures/esa_O/MetalBlock.jpg' failed. (384x512)
|-ERR- 'textures/esa_O/MetalBulkheads0008_2_S.jpg' failed. (512x191)
|-ERR- 'textures/esa_O/MetalPlates0222_2_S.jpg' failed. (256x208)
|-ERR- 'textures/esa_O/MetalRollup0062_S.jpg' failed. (256x462)
|-ERR- 'textures/esa_O/monitor1.jpg' failed. (369x239)
|-ERR- 'textures/esa_O/monitor2.jpg' failed. (369x239)
|-ERR- 'textures/esa_O/monitor3.jpg' failed. (369x239)
|-ERR- 'textures/esa_O/monitor4.jpg' failed. (369x239)
|-ERR- 'textures/esa_O/monitor5.jpg' failed. (369x239)
|-ERR- 'textures/esa_O/monitor6.jpg' failed. (369x239)
|-ERR- 'textures/esa_O/monitor7.jpg' failed. (369x239)
|-ERR- 'textures/esa_O/monitorX.jpg' failed. (369x280)
|-ERR- 'textures/esa_O/noexit.jpg' failed. (254x238)
|-ERR- 'textures/esa_O/panel1.jpg' failed. (192x256)
|-ERR- 'textures/esa_O/panel2.jpg' failed. (256x205)
|-ERR- 'textures/esa_O/panel3.jpg' failed. (512x182)
|-ERR- 'textures/esa_O/pinup_t.jpg' failed. (300x450)
|-ERR- 'textures/esa_O/restricted.jpg' failed. (256x186)
|-ERR- 'textures/esa_O/trim1.jpg' failed. (427x176)
|-ERR- 'textures/esa_O/trim2.jpg' failed. (256x321)
|-ERR- 'textures/esa_O/Various0062_S.jpg' failed. (512x460)
|-ERR- 'textures/esa_O/Various0213_S.jpg' failed. (256x168)
|-ERR- 'textures/esa_O/Various0215_S.jpg' failed. (213x256)
|-ERR- 'textures/esa_O/Various0216_S.jpg' failed. (256x68)
|-ERR- 'textures/esa_O/Various0377_S.jpg' failed. (256x291)
|-ERR- 'textures/esa_O/Various0440_S.jpg' failed. (139x256)
|-ERR- 'textures/esa_O/Various0482_S.jpg' failed. (512x325)
|-ERR- 'textures/esa_O/Various_1.jpg' failed. (209x385)
|-ERR- 'textures/esa_O/Various_2.jpg' failed. (208x335)
|-ERR- 'textures/esa_O/Various_3.jpg' failed. (362x81)
|-ERR- 'textures/esa_O/Various_4.jpg' failed. (215x39)
|-ERR- 'textures/esa_O/Various_5.jpg' failed. (132x116)
|-ERR- 'textures/esa_O/Vents0055_D.jpg' failed. (218x512)
|-ERR- 'textures/esa_O/Vents0149_S.jpg' failed. (512x198)
|-ERR- 'textures/esa_O/w1.jpg' failed. (579x279)
|-ERR- 'textures/esa_O/wall1.jpg' failed. (487x407)
|-ERR- 'textures/esa_O/XRayChest0013_S.jpg' failed. (512x617)
|-ERR- 'textures/esa_O/XRayHands0001_S.jpg' failed. (256x319)
|-ERR- 'textures/esa_O/XRayHead0007_S.jpg' failed. (256x317)
|-ERR- 'textures/photorealistic_objets/object018.jpg' failed. (128x194)
|-ERR- 'textures/ut_house/rt_lightside_01.tga' failed. (32x80)
|-ERR- 'textures/ut_house/trim_cementwall2.jpg' failed. (256x48)
|-ERR- 'levelshots/ut4_orbital_sl.jpg' failed. (1024x768)
|-ERR- 'models/mapobjects/multiplant/bannanaleaf.tga' failed. (128x368)
|-ERR- 'models/mapobjects/multiplant/batleaf.tga' failed. (192x408)
|-ERR- 'models/mapobjects/multiplant/batleaf2.tga' failed. (192x408)
|-ERR- 'models/mapobjects/multiplant/batleaf2veins.tga' failed. (192x408)
|-ERR- 'models/mapobjects/multiplant/fern.tga' failed. (192x368)
|-ERR- 'models/mapobjects/multiplant/leaf1.tga' failed. (128x352)
|-ERR- 'models/mapobjects/multiplant/leaf2.tga' failed. (96x320)
|-ERR- 'models/mapobjects/multiplant/leaf3.tga' failed. (96x352)
|-ERR- 'models/mapobjects/multiplant/palmfrond.tga' failed. (128x384)
|-ERR- 'models/mapobjects/multiplant/pleaf1.tga' failed. (160x272)
|-ERR- 'models/mapobjects/multiplant/pleaf3.tga' failed. (202x283)
|-ERR- 'models/mapobjects/palm1/palm1.tga' failed. (208x352)
|
( ) "DO NOT DISTRIBUTE"-FILES
|
|-ERR- MD3-File(s) detected.
| '-- Those are not needed for distribution. Models are baked into the Bsp.
|-ERR- QC-File(s) detected.
| '-- Those are not needed for distribution. Models are baked into the Bsp.
|-ERR- Useless file(s) 'thumbs.db' detected.
| '-- system-files storing thumbnails of files for faster preview.
|
( ) Finished in 0,75 seconds.
'-- With 82 Errors.
:-(
Last edited by madpew on Tue Feb 07, 2012 11:06 am, edited 1 time in total.

User avatar
johnnyenglish
Space cake
Posts: 893
Joined: Wed Aug 17, 2011 9:23 am
Location: Nottingham, England

Re: Pk3-Validator

Postby johnnyenglish » Tue Feb 07, 2012 11:03 am

There's definitely a lot of demand for a tool such as this, I'm guessing that a lot of current mappers use a linux brand or mac as well as windows. We can probably run a vote to find out the numbers.

User avatar
Rylius
King wiki
Posts: 232
Joined: Wed Aug 17, 2011 8:14 pm
Location: Germany
Contact:

Re: Pk3-Validator

Postby Rylius » Tue Feb 07, 2012 11:20 am

If you post the code I can adapt it for the mapping suite, otherwise I'd write my own validator anyway - your decision :)
Feel free to make it multiplatform, but I can relief you of the work :D
Sweet tool nethertheless!

PS: I could turn it standalone too if people want
Rain - Blog - deviantArt
<Delirium> I did like a reverse jizz
<Delirium> in my pants
<Delirium> my jeans went into my sack
<Delirium> through my dick

madpew
Posts: 2
Joined: Tue Feb 07, 2012 9:38 am

Re: Pk3-Validator

Postby madpew » Tue Feb 07, 2012 11:57 am

Problem solved. Thanks for the feedback anyways.
I gave the code to Rylius.
Thanks in advance for his efforts.
Best regards, madpew

User avatar
xandaxs
Posts: 959
Joined: Wed Aug 17, 2011 5:22 pm
Location: Oeiras, Portugal
Contact:

Re: Pk3-Validator

Postby xandaxs » Tue Feb 07, 2012 12:43 pm

I'll damn sure use this!
[12:25] <JohnnyEnglish> morning Nounou
[12:25] <JohnnyEnglish> wotcha doing?
[12:25] <Nounou> hello
[12:26] <Nounou> nothing much, i've nothing to do at work so
[12:26] <Nounou> modeling woman
[12:26] <JohnnyEnglish> woo
[12:26] <JohnnyEnglish> real women?
[12:26] <Nounou> realistic yes, on maya

Image

User avatar
HappyDay
Posts: 60
Joined: Sun Aug 21, 2011 9:33 am
Contact:

Re: Pk3-Validator

Postby HappyDay » Tue Feb 07, 2012 5:18 pm

Yes, very useful tool. A colored output would be cool though (maybe it is colored, idk)
Have a happy day! :)

User avatar
nemNEMnem
Posts: 271
Joined: Sat Aug 20, 2011 11:11 am
Location: Germany
Contact:

Re: Pk3-Validator

Postby nemNEMnem » Tue Feb 07, 2012 5:54 pm

Is this a console-programm? i mean are u starting it with "C:/pk3validater.exe" -validate "C:/helo.pk3"
If yes, send it to me and i will put it into the MP3

a mappacker AND a packvalidater :D
for a big tree, you need a small axe.
--Bob Marley--

User avatar
Fleuv
Posts: 30
Joined: Sat Sep 03, 2011 3:12 pm
Location: Netherlands
Contact:

Re: Pk3-Validator

Postby Fleuv » Tue Feb 07, 2012 6:41 pm

Nicee, may add a code/abbility for map.pk3 minus zpak.pk3

johnnyenglish wrote:There's definitely a lot of demand for a tool such as this, I'm guessing that a lot of current mappers use a linux brand or mac as well as windows. We can probably run a vote to find out the numbers.


Windows ofc<3
Image

User avatar
xandaxs
Posts: 959
Joined: Wed Aug 17, 2011 5:22 pm
Location: Oeiras, Portugal
Contact:

Re: Pk3-Validator

Postby xandaxs » Tue Feb 07, 2012 7:25 pm

you should always have zpak as you don't know what's changing in urt hd..
[12:25] <JohnnyEnglish> morning Nounou
[12:25] <JohnnyEnglish> wotcha doing?
[12:25] <Nounou> hello
[12:26] <Nounou> nothing much, i've nothing to do at work so
[12:26] <Nounou> modeling woman
[12:26] <JohnnyEnglish> woo
[12:26] <JohnnyEnglish> real women?
[12:26] <Nounou> realistic yes, on maya

Image

User avatar
theRipper
Posts: 223
Joined: Tue Aug 30, 2011 1:57 pm
Contact:

Re: Pk3-Validator

Postby theRipper » Tue Feb 07, 2012 8:59 pm

do you guys not use mappacker?
Image


Return to “Suggestions and ideas”

Who is online

Users browsing this forum: No registered users and 1 guest

cron