Graphic set not found/All folders are empty

Started by chrisleec728, February 24, 2017, 11:21:53 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Simon

#15
Try the batch file in the attachment. Put into same folder as superlemmini.jar.

(Source of the idea: https://stackoverflow.com/a/36002043 -- the JRE seems to choke on spaces in the absolute dir, even when the jar is given with a space-free relative path. That's insane, but plausible from the reactions in that thread: One dude got it to work by moving everything into different dir. The attached batch file resolves the path as absolute: javaw -jar "%~dp0\superlemmini.jar")

QuoteAt this point I wish this was as simple and easy to run as NeoLemmix was. It's as if I need to be an expert computer programmer in order to know how to do so.

Yeah, getting started should be as simple as possible -- everybody here is aiming for that.

If you trip on problems that we haven't seen before, that's unfortunate, but it can happen with these hobby projects, absolutely. It's good that you ask for help then! Maybe we'll find a simple permanent solution.

-- Simon

Tsyu

Where do you have superlemmini.jar? Some folders, such as Program Files and Windows, are protected folders on which Windows imposes various restrictions. Among these are preventing files from being created/modified/deleted, and not allowing new files to be created via the right-click -> New menu. I suggest moving superlemmini.jar to an unprotected location like C:\superlemmini (create the folder if it doesn't exist) to avoid these problems.

chrisleec728

#17
Well...I'm happy to report that I've finally made it to step 3 (entering the two paths)! It didn't occur to me that I had to put the batch file in the same folder as the JAR file. (As I said before, I had to do it outside the folder first, but I realize now that I still could have put it in the folder immediately afterwards.)

Tsyu - As I said before, I open the Superlemmini ZIP file (what I downloaded at the beginning) with Windows Explorer to get to the JAR file. I hope this is acceptable; it at least appears to work this way because I finally got it to prompt me to enter the two paths like I said. The WINLEMM path was easy enough to figure out (E:\WINLEMM, correct?), but for the destination path you told me to enter a folder that either is empty or only contains superlemmini.jar. The folder I'm aiming at right now doesn't ONLY contain that; it also has the batch file, a license text document, a changelog and two folders named "docs" and "lib" (the same things that the ZIP file contains). Is this okay or should I create a new folder that only contains the JAR file? I just want to make sure before I proceed to complete the process.

Tsyu

Oh, yeah, the destination folder can and should also have everything else in superlemmini.zip as well as the batch file; sorry about that.

If you can't use Windows Explorer to create a new text file where SuperLemmini is installed (without creating it elsewhere first), where do you have SuperLemmini installed? Do tell me, even if it doesn't seem like a big deal; I'm asking because you might have installed SuperLemmini to a protected folder (such as anywhere within Program Files or Program Files (x86)), which I strongly recommend you avoid doing.

Also, the Windows Lemmings folder is usually WINLEMM (one N), not WINNLEMM. ("WINLEMM", of course, stands for "Windows Lemmings".)

chrisleec728

#19
I downloaded the ZIP file from the Dropbox link on the Superlemmini forum on this website and then from there opened the file with Windows Explorer (to get to the JAR file). The ZIP file is currently located in the "Downloads" folder on My Computer.

I did see a folder called "WinLemm" (not all caps) within the "Program Files x86" folder, but it says it was modified as late as February of this year, long before the last time I downloaded the ZIP file. It contains a data base file called "usr00000.db" and an application called "wlvsun10.exe". I think I remember creating it back then for some reason (maybe from an earlier attempt to download something), but now I get the feeling that it's useless and I just never got rid of it. Does this answer your question?

Also, yeah, the "WINNLEMM" was just a typo on my part which I actually noticed the second time around; my bad. I've modified my previous post accordingly.

Tsyu

I'm not asking where the ZIP file is located; I'm asking where you extracted that ZIP file to. I just want to make sure it's not a protected folder like Program Files.

(And, in case you don't know, it's generally a really bad idea to run programs directly from ZIP files or other archive files like RAR and 7Z. When you do that, that program, and only that program file, is first extracted to a temporary folder and is then run. If it's a batch file that you're opening, then likewise only that batch file is extracted. In either case, you will likely run into problems like important files not being found and such. Windows may say that ZIP files are "compressed folders", but they're really not folders. Always extract programs from their ZIP/RAR/7Z/whatever files before running them!)

Quote from: chrisleec728 on September 06, 2017, 02:32:25 AM
I did see a folder called "WinLemm" (not all caps) within the "Program Files x86" folder, but it says it was modified as late as February of this year, long before the last time I downloaded the ZIP file. It contains a data base file called "usr00000.db" and an application called "wlvsun10.exe". I think I remember creating it back then for some reason (maybe from an earlier attempt to download something), but now I get the feeling that it's useless and I just never got rid of it. Does this answer your question?
I believe that's where Lemmings for Windows stores its settings. It's not relevant to SuperLemmini anyway. Don't worry about it.

chrisleec728

Here's everything I think I did: I created the batch file and put it into the ZIP (download) that contained superlemmini.jar as instructed. I then double-clicked the batch file within the ZIP and it prompted me to extract the files first (I assume within the ZIP), which I then did. That created a new folder that has pretty much the exact same contents as the ZIP, except superlemmini.jar actually does something when I double-click it within that folder (specifically, it prompts me to enter the two paths). I'm pretty sure I'm not extracting anything to either of the "Program Files" folders; the only thing I found in those folders worth mentioning is the "WinLemm" folder that I mentioned before (which I'm assuming I might as well delete since you say it's irrelevant). I'm also not convinced I'm doing anything wrong since it so far appears to be getting me where I need to be.

Sorry if all that was confusing.

tor

#22
All of the folders inside my SuperLemmini folder are empty (No files). The folders are "gfx" and its sub folders, "levels", "music", "sound" and "style". There are no files inside them, in contrast to the equivalent folders of Lemmini.
This prevents me to apply mods such as Green Lemmings add-on in SuperLemmini.
How to solve this?
Windows 10 Enterprise 1909 (64-bit)
Java version 8 update 251 (64-bit)
SuperLemmini 0.104a
NeoLemmix Player V12.8.2

Tsyu

Quote from: chrisleec728 on September 07, 2017, 03:07:13 AM
Here's everything I think I did: I created the batch file and put it into the ZIP (download) that contained superlemmini.jar as instructed. I then double-clicked the batch file within the ZIP and it prompted me to extract the files first (I assume within the ZIP), which I then did. That created a new folder that has pretty much the exact same contents as the ZIP, except superlemmini.jar actually does something when I double-click it within that folder (specifically, it prompts me to enter the two paths). I'm pretty sure I'm not extracting anything to either of the "Program Files" folders; the only thing I found in those folders worth mentioning is the "WinLemm" folder that I mentioned before (which I'm assuming I might as well delete since you say it's irrelevant). I'm also not convinced I'm doing anything wrong since it so far appears to be getting me where I need to be.
As long as you're not running SuperLemmini directly from the ZIP and it's not located in the Windows or Program Files folder, you should be fine (although I wouldn't run it from the Downloads folder either, in case that's where you have it). And if you don't play Lemmings for Windows, it should be safe to delete the "WinLemm" folder that you mentioned.

Quote from: tor on September 10, 2017, 11:29:49 AM
All of the folders inside my SuperLemmini folder are empty (No files). The folders are "gfx" and its sub folders, "levels", "music", "sound" and "style". There are no files inside them, in contrast to the equivalent folders of Lemmini.
This prevents me to apply mods such as Green Lemmings add-on in SuperLemmini.
How to solve this?
The files that you need to modify are in root.lzp, which is just an ordinary ZIP file. You want to open it and copy the contents of its "levels" folder to the empty "levels" folder. (If you must, you can make a copy of root.lzp and rename the "lzp" part of the copy to "zip".) Then you can edit the files as you please, and SuperLemmini will use those instead of the ones inside root.lzp.

tor

Quote from: tor on September 10, 2017, 11:29:49 AM
All of the folders inside my SuperLemmini folder are empty (No files). The folders are "gfx" and its sub folders, "levels", "music", "sound" and "style". There are no files inside them, in contrast to the equivalent folders of Lemmini.
This prevents me to apply mods such as Green Lemmings add-on in SuperLemmini.
How to solve this?
The files that you need to modify are in root.lzp, which is just an ordinary ZIP file. You want to open it and copy the contents of its "levels" folder to the empty "levels" folder. (If you must, you can make a copy of root.lzp and rename the "lzp" part of the copy to "zip".) Then you can edit the files as you please, and SuperLemmini will use those instead of the ones inside root.lzp.
[/quote]
I meanwhile, managed to apply that patch of Green Lemmings, by copying the contents of its zip file, to gfx and styles folders manually, rather than using the root.lzp file. But thanks.
Windows 10 Enterprise 1909 (64-bit)
Java version 8 update 251 (64-bit)
SuperLemmini 0.104a
NeoLemmix Player V12.8.2

tor

Thanks you for the help. I created a zip copy of the root.lzp, copied the levels folder to the one inside the SuperLemmini folder, and changed the settings inside levelpack.ini, according to the readme.txt file, and it working.
Windows 10 Enterprise 1909 (64-bit)
Java version 8 update 251 (64-bit)
SuperLemmini 0.104a
NeoLemmix Player V12.8.2

chrisleec728

Tsyu - I have not been running it from the ZIP, Windows or Program Files folders, but I have been using the Downloads folder to get to the extracted folder which contains the app, and it seems to be working nicely that way. Is there a better method?

tor

#27
Quote from: Tsyu on September 12, 2017, 09:37:26 PM
Quote from: tor on September 10, 2017, 11:29:49 AM
All of the folders inside my SuperLemmini folder are empty (No files). The folders are "gfx" and its sub folders, "levels", "music", "sound" and "style". There are no files inside them, in contrast to the equivalent folders of Lemmini.
This prevents me to apply mods such as Green Lemmings add-on in SuperLemmini.
How to solve this?
The files that you need to modify are in root.lzp, which is just an ordinary ZIP file. You want to open it and copy the contents of its "levels" folder to the empty "levels" folder. (If you must, you can make a copy of root.lzp and rename the "lzp" part of the copy to "zip".) Then you can edit the files as you please, and SuperLemmini will use those instead of the ones inside root.lzp.
Update: I discovered that after I did this, most of the levels has been corrupted, resulting in SuperLemmini crashing with the error that it can't find the .ini file of the level I enters into, and requires re extracting:
Windows 10 Enterprise 1909 (64-bit)
Java version 8 update 251 (64-bit)
SuperLemmini 0.104a
NeoLemmix Player V12.8.2

Tsyu

Tor, what happens if you delete everything in your levels folder (the real one, not the one in root.lzp or root.zip)? Are the levels no longer corrupted? If so, then what happens if you extract the levels again (without editing anything)? Are they corrupted once more?

tor

When deleting the files in the Levels folders, the levels returns to normal and aren't corrupted. When extracting them again, they become corrupted again.
Windows 10 Enterprise 1909 (64-bit)
Java version 8 update 251 (64-bit)
SuperLemmini 0.104a
NeoLemmix Player V12.8.2