Graal Forums  

Go Back   Graal Forums > General Forums > Graal Main Forum (English)
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-25-2002, 03:42 AM
Eban Eban is offline
Registered User
Join Date: Aug 2002
Location: Um, my house?
Posts: 155
Eban is on a distinguished road
Send a message via AIM to Eban Send a message via Yahoo to Eban
.graal to .nw program

Kadar:
Does anyone have the .graal to .nw program that shadow knight made??

I need it badly and i would apreciate it a lot if you have it and you could give me the program
Thanks!
__________________
Owner of Genesis -Paused till I have a place to host it

Name: Eban
AIM: EbanCK
Email: [email protected]
Reply With Quote
  #2  
Old 08-25-2002, 04:25 AM
Eban Eban is offline
Registered User
Join Date: Aug 2002
Location: Um, my house?
Posts: 155
Eban is on a distinguished road
Send a message via AIM to Eban Send a message via Yahoo to Eban
Re: Re: .graal to .nw program

Quote:
Originally posted by Kaimetsu


The Graal exe does it.
Kadar:
Yes but i am too lazy to go thru all the 750 levels and save them all to .nw..
__________________
Owner of Genesis -Paused till I have a place to host it

Name: Eban
AIM: EbanCK
Email: [email protected]
Reply With Quote
  #3  
Old 08-25-2002, 04:52 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
shadow knight didnt make it -_-;; he just posted it on those forums of his ages ago
Reply With Quote
  #4  
Old 08-25-2002, 04:54 AM
magicbud3344 magicbud3344 is offline
Banned
Join Date: Mar 2002
Location: mEEP
Posts: 0
magicbud3344 is on a distinguished road
Send a message via AIM to magicbud3344
Quote:
Originally posted by Python523
shadow knight didnt make it -_-;; he just posted it on those forums of his ages ago
Neonight:

HAHAHA I knew there was a catch.

Or, he could have edited it, so when you use it, all of the NPCs say //NPC made by Shadow Knight

Reply With Quote
  #5  
Old 08-25-2002, 05:31 AM
Eban Eban is offline
Registered User
Join Date: Aug 2002
Location: Um, my house?
Posts: 155
Eban is on a distinguished road
Send a message via AIM to Eban Send a message via Yahoo to Eban
Quote:
Originally posted by magicbud3344

Neonight:

HAHAHA I knew there was a catch.

Or, he could have edited it, so when you use it, all of the NPCs say //NPC made by Shadow Knight

Kadar:
No i had it before it did not do anything like that it just converted the .graal to .nw .
__________________
Owner of Genesis -Paused till I have a place to host it

Name: Eban
AIM: EbanCK
Email: [email protected]
Reply With Quote
  #6  
Old 08-25-2002, 06:43 AM
HoudiniMan HoudiniMan is offline
Playerworld Administrator
HoudiniMan's Avatar
Join Date: Dec 2001
Location: Calfiornia - USA
Posts: 3,512
HoudiniMan will become famous soon enough
never tried it, but can you just rename it?

- a thought
__________________
-HoudiniMan (Chief Playerworld Administrator)
Compulsive Support Center Checker - 5 Years and Change
Graal Support Center

Reply With Quote
  #7  
Old 08-25-2002, 06:47 AM
Graal2001_LAT Graal2001_LAT is offline
Banned
Graal2001_LAT's Avatar
Join Date: Jul 2002
Location: g forums
Posts: 606
Graal2001_LAT is on a distinguished road
Isn't it illegal or something? I don't know if it should be distributed yet.



I might have it. Who knows.
Reply With Quote
  #8  
Old 08-25-2002, 07:13 AM
Judge_Spunky Judge_Spunky is offline
Registered User
Judge_Spunky's Avatar
Join Date: May 2002
Location: Kelowna, BC, Canada
Posts: 0
Judge_Spunky is on a distinguished road
Send a message via AIM to Judge_Spunky
Quote:
Originally posted by HoudiniMan
never tried it, but can you just rename it?

- a thought
Changing the filetype through the method of renaming rarely works.
The only change that I can think of at the current moment that does work, is a .nfo to .txt change, and only because the information in a .nfo file is basic text.

