https://github.com/vriskaserket51/eastwardmodloader
Mod loader of video game 'Eastward'
https://github.com/vriskaserket51/eastwardmodloader
mod-loader reverse-engineering video-game
Last synced: 3 months ago
JSON representation
Mod loader of video game 'Eastward'
- Host: GitHub
- URL: https://github.com/vriskaserket51/eastwardmodloader
- Owner: VriskaSerket51
- License: gpl-3.0
- Created: 2023-11-23T13:37:23.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-24T15:05:13.000Z (over 1 year ago)
- Last Synced: 2025-01-22T07:33:06.246Z (5 months ago)
- Topics: mod-loader, reverse-engineering, video-game
- Language: Lua
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EastwardModLoader
Mod loader of video game 'Eastward'## How to use
Inject 'main.lua' in to '{steam_dir}/Eastward/game/_system.g', using 'Injector.exe' or just make custom injector with [EastwardLib](https://github.com/VriskaSerket51/EastwardLib).Generate your mods with 'template.lua' file, and move it to '{steam_dir}/Eastward/game/mods/'.
Then mod successfully injected!
Logs for injecting will be saved at 'ModLoader.log'.Other game logs will be saved at '%appdata%/Pixpil/Eastward/{steam_id}/game.log' (Windows).
## Add custom mod
'template.lua' is just a template, you can edit it whatever you want!Key idea is using Eastward's signal handler, such as `mock.connectGlobalSignalFunc("game.init", onGameInit)`.
Here is example code for skipping Logo scene.
```lua
mock.connectGlobalSignalFunc("scene.open", onSceneOpen)function onSceneOpen(scene)
local path = scene.pathif (path == "scene/design/ui/Logo.scene") then
game:openSceneByPath("scene/ui/TitleMenu.scene")
end
end
```