WINAMP.COM | Forums : Powered by vBulletin version 2.3.9 WINAMP.COM | Forums > Visualizations > AVS > global register/gmegabuf load/saver ape
  Last Thread   Next Thread
Author
Thread Post New Thread    Post A Reply
jheriko
Forum King

Registered: Aug 2002
From: a twist in the fabric of space

global register/gmegabuf load/saver ape

This is just a beta so don't release it everywhere please!!!

Its under Misc and is called 'Global Variable Manager' and contains an n=0 superscope for doing global variable code as well as load/save functionality which can be controlled by code or set to 'load once', 'load every frame' or 'none'.

One feature I would like to add is the ability to expand the code boxes to fill the whole editor pane with min/max type buttons... would this be something that would be appreciated? I just want to know if anyone else would use it before I go adding it in.

It comes with help on how to use it (which may be poor since I wrote it quite quickly). Feedback on this would be appreciated. (If someone else wants to write a help be my guest... if its good it will save me one more little job)

There is a preset included demonstrating load/save settings buttons on an interactive menu.

Any good suggestions will be considered if they are feasible. If you can setup crash conditions then let me know... if it crashes and you think its the ape... and can't recreate that then don't bother since it won't help.

Enjoy!

EDIT: One thing to note is that the save dialog is only for setting the file name and not the path. The path is always the base avs directory to ensure maximum compatibility. If you want to use subdirectories you can hack it by using subdir\filename.gvm as the filename. Right now the extension isn't heavily enforced. If you think it should be (i.e. if you specify no or a wrong extension it should add .gvm for you) then let me know.

Attachment: globmgr.zip
This has been downloaded 297 time(s).

__________________
-- Jheriko

'Everything around us can be represented and understood through numbers'

Quick Link | Report this post to a moderator | IP: Logged

jheriko is offline Old Post 02-04-2005 01:53 AM
Click Here to See the Profile for jheriko Click here to Send jheriko a Private Message Click Here to Email jheriko Visit jheriko's homepage! Find more posts by jheriko Add jheriko to your buddy list Edit/Delete Message Reply w/Quote
jheriko
Forum King

Registered: Aug 2002
From: a twist in the fabric of space

beta 2:

changes:

* added blank code compile for compatibility with eeltrans code logging

* added version resource

* fixed bug where load/save wasn't working on first load

Attachment: globmgr_b2.zip
This has been downloaded 322 time(s).

__________________
-- Jheriko

'Everything around us can be represented and understood through numbers'

Quick Link | Report this post to a moderator | IP: Logged

jheriko is offline Old Post 02-04-2005 02:50 PM
Click Here to See the Profile for jheriko Click here to Send jheriko a Private Message Click Here to Email jheriko Visit jheriko's homepage! Find more posts by jheriko Add jheriko to your buddy list Edit/Delete Message Reply w/Quote
jheriko
Forum King

Registered: Aug 2002
From: a twist in the fabric of space

sorry to post so many new versions an create a monologue of a thread...

beta 3:

* added code box 'maximise/minimise' feature

* some minor tweaking

the zip includes the demo preset again so that you dont have to download the previous files above.

Attachment: globmgr_b3.zip
This has been downloaded 315 time(s).

__________________
-- Jheriko

'Everything around us can be represented and understood through numbers'

Quick Link | Report this post to a moderator | IP: Logged

jheriko is offline Old Post 02-05-2005 04:57 AM
Click Here to See the Profile for jheriko Click here to Send jheriko a Private Message Click Here to Email jheriko Visit jheriko's homepage! Find more posts by jheriko Add jheriko to your buddy list Edit/Delete Message Reply w/Quote
PAK-9
Major Dude

Registered: Oct 2002
From: The United Kingdom of Great Britain and Northern Ireland

I'm at uni, so I'll test it out when I get home. I assume that missed call on my mobile was you calling to brag about finishing the beta version of the APE eh?

__________________
http://PAK-9.deviantart.com

...innit

Quick Link | Report this post to a moderator | IP: Logged

PAK-9 is offline Old Post 02-05-2005 05:12 AM
Click Here to See the Profile for PAK-9 Click here to Send PAK-9 a Private Message Visit PAK-9's homepage! Find more posts by PAK-9 Add PAK-9 to your buddy list Edit/Delete Message Reply w/Quote
jheriko
Forum King

Registered: Aug 2002
From: a twist in the fabric of space

I can't believe the pathetic level of feedback this got considering how many different people have asked for it over the past months since megabuf was introduced.

