ERROR:"program too big to fit in memory"

Mods, guides how to use and install mods go right in here.
Post Reply
Darkmacsek9
Posts: 4
Joined: 22 Mar 2012, 23:40

Post » 22 Mar 2012, 23:48

Hello everybody!
I modded mari0 this way:
1. renamed the .exe to .zip
2. unzipped to a folder
3. Switched some .ogg sounds + a hat (.png, same resolution)
(Same name, and same extension, but my .ogg files were larger than the originals)
4. Selected all files, all folders, zipped back
5. renamed the zip to an exe.
Now, the problem is that when I try to start the game (exe) a cmd window appears for a second with this error:
"program too big to fit in memory" (the exe is about 7 MB ), and the exe has no mario icon, just the original windows.
Please help me, what do I need to do to play the game with my own mod? (I worked a lot on it)
Thanks!
Darkmacsek9
(Sorry for any grammar mistakes, greetings form Hungary! :) )

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

Post » 22 Mar 2012, 23:53

You can't rename the .zip to a .exe because that's just not how it works. You need to rename it to .love and open it with love.exe, or combine it with love.exe to make a single .exe file.

User avatar
canI
Posts: 64
Joined: 05 Mar 2012, 17:02

Post » 22 Mar 2012, 23:54

Install THIS. Instead of in step 5 renaming the zip to an exe, rename from zip to love, double click love.

edit: ninja'd

Darkmacsek9
Posts: 4
Joined: 22 Mar 2012, 23:40

Post » 22 Mar 2012, 23:56

Thanks! Then how can I make an exe file from it, just like the original mari0?

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

Post » 22 Mar 2012, 23:58

love2d wiki wrote:Here's how to do it on Windows. In a console, type this:

copy /b love.exe+game.love game.exe

Then, all you have to do is zip game.exe and required DLLs, and distribute them. Yes; this does mean that the game will have a private copy of LÖVE, but there's nothing wrong with that. It also means that you will have to create one package for each platform you would like to support, or simply offer the .love alone for the other platforms.

Darkmacsek9
Posts: 4
Joined: 22 Mar 2012, 23:40

Post » 23 Mar 2012, 00:16

Could you write an exemple please? Because I can't figure out what I should write exactly, and cmd can't find the files :S

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

Post » 23 Mar 2012, 00:18

Replace love.exe with whatever you called your love.exe file and game.love with whatever you called Mari0.
Also, it helps if love and Mari0 are on the root of the C drive.

Darkmacsek9
Posts: 4
Joined: 22 Mar 2012, 23:40

Post » 23 Mar 2012, 00:29

And where can I find the dlls?

edit: I got them

Post Reply