The Daily Click ::. Forums ::. Klik Coding Help ::. Creating INI files...well dll )
 

Post Reply  Post Oekaki 
 

Posted By Message

Liam Dawe



Registered
  21/08/2003
Points
  119
21st August, 2003 at 17:12:37 -

Hi im making a online and offling top down/2d paintball game and was wondering...

When you create a player it will create the ini disgused as a dll in the same folder to the exe that creates it, i was wondering if theres a way for the program to create the file but in a different folder to what the exe is in?

Thanks for you help in advanced...if you wanan take a look at mi silly coding ur welcome to.

 
www.byond-gaming.net

Liam Dawe



Registered
  21/08/2003
Points
  119
22nd August, 2003 at 06:32:43 -

woo got it thanks a bunch..for some reason it didnt work ast night but i copyd ur bit in and it worked...wierd...lol thanks a bunch

 
www.byond-gaming.net

Kris

Possibly Insane

Registered
  17/05/2002
Points
  2017
22nd August, 2003 at 06:37:19 -

oh god... please dont disguise your inis as dlls... it's so lame. they're easy to find as well

 
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
22nd August, 2003 at 06:55:46 -

to keep the file uneditable just use an encryption extension.

 
.

Liam Dawe



Registered
  21/08/2003
Points
  119
22nd August, 2003 at 07:53:57 -

im not...well iw as but not now im using a different extension thing after...and when i know its all working i will encrypt them

 
www.byond-gaming.net

ShadowCaster

Possibly Insane

Registered
  02/01/2002
Points
  2203
22nd August, 2003 at 19:10:53 -

By using the File object you can also specify the Windows directory (or a sub-directory of that). Although I definately DO NOT recommend hiding your INIs as DLLs in the System or System32 directories. Though a lot of people will use the Windows directory.

Mike

 
"Now I guess we're... 'Path-E-Tech Management'" -Dilbert

Liam Dawe



Registered
  21/08/2003
Points
  119
23rd August, 2003 at 06:34:39 -

i would never use the windows folders, i put all my files in the game/app folders unless its a font thats being installed, then naturally that wuld go in the fonts bit

 
www.byond-gaming.net

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
23rd August, 2003 at 09:37:36 -

I usually just leave a warning in my INI files telling people not to tamper with em . Encyption works more efficiently, though...

 
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

Image

Pete Nattress

Cheesy Bits img src/uploads/sccheesegif

Registered
  23/09/2002
Points
  4811
23rd August, 2003 at 10:18:35 -

i dont see the point in encryption/disguising of INIs. if people want to be idiots and cheat, let 'em. i'm not losing out.

 
www.thenatflap.co.uk

ShadowCaster

Possibly Insane

Registered
  02/01/2002
Points
  2203
23rd August, 2003 at 18:41:52 -

I agree

 
"Now I guess we're... 'Path-E-Tech Management'" -Dilbert

Crystal Clear (H.E.S)

Possibly Insane

Registered
  06/10/2002
Points
  2548
23rd August, 2003 at 19:05:11 -

I now disguise my INI files as a .bmp file. and name it:
characterdir1.bmp or something like that, that way people might think its a picture file of a character or something.

 
HES homepage:
http://www.distinctiv-efair.com/heretic/studios
Crystal Clear Productions: http://www.distinctiv-efair.com/heretic/crystalclear

Daniel[Crazy_Productions]

Possibly Insane

Registered
  29/12/2002
Points
  2505
26th October, 2003 at 15:30:31 -

i thought of using the hi-score object... it might work with a lot of coding

 
Beware of life ...so far noone have survived it.......

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
26th October, 2003 at 16:19:12 -

Quoth Tigerworks:

"Obscurity is NOT security."

If you're making an offline game, don't bother with encryption, if it's online then use the Binary object or Blowfish if you have MMF 1.5.

 
n/a

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
26th October, 2003 at 19:09:51 -

Because it's extremely annoying and a misuse of Windows folders.

 
n/a

Kris

Possibly Insane

Registered
  17/05/2002
Points
  2017
27th October, 2003 at 02:16:32 -

It's about time someone made a 'binary save' extension methinks :B

 
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G

Hagar

Administrator
Old klik fart

Registered
  20/02/2002
Points
  1692

You've Been Circy'd!Teddy Bear
27th October, 2003 at 05:18:40 -

appdrive$+appdir$+"nameoffolder\filename.dll"

No point,

"./savingfolder/save.ini"



 
n/a

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
27th October, 2003 at 06:32:14 -

ARghhhhhh
People use that for a reason, the current directory could be changed very easily and where would you be then?

 
n/a

Hagar

Administrator
Old klik fart

Registered
  20/02/2002
Points
  1692

You've Been Circy'd!Teddy Bear
27th October, 2003 at 08:13:11 -

well ive used it fine, and if you move the whole game folder anywhere it still works for me .

If you move the saving folder expect it not to work...

 
n/a

Lew



Registered
  06/01/2002
Points
  1014
27th October, 2003 at 15:51:07 -

I sometimes use very obscure registry keys encrypted-but people find that annoying as it clogs it up.

The best way of security it pure 128 bit alithgrim encryption-blowfish with 128 characters/numbers as the encryption string.

 
<--intelligent, witty comment here-->
   

Post Reply



 



Advertisement

Worth A Click