Author Topic: Patching QVM Files  (Read 3358 times)

AlphaBetaAdmin

  • Posts: 63
  • Turrets: +2/-11
Patching QVM Files
« on: April 15, 2008, 02:44:21 am »
I've been working with trying to patch QVM files so i can customize QVM's but it seems i get the following error:

Code: [Select]
$ patch -p0 < ./NERO_QVM.patch
m.AllocationBase 0x0, m.BaseAddress 0x715B0000, m.RegionSize 0xD0000, m.State 0x10000
C:\msys\1.0\bin\patch.exe: *** Couldn't reserve space for cygwin's heap (0x715B0000 <0x1560000>) in child, Win32 error 0


i really don't know what's wrong, i can't find any clues in the errors and i can't find any help in the forums...if someone could care to lead me in the right direction???


ps. i'm using NERO's patch until i get it working

doomagent13

  • Posts: 506
  • Turrets: +18/-18
Re: Patching QVM Files
« Reply #1 on: April 15, 2008, 10:34:40 pm »
You dont patch a qvm, you patch the source code used to compile the qvm...

AlphaBetaAdmin

  • Posts: 63
  • Turrets: +2/-11
Re: Patching QVM Files
« Reply #2 on: April 15, 2008, 11:24:38 pm »
omg, i found it

you use the code:

Code: [Select]
make patch -p < [patchname].patch
« Last Edit: April 15, 2008, 11:30:45 pm by AlphaBetaAdmin »

doomagent13

  • Posts: 506
  • Turrets: +18/-18
Re: Patching QVM Files
« Reply #3 on: April 16, 2008, 12:36:26 am »
...no...

I cant help you with your original error...

AlphaBetaAdmin

  • Posts: 63
  • Turrets: +2/-11
Re: Patching QVM Files
« Reply #4 on: April 16, 2008, 02:59:33 am »
well, when i ran that code, i got rid of those few errors just to get like 50 more   :-[

this is like the bottom 1/4 of it  :-\

Code: [Select]
# Not a target:
/base/ui/bg_misc.asm:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/ded/cm_trace.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/base/cgame/cg_scanner.asm:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/client/huffman.d:
#  A default or MAKEFILES makefile.
#  Implicit rule search has been done.
#  File does not exist.
#  File has been updated.
#  Failed to be updated.

# Not a target:
/base/ui/ui_shared.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/tools/etc/bytecode.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/tools/rcc/output.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
.tex.dvi:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.
#  commands to execute (built-in):
        $(TEX) $<

# Not a target:
/client/cm_trace.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/ded/win_resource.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/ded/sv_init.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/tools/cpp/getopt.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/tools/rcc/dag.d:
#  A default or MAKEFILES makefile.
#  Implicit rule search has been done.
#  File does not exist.
#  File has been updated.
#  Failed to be updated.

# Not a target:
/base/cgame/cg_particles.d:
#  A default or MAKEFILES makefile.
#  Implicit rule search has been done.
#  File does not exist.
#  File has been updated.
#  Failed to be updated.

# Not a target:
/base/game/g_svcmds.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/base/cgame/cg_snapshot.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
.r:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.
#  commands to execute (built-in):
        $(LINK.r) $^ $(LOADLIBES) $(LDLIBS) -o $@

# Not a target:
/client/tr_shade_calc.d:
#  A default or MAKEFILES makefile.
#  Implicit rule search has been done.
#  File does not exist.
#  File has been updated.
#  Failed to be updated.

# Not a target:
/client/tr_bsp.d:
#  A default or MAKEFILES makefile.
#  Implicit rule search has been done.
#  File does not exist.
#  File has been updated.
#  Failed to be updated.

# Not a target:
/client/parse.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/client/jmemmgr.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/tools/rcc/init.d:
#  A default or MAKEFILES makefile.
#  Implicit rule search has been done.
#  File does not exist.
#  File has been updated.
#  Failed to be updated.

# Not a target:
/client/tr_model.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/tools/lburg/gram.d:
#  A default or MAKEFILES makefile.
#  Implicit rule search has been done.
#  File does not exist.
#  File has been updated.
#  Failed to be updated.

# Not a target:
/ded/files.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/ded/msg.d:
#  A default or MAKEFILES makefile.
#  Implicit rule search has been done.
#  File does not exist.
#  File has been updated.
#  Failed to be updated.

# Not a target:
.mod:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.
#  commands to execute (built-in):
        $(COMPILE.mod) -o $@ -e $@ $^

# Not a target:
/tools/rcc/prof.d:
#  A default or MAKEFILES makefile.
#  Implicit rule search has been done.
#  File does not exist.
#  File has been updated.
#  Failed to be updated.

# Not a target:
/client/snd_codec.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/client/net_chan.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/client/files.d:
#  A default or MAKEFILES makefile.
#  Implicit rule search has been done.
#  File does not exist.
#  File has been updated.
#  Failed to be updated.

# Not a target:
/base/ui/ui_main.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/ded/snapvectora.d:
#  A default or MAKEFILES makefile.
#  Implicit rule search has been done.
#  File does not exist.
#  File has been updated.
#  Failed to be updated.

# Not a target:
/client/jcapimin.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/base/cgame/cg_ptr.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/base/cgame/cg_animation.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/base/game/g_target.asm:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
.C:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.
#  commands to execute (built-in):
        $(LINK.C) $^ $(LOADLIBES) $(LDLIBS) -o $@

# Not a target:
/tools/cpp/include.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/client/cm_load.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/base/cgame/cg_trails.asm:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/tools/rcc/profio.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/client/cl_scrn.d:
#  A default or MAKEFILES makefile.
#  Implicit rule search has been done.
#  File does not exist.
#  File has been updated.
#  Failed to be updated.

# Not a target:
/base/game/g_buildable.asm:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/tools/rcc/list.d:
#  A default or MAKEFILES makefile.
#  Implicit rule search has been done.
#  File does not exist.
#  File has been updated.
#  Failed to be updated.

# Not a target:
/client/cmd.d:
#  A default or MAKEFILES makefile.
#  Implicit rule search has been done.
#  File does not exist.
#  File has been updated.
#  Failed to be updated.

# Not a target:
/client/snd_adpcm.d:
#  A default or MAKEFILES makefile.
#  Implicit rule search has been done.
#  File does not exist.
#  File has been updated.
#  Failed to be updated.

# Not a target:
/tools/rcc/lex.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

/tremulous-smp.x86.exe: /client/cl_cgame.o /client/cl_cin.o /client/cl_console.o /client/cl_input.o /client/cl_keys.o /client/cl_main.o /client/cl_net_chan.o /client/cl_parse.o /client/cl_scrn.o /client/cl_ui.o /client/cl_avi.o /client/cm_load.o /client/cm_patch.o /client/cm_polylib.o /client/cm_test.o /client/cm_trace.o /client/cmd.o /client/common.o /client/cvar.o /client/files.o /client/md4.o /client/md5.o /client/msg.o /client/net_chan.o /client/net_ip.o /client/huffman.o /client/parse.o /client/snd_adpcm.o /client/snd_dma.o /client/snd_mem.o /client/snd_mix.o /client/snd_wavelet.o /client/snd_main.o /client/snd_codec.o /client/snd_codec_wav.o /client/snd_codec_ogg.o /client/qal.o /client/snd_openal.o /client/cl_curl.o /client/sv_ccmds.o /client/sv_client.o /client/sv_game.o /client/sv_init.o /client/sv_main.o /client/sv_net_chan.o /client/sv_snapshot.o /client/sv_world.o /client/q_math.o /client/q_shared.o /client/unzip.o /client/puff.o /client/vm.o /client/vm_interpreted.o /client/jcapimin.o /client/jcapistd.o /client/jchuff.o /client/jcinit.o /client/jccoefct.o /client/jccolor.o /client/jfdctflt.o /client/jcdctmgr.o /client/jcphuff.o /client/jcmainct.o /client/jcmarker.o /client/jcmaster.o /client/jcomapi.o /client/jcparam.o /client/jcprepct.o /client/jcsample.o /client/jdapimin.o /client/jdapistd.o /client/jdatasrc.o /client/jdcoefct.o /client/jdcolor.o /client/jddctmgr.o /client/jdhuff.o /client/jdinput.o /client/jdmainct.o /client/jdmarker.o /client/jdmaster.o /client/jdpostct.o /client/jdsample.o /client/jdtrans.o /client/jerror.o /client/jidctflt.o /client/jmemmgr.o /client/jmemnobs.o /client/jutils.o /client/tr_animation.o /client/tr_backend.o /client/tr_bsp.o /client/tr_cmds.o /client/tr_curve.o /client/tr_flares.o /client/tr_font.o /client/tr_image.o /client/tr_image_png.o /client/tr_image_jpg.o /client/tr_image_bmp.o /client/tr_image_tga.o /client/tr_image_pcx.o /client/tr_init.o /client/tr_light.o /client/tr_main.o /client/tr_marks.o /client/tr_mesh.o /client/tr_model.o /client/tr_noise.o /client/tr_scene.o /client/tr_shade.o /client/tr_shade_calc.o /client/tr_shader.o /client/tr_shadows.o /client/tr_sky.o /client/tr_surface.o /client/tr_world.o /client/sdl_gamma.o /client/sdl_input.o /client/sdl_snd.o /client/con_passive.o /client/con_log.o /client/sys_main.o /client/snd_mixa.o /client/matha.o /client/ftola.o /client/snapvectora.o /client/vm_x86.o /client/win_resource.o /client/sys_win32.o /clientsmp/sdl_glimp.o
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.
#  commands to execute (from `Makefile', line 1215):
        $(echo_cmd) "LD $@"
        $(Q)$(CC) -o $@ $(Q3OBJ) $(Q3POBJ_SMP) $(CLIENT_LDFLAGS) \
        $(THREAD_LDFLAGS) $(LDFLAGS) $(LIBSDLMAIN)
       

# Not a target:
/tools/rcc/types.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/tools/etc/lcc.d:
#  A default or MAKEFILES makefile.
#  Implicit rule search has been done.
#  File does not exist.
#  File has been updated.
#  Failed to be updated.

# Not a target:
/client/tr_noise.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/base/cgame/cg_buildable.d:
#  A default or MAKEFILES makefile.
#  Implicit rule search has been done.
#  File does not exist.
#  File has been updated.
#  Failed to be updated.

# Not a target:
/client/jdcolor.d:
#  A default or MAKEFILES makefile.
#  Implicit rule search has been done.
#  File does not exist.
#  File has been updated.
#  Failed to be updated.

# Not a target:
/base/cgame/cg_animmapobj.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/client/cl_parse.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/client/net_ip.d:
#  A default or MAKEFILES makefile.
#  Implicit rule search has been done.
#  File does not exist.
#  File has been updated.
#  Failed to be updated.

# Not a target:
/ded/md4.d:
#  A default or MAKEFILES makefile.
#  Implicit rule search has been done.
#  File does not exist.
#  File has been updated.
#  Failed to be updated.

# Not a target:
/base/game/g_trigger.asm:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/base/game/g_client.asm:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/client/jcmarker.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/ded/sv_main.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/client/snd_mixa.d:
#  A default or MAKEFILES makefile.
#  Implicit rule search has been done.
#  File does not exist.
#  File has been updated.
#  Failed to be updated.

# Not a target:
/client/jdapimin.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/client/tr_image_tga.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/base/cgame/cg_drawtools.d:
#  A default or MAKEFILES makefile.
#  Implicit rule search has been done.
#  File does not exist.
#  File has been updated.
#  Failed to be updated.

# Not a target:
/client/unzip.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/base/game/g_team.asm:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/base/game/g_utils.asm:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
.S:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.
#  commands to execute (built-in):
        $(LINK.S) $^ $(LOADLIBES) $(LDLIBS) -o $@

# Not a target:
/ded/cm_test.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
.texinfo:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

toolsclean: toolsclean-debug toolsclean-release
#  Phony target (prerequisite of .PHONY).
#  Implicit rule search has not been done.
#  File does not exist.
#  File has not been updated.

# Not a target:
/client/tr_shadows.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/base/cgame/bg_pmove.d:
#  A default or MAKEFILES makefile.
#  Implicit rule search has been done.
#  File does not exist.
#  File has been updated.
#  Failed to be updated.

# Not a target:
/ded/vm_interpreted.d:
#  A default or MAKEFILES makefile.
#  Implicit rule search has been done.
#  File does not exist.
#  File has been updated.
#  Failed to be updated.

# Not a target:
/client/tr_image.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/ded/huffman.d:
#  A default or MAKEFILES makefile.
#  Implicit rule search has been done.
#  File does not exist.
#  File has been updated.
#  Failed to be updated.

# Not a target:
.w.c:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.
#  commands to execute (built-in):
        $(CTANGLE) $< - $@

# Not a target:
.cpp:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.
#  commands to execute (built-in):
        $(LINK.cpp) $^ $(LOADLIBES) $(LDLIBS) -o $@

# Not a target:
/client/sdl_input.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/ded/net_ip.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/base/game/bg_voice.asm:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/base/cgame/cg_attachment.asm:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/client/jdpostct.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/base/cgame/cg_view.d:
#  A default or MAKEFILES makefile.
#  Implicit rule search has been done.
#  File does not exist.
#  File has been updated.
#  Failed to be updated.

# Not a target:
/client/msg.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/base/game/bg_misc.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/base/game/g_weapon.d:
#  A default or MAKEFILES makefile.
#  Implicit rule search has been done.
#  File does not exist.
#  File has been updated.
#  Failed to be updated.

/client/cl_console.o: .svn/entries
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/client/qal.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/client/common.d:
#  A default or MAKEFILES makefile.
#  Implicit rule search has been done.
#  File does not exist.
#  File has been updated.
#  Failed to be updated.

# Not a target:
/base/cgame/cg_playerstate.o:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
/base/ui/bg_misc.d:
#  A default or MAKEFILES makefile.
#  Implicit rule search has been done.
#  File does not exist.
#  File has been updated.
#  Failed to be updated.

# Not a target:
/client/matha.d:
#  A default or MAKEFILES makefile.
#  Implicit rule search has been done.
#  File does not exist.
#  File has been updated.
#  Failed to be updated.

# Not a target:
/tools/cpp/lex.d:
#  A default or MAKEFILES makefile.
#  Implicit rule search has been done.
#  File does not exist.
#  File has been updated.
#  Failed to be updated.

# 737 files in 1007 hash buckets.
# average 0.732 files per bucket, max 6 files in one bucket.

# VPATH Search Paths

# No `vpath' search paths.

# No general (`VPATH' variable) search path.

# Finished Make data base on Tue Apr 15 21:46:10 2008

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Patching QVM Files
« Reply #5 on: April 16, 2008, 10:42:41 am »
Just delete your current mess and follow the tutorial already.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

benmachine

  • Posts: 915
  • Turrets: +99/-76
    • ben's machinery
Re: Patching QVM Files
« Reply #6 on: April 17, 2008, 12:09:02 am »
It sounds like your msys installation is insane.
I've never used msys myself so that's about all the help I can give.
benmachine