diff --git a/README.md b/README.md index 58c1468..87bb88a 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ This program converts `.BSP` files from Quake3 levels, and converts them to Call of Duty 4's `.MAP` format. These files can be opened and edited using Call of Duty 4's level editor Radiant. This program also creates a `.GDT` file which stores all of the materials used in the level, as well as any properties those materials may have. The `.BAT` file generated by this program allows the user to compile the materials much faster than trying to do it manually. The purpose of this program is mainly to speed up the process of porting Quake3 levels to Call of Duty 4. -![](https://i.imgur.com/RkDPYn9.png) +![](https://i.imgur.com/GKptkni.png) ## Instructions 1. Place Q3 ``.BSP`` in the ``bsp`` folder. diff --git a/src/__main__.py b/src/__main__.py index e33bf28..9f037cd 100644 --- a/src/__main__.py +++ b/src/__main__.py @@ -8,13 +8,13 @@ PRINT_Q3BSP_Q3MAP = """ ##################################### - Q3BSP => Q3MAP + Q3BSP => Q3MAP ##################################### """ PRINT_Q3MAP_COD4MAP = """ ##################################### - Q3MAP => COD4MAP + Q3MAP => COD4MAP ##################################### """ @@ -48,7 +48,7 @@ def cod4map2(filepath: str): Convert a Q3 MAP to a CoD4 MAP. """ with open(filepath, "r+", encoding="utf8") as map_file: - print(f"\nConverting {filepath}") + print(f"Converting {Path(filepath).stem}") content = map_file.read().replace( "// Generated by Q3Map2 (ydnar) -convert -format map", "" ) @@ -67,6 +67,7 @@ def cod4map2(filepath: str): map_file.truncate() print(">> Generate GDT & Batch") make_gdt(filepath) + print() def make_gdt(filepath: str):