this may not be covered but i haven't found anywhere
that has given me answers as quickly as you so here
goes... obviously i want to put color into the ROM
since text without ansi is dull... but when i use
the color code patch it doesn't seem to work, and
i think i might be doing the command wrong...
patch < patch_rom2.4_colour
if you know of the correct way to patch or this is
the right way and i may be doing something else
wrong or know of a rom24b6 thats got the color in
it, please let me know... i've been trying to figure
this patch deal out for a while because there are
lots of add-ons already created that i'd like to
patch, but if i'm doing the patch wrong, they'll
never work... thanks again.
Where did you get the patch from (URL?) - I will try it myself and let you know.
One problem might be that you need to patch the exact version - depending on the way the patches are made. If it is a "context diff" it is not critical, but a different sort (which is by line number) is.
its at http://www.inetsolve.com/~snip/snippets/colour_V2_0_tar.tar
also i am planning on adding OLC to the code as well and
make come across the same problem as the color in some way
of course i cant find the page for that but oh well
This creates a file "patch_rom_b2_to_b6" that you can later use to patch the b2 version to bring it up to the b6 version. The "context diff" (indicated by -c) is more resilient to lines moving around.
c) Add OLC
d) Add colour
e) Apply the patch file obtained above, eg. something like:
patch < patch_rom_b2_to_b6
I can't guarantee this will work, but I think it is the right general approach. For example, maybe OLC and colour will be mutually incompatible, maybe more context diffs are needed. However I think it is worth trying.
actually i got the olc file from the same site i got
the patch from... but i got the rom24olc171.tar.gz
one... pretty much the same but a newer version?
i'm guessing the same rules apply to this version as
to how to patch it in...
ok, what i've ended up doing is what you said with
the rom24b2 and rom24b6 doing the diff and whatnot,
but when add the patch for color, it goes in fine,
but when i do a make i get this error...
act_info.o: In function `do_password':
/home/jmartin4/rom24b2/rom24/src/act_info.c:2714:
undefined reference to `crypt'
/home/jmartin4/rom24b2/rom24/src/act_info.c:2731:
undefined reference to `crypt'
comm.o: In function `nanny':
/home/jmartin4/rom24b2/rom24/src/comm.c:1651:
undefined reference to `crypt'
/home/jmartin4/rom24b2/rom24/src/comm.c:1763:
undefined reference to `crypt'
/home/jmartin4/rom24b2/rom24/src/comm.c:1786:
undefined reference to `crypt'
collect2: ld returned 1 exit status
make: *** [rom] Error 1
i was thinking i need to change in the makefile again,
but i had already made the changes you specified...
it seems like OLC is a big pain to install...
the one you install manually changing the src files
isn't very helpful on where exactly in each file to
change, and the one i just copy files into the src
directory seems to give me the same problems....
basically the patch fails... possibly cause the
rom24b2 is too old to patch olc into?
i think my problem with romolc10.tar.gz is that it
is a pain in the butt, because i have to go through
and change stuff, and from the instructions its kind
of detailed on how but where specifically to put them
doesn't seem to make much sense to me... i've tried
a couple other versions of the olc with the proper
source code and they seem to patch fine usually but
then lots of errors later... i'll figure it out...
then again, who needs areas? ;)
i'm done with trying to get olc and color happy with
each other.. its pretty much hopeless regardless of
what versions i use... but i did find this source
code with olc and color already in it, and it is
rom24b6... i think i have another makefile error,
but i'm not sure... maybe you could help?
I am trying to compile with cygwin. But I get the following errors:
$ make
gcc -c -Wall -O -g -DNOCRYPT -DOLD_RAND const.c
const.c:433: parse error before `{'
const.c:433: warning: missing braces around initializer
const.c:433: warning: (near initialization for `pc_race_table[5].class_mult')
const.c:435: warning: initialization makes pointer from integer without a cast
const.c:435: warning: initialization makes pointer from integer without a cast
const.c:436: warning: initialization makes pointer from integer without a cast
const.c:437: parse error before `}'
make: *** [const.o] Error 1
Hello, i have a few problems.... when i compile rom24 i no longer get errors just many warnings about explicit brackets. Then i get the rom.exe but when i run it all that happens is a window flashes up on the screen, then imediately it goes away. Any suggestions.