Nos Suite

08/28/2014 14:27 Kingrap#46
C#

Code:
private void Print()
        {
            BinaryReader Reader = new BinaryReader(File.Open(Path, FileMode.Open));

            Int16 Width = Reader.ReadInt16();
            Int16 Height = Reader.ReadInt16();

            Bitmap Image = new Bitmap(Width, Height);

            Byte Alpha, Red, Green, Blue;

            for (Int16 Index = 1; Index <= 4; Index++)
            {
                for (Int16 Y = 0; Y < Height; Y++)
                {
                    for (Int16 X = (Int16)(256 * (Index - 1)); X < (Int16)((Width / 4) * Index); X++)
                    {
                        Blue = Reader.ReadByte();
                        Green = Reader.ReadByte();
                        Red = Reader.ReadByte();
                        Alpha = Reader.ReadByte();

                        Image.SetPixel(X, Y, Color.FromArgb(Alpha, Red, Green, Blue));
                    }
                }
            }

            this.ClientSize = new System.Drawing.Size(Width, Height+ 24);
            this.DesktopLocation = new Point((SystemInformation.VirtualScreen.Width / 2) - ((Width / 2) + 8), (SystemInformation.VirtualScreen.Height / 2) - ((Height / 2) + 31));
            pictureBox1.Image = Image;

            Reader.Close();
        }
08/28/2014 16:35 Δbraxas#47
Quote:
Originally Posted by ernilos View Post
[Only registered and activated users can see links. Click Here To Register...]
*muahahahahahahahah*
I finished my tool for parse image type 547069832 (NS4BbData.NOS), it's really easy to use, enjoy ;)!
If anyone want's the source just PM me :P
Uhh Sakura Trick ;-)
Do you know any other good shoujo-ai Anime?


b2t: Elektrochemie, also weißt du schon, wie die Maps gespeichert sind? Es ist ja scheinbar nicht so einfach so einen Map-Editor dafür zu programmieren, oder?
08/28/2014 16:46 Elektrochemie#48
Quote:
Originally Posted by ernilos View Post
[Only registered and activated users can see links. Click Here To Register...]
*muahahahahahahahah*
I finished my tool for parse image type 547069832 (NS4BbData.NOS), it's really easy to use, enjoy ;)!
If anyone want's the source just PM me :P
GJ :) Most of the other Images are kind of the same.

Δbraxas
Das Problem ist nicht das Map Format ansich. Eher dass da alles zusammenkommt.
Bspw. du braucht komplett alles. Models, Texturen aller Art, Shadow Maps, etc. das dauert :P
08/28/2014 16:53 Kingrap#49
My IMG Editor

[Only registered and activated users can see links. Click Here To Register...]

How it looks at login screen

[Only registered and activated users can see links. Click Here To Register...]
08/28/2014 16:55 Δbraxas#50
Quote:
Originally Posted by Elektrochemie View Post
GJ :) Most of the other Images are kind of the same.

Δbraxas
Das Problem ist nicht das Map Format ansich. Eher dass da alles zusammenkommt.
Bspw. du braucht komplett alles. Models, Texturen aller Art, Mip & Shadow Maps, etc. das dauert :P
Okay das macht natürlich Sinn. Ich finde es ja echt super, dass sich da noch was tut und hoffentlich wird es dann bald auch mal einen richtigen P-Server geben ;-)

Quote:
(Das ganze macht nur mit einem PServer Sinn - daher wollte ich eigentlich erst auf DreamNos warten. Aber was solls.)
Aber das Tool funktioniert doch auch für den normalen Client oder nicht?
Da gibt es doch bestimmt ein paar nette Sachen, die man damit anstellen kann... Vielleicht kann man die Sprites so bearbeiten, dass man unsichtbare Schurken etc. sehen kann (wobei das ja auch so schon irgendwie mal ging), sofern das überhaupt mit Sprites gemacht wird.
Aber irgendwas wird man damit auch schon so machen können, auch wenns nur aufgemalte Schnurrbärte für jeden Charakter sind ;-)
08/28/2014 17:52 Bejine#51
@ernilos your program doesn't work for me. even after replacing (with the same picture as NT normally has) i've got black screen instead of picture :/ am i doing something wrong?
(Image>Open, Binary>Save [with normal image from NT], then replacing in NosPack)
08/28/2014 17:56 Elektrochemie#52
It should have the same amount of bytes like the original resource (after saving). (if its the same size)
Is it like that? Else something's wrong.

Edit:
Working on String files atm.

Live Sträääm
[Only registered and activated users can see links. Click Here To Register...]
08/28/2014 17:59 Kingrap#53
Quote:
Originally Posted by Bejine View Post
@ernilos your program doesn't work for me. even after replacing (with the same picture as NT normally has) i've got black screen instead of picture :/ am i doing something wrong?
(Image>Open, Binary>Save [with normal image from NT], then replacing in NosPack)
You can use my tool [Only registered and activated users can see links. Click Here To Register...]

1. How To Open a Raw File || IMG -> Open -> Chose A Raw File
2. How to Replace an Image || T -> Replace -> Chose Your Image
3. How to Insert an Image || T -> Include -> IMG -> Chose Your Logo Or You Image To Insert

How to apply the Included Image || T -> Include -> Render
How to remove the Included Image || T -> Include -> Remove

4. How To Save The New File || T -> Encode
08/28/2014 18:06 Elektrochemie#54
Devil i hope you dont mind if i take a look at your source
[Only registered and activated users can see links. Click Here To Register...]

Thanks for that :P
08/28/2014 18:07 Bejine#55
Still black. I'm doing everything as I should but it doesn't work... Bytes and type are the same as old.
08/28/2014 18:08 Kingrap#56
Quote:
Originally Posted by Elektrochemie View Post
Devil i hope you dont mind if i take a look at your source
[Only registered and activated users can see links. Click Here To Register...]

Thanks for that :P
Nope man.. If it can help you then use it.. Is easy and complete.. While for .lst files contained into .NOS string files.. You can decrypt it with Xor 0x01

Edit. Can you add me on skype ? jmii89 thanks :)
08/28/2014 18:18 Bejine#57
Ok, nevermind. I was adding instead of replacing resource in NosPacker. Now it's working, thank you all.
08/28/2014 18:52 Δbraxas#58
Hey Elektro schaffst du es zufällig, diese .NOS Datei zu entpacken?
[Only registered and activated users can see links. Click Here To Register...]
08/28/2014 18:58 Elektrochemie#59
Quote:
Originally Posted by Δbraxas View Post
Hey Elektro schaffst du es zufällig, diese .NOS Datei zu entpacken?
[Only registered and activated users can see links. Click Here To Register...]
das is ne executable du ochse :D
08/28/2014 19:19 Δbraxas#60
Quote:
Originally Posted by Elektrochemie View Post
das is ne executable du ochse :D
Achso? Arghh.. Wieso hat die denn auch die Endung .nos :P
War halt beim alten GM-Tool dabei. Hab gedacht, da wär vielleicht was interessantes drin oder so...