https://github.com/vandercat/gmodmenuremake
[WIP] Complete remake of gmod menu in modern framework (Vue.js)
https://github.com/vandercat/gmodmenuremake
addon garry-mod garrys-mod garrysmod garrysmod-addon gm gmod vue vuejs vuetify
Last synced: 12 days ago
JSON representation
[WIP] Complete remake of gmod menu in modern framework (Vue.js)
- Host: GitHub
- URL: https://github.com/vandercat/gmodmenuremake
- Owner: VanderCat
- Created: 2021-07-08T14:52:43.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-02T11:45:13.000Z (about 3 years ago)
- Last Synced: 2025-03-25T00:26:06.493Z (29 days ago)
- Topics: addon, garry-mod, garrys-mod, garrysmod, garrysmod-addon, gm, gmod, vue, vuejs, vuetify
- Language: Vue
- Homepage:
- Size: 2.93 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Garry's Menu Remake
This project aims to rewrite all Garry's Mod Menu to modern framework (Vue.js v2).This mod is an early stage of developement, not so much implemented yet.
What's impemented:
- Main Menu
- Running lua from html
- News are pulled from game
- Opening problem helper
- Gamemode switching and pulling the list from game itslef
- Starting a game
- Selecting a map with additions customization after build (e.g. You can tweak some settings). **Look [Here](https://github.com/VanderCat/GmodMenuRemake/tree/main/public/mapimglist/README.md)**You can check the look of menu [**here**](https://vandercat.github.io/GmodMenuRemake/) (may be outdated a bit)
## Installation
To install this menu we need to build it or download from Releases (if they exist)Move contents of built menu to `%SteamLibrary%/GarrysMod/garrysmod/html/`. **(!!DONT FORGET TO BACKUP IT!!)**
After this you need to rename (in `lua/menu/mainmenu.lua`) `self.HTML:OpenURL( "asset://garrysmod/html/menu.html" )` to `self.HTML:OpenURL( "asset://garrysmod/html/index.html")` or `%SteamLibrary%/GarrysMod/garrysmod/html/index.html` to `main.html`~~For some reason after building some files are not relative so we need to fix it:
find all src or link and add a dot (e.g `src="/js/chunk.js"` => `src="./js/chunk.js"`)~~ Fixed## Building
First we need to install dependencies:
```
mpm install
```
And then```
npm run build
```
The built menu will be in `.\dist` folder