Infinity MUGEN Team

IMT Main => M.U.G.E.N Help => Topic started by: I.E.T. Arcade on September 04, 2018, 10:55:01 PM

Title: USING NSIS AND NS EDIT TO LOCK CONTENT
Post by: I.E.T. Arcade on September 04, 2018, 10:55:01 PM
Sup guys,  I originally queried about mole boxing previously and was told to opt for the better alternative (NSIS) So I was wondering if anyone could instruct me on how to use HM NSIS EDIT and NSIS to lock away some content in my mugen project similarly to the way    laspacho was able to in his Megam man fullgame project.  I Was told to follow the script wizard but got a little confused about which files to add in the application files section.

Any help would be greatly appreciated, (Kinda urgent) :o
Title: Re: USING NSIS AND NS EDIT TO LOCK CONTENT
Post by: ExeLord on September 05, 2018, 01:36:52 AM
Saw that PM, just had no time to reply Gomen ne
I don't know of what magic Laspacho used there per se, always though he went with straight zip to installer way, we'll know when he'll see this thread :-??

As for wizard in HM NIS Edit you need to have different directories with optional content. Like for example you have some beta chars that aren't ready, but you want for users to be able to check if they want.
You must have Main section added with whole main dir tree and separate optional section with pointing to dir somewhere outside like c:\chars\testchar and $INSTDIR\chars for installing file path.
Gomen ne I used it long-long ago and already forgot all that stuff. I've sent Laspacho some docs about NSIS, if they are still in his inbox, ask him about 'em. Still that wizard is best quick option without going ito the deep of NSIS...
Title: Re: USING NSIS AND NS EDIT TO LOCK CONTENT
Post by: O Ilusionista on September 05, 2018, 10:03:26 AM
As far as I know, NSIS doesn't locks the content - it only creates a self install.
Title: Re: USING NSIS AND NS EDIT TO LOCK CONTENT
Post by: ExeLord on September 05, 2018, 10:34:18 AM
Yep, that is, which was suggested as "better than locking"...
Title: Re: USING NSIS AND NS EDIT TO LOCK CONTENT
Post by: laspacho on September 05, 2018, 04:14:27 PM
I didn't have any luck with the scripting stuff to use some of the extra features.  So I only used the izip installer.
To my knowledge this only makes a installer package, it does not lock content.  Unless there's a plugin that I didn't see or is new.
Title: Re: USING NSIS AND NS EDIT TO LOCK CONTENT
Post by: I.E.T. Arcade on September 05, 2018, 05:49:56 PM
I didn't have any luck with the scripting stuff to use some of the extra features.  So I only used the izip installer.
To my knowledge this only makes a installer package, it does not lock content.  Unless there's a plugin that I didn't see or is new.

Thanks for the replies guys. I see. But you managed to hide some of your projects content folders somehow in your build. Was that achieved with this program or by some other means?

Yep, that is, which was suggested as "better than locking"...

What would be some of the advantages if you don't mind me asking. I am completely ignorant to this kind of thing. But am very interested in learning.
Title: Re: USING NSIS AND NS EDIT TO LOCK CONTENT
Post by: laspacho on September 05, 2018, 11:13:14 PM
We released Rmm two ways.

The first way was using Molebox.  It locks the files, but it is easially crackable anyways.  I like this because it feels more professional and I can give to friends without it being 1000's of files.

The second way was using the nsis zip installer.  Everything is opened in this version.

I'll release both ways for the next Rmm release too.  :)
Title: Re: USING NSIS AND NS EDIT TO LOCK CONTENT
Post by: ExeLord on September 05, 2018, 11:45:11 PM
Laspacho, do you still have those docs in inbox somewhere? Because I didn't saved in in my outbox and forgot where they were :D Won't hurt to have 'em posted here fo anyone interested :-??

I.E.T. Arcade - the advantages mostly are: not causing community rage by moleboxing stuff on free engine, there's also reported some compatibility issues with moleboxed games, nifty-looking 1-file package, good compression(better than zip and not requiring additional soft or any manual creating of directories, unpacking), with usage of wizard - optional content and shortcuts, also it includes splash picture and license text. Also, correct me if I'm wrong, moleboxed game loads as whole in RAM while regular mugen loading stages and characters on round start if it's set in options so it might be very demanding with HD stuff when moleboxed.
Title: Re: USING NSIS AND NS EDIT TO LOCK CONTENT
Post by: I.E.T. Arcade on September 06, 2018, 01:37:24 AM
I like the idea of the game being neatly packed, like laspacho said it's more professional. Any advice on how to go about doing that since I was told the company behind molebox is now dust? :(

Any tips, advice would be cool. I am not tech savy when it comes to this at all.  :-??
Title: Re: USING NSIS AND NS EDIT TO LOCK CONTENT
Post by: O Ilusionista on September 06, 2018, 12:22:48 PM
I.E.T. Arcade - the advantages mostly are: not causing community rage by moleboxing stuff on free engine,

Let me correct you? The rage, in most cases, in related to the fact we are getting stuff from other people and locking it up. In IET's case, it´s different - the stuff is his property. It's a whole different animal.

Molebox is now free and cam be get here https://github.com/sudachen/Molebox

Title: Re: USING NSIS AND NS EDIT TO LOCK CONTENT
Post by: I.E.T. Arcade on September 07, 2018, 04:41:57 PM
Let me correct you? The rage, in most cases, in related to the fact we are getting stuff from other people and locking it up. In IET's case, it´s different - the stuff is his property. It's a whole different animal.

Molebox is now free and cam be get here https://github.com/sudachen/Molebox



Thanks.  Has anyone tried downloading this molebox? How do I actually "build the program"
Title: Re: USING NSIS AND NS EDIT TO LOCK CONTENT
Post by: O Ilusionista on September 07, 2018, 08:54:13 PM
No, I haven't tried it yet. There is a "wizard" on that page, no?
Title: Re: USING NSIS AND NS EDIT TO LOCK CONTENT
Post by: I.E.T. Arcade on September 08, 2018, 01:33:12 AM
No worries we've figured it out. Thanks guys :Terry
SimplePortal 2.3.5 © 2008-2012, SimplePortal