*.map & *.pk3 naming standard?

General Discussion about Medal of Honor: Allied Assault and Pacific Assault.

Moderator: Moderators

Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

*.map & *.pk3 naming standard?

Post by Bjarne BZR »

Is there a standard on how to name *.map and *.pk3 files?
A quick net search gave nothing... I've noticed a few things about naming:

1) Once you release a file on the Internet, you'r screwed. You are too late to change the name after that. So select the name VERY carefully.
2) New versions may cause you trouble, if your map is not named properly.

So I thought we'd cook up a standard here and now. This is not to be a control freak, its to avoid as much unessesary problems as possible.

My start suggestion for *.bsp files:
Mr BZR wrote:<GAMETYPE>_<MAPNAME>_<VERSION>.bsp

Example: obj_beach_battery_1.2.bsp

<GAMETYPE> = obj, dm, tow, ctf or any other kind of ctazy game type.
<MAPNAME> = Shortest possible name.
<VERSION> = Major and minor version ( 1.0 -> 1.1 for small change, 1.1 -> 2.0 for big change )
My start suggestion for *.pk3:s:
Mr BZR wrote:user-<GAMETYPE>_<MAPNAME>_<VERSION>.pk3

Example: user-obj_beach_battery_1.2.pk3

<GAMETYPE> = obj, dm, tow, ctf or any other kind of ctazy game type.
<MAPNAME> = Shortest possible name.
<VERSION> = Major and minor version ( 1.0 -> 1.1 for small change, 1.1 -> 2.0 for big change )
... so why?
<GAMETYPE> because soon you will realize how easy it is to make a map of another type once you made a map of another type... BUT you must change the maps mame for stuff like loadscreens to work.
<MAPNAME> because... I don't have to explain that one do I?
<VERSION> because when you release a new version, there is no way to separate the versions... you can enter a server using the wrong map version, and usually get VERY wierd things happening ( Doors replaced by spinning barres, and stuff like that ).

I also suggest a naming standard for readme files:
Mr BZR wrote:user-<GAMETYPE>_<MAPNAME>_<VERSION>_readme.txt

Example: user-obj_beach_battery_1.2_readme.txt

<GAMETYPE> = obj, dm, tow, ctf or any other kind of ctazy game type.
<MAPNAME> = Shortest possible name.
<VERSION> = Major and minor version ( 1.0 -> 1.1 for small change, 1.1 -> 2.0 for big change )
...this way you can easily find the readme to tell someone an error or send them love letters, because the readme will be located next to the *pk3 in main, because it has an almost identical name ( and wont be overwritten by the next map you install's readme file ).

So? What do you guys think? You must have run into problems with naming... at least you experienced mappers...
Admin .MAP Forums
Image
Head above heels.
User avatar
ZeroSkaten
Second Lieutenant
Posts: 159
Joined: Sun Jan 12, 2003 11:03 pm
Location: Canada
Contact:

Post by ZeroSkaten »

lol :lol: it hasn't happened to me... yet.
Together we will leave no posts un awnsered!
BTW that me in the picture :wink:
Image
Visit my site: http://www.planetmedalofhonor.com/hk/

As I say: A 3d model a day keeps the career consultant away.
Surgeon
Site Admin
Posts: 1386
Joined: Tue Jun 04, 2002 1:15 am
Location: Stirling, Scotland
Contact:

Post by Surgeon »

There was a move by aa.com and TMT to standardize mods/maps and skins naming standards. I don't know how successful it was but it runs along the same lines as you have suggested. Personally I'm all for it so long as everyone remembers to do it and spreads the word also.....

I'm also thinking of writing a small tut on the conventions of writing a readme.txt file to go with your maps....mainly because these things should be fairly standard to...
Admin
Image

.map Forums

Truth and Honor.
User avatar
ZeroSkaten
Second Lieutenant
Posts: 159
Joined: Sun Jan 12, 2003 11:03 pm
Location: Canada
Contact:

Post by ZeroSkaten »

ooo i agree with you, i just got cunfused at first :oops:
Together we will leave no posts un awnsered!
BTW that me in the picture :wink:
Image
Visit my site: http://www.planetmedalofhonor.com/hk/

As I say: A 3d model a day keeps the career consultant away.
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

Surgeon wrote:I'm also thinking of writing a small tut on the conventions of writing a readme.txt file to go with your maps....mainly because these things should be fairly standard to...
You are thinking tha same way as I! That was ny next thing after the map names :D

The way I thought the map/pk3 naming standard is that I dont give a rats ass if mappers follow it, but if they DO follow it, they'll get out of a lot of trouble that other mappers have gone through before them... and following a standard is easy for you and easy for your users...

I'll put together a tutorial on the subject; so all of you: tell me what you think!
Admin .MAP Forums
Image
Head above heels.
nuggets
General
Posts: 1006
Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:

Post by nuggets »

good plan batman!!!

can i also suggest using the mod in the title name as well... although i haven't mentioned it b4 i'm actually part of a modding team, and would hate to see this recognition unrecognised...

good work to all the people who have worked, and keep working to all the people who are working... to the people who are doing nothing however... ermmm... just... well... ermmm... well done :D
hope this helps, prob not cos it's all foreign 2 me :-/
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

Yes, the mod name ( if any ) could be part of the *.pk3 name... but not, in my opinion, a part of the map name...
Or maby the readme and the loadscreen is enough to inform of the mod team?
Admin .MAP Forums
Image
Head above heels.
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

I made a tutorial on a file naming standard:

http://www.planetmedalofhonor.com/rjuka ... orial.html

Read it and see what you think...
Admin .MAP Forums
Image
Head above heels.
User avatar
ZeroSkaten
Second Lieutenant
Posts: 159
Joined: Sun Jan 12, 2003 11:03 pm
Location: Canada
Contact:

Post by ZeroSkaten »

nice :D
Together we will leave no posts un awnsered!
BTW that me in the picture :wink:
Image
Visit my site: http://www.planetmedalofhonor.com/hk/

As I say: A 3d model a day keeps the career consultant away.
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

Anyone believes that i can make a map with notepad? Basic one maybe. :wink:
Live to map, not map to live.
-mohaa_rox, .map
moderator
Surgeon
Site Admin
Posts: 1386
Joined: Tue Jun 04, 2002 1:15 am
Location: Stirling, Scotland
Contact:

Post by Surgeon »

ahh the old notepad mapping...its a pain in the ass though trying to figure out brush coordinates.........
Admin
Image

.map Forums

Truth and Honor.
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

mohaa_rox wrote:Anyone believes that i can make a map with notepad?
You did not bother reading the subject line, did you? What were you thinking rox? :wink:
Admin .MAP Forums
Image
Head above heels.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Not sure if I'm in favour of a dot in the filename :?
Image
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

jv_map wrote:Not sure if I'm in favour of a dot in the filename :?
Why?
Admin .MAP Forums
Image
Head above heels.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Not sure if all browsers and filesystems (e.g. mac) understand it :?.

Sorry if this is a stupid doubt :oops:
Image
Post Reply