TeeEmCee | 1 Oct 2005 08:39
Picon

Unified source (yay!)

On 10/1/05, TeeEmCee <teeemcee <at> gmail.com> wrote:
> On 9/30/05, Bob the Hamster <Bob <at> hamsterrepublic.com> wrote:
> > On Thu, Sep 29, 2005 at 11:31:27PM +0100, Simon Bradley wrote:
> > > I have just commited a version of FBOHR that compiles in both
> > > QuickBasic and FreeBasic.
> > >
> > > There are two new files - compat.bi and compat.bas - which are
> > > different for each build. Everything else is identical. It is complete
> > > up to revision 181 of the master QB source. At this stage, I have
> > > bundled the QBasic files into a zip called qbfiles.zip and added that
> > > to the FBOHR repository. The zip also includes a patch that will
> > > change rev 181 of ohrrpgce to match rev 10 of fbohr, and a readme
> > > which explains what to do (either copy the files from fbohr and add
> > > the zip contents, or patch ohrrpgce and add compat.bi & .bas).
> > >
> > > Basically, I moved a small number of functions (xbload, crashexplain,
> > > getdefaultfont) out to compat.bas, so they could differ between the
> > > two versions. I had to add exename$ and progdir$ to the globals for
> > > this. I then used FB's preprocessor functions to paper over the other
> > > major differences. I added an empty sub called fbdim to the QB
> > > version, and used the FB preprocessor to swap it for "dim as short",
> > > to fix all the file reads/writes where a 16-bit integer was needed.
> > > Also, bmod.bas needed a few variable name changes, and I had to remove
> > > the /'s from the global declarations.
> > >
> > > The QB version builds fine here, under Win98 and QB4.5. I don't know
> > > how it is under 7.1 and DOSBOX.
> > >
> > > The FreeBasic version still has no sound and a couple of small bugs,
> > > but I suspect it is all contained in allmodex.bas, as most of the
(Continue reading)

Bob the Hamster | 1 Oct 2005 14:42
Favicon

grumble... hate... perl... so... much

My goodness I hate perl. I tried to apply a simple security upgrade to 
http://HamsterRepublic.com/bugzilla this morning, and broke the thing to 
pieces. I have been fighting with it for like three hours, and it is 
still unusable.

:(

---
Bob the Hamster

Mike Caron | 1 Oct 2005 16:41
Picon
Gravatar

grumble... hate... perl... so... much

On 10/1/05, Bob the Hamster <Bob <at> hamsterrepublic.com> wrote:
> My goodness I hate perl. I tried to apply a simple security upgrade to
> http://HamsterRepublic.com/bugzilla this morning, and broke the thing to
> pieces. I have been fighting with it for like three hours, and it is
> still unusable.
>
> :(

*cough http://www.mantisbt.org/ cough*

PHP is god.

--
Mike Caron
Final Fantasy Q
http://finalfantasyq.com

Bob the Hamster | 1 Oct 2005 17:34
Favicon

bugzilla broken

On Sat, Oct 01, 2005 at 05:41:30PM -0400, Mike Caron wrote:
> On 10/1/05, Bob the Hamster <Bob <at> hamsterrepublic.com> wrote:
> > My goodness I hate perl. I tried to apply a simple security upgrade to
> > http://HamsterRepublic.com/bugzilla this morning, and broke the thing to
> > pieces. I have been fighting with it for like three hours, and it is
> > still unusable.
> >
> > :(
> 
> *cough http://www.mantisbt.org/ cough*
> 
> PHP is god.
> 

Yeah, I am nearly ready to abandon bugzilla. I just hate to have to 
re-enter all those bugs, and lose all those comments :(

I can't install mantis on HamsterRepublic.com because I don't have root 
access to the mysql database.

I am really surprised that bugzilla has no upgrade path from 2.18 to 
2.20. I am shocked actually. Their documentation basicly just says "run 
checksetup.pl", but checksetup.pl OBVIOUSLY does not make the neccisary 
changes to the mysql database. A bunch of tables need to be added, 
populated, and a bunch of fields need to be changed from enums to table 
references. I *could* do it by hand, or write a script that does it, but 
why hasn't it already been done? It seems essential. I can't be the only 
one with this complaint :(

Well, for now, I have to leave it broken. I will come back to this 
(Continue reading)

Mike Caron | 1 Oct 2005 17:39
Picon
Gravatar

bugzilla broken

On 10/1/05, Bob the Hamster <Bob <at> hamsterrepublic.com> wrote:
> On Sat, Oct 01, 2005 at 05:41:30PM -0400, Mike Caron wrote:
> > On 10/1/05, Bob the Hamster <Bob <at> hamsterrepublic.com> wrote:
> > > My goodness I hate perl. I tried to apply a simple security upgrade to
> > > http://HamsterRepublic.com/bugzilla this morning, and broke the thing to
> > > pieces. I have been fighting with it for like three hours, and it is
> > > still unusable.
> > >
> > > :(
> >
> > *cough http://www.mantisbt.org/ cough*
> >
> > PHP is god.
> >
>
> Yeah, I am nearly ready to abandon bugzilla. I just hate to have to
> re-enter all those bugs, and lose all those comments :(
>
> I can't install mantis on HamsterRepublic.com because I don't have root
> access to the mysql database.
>
> I am really surprised that bugzilla has no upgrade path from 2.18 to
> 2.20. I am shocked actually. Their documentation basicly just says "run
> checksetup.pl", but checksetup.pl OBVIOUSLY does not make the neccisary
> changes to the mysql database. A bunch of tables need to be added,
> populated, and a bunch of fields need to be changed from enums to table
> references. I *could* do it by hand, or write a script that does it, but
> why hasn't it already been done? It seems essential. I can't be the only
> one with this complaint :(
>
(Continue reading)

Bob the Hamster | 2 Sep 2005 16:09
Favicon

reverse-engineering the .NOT format

> I should've asked this question a long time ago, however...
> 
> What's the format of the .NOT files that NOTATE produces. My idea is:
> Notate is the second most useless utility on the planet (roughly),
> because it can't edit pre-existing BAMs (i.e anything that MIDI2BAM
> produces). So, there's two ways to fix it:
> 
> 1. Modify NOTATE to read BAM files. This would essentially take a
> re-write of NOTATE.
> 2. Write a converter to convert between BAM and NOT formats. Much 
> easier, AFAIK
>
> However, I'm too lazy... er, that is, pressed for time to go through
> the code for NOTATE and figure it out. So, I want someone else to do
> it for me :)
> 
> Or, if there's any existing docs on it, that'd be nice. The BAM SDK
> has nothing...

The only thing I remember about the NOT format is that it is very 
simple, lazy, and wasteful.

Here is the code from notate.bas that does the evil deed.

---------
OPEN file$ FOR BINARY AS #1
FOR i = 0 TO 8
 a$ = CHR$(cinst(i))
 PUT #1, 32770 + i, a$
NEXT i
(Continue reading)

Mike Caron | 3 Sep 2005 00:08
Picon
Gravatar

reverse-engineering the .NOT format

On 9/2/05, Bob the Hamster <Bob <at> hamsterrepublic.com> wrote:
> > I should've asked this question a long time ago, however...
> >
> > What's the format of the .NOT files that NOTATE produces. My idea is:
> > Notate is the second most useless utility on the planet (roughly),
> > because it can't edit pre-existing BAMs (i.e anything that MIDI2BAM
> > produces). So, there's two ways to fix it:
> >
> > 1. Modify NOTATE to read BAM files. This would essentially take a
> > re-write of NOTATE.
> > 2. Write a converter to convert between BAM and NOT formats. Much
> > easier, AFAIK
> >
> > However, I'm too lazy... er, that is, pressed for time to go through
> > the code for NOTATE and figure it out. So, I want someone else to do
> > it for me :)
> >
> > Or, if there's any existing docs on it, that'd be nice. The BAM SDK
> > has nothing...
> 
> The only thing I remember about the NOT format is that it is very
> simple, lazy, and wasteful.
> 
> Here is the code from notate.bas that does the evil deed.
> 
> ---------
> OPEN file$ FOR BINARY AS #1
> FOR i = 0 TO 8
>  a$ = CHR$(cinst(i))
>  PUT #1, 32770 + i, a$
(Continue reading)

Draknight2@wmconnect.com | 3 Sep 2005 15:44
Favicon

NOT fle format

ok, with that setup, I think it would be better to write a new NOT making 
program. *thinks to himself* maybe I should learn how to make midi sound in vb, 
but thats for the future.

Just thought of writing something here, its nice seeing basic code, and even 
nicer if it has explanation. Thanks James.

Also, TMC, when are you gonna put transparency pasting into custom?  I am 
still waiting for that, since it will ease the pain of making tiles.  It will 
definately make my life easier.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/ohrrpgce-motherhamster.org/attachments/20050903/b8742158/attachment.htm

Mike Caron | 3 Sep 2005 20:13
Picon
Gravatar

NOT fle format

On 9/3/05, Draknight2 <at> wmconnect.com <Draknight2 <at> wmconnect.com> wrote:
> ok, with that setup, I think it would be better to write a new NOT making program. *thinks to himself* maybe I
should learn how to make midi sound in vb, but thats for the future. 

Or, do away with NOT altogether (Not use NOT! me are funnie!!!!11one),
and make a BAM editor.

Midi in windows is easy. There's a few API functions that deal with
MIDI. midi_open() opens the device (of course), midi_out() lets you
send commands to said device, and midi_close()... well, yeah.

The hardest part is figuring out the format to send the commands. Oh,
and I guess passing pointers, if you're using VB :)

> Just thought of writing something here, its nice seeing basic code, and even nicer if it has explanation.
Thanks James. 

Comments, simultaneously the bane and the blessing of the open-sourcerer

--

-- 
Mike Caron
Final Fantasy Q
http://finalfantasyq.com

TeeEmCee | 3 Sep 2005 21:07
Picon

transparent pasting

On 9/4/05, Draknight2 <at> wmconnect.com <Draknight2 <at> wmconnect.com> wrote:
> ok, with that setup, I think it would be better to write a new NOT making
> program. *thinks to himself* maybe I should learn how to make midi sound in
> vb, but thats for the future. 
>  
> Just thought of writing something here, its nice seeing basic code, and even
> nicer if it has explanation. Thanks James. 
>  
> Also, TMC, when are you gonna put transparency pasting into custom?  I am
> still waiting for that, since it will ease the pain of making tiles.  It
> will definately make my life easier. 

The pasting.... oh, right. I didn't commit it because I wanted it to
work in the sprite editor too.
Ok, it is done and committed.

TMC


Gmane