[TUTORIAL] How to install mods in the binaries.
- CommunistPancake
- Posts: 65
- Joined: 04 Mar 2012, 00:36
- Contact:
This is a tutorial on how to install .lua mods in the regular windows binary (.exe). The files probably work the same, but I don't know a 7zip equivalent for Mac or Linux.
You will need:
7-zip
How To
First, you need a LUA version of the mod. Not a .love file. Now, right click on the Mari0.exe, select the 7-zip sub menu, and click "Open Archive". A 7zip window will open up. Drag the .lua file in the window and then close 7zip. Now launch Mari0. The mod is installed!
You will need:
7-zip
How To
First, you need a LUA version of the mod. Not a .love file. Now, right click on the Mari0.exe, select the 7-zip sub menu, and click "Open Archive". A 7zip window will open up. Drag the .lua file in the window and then close 7zip. Now launch Mari0. The mod is installed!
- Darkness1000
- Posts: 12
- Joined: 04 Mar 2012, 00:39
I was trying to do more or less the same thing on my Mac, which would be unzipping the .love, replacing/editing proper files, and rezipping to a .love (I even followed this tutorial instead of just changing extension) but I keep getting the error:
Error
boot.lua:335: No code to run
Your game might be packaged incorrectly
Make sure main.lua is at the top level of the zip
Traceback
[C]: in function 'error'
[C]: in function 'xpcall'
DarkEdit: This happens even if I don't replace a single file, it appears to be rezipping that is the problem. I should note that my Mac lists the rezipped version as a Document rather than a Unix Executable File.
Error
boot.lua:335: No code to run
Your game might be packaged incorrectly
Make sure main.lua is at the top level of the zip
Traceback
[C]: in function 'error'
[C]: in function 'xpcall'
DarkEdit: This happens even if I don't replace a single file, it appears to be rezipping that is the problem. I should note that my Mac lists the rezipped version as a Document rather than a Unix Executable File.
Here's what happened:mari0fan wrote:after i make all these steps and give the lua mod to the window it shows not implementet what shouild i do ????
Right clicked Mari0.exe
Opened with 7-Zip
7-Zip window displaying the contents of the .exe opened up
Dragged game.lua into this new window
"Are you sure you want to copy files to archive"
Selected "Yes"
Received an error in 7-Zip that said "Not implemented"
Your problem is that you're zipping the folder. Zip te contents instead.Darkness1000 wrote:I was trying to do more or less the same thing on my Mac, which would be unzipping the .love, replacing/editing proper files, and rezipping to a .love (I even followed this tutorial instead of just changing extension) but I keep getting the error:
Error
boot.lua:335: No code to run
Your game might be packaged incorrectly
Make sure main.lua is at the top level of the zip
Traceback
[C]: in function 'error'
[C]: in function 'xpcall'
DarkEdit: This happens even if I don't replace a single file, it appears to be rezipping that is the problem. I should note that my Mac lists the rezipped version as a Document rather than a Unix Executable File.
- Darkness1000
- Posts: 12
- Joined: 04 Mar 2012, 00:39
Oh. Oh geez, I feel like an idiot now. Thanks for the help though!Camewel wrote:Your problem is that you're zipping the folder. Zip te contents instead.Darkness1000 wrote:I was trying to do more or less the same thing on my Mac, which would be unzipping the .love, replacing/editing proper files, and rezipping to a .love (I even followed this tutorial instead of just changing extension) but I keep getting the error:
Error
boot.lua:335: No code to run
Your game might be packaged incorrectly
Make sure main.lua is at the top level of the zip
Traceback
[C]: in function 'error'
[C]: in function 'xpcall'
DarkEdit: This happens even if I don't replace a single file, it appears to be rezipping that is the problem. I should note that my Mac lists the rezipped version as a Document rather than a Unix Executable File.
yes i make all these steps
Opened with 7-Zip
7-Zip window displaying the contents of the .exe opened up
Dragged game.lua into this new window
"Are you sure you want to copy files to archive"
Selected "Yes"
Received an error in 7-Zip that said "Not implemented"
what should i do
Opened with 7-Zip
7-Zip window displaying the contents of the .exe opened up
Dragged game.lua into this new window
"Are you sure you want to copy files to archive"
Selected "Yes"
Received an error in 7-Zip that said "Not implemented"
what should i do
I've been trying to open the exe file in 7zip but I always get Not Implemented too. I tried Winrar, but I don't think it allows you to open EXE files.