I hope I am correct to assume that when you change the filetype through renaming, the actual contents of the file are still saved/read in the old format.
For example, if you changed a .bmp to a .png, the file would show in your browser as a .png file, but the contents would still be in .bmp, and whatever program you use you try to read it as a .png. This would cause conflict because the program would try to read it as a .png, but the actual data, wouldd still be compiled in a .mbp format.

Am I, in any way, correct about this?
__________________
After thinking this post over, I highly doubt I helped you understand anything. Instead, I probably made your confusion worse!
Just to make it easier, you can rate me here:
1 2 3 4 5
Reply With Quote
  #9  
Old 08-25-2002, 08:03 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
I think I have this program, I'm not sure if I'm allowed to release it, I only got it because I use to be co-manager on providence and I needed it to convert the levels
Reply With Quote
  #10  
Old 08-25-2002, 10:10 AM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
I've opened both *.nw and *.graal files.

Big difference.
__________________
[signature]insert here[/signature]
Reply With Quote
  #11  
Old 08-25-2002, 10:16 AM
Acererak Acererak is offline
Registered User
Join Date: Feb 2002
Location: CA
Posts: 330
Acererak is on a distinguished road
Send a message via AIM to Acererak
what's the difference again?
__________________

Rate Me:5 4 3 2 1
Reply With Quote
  #12  
Old 08-25-2002, 10:48 AM
Torankusu Torankusu is offline
Elite Member
Torankusu's Avatar
Join Date: Jun 2001
Posts: 10,065
Torankusu is a jewel in the roughTorankusu is a jewel in the rough
i had it.
Reply With Quote
  #13  
Old 08-25-2002, 11:58 AM
Aruchinjiru Aruchinjiru is offline
Registered User
Join Date: Aug 2002
Location: Seattle, Wa
Posts: 150
Aruchinjiru is on a distinguished road
Send a message via AIM to Aruchinjiru
Renaming files from .graal to .nw is a pain. You also have to change the links in every level

Good luck finding the program Kadar.
__________________
-Shaded Legend's Manager
Reply With Quote
  #14  
Old 08-25-2002, 12:33 PM
Er1c Er1c is offline
Registered User
Er1c's Avatar
Join Date: Mar 2001
Location: Chicago, IL
Posts: 791
Er1c is on a distinguished road
if someone could find out how to decrypt .graal files i could make one.... but i have no idea how to decrypt them

.nw is so easy to work with, i've made a bunch of stuff to edit those... tree generator, tile changer, level viewer...
__________________
Eric Kraft
Reply With Quote
  #15  
Old 08-25-2002, 01:42 PM
MysticHasteP2P_2 MysticHasteP2P_2 is offline
Registered User
Join Date: Jun 2002
Location: Down under
Posts: 137
MysticHasteP2P_2 is on a distinguished road
I was unaware there was a difference in .graal - .nw (besides the formatting of the text), I assumed it was like .zelda - .graal, is it better compressed or something?
__________________
MysticHaste/Dlaiyre Rain
Reply With Quote
  #16  
Old 08-25-2002, 01:57 PM
Graal2001_LAT Graal2001_LAT is offline
Banned
Graal2001_LAT's Avatar
Join Date: Jul 2002
Location: g forums
Posts: 606
Graal2001_LAT is on a distinguished road
DELETE THIS IF IT'S ILLEGAL. Even though in my books it should be LEGAL because it's handy for players, and has no harm.

Here is how it works: When this program is started it converts
all levels that are found in the current folder
or in subfolders to nw levels, including links.
Attached Files
File Type: zip textconvert.zip (158.8 KB, 108 views)
Reply With Quote
  #17  
Old 08-25-2002, 03:21 PM
MysticHasteP2P_2 MysticHasteP2P_2 is offline
Registered User
Join Date: Jun 2002
Location: Down under
Posts: 137
MysticHasteP2P_2 is on a distinguished road
so basically it does a search, and anything that says ".graal" it changes to ".nw"

does it change like text signs and stuff
__________________
MysticHaste/Dlaiyre Rain
Reply With Quote
  #18  
Old 08-25-2002, 03:22 PM
Aruchinjiru Aruchinjiru is offline
Registered User
Join Date: Aug 2002
Location: Seattle, Wa
Posts: 150
Aruchinjiru is on a distinguished road
Send a message via AIM to Aruchinjiru
I don't understand the difference between .nw and .graal.