Anyway... I'm going to polish it up and release it on deviantart with the sample preset. I'm at work at the moment but will post the release candidate up here when finished so it can sit here for a couple of days and you get a chance to find bugs and request features before I bang it out v1.0

__________________
-- Jheriko

'Everything around us can be represented and understood through numbers'

Quick Link | Report this post to a moderator | IP: Logged

jheriko is offline Old Post 02-09-2005 04:38 PM
Click Here to See the Profile for jheriko Click here to Send jheriko a Private Message Click Here to Email jheriko Visit jheriko's homepage! Find more posts by jheriko Add jheriko to your buddy list Edit/Delete Message Reply w/Quote
TomyLobo
Major Dude

Registered: Feb 2004
From: Germany

the problem is that after repeatedly saying "it is not possible with the current sdk" and "avs wont get updated" ppl might have given up the hope for such an ape
not everyone has one of those presets in store now you know?

__________________
If you can't say something nice, say something surrealistic.

Quick Link | Report this post to a moderator | IP: Logged

TomyLobo is offline Old Post 02-09-2005 06:02 PM
Click Here to See the Profile for TomyLobo Click here to Send TomyLobo a Private Message Click Here to Email TomyLobo Visit TomyLobo's homepage! Find more posts by TomyLobo Add TomyLobo to your buddy list Edit/Delete Message Reply w/Quote
hboy
Senior Member

Registered: Dec 2003
From: Hungary

just when seeing it working, i realised that it has really much potential, especially with saving/loading will save me quite some time.

__________________
click to get some devious fun

Quick Link | Report this post to a moderator | IP: Logged

hboy is offline Old Post 02-09-2005 07:44 PM
Click Here to See the Profile for hboy Click here to Send hboy a Private Message Click Here to Email hboy Find more posts by hboy Add hboy to your buddy list Edit/Delete Message Reply w/Quote
sidd
Major Dude

Registered: May 2003
From: Australia

im terribly sorry J, I saw this post a few days ago and got terribly excited about it, but didnt have time to have a look or reply.

People should realise just how useful this could be for things like storing vertex coordinates for complex 3d shapes, etc etc.

Ill try it out next time i get time for avs.

Thanks alot!

Quick Link | Report this post to a moderator | IP: Logged

sidd is offline Old Post 02-10-2005 01:30 PM
Click Here to See the Profile for sidd Click here to Send sidd a Private Message Visit sidd's homepage! Find more posts by sidd Add sidd to your buddy list Edit/Delete Message Reply w/Quote
jheriko
Forum King

Registered: Aug 2002
From: a twist in the fabric of space

Here is the release candidate (2). Contains improvements suggested by PAK and some optimisations.

Strain it, small suggestions will be taken. One obvious inadequacy is using the common dialog box for the save as it is a little misleading. I may build a new save dialog for it... I'm not particularly motivated to as it would involve a lot of 'boring' programming, if there are a lot of complaints about this then I will build a new one for a 'version 2'.

Sample preset now auto loads last saved settings when started.

Attachment: globmgr_rc2.zip
This has been downloaded 333 time(s).

__________________
-- Jheriko

'Everything around us can be represented and understood through numbers'

Quick Link | Report this post to a moderator | IP: Logged

jheriko is offline Old Post 02-12-2005 04:39 PM
Click Here to See the Profile for jheriko Click here to Send jheriko a Private Message Click Here to Email jheriko Visit jheriko's homepage! Find more posts by jheriko Add jheriko to your buddy list Edit/Delete Message Reply w/Quote
PAK-9
Major Dude

Registered: Oct 2002
From: The United Kingdom of Great Britain and Northern Ireland

will check it out and give you some feedback

__________________
http://PAK-9.deviantart.com

...innit

Quick Link | Report this post to a moderator | IP: Logged

PAK-9 is offline Old Post 02-13-2005 12:45 PM
Click Here to See the Profile for PAK-9 Click here to Send PAK-9 a Private Message Visit PAK-9's homepage! Find more posts by PAK-9 Add PAK-9 to your buddy list Edit/Delete Message Reply w/Quote
PAK-9
Major Dude

Registered: Oct 2002
From: The United Kingdom of Great Britain and Northern Ireland

I checked it out, the expand is much nicer when it covers the load/save stuff. Regarding the filename of the load/save... couldnt there be a default? I was thinking you could use the filename of the preset with a different extension, but that wouldnt work until the person saves their preset. It just seems that 95% of the time a default save/load path would be fine so it would be worth making one.

