[TUTORIAL] How to install mods in the binaries.

Mods, guides how to use and install mods go right in here.
Post Reply
User avatar
CommunistPancake
Posts: 65
Joined: 04 Mar 2012, 00:36
Contact:

Post » 04 Mar 2012, 08:26

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!

User avatar
mari0fan
PERMABANNED
Posts: 35
Joined: 04 Mar 2012, 16:21

Post » 04 Mar 2012, 19:36

after i make all these steps and give the lua mod to the window it shows not implementet what shouild i do ????

User avatar
trosh
Posts: 1594
Joined: 03 Feb 2012, 08:36

Post » 04 Mar 2012, 19:53

please be more precise about what happened

User avatar
Darkness1000
Posts: 12
Joined: 04 Mar 2012, 00:39

Post » 05 Mar 2012, 00:06

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.

Seth.D
Posts: 8
Joined: 05 Mar 2012, 02:02

Post » 05 Mar 2012, 02:06

mari0fan wrote:after i make all these steps and give the lua mod to the window it shows not implementet what shouild i do ????
Here's what happened:

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"

Camewel
Posts: 2996
Joined: 02 Feb 2012, 21:32

Post » 05 Mar 2012, 02:12

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.
Your problem is that you're zipping the folder. Zip te contents instead.

User avatar
Darkness1000
Posts: 12
Joined: 04 Mar 2012, 00:39

Post » 05 Mar 2012, 03:54

Camewel wrote:
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.
Your problem is that you're zipping the folder. Zip te contents instead.
Oh. Oh geez, I feel like an idiot now. Thanks for the help though!

User avatar
mari0fan
PERMABANNED
Posts: 35
Joined: 04 Mar 2012, 16:21

Post » 05 Mar 2012, 10:17

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

User avatar
Enderborn
Posts: 81
Joined: 07 Feb 2012, 01:10

Post » 05 Mar 2012, 17:12

I have the same problem as mari0fan. Please help. I really wanna put my 3D glasses hat in the game. :-D

Maurice
Stabyourself.net
Posts: 2145
Joined: 01 Feb 2012, 20:19

Post » 05 Mar 2012, 17:13

Use winrar then?
I'm not here to teach you how to zip something.

User avatar
Zlmpery
Posts: 339
Joined: 05 Feb 2012, 19:12
Contact:

Post » 06 Mar 2012, 21:40

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.

Maurice
Stabyourself.net
Posts: 2145
Joined: 01 Feb 2012, 20:19

Post » 06 Mar 2012, 22:02

Zlmpery wrote: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.
Get the source and open that with winrar.

User avatar
Lakyu
Posts: 10
Joined: 07 Mar 2012, 00:33

Post » 07 Mar 2012, 17:44

Impossible ... I have the source (modified), but still can not see my changes.
help me please.

Edit: Finally .. managed using the file "Love.exe."
Thank you. :D
Last edited by Lakyu on 07 Mar 2012, 17:54, edited 1 time in total.

Maurice
Stabyourself.net
Posts: 2145
Joined: 01 Feb 2012, 20:19

Post » 07 Mar 2012, 17:46

Sorry, but I won't teach you how to program or use Löve.

Post Reply