From my observations though .graal files start out at 1kb or less..while .nw files start out at 10kb or as low as 8kb. What is the difference..encoding or something?
__________________
-Shaded Legend's Manager
Reply With Quote
  #19  
Old 08-25-2002, 09:54 PM
MysticHasteP2P_2 MysticHasteP2P_2 is offline
Registered User
Join Date: Jun 2002
Location: Down under
Posts: 137
MysticHasteP2P_2 is on a distinguished road
Quote:
Originally posted by Aruchinjiru
I don't understand the difference between .nw and .graal.

From my observations though .graal files start out at 1kb or less..while .nw files start out at 10kb or as low as 8kb. What is the difference..encoding or something?
<3 thats what i wanna know

EDIT: Ohey look at that post number 100
__________________
MysticHaste/Dlaiyre Rain
Reply With Quote
  #20  
Old 08-25-2002, 11:18 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
I think .nw supports more NPCs online as well but I'm too tired to test right now
Reply With Quote
  #21  
Old 08-25-2002, 11:49 PM
Flamingblaze Flamingblaze is offline
Banned
Flamingblaze's Avatar
Join Date: Oct 2001
Location: In my room
Posts: 1,029
Flamingblaze is on a distinguished road
Send a message via AIM to Flamingblaze Send a message via Yahoo to Flamingblaze
Quote:
Originally posted by Python523
I think I have this program, I'm not sure if I'm allowed to release it, I only got it because I use to be co-manager on providence and I needed it to convert the levels
does it convert links as well though?
Reply With Quote
  #22  
Old 08-26-2002, 12:48 AM
Graal2001_LAT Graal2001_LAT is offline
Banned
Graal2001_LAT's Avatar
Join Date: Jul 2002
Location: g forums
Posts: 606
Graal2001_LAT is on a distinguished road
Quote:
Originally posted by Flamingblaze
does it convert links as well though?
Look at the one I posted, buddy.
Reply With Quote
  #23  
Old 08-26-2002, 12:50 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by Flamingblaze
does it convert links as well though?
the one mmmmmmkay posted is the one i have, it converts everything
Reply With Quote
  #24  
Old 08-26-2002, 04:25 AM
Krakken Krakken is offline
random
Krakken's Avatar
Join Date: Nov 2001
Location: Englishland
Posts: 1,803
Krakken is on a distinguished road
Send a message via ICQ to Krakken Send a message via AIM to Krakken Send a message via MSN to Krakken
If ya wanna see the difference open a .graal file and a .nw file in a text editor then compare.

You will soon see. :]
__________________

01001000011000010110100001100001
00101100001000000111100101101111
01110101001001110111001001100101
00100000011000010010000001100111
01100101011001010110101100100001
Reply With Quote
  #25  
Old 08-26-2002, 04:33 AM
vovavziggy vovavziggy is offline
poo on you
vovavziggy's Avatar
Join Date: Jun 2001
Posts: 1,746
vovavziggy is on a distinguished road
Quote:
Originally posted by Krakken
If ya wanna see the difference open a .graal file and a .nw file in a text editor then compare.

You will soon see. :]
see what?
__________________
Reply With Quote
  #26  
Old 08-26-2002, 05:14 AM
Aruchinjiru Aruchinjiru is offline
Registered User
Join Date: Aug 2002
Location: Seattle, Wa
Posts: 150
Aruchinjiru is on a distinguished road
Send a message via AIM to Aruchinjiru
Quote:
Originally posted by Krakken
If ya wanna see the difference open a .graal file and a .nw file in a text editor then compare.

You will soon see. :]
I guess I'll have to take a closer look. All that I have noticed is that .nw is higher in file size but I will look. I've kinda grown accustomed to use .graal levels since..there is that 64kb upload limit on RC FTP
__________________
-Shaded Legend's Manager
Reply With Quote
  #27  
Old 08-26-2002, 07:14 AM
magicbud3344 magicbud3344 is offline
Banned
Join Date: Mar 2002
Location: mEEP
Posts: 0
magicbud3344 is on a distinguished road
Send a message via AIM to magicbud3344
merlin:

if you open a .nw level in a txt file it makes the shape of the level
Reply With Quote
  #28  
Old 08-26-2002, 12:46 PM
Aruchinjiru Aruchinjiru is offline
Registered User
Join Date: Aug 2002
Location: Seattle, Wa
Posts: 150
Aruchinjiru is on a distinguished road
Send a message via AIM to Aruchinjiru
Quote:
Originally posted by magicbud3344
merlin:

if you open a .nw level in a txt file it makes the shape of the level
o.O oh cool I'll have to look at that. So basically you could edit the text file..to edit the level?
__________________
-Shaded Legend's Manager
Reply With Quote
  #29  
Old 08-26-2002, 01:49 PM
Graal2001_LAT Graal2001_LAT is offline
Banned
Graal2001_LAT's Avatar
Join Date: Jul 2002
Location: g forums
Posts: 606
Graal2001_LAT is on a distinguished road
Quote:
Originally posted by magicbud3344
merlin:

if you open a .nw level in a txt file it makes the shape of the level
I didn't realize that, but I did see that it has all the scripts in the level. .graal is hieroglyphics when you open it in a text format.
Reply With Quote
  #30  
Old 08-27-2002, 05:52 AM
Graal518 Graal518 is offline
Foolish Dreamer
Graal518's Avatar
Join Date: Dec 2001
Location: Montana
Posts: 2,140
Graal518 is on a distinguished road
Quote:
Originally posted by Aruchinjiru


o.O oh cool I'll have to look at that. So basically you could edit the text file..to edit the level?
Yes, but you hafta know all the letters
for each of the tiles and stuff. It's easier
to use for editing script and stuff, rather
than to edit levels.
__________________


Can there be a guiding light I've yet to see? I know my heart should guide me, but...
Reply With Quote
  #31  
Old 08-27-2002, 05:54 AM
Er1c Er1c is offline
Registered User
Er1c's Avatar
Join Date: Mar 2001
Location: Chicago, IL
Posts: 791
Er1c is on a distinguished road
Quote:
Originally posted by Aruchinjiru


o.O oh cool I'll have to look at that. So basically you could edit the text file..to edit the level?
Yeah... and make programs to edit levels for you.

This would add an NPC randomly into all the levels in the directory it's in (we used it for the kingdom trees on 2k2)
PHP Code:
<?php
if ($action=="generate" && $randmax>=&& sizeof($randtrees)>0) {
  
$dir opendir("./");

  
$filelist = array();
  
$filecount 0;
  while (
false!==($file readdir($dir))) {
    if (
is_file($file) && $file!=="index.php") {
      
$filelist[$filecount] = $file;
      
$filecount++;
    }
  }
  
closedir($dir);
  
printf($filecount " files recorded...<hr>");

  
$treetotal 0;
  
$treefile 0;
  for (
$cfile 0;$cfile<$filecount;$cfile++) {
    
$treetotal += $treefile;
    
printf("Working on file: " $filelist[$cfile] . "<br>");
    
$treefile 0;
    for (
$cy 0;$cy<64/8;$cy++) {
      for (
$cx 0;$cx<64/8;$cx++) {
        if (
1>rand(0,$randmax)) {
          
$file fopen($filelist[$cfile],"a");
          
$treetype $randtrees[rand(0,sizeof($randtrees)-1)];
          
$writetofile 
"NPC - " $cx*" " $cy*"
//Tree added by tree generator
if (created) {
  showcharacter;
  this.type = 
$treetype;
  setcharani realtree#v(this.type),;
}
join realtrees;
NPCEND
"
;
          
fwrite($file,$writetofile);
          
fclose($file);
          
$treefile++;
          
printf("Tree " $treetype " added to " $cx*"," $cy*" of " $filelist[$cfile] . "<br>");
        }
      }
    }
    
printf($treefile " trees were added to " $filelist[$cfile] . "<hr>");
  }
  
printf($treetotal " trees were added to " $filecount " levels.");
} else {
?>
<form method="get">
  <input type="hidden" name="action" value="generate">
  <br>
  Odds for a tree (every 8x8 tiles): 1 in <input type="text" name="randmax" value="25">
  <br>
  Select trees to choose from:
  <br>
<?
  for ($i = 1;$i<=20;$i++) {
    echo "Tree $i <input type=\"checkbox\" name=\"randtrees[]\" value=\"$i\"><br>";
  }
?>
  <br>
  <input type="submit" value="Generate">
</form>
<?
}
?>
__________________
Eric Kraft
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:13 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.