__________________
http://PAK-9.deviantart.com

...innit

Quick Link | Report this post to a moderator | IP: Logged

PAK-9 is offline Old Post 02-14-2005 01:52 PM
Click Here to See the Profile for PAK-9 Click here to Send PAK-9 a Private Message Visit PAK-9's homepage! Find more posts by PAK-9 Add PAK-9 to your buddy list Edit/Delete Message Reply w/Quote
hboy
Senior Member

Registered: Dec 2003
From: Hungary

syncing stuff with this baby is so darn good, i never will want to go back to global SCC coding (publishing okay, but experimenting with that HUGE box...wooow)!

__________________
click to get some devious fun

Quick Link | Report this post to a moderator | IP: Logged

hboy is offline Old Post 02-14-2005 02:24 PM
Click Here to See the Profile for hboy Click here to Send hboy a Private Message Click Here to Email hboy Find more posts by hboy Add hboy to your buddy list Edit/Delete Message Reply w/Quote
jheriko
Forum King

Registered: Aug 2002
From: a twist in the fabric of space

there is a default when you press ...

but there is no consitent way of generating a unque name per preset that i can think of. I'm not good enough at hijacking avs... besides I don't particularly want to start using what are essenstially ugly hacks.

__________________
-- Jheriko

'Everything around us can be represented and understood through numbers'

Quick Link | Report this post to a moderator | IP: Logged

jheriko is offline Old Post 02-14-2005 07:18 PM
Click Here to See the Profile for jheriko Click here to Send jheriko a Private Message Click Here to Email jheriko Visit jheriko's homepage! Find more posts by jheriko Add jheriko to your buddy list Edit/Delete Message Reply w/Quote
PAK-9
Major Dude

Registered: Oct 2002
From: The United Kingdom of Great Britain and Northern Ireland

quote:
Originally posted by jheriko
...there is no consitent way of generating a unque name per preset that i can think of...
Well, okay, but there definately IS one, its just whether or not you can be bothered to find one.

__________________
http://PAK-9.deviantart.com

...innit

Quick Link | Report this post to a moderator | IP: Logged

PAK-9 is offline Old Post 02-15-2005 02:23 PM
Click Here to See the Profile for PAK-9 Click here to Send PAK-9 a Private Message Visit PAK-9's homepage! Find more posts by PAK-9 Add PAK-9 to your buddy list Edit/Delete Message Reply w/Quote
jheriko
Forum King

Registered: Aug 2002
From: a twist in the fabric of space

Every possible way requires for me to get some uniqueness out of a preset... i.e. its filename. which i can't get without ugly hax. even then it would be a large task... involving me learning as I go = buggy code.

I don't mean to be laming out I really don't. I'll try to think of something good.

I could do untitled1, untitled2 etc... but that has obvious setbacks attached...

__________________
-- Jheriko

'Everything around us can be represented and understood through numbers'

Quick Link | Report this post to a moderator | IP: Logged

jheriko is offline Old Post 02-15-2005 05:45 PM
Click Here to See the Profile for jheriko Click here to Send jheriko a Private Message Click Here to Email jheriko Visit jheriko's homepage! Find more posts by jheriko Add jheriko to your buddy list Edit/Delete Message Reply w/Quote
PAK-9
Major Dude

Registered: Oct 2002
From: The United Kingdom of Great Britain and Northern Ireland

Good unique identifiers:

The time and date
The MAC address of your network card
Your windows registration number
Your PC's serial/case number

It doesnt have to be a pretty name, its just a default that is unique

__________________
http://PAK-9.deviantart.com

...innit

Quick Link | Report this post to a moderator | IP: Logged

PAK-9 is offline Old Post 02-17-2005 06:17 PM
Click Here to See the Profile for PAK-9 Click here to Send PAK-9 a Private Message Visit PAK-9's homepage! Find more posts by PAK-9 Add PAK-9 to your buddy list Edit/Delete Message Reply w/Quote
TomyLobo
Major Dude

Registered: Feb 2004
From: Germany

he needs something that is unique per preset
i dont think that is possible though
you could find out the preset's name and location and hash the whole .avs file maybe

or you simply write to the preset's config (saveconfig/loadconfig stuff)

__________________
If you can't say something nice, say something surrealistic.

Quick Link | Report this post to a moderator | IP: Logged

TomyLobo is offline Old Post 02-20-2005 02:29 PM
Click Here to See the Profile for TomyLobo Click here to Send TomyLobo a Private Message Click Here to Email TomyLobo Visit TomyLobo's homepage! Find more posts by TomyLobo Add TomyLobo to your buddy list Edit/Delete Message Reply w/Quote
UnConeD
Whacked Moderator

Registered: Jun 2001
From:

Generate a random number when the APE object is first created and store it from then on?

__________________

Quick Link | Report this post to a moderator | IP: Logged

UnConeD is offline Old Post 02-20-2005 02:46 PM
Click Here to See the Profile for UnConeD Click here to Send UnConeD a Private Message Visit UnConeD's homepage! Find more posts by UnConeD Add UnConeD to your buddy list Edit/Delete Message Reply w/Quote
PAK-9
Major Dude

Registered: Oct 2002
From: The United Kingdom of Great Britain and Northern Ireland

quote:
Originally posted by UnConeD
Generate a random number when the APE object is first created and store it from then on?
Thats what I meant, you just generate it when the APE instance is created then dump it in the save path edit box, the user can change it if they want.

__________________
http://PAK-9.deviantart.com

...innit

Quick Link | Report this post to a moderator | IP: Logged

PAK-9 is offline Old Post 02-20-2005 03:15 PM
Click Here to See the Profile for PAK-9 Click here to Send PAK-9 a Private Message Visit PAK-9's homepage! Find more posts by PAK-9 Add PAK-9 to your buddy list Edit/Delete Message Reply w/Quote
TomyLobo
Major Dude

Registered: Feb 2004
From: Germany

/vote random numbers from 0..9A..Za..z

__________________
If you can't say something nice, say something surrealistic.

Quick Link | Report this post to a moderator | IP: Logged

TomyLobo is offline Old Post 02-21-2005 02:10 AM
Click Here to See the Profile for TomyLobo Click here to Send TomyLobo a Private Message Click Here to Email TomyLobo Visit TomyLobo's homepage! Find more posts by TomyLobo Add TomyLobo to your buddy list Edit/Delete Message Reply w/Quote
fsk
Senior Member

Registered: Aug 2002
From: right around the corner

I totaly forgot about this ape till today. And wouldnt you know it, i found a bug. No, the bug found me i gues. The ape just doesnt want to work for me. When i want to save the file, winamp crashes :/. Other than that, its a great ape .

__________________
I hate signatures!!
*bangs his head on the keyboard in hope of getting an idea*
Ufihreevf43n98pevfr

Quick Link | Report this post to a moderator | IP: Logged

fsk is offline Old Post 02-24-2005 11:34 PM
Click Here to See the Profile for fsk Click here to Send fsk a Private Message Click Here to Email fsk Visit fsk's homepage! Find more posts by fsk Add fsk to your buddy list Edit/Delete Message Reply w/Quote
jheriko
Forum King

Registered: Aug 2002
From: a twist in the fabric of space

random numbers sounds good

fsk, any chance you could replicate the crash and give me the setup?

__________________
-- Jheriko

'Everything around us can be represented and understood through numbers'

Quick Link | Report this post to a moderator | IP: Logged

jheriko is offline Old Post 03-02-2005 01:46 PM
Click Here to See the Profile for jheriko Click here to Send jheriko a Private Message Click Here to Email jheriko Visit jheriko's homepage! Find more posts by jheriko Add jheriko to your buddy list Edit/Delete Message Reply w/Quote
fsk
Senior Member

Registered: Aug 2002
From: right around the corner

sure i can replicate it, it happens every time i want to save the file (press the save button in the browse dialog).
setup?
empty preset no code anywhere just the ape
windows xp

cant think of any other info you might find usefull:/

__________________
I hate signatures!!
*bangs his head on the keyboard in hope of getting an idea*
Ufihreevf43n98pevfr

Quick Link | Report this post to a moderator | IP: Logged

fsk is offline Old Post 03-02-2005 01:52 PM
Click Here to See the Profile for fsk Click here to Send fsk a Private Message Click Here to Email fsk Visit fsk's homepage! Find more posts by fsk Add fsk to your buddy list Edit/Delete Message Reply w/Quote
jheriko
Forum King

Registered: Aug 2002
From: a twist in the fabric of space

hmmm... oh well.. i'll do my best to try to figure it out... its probably going to be a problem in the save config

__________________
-- Jheriko

'Everything around us can be represented and understood through numbers'

Quick Link | Report this post to a moderator | IP: Logged

jheriko is offline Old Post 03-02-2005 01:54 PM
Click Here to See the Profile for jheriko Click here to Send jheriko a Private Message Click Here to Email jheriko Visit jheriko's homepage! Find more posts by jheriko Add jheriko to your buddy list Edit/Delete Message Reply w/Quote
jheriko
Forum King

Registered: Aug 2002
From: a twist in the fabric of space

Here is v1.0 of the gmegabuf saver ape. (touchwood) It won't crash anymore, the save box is gone... you now just have to type the path in. It produces an ugly long random filename from all the bits of your system date/time and some extra randomness added by querying the performance counter and making some chars from that. It should be 'unique' enough for purposes. If anyone can give me an easy API to get a mac address for an attached network card, I'll stick that into it too somehow.

If it still crashes for anyone email me at jheriko@gmail.com, if there are enough problems/feature requests I'll make a 1.1 release.

It uses a version resource so there shouldn't be any distribution problems if you make good NSIS scripts.

Attachment: globmgr_10.zip
This has been downloaded 306 time(s).

__________________
-- Jheriko

'Everything around us can be represented and understood through numbers'

Quick Link | Report this post to a moderator | IP: Logged

jheriko is offline Old Post 03-23-2005 01:56 PM
Click Here to See the Profile for jheriko Click here to Send jheriko a Private Message Click Here to Email jheriko Visit jheriko's homepage! Find more posts by jheriko Add jheriko to your buddy list Edit/Delete Message Reply w/Quote
jheriko
Forum King

Registered: Aug 2002
From: a twist in the fabric of space

ignore the above here is a better one. the version resource in that compile is wrong

great how i have a bug already. here is the real 1.0 with matching resource in an installer.

Attachment: globmgr10.zip
This has been downloaded 363 time(s).

__________________
-- Jheriko

'Everything around us can be represented and understood through numbers'

Quick Link | Report this post to a moderator | IP: Logged

jheriko is offline Old Post 03-23-2005 08:05 PM
Click Here to See the Profile for jheriko Click here to Send jheriko a Private Message Click Here to Email jheriko Visit jheriko's homepage! Find more posts by jheriko Add jheriko to your buddy list Edit/Delete Message Reply w/Quote
TomyLobo
Major Dude

Registered: Feb 2004
From: Germany

what do you need all that randomness for? o_O
wont a simple srand/rand do?

__________________
If you can't say something nice, say something surrealistic.

Quick Link | Report this post to a moderator | IP: Logged

TomyLobo is offline Old Post 03-23-2005 11:03 PM
Click Here to See the Profile for TomyLobo Click here to Send TomyLobo a Private Message Click Here to Email TomyLobo Visit TomyLobo's homepage! Find more posts by TomyLobo Add TomyLobo to your buddy list Edit/Delete Message Reply w/Quote
jheriko
Forum King

Registered: Aug 2002
From: a twist in the fabric of space

'how unique' is rand?

__________________
-- Jheriko

'Everything around us can be represented and understood through numbers'

Quick Link | Report this post to a moderator | IP: Logged

jheriko is offline Old Post 03-24-2005 11:56 AM
Click Here to See the Profile for jheriko Click here to Send jheriko a Private Message Click Here to Email jheriko Visit jheriko's homepage! Find more posts by jheriko Add jheriko to your buddy list Edit/Delete Message Reply w/Quote
TomyLobo
Major Dude

Registered: Feb 2004
From: Germany

generate random number, check if the file exists and if it does, generate a new one... that should do
you can't guarantee unique file names anyway

__________________
If you can't say something nice, say something surrealistic.

Quick Link | Report this post to a moderator | IP: Logged

TomyLobo is offline Old Post 03-25-2005 05:20 PM
Click Here to See the Profile for TomyLobo Click here to Send TomyLobo a Private Message Click Here to Email TomyLobo Visit TomyLobo's homepage! Find more posts by TomyLobo Add TomyLobo to your buddy list Edit/Delete Message Reply w/Quote
All times are GMT. The time now is 07:57 PM. Post New Thread    Post A Reply
  Last Thread   Next Thread
WINAMP.COM | Forums : Powered by vBulletin version 2.3.9 WINAMP.COM | Forums > Visualizations > AVS > global register/gmegabuf load/saver ape
Show Printable Version
 | 
Email this Page
 | 
Subscribe to this Thread

Forum Jump:
 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is off
vB code is ON
Smilies are ON
[IMG] code is ON