SCARZIP (SCARZ Information Pane)
Sonic Stadium
Green Hill Zone


THE 10 CULTMANDMENTS | THE IDIOT'S GUIDE TO POSTING AT SCARZ
Sonic Online
Sonic Dimension


Welcome Guest ( Log In | Register )

3 Pages V  < 1 2 3 >  
Reply to this topicStart new topic
> [Up: 08/26/04] TSDC V2.2, KENS V1.4 + Source, Bugs fixed !
Nemesis
post Sep 15 2003, 11:39 AM
Post #21


There's no such thing as 2

Group Icon

Group: CulT Family
Posts: 957
Joined: 20-August 03
From: Sydney, Australia
Member No.: 4
Gender: Male



Yeah, I think it was ENWT. I really don't see how it could be my compressor causing that. I've replaced the EHZ 16x16's no problems, and the Enigma format itself is error-proof. Even if you tried to decompress something that wasn't a compressed archive at all, the damn thing would spurt out something anyway. It wouldn't loop infinately, or cause the system to crash like Nemesis compression can.


In order to fix this problem, I really need to see the rom. At this point I can't even duplicate this problem people have been having, which makes it hard to fix. If you'd upload it to beta's server or something, I'll see if i can figure out what's going wrong.


--------------------
Go to the top of the page
 
+Quote Post
Hivebrain
post Sep 15 2003, 03:35 PM
Post #22


The Thing

Group Icon

Group: CulT Family
Posts: 618
Joined: 21-August 03
From: Eggmanland
Member No.: 117
Gender: Male
Country: United Kingdom



>> QUOTE(Nemesis @ Sep 15 2003, 08:39 AM)
>> 
Yeah, I think it was ENWT. I really don't see how it could be my compressor causing that. I've replaced the EHZ 16x16's no problems, and the Enigma format itself is error-proof. Even if you tried to decompress something that wasn't a compressed archive at all, the damn thing would spurt out something anyway. It wouldn't loop infinately, or cause the system to crash like Nemesis compression can.


In order to fix this problem, I really need to see the rom. At this point I can't even duplicate this problem people have been having, which makes it hard to fix. If you'd upload it to beta's server or something, I'll see if i can figure out what's going wrong.

You're right. Even a faulty archive shouldn't cause the game to crash. Maybe the crashing is caused by the pointer I changed, rather than the data itself. When you tested the compressor, did you change the pointer, or did you paste data on top of old data?


--------------------
Go to the top of the page
 
+Quote Post
Hivebrain
post Sep 15 2003, 06:27 PM
Post #23


The Thing

Group Icon

Group: CulT Family
Posts: 618
Joined: 21-August 03
From: Eggmanland
Member No.: 117
Gender: Male
Country: United Kingdom



I found out what the problem was. It wasn't anything to do with 16x16 mappings. :^_^;


--------------------
Go to the top of the page
 
+Quote Post
Magus
post Sep 19 2003, 10:42 AM
Post #24


The lazy but efficient programmer !

Group Icon

Group: CulT Member
Posts: 117
Joined: 25-August 03
Member No.: 419
Gender: Male



It could have been because I myself made an error when porting it to Windows. But it seems everything is alright, so... :D


--------------------
Previously known as the original Chaos

The Chaos Homepage (BACK !!!)

Shadowsoft-Games.com



A new style.

Go to the top of the page
 
+Quote Post
Magus
post Nov 11 2003, 10:13 AM
Post #25


The lazy but efficient programmer !

Group Icon

Group: CulT Member
Posts: 117
Joined: 25-August 03
Member No.: 419
Gender: Male



A small update (and a good way to reactivate this topic :lol:).

* I corrected a minor bug in the Nemesis decompression tool. When you decompressed a file, the ROM remained open, thus making it unwritable until you closed the program.

* I included the Location files updated by Hivebrain in the package


--------------------
Previously known as the original Chaos

The Chaos Homepage (BACK !!!)

Shadowsoft-Games.com



A new style.

Go to the top of the page
 
+Quote Post
OrdosAlpha
post Nov 11 2003, 12:04 PM
Post #26


Rotate motherfucker! ROTATE!

Group Icon

Group: CulT Family
Posts: 780
Joined: 22-August 03
From: Glasgow, Scotland
Member No.: 261
Gender: Male
Country: Scotland



Yes a very good way to reactivate the topic.

*downloads the latest version*


--------------------
My Staff banner owns you all! Bow down to it's greatness and beg for mercy!


Hacking Cult
Come on over and join the party!
Go to the top of the page
 
+Quote Post
Magus
post Nov 14 2003, 01:52 PM
Post #27


The lazy but efficient programmer !

Group Icon

Group: CulT Member
Posts: 117
Joined: 25-August 03
Member No.: 419
Gender: Male



It's nice to see that at least one person likes my tool. :D


--------------------
Previously known as the original Chaos

The Chaos Homepage (BACK !!!)

Shadowsoft-Games.com



A new style.

Go to the top of the page
 
+Quote Post
Magus
post Nov 15 2003, 04:14 PM
Post #28


The lazy but efficient programmer !

Group Icon

Group: CulT Member
Posts: 117
Joined: 25-August 03
Member No.: 419
Gender: Male



Jesus, I never stop. I added the S-Compressor and S-Decompressor to TSDC, so you will be able to edit music. Well erm... at least you'll be able to decompress and recompress them. As for editing them, don't ask me. :D

This post has been edited by Magus: Dec 7 2003, 11:00 PM


--------------------
Previously known as the original Chaos

The Chaos Homepage (BACK !!!)

Shadowsoft-Games.com



A new style.

Go to the top of the page
 
+Quote Post
OrdosAlpha
post Nov 15 2003, 04:30 PM
Post #29


Rotate motherfucker! ROTATE!

Group Icon

Group: CulT Family
Posts: 780
Joined: 22-August 03
From: Glasgow, Scotland
Member No.: 261
Gender: Male
Country: Scotland



*downloads*

Again, nice work Magus.

This post has been edited by OrdosAlpha: Nov 15 2003, 04:33 PM


--------------------
My Staff banner owns you all! Bow down to it's greatness and beg for mercy!


Hacking Cult
Come on over and join the party!
Go to the top of the page
 
+Quote Post
Magus
post Nov 15 2003, 04:36 PM
Post #30


The lazy but efficient programmer !

Group Icon

Group: CulT Member
Posts: 117
Joined: 25-August 03
Member No.: 419
Gender: Male



Aren't you tired of always saying "Nice work Magus" ? I know I'm doing a fuckin' good work but... *shot* :lol:


--------------------
Previously known as the original Chaos

The Chaos Homepage (BACK !!!)

Shadowsoft-Games.com



A new style.

Go to the top of the page
 
+Quote Post
Windows XP Fanboy
post Dec 1 2003, 12:52 PM
Post #31


Royal Turnips

Group Icon

Group: CulT Family
Posts: 1,311
Joined: 21-August 03
Member No.: 182
Gender: Male



Nice Work, Magus. *shot*


--------------------
Before anyone else asks, it's the incredibly mature admins here who changed my name. Stop bothering me about it, get onto them.

wah wah bitch moan whine, oh god I'm worse than WoK.

See what I mean? *smug*
Go to the top of the page
 
+Quote Post
PsychoSk8r
post Dec 3 2003, 04:49 PM
Post #32


I'm Back Beeyatches! =P

Group Icon

Group: CulT Member
Posts: 178
Joined: 28-June 04
From: Underneath Your Bed. Muahaha.
Member No.: 2,833
Gender: Male
Country: United Kingdom



Nice work magus. no, really!


--------------------


PsychoSk8r's Quotes
IRC
* Dirtster throws a car at djbrayster
* djbrayster dodges and drives away in the car
Dirtster> :P
Dirtster> IT NEEDS AN M.O.T.!!
* Dirtster runs
djbrayster> Wha?! I Dunno how to drive!!!!!
* djbrayster drives over cliff
PsychoSk8r> XD
* Dirtster watches as djbrayster hits a trampoline
djbrayster> IN A CAR?!
Dirtster> yup
PsychoSk8r> XDD
Dirtster> lmao
Dirtster> the little white lights turn on


PsychoSk8r. Joined January 3rd 2003

IPB Image
IPB Image
IPB Image
IPB Image

Go to the top of the page
 
+Quote Post
Magus
post Feb 8 2004, 05:40 PM
Post #33


The lazy but efficient programmer !

Group Icon

Group: CulT Member
Posts: 117
Joined: 25-August 03
Member No.: 419
Gender: Male



And yes, another update. See the first post for more info. Don't hesitate to ask questions and to use the DLLs I made.


--------------------
Previously known as the original Chaos

The Chaos Homepage (BACK !!!)

Shadowsoft-Games.com



A new style.

Go to the top of the page
 
+Quote Post
Magus
post Feb 10 2004, 08:37 PM
Post #34


The lazy but efficient programmer !

Group Icon

Group: CulT Member
Posts: 117
Joined: 25-August 03
Member No.: 419
Gender: Male



Updated KENS. This update features smaller DLLs, and apparently, in some rare cases, a slighly faster compression.

TSDC was repacked to include these new DLLs. Though, you only need to download KENS-V1.0a.

Note that this update is not critical at all, so you do not need to have it.


--------------------
Previously known as the original Chaos

The Chaos Homepage (BACK !!!)

Shadowsoft-Games.com



A new style.

Go to the top of the page
 
+Quote Post
Korama
post Mar 5 2004, 04:34 PM
Post #35


keep running

Group Icon

Group: CulT Member
Posts: 186
Joined: 22-August 03
Member No.: 274
Gender: Male



Since the question of Delphi support arose in this thread, I quickly made a Delphi interface unit for Magus' great DLLs.
You can download it from here.

Magus, feel free to use it for your KENS distribution. :)
Go to the top of the page
 
+Quote Post
Magus
post Mar 6 2004, 08:35 AM
Post #36


The lazy but efficient programmer !

Group Icon

Group: CulT Member
Posts: 117
Joined: 25-August 03
Member No.: 419
Gender: Male



I should have read this topic before the other one. XD

Well, your work is GREAT. Thanks to you, the KENS project will become available to more and more programmers. This interface will be added to the KENS project as a contribution from you, and so you'll be credited for it.

Now I have two comments. First, about static linking. If it's real static linking, then users won't be able to update the DLL without recompiling their applications, as the function addresses may be different. Unless this is a fake static linking, that infact retrieves the pointers from the DLL when the application starts (I do not know much about Delphi). Next comment is just a detail that is not very important. It's just that you should have made a file for each format instead of one single file, because you do not always need all four formats at the same time. But, as I told you, this is not important, as long as Delphi programmers can actually use the DLLs.


--------------------
Previously known as the original Chaos

The Chaos Homepage (BACK !!!)

Shadowsoft-Games.com



A new style.

Go to the top of the page
 
+Quote Post
drx
post Mar 6 2004, 09:46 AM
Post #37


whoa... i'm drunkz0r... o_O...

Group Icon

Group: CulT Family
Posts: 913
Joined: 28-August 03
From: :P
Member No.: 460
Gender: Male
Country: Poland



Korama, your work is AWESOME. Thank you, thank you, thank you.


--------------------


Hacking CulT


Go there now or I'll cut your dick off.
emails:
spam@the-drx.org

thedrx@gmail.com
drx@hacking-cult.org
drx@bluehedgehog.org
drx@shadowsoft-games.com
and the list goes on...

cool people list:
16-Bit Terror, Alpha, AJ 187, Beta, Buddha, Cedar J, choel aka jesus, dcom aka Prince of Persia aka cube aka Superdeluxe aka whatever, dirtster aka raggak, djbrayster, dude2003, Fiz, grap3fruitman, Gunner112k, Hivebrain, InsaneSonikkuFan, JohnnyUK, Nemesis, Nik, NGC, Overlord, Rika Chou, Sonic Hackr 2000, STC-Fan, Stoko, Tweaker, Ultima=P

contact:
aim: drx1337
icq: 202333696

Go to the top of the page
 
+Quote Post
Korama
post Mar 6 2004, 10:32 AM
Post #38


keep running

Group Icon

Group: CulT Member
Posts: 186
Joined: 22-August 03
Member No.: 274
Gender: Male



You are welcome. :D

QUOTE
Now I have two comments. First, about static linking. If it's real static linking, then users won't be able to update the DLL without recompiling their applications, as the function addresses may be different. Unless this is a fake static linking, that infact retrieves the pointers from the DLL when the application starts (I do not know much about Delphi).


It's "fake" static linking. I forgot if there's a better term for it. The imported functions and the DLLs where they come from are noted in the exe, Windows automatically loads them when the program is started (or displays an error message and aborts, if one DLL can't be found). The program still depends on the DLLs, they didn't become internal or something.


QUOTE
Next comment is just a detail that is not very important. It's just that you should have made a file for each format instead of one single file, because you do not always need all four formats at the same time. But, as I told you, this is not important, as long as Delphi programmers can actually use the DLLs.


I considered making a file for each of the four DLLs, but then decided against it. First, I prefer using as few source files as possible, as long as the sources are still clear and not too confusing. And KENS.pas is hardly confusing, even with support for all four DLLs in it. Second, Delphi uses "smart linking" whenever possible, which means that if something isn't referenced by your program, then it isn't compiled into the final exe. So if you write a program that merely uses KComp and KDecomp, then the resulting Delphi exe ONLY requires Kosinski.dll, despite the fact that all four DLLs are made available through the single file KENS.pas.
:)

This post has been edited by Korama: Mar 6 2004, 10:32 AM
Go to the top of the page
 
+Quote Post
Magus
post Mar 6 2004, 10:50 AM
Post #39


The lazy but efficient programmer !

Group Icon

Group: CulT Member
Posts: 117
Joined: 25-August 03
Member No.: 419
Gender: Male



Okay.

BTW I would need some instructions to add to the README.TXT file about how to use the library with Delphi. Could you make a very short text exposing both methods ?


--------------------
Previously known as the original Chaos

The Chaos Homepage (BACK !!!)

Shadowsoft-Games.com



A new style.

Go to the top of the page
 
+Quote Post
Korama
post Mar 6 2004, 11:54 AM
Post #40


keep running

Group Icon

Group: CulT Member
Posts: 186
Joined: 22-August 03
Member No.: 274
Gender: Male



Okay, how about this?

Using the KENS Libraries in Delphi

Include the unit KENS into the "uses" clause of any unit that calls the compression / decompression functions. In KENS.pas, there's a compiler switch "DynamicLinking", which controls whether the KENS DLLs are imported statically (when your program starts up) or dynamically (during runtime of your program). If "DynamicLinking" is disabled, your program won't load if one of the used KENS DLLs is missing. If "DynamicLinking" is enabled (default), then you have to call KInit, EInit, NInit or SInit and check the return value before using any of the routines (these functions are used to load the DLLs at runtime and initialize the pointers to the routines).
Go to the top of the page
 
+Quote Post

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
3 Pages V  < 1 2 3 >
Start new topic

 

Lo-Fi Version Time is now: 18th August 2017 - 07:50 AM