You are here

Portable App Development

Discuss portable app development and modification of existing apps.

NSIS help (redirect Appdata)

Simeon's picture
Submitted by Simeon on June 8, 2008 - 12:34pm

I am currently working on WAtomic. It saves its settings to C:\Dokumente und Einstellungen\username\Anwendungsdaten\WAtomic which I think can be correctly replaced by %APPDATA%/WAtomic cause although I dont know anything about programming, I found one sourcefile that says:

unit sh_fun;
{
------------------------------------------------------------------
WATOMIC - Windows(c) KAtomic clone

Copyright (C) 2005  Federico Blaseotto (ironfede)

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by

NSIS Script Help

Submitted by Session on June 8, 2008 - 7:01am

Hi,
I have been working on a portable app for me and a few of my friends and I am having a bit of a problem. Part of my script copies a bunch of files and this rather slows down the loading. I was wondering whether there was any way of showing the splash screen and copying the files at the same time. If there is, could somebody please point me in the right direction.

Thanks,
Session

how to modify settings file?

Simeon's picture
Submitted by Simeon on June 7, 2008 - 10:18am

I have a question:

JPEGView uses an ini file to store its settings. The new 1.0.17 version introduces new features which come with new ini entries. If the /Data folder shouldn't be touched, how do I update the ini file without overwriting it and thus deleting possible changes the user made?

I know that NSIS can write ini strings, but what about comments like

; Amount of local density correction of highlights
; Can be in [0, 1]
LDCDarkenHighlights=0.25

Thanks for your input.

SuperTuxKart Portable Compression

digitxp's picture
Submitted by digitxp on June 6, 2008 - 8:25pm

Woah, SuperTuxKart reaches to 180 MB.

   _________
  /         \
 /  O     O  \
 |   __/\__   \
 \  /      \  /
  \_\  | | /_/
    |  | | |
     \ |_|/
      \__/

(Okay, I stink at ascii art.)
I ran WinDirStat and found that the top extensions for size are:

  • .svn-base (88 MB/ 50%)
  • .rbg (42 MB/ 24%)
  • .ogg (24 MB/ 14%)
  • .ac (21 MB/ 12%)

For .svn-base, I'm pretty sure they are useless, but I can't be sure. I can't find any information from google.
For .rbg, they are 3d image files, don't know if they are compressible.

Pages