Author Topic: Compiled bytecode.  (Read 5762 times)

Phenax

  • Posts: 49
  • Turrets: +0/-0
Compiled bytecode.
« on: July 10, 2006, 11:33:53 pm »
Hello, I am having a problem. When starting up, Tremulous states that there are no bytecode compilers for my architecture (x86_64), and then it goes and uses interpreted (Slow, buggy).

I'm on Linux, x86_64. Icculus states that with GNU tools, you can compile the bytecode on x86_64. Help would be appreciated, from the laggy-ass warning-spammed playing I've had, it was pretty fun.  :)

Code: [Select]

Loading vm file vm/ui.qvm...
...which has vmMagic VM_MAGIC_VER2
Loading 1075 jump table targets
Architecture doesn't have a bytecode compiler, using interpreter
ui loaded in 5790560 bytes on the hunk


I'm on your IRC Channel, if you'd like to help me thar.  :D

*NOTE*
I'm compiling this myself.

dolby

  • Posts: 139
  • Turrets: +2/-1
    • http://www.tremulous.net
Re: Compiled bytecode.
« Reply #1 on: July 11, 2006, 12:58:09 am »
Quote from: "Phenax"
Hello, I am having a problem. When starting up, Tremulous states that there are no bytecode compilers for my architecture (x86_64), and then it goes and uses interpreted (Slow, buggy).

I'm on Linux, x86_64. Icculus states that with GNU tools, you can compile the bytecode on x86_64. Help would be appreciated, from the laggy-ass warning-spammed playing I've had, it was pretty fun.  :)

Code: [Select]

Loading vm file vm/ui.qvm...
...which has vmMagic VM_MAGIC_VER2
Loading 1075 jump table targets
Architecture doesn't have a bytecode compiler, using interpreter
ui loaded in 5790560 bytes on the hunk


I'm on your IRC Channel, if you'd like to help me thar.  :D

*NOTE*
I'm compiling this myself.


Well,... sigh.  Ok well I am associate linux person so I help.

Here's to do:

First use /make sh ++i -u compile_all

Now prompt asks you quesitons like 'how does file want to be?'

you say '/sh conf^ shellscript activex component create IE7'

Once you have complied your new webs berowers you can now donloads real toolls like visual basics from Microsofts:

http://wwww.ww..visualstudios.com

Run virus checks!

Now, go to start -> programs files -> visual basics profesisional edition

now click file -<> open

now go file _> run all

Now it worsk let me know if itdesont'?
olby
Sound Engineer

Phenax

  • Posts: 49
  • Turrets: +0/-0
Compiled bytecode.
« Reply #2 on: July 11, 2006, 01:15:17 am »
I will just download x86 binary.. There are no x86_64 bytecode compilers.

stahlsau

  • Posts: 160
  • Turrets: +1/-1
Compiled bytecode.
« Reply #3 on: July 11, 2006, 07:00:22 am »
if you get it to work, please tell me. I tried it too and well..it compiled, but i couldn'T run nor install it...maybe i missed a step.

Phenax

  • Posts: 49
  • Turrets: +0/-0
Compiled bytecode.
« Reply #4 on: July 11, 2006, 07:23:17 am »
Just get it from the main website. It works fine.

stahlsau

  • Posts: 160
  • Turrets: +1/-1
Compiled bytecode.
« Reply #5 on: July 11, 2006, 07:26:06 am »
Quote
Just get it from the main website. It works fine.

hehe...i meant the sources ;)

Phenax

  • Posts: 49
  • Turrets: +0/-0
Compiled bytecode.
« Reply #6 on: July 11, 2006, 08:58:33 am »
Well, I just compile it with GCC. Ignore the German..
Anyway, my problem was that the game was being interpreted because x86_64 doesn't have a QC interpreter.

stahlsau

  • Posts: 160
  • Turrets: +1/-1
Compiled bytecode.
« Reply #7 on: July 11, 2006, 10:26:03 am »
mmh..yeah. I see i have to be more clear.
I could compile it (just execute "make"). Then i got an executable and some other files, and i had no idea what to do with them. There was no install script for a "make install" or s/t. I suppose i have to merge/copy the executables to the datafiles, but i couldnt get it to work. Any help where i have to copy which files would be helpful...or a link to a howto.

Normally i'm not too dumb to compile and install a software...this seems to be a special case ;)

Teiman

  • Posts: 286
  • Turrets: +0/-0
Compiled bytecode.
« Reply #8 on: July 11, 2006, 12:24:56 pm »
Quote from: "stahlsau"
mmh..yeah. I see i have to be more clear.
I could compile it (just execute "make"). Then i got an executable and some other files, and i had no idea what to do with them. There was no install script for a "make install" or s/t. I suppose i have to merge/copy the executables to the datafiles, but i couldnt get it to work. Any help where i have to copy which files would be helpful...or a link to a howto.

Normally i'm not too dumb to compile and install a software...this seems to be a special case ;)


seems that you can move the tremulous.x86 executable to your game folder, manually, also you can move the cgame and other .so/.qvm files yo the base folder on your game, then create a vm folder, move the filere there, and zip that folder, rename that zip file whatever.pk3 will be loaded. Then rename the old vms.pk3 file to something else withouth pk3 extension vms.pk3_old so only your new stuff is loaded.

I am newbie on Quake3 stuff, and have just learned that this week-end :D

maybe theres a better way (editing script so make will place your files on the correct folder, who know?).

stahlsau

  • Posts: 160
  • Turrets: +1/-1
Compiled bytecode.
« Reply #9 on: July 11, 2006, 01:15:28 pm »
mmh, ok, i'll try that. Maybe i can come up with an installscript if there isn't any better solution to do this.

Teiman

  • Posts: 286
  • Turrets: +0/-0
Compiled bytecode.
« Reply #10 on: July 11, 2006, 03:18:20 pm »
Quote from: "stahlsau"
mmh, ok, i'll try that. Maybe i can come up with an installscript if there isn't any better solution to do this.


Theres a Quake3 forum for enginecoders here