You are here

Wings3D Portable -- Think I can get it working pretty easy

5 posts / 0 new
Last post
mikesapunk
Offline
Last seen: 16 years 3 months ago
Joined: 2006-10-03 16:26
Wings3D Portable -- Think I can get it working pretty easy

Hey community,

I've been able to get Wings3D (an amazing 3D modelling package found at http://www.wings3d.com/) to fully run on my USB drive with no connection to the underlying OS, EXCEPT for a single .ini file that contains 2 absolute paths to folders in the application (all the way from the drive root).

Obviously, by simply editing the .ini the app will run, but each time it is ran, the .ini file has to somehow be edited to be pointed to the correct directory.

This is my first attempt at creating a portable app, can the portable app template handle this kind of replacement in an .ini file?

From what I take it, when you run an app from this site, actually you're running the launcher. The launcher looks at where the USB drive is currently running and updates the underlying application's .ini files and then actually starts the app, correct?

If so, do I need to compile the .exe myself for the launcher?

I've read the beginners guide on the site and it doesn't go into this kind of detail...any help is appreciated.

lates,
-Mike

Nerd
Offline
Last seen: 13 years 9 months ago
Joined: 2006-03-29 17:50
Welcome to portable apps.

Yes, u have to compile it ur self. Link ont workin.
-
Luke: You killed my father!
Darth Vader:No Luke! I am your father! Join me Luke! Together we can rule the galexy as father and son!
Luke:NNNNNOO!!

mikesapunk
Offline
Last seen: 16 years 3 months ago
Joined: 2006-10-03 16:26
Hmmmm....

The link isn't working? Its working fine for me, I just checked it again...are you sure your connection isn't just messed-up?

So basically, the "launchers" used on this site are really .exe's created by an installer system? Why not just create the launcher in a language more widely used for applications like Java, C or Python? Even UNIX distributions can now even run .NET. Those all could handle the concept of a launcher, they're available on just about every platform, and I guarantee their developer bases are WAY larger than nsis.

I don't have time to learn another language (especially one as obscure as this), maybe this isn't a good idea...

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 13 years 4 months ago
Joined: 2006-01-06 21:27
Yes

But NSIS is simple to learn and much less code is envolved. I think (don't quote me on this) NSIS converts the code to C or C++ anyway.
It would be really simple to do that.
----
R McCue
PortaBlog Home and My Website
People who didn't need people needed people around to know that they were
the kind of people who didn't need people.
(Maskerade)

"If you're not part of the solution, you're part of the precipitate."

tproli
Offline
Last seen: 10 years 4 months ago
Joined: 2006-07-01 10:07
Simply edit the erl.ini file

Simply edit the erl.ini file like so:
----------------------------
[erlang]
Bindir=.\\bin
Progname=erl
Rootdir=.\
----------------------------

tpr

Topic locked