Duke4.net Forums: Imagination World v2.1 on Linux not working - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Imagination World v2.1 on Linux not working  "Imagination World v2.1 on Linux not working"

User is offline   mustdos 

#1

I downloaded and patched the Imagination World v2 to 2.1, copied the eduke32 source code to it and compiled it

Got the error GAME.CON not found so I renamed GAME.con to GAME.CON

and now, I'm getting this error

mustdos@antix1:~/Desktop/Extras/mustdos/Games/IW version 2 linux
$ ./eduke32
runtime src|
ATTENTION: default value of option mesa_glthread overridden by environment.
0.1346s INFO| Started at 2022-05-24 22:57:24.494
0.1347s INFO| EDuke32 r(?)
0.1348s INFO| Built May 24 2022 22:41:09, GCC 10.2.1, 64-bit
0.1349s INFO| Using directory /usr/local/share/games/eduke32/
0.1349s INFO| Using directory /home/mustdos/Desktop/Extras/mustdos/Games/IW version 2 linux/
0.1350s INFO| Using directory /home/mustdos/.config/eduke32/
0.1372s INFO| CPU: Intel® Core™ i5-3210M CPU @ 2.50GHz
0.1373s INFO| Initializing SDL 2.0.14
0.2446s INFO| Using 'x11' video driver.
0.2448s GFX| Detecting video modes for display 0 (0)...
0.2645s INFO| Searching for game data...
6.8891s INFO| Using duke3d.grp as main data file.
6.9100s CON| Compiling: GAME.CON (257340 bytes)
6.9151s CON| Including: DEFS.CON (54361 bytes)
6.9153s WARN| DEFS.CON:9: ignored redefinition of 'PROJ_WORKSLIKE' to 1 (old: 0).
6.9154s WARN| DEFS.CON:10: ignored redefinition of 'PROJ_SPAWNS' to 2 (old: 1).
6.9154s WARN| DEFS.CON:11: ignored redefinition of 'PROJ_SXREPEAT' to 3 (old: 2).
6.9155s WARN| DEFS.CON:12: ignored redefinition of 'PROJ_SYREPEAT' to 4 (old: 3).
6.9156s WARN| DEFS.CON:13: ignored redefinition of 'PROJ_SOUND' to 5 (old: 4).
6.9156s WARN| DEFS.CON:14: ignored redefinition of 'PROJ_ISOUND' to 6 (old: 5).
6.9157s WARN| DEFS.CON:15: ignored redefinition of 'PROJ_VEL' to 7 (old: 6).
6.9158s WARN| DEFS.CON:16: ignored redefinition of 'PROJ_EXTRA' to 8 (old: 7).
6.9158s WARN| DEFS.CON:17: ignored redefinition of 'PROJ_DECAL' to 9 (old: 8).
6.9159s WARN| DEFS.CON:18: ignored redefinition of 'PROJ_TRAIL' to 10 (old: 9).
6.9160s WARN| DEFS.CON:19: ignored redefinition of 'PROJ_TXREPEAT' to 11 (old: 10).
6.9160s WARN| DEFS.CON:20: ignored redefinition of 'PROJ_TYREPEAT' to 12 (old: 11).
6.9161s WARN| DEFS.CON:21: ignored redefinition of 'PROJ_TOFFSET' to 13 (old: 12).
6.9162s WARN| DEFS.CON:22: ignored redefinition of 'PROJ_TNUM' to 14 (old: 13).
6.9163s WARN| DEFS.CON:23: ignored redefinition of 'PROJ_DROP' to 15 (old: 14).
6.9163s WARN| DEFS.CON:24: ignored redefinition of 'PROJ_CSTAT' to 16 (old: 15).
6.9164s WARN| DEFS.CON:25: ignored redefinition of 'PROJ_CLIPDIST' to 17 (old: 16).
6.9165s WARN| DEFS.CON:26: ignored redefinition of 'PROJ_SHADE' to 18 (old: 17).
6.9165s WARN| DEFS.CON:27: ignored redefinition of 'PROJ_XREPEAT' to 19 (old: 18).
6.9166s WARN| DEFS.CON:28: ignored redefinition of 'PROJ_YREPEAT' to 20 (old: 19).
6.9167s WARN| DEFS.CON:29: ignored redefinition of 'PROJ_PAL' to 21 (old: 20).
6.9168s WARN| DEFS.CON:30: ignored redefinition of 'PROJ_EXTRA_RAND' to 22 (old: 21).
6.9168s WARN| DEFS.CON:31: ignored redefinition of 'PROJ_HITRADIUS' to 23 (old: 22).
6.9169s WARN| DEFS.CON:32: ignored redefinition of 'PROJ_VEL_MULT' to 24 (old: 23).
6.9170s WARN| DEFS.CON:33: ignored redefinition of 'PROJ_OFFSET' to 25 (old: 24).
6.9170s WARN| DEFS.CON:34: ignored redefinition of 'PROJ_BOUNCES' to 26 (old: 25).
6.9171s WARN| DEFS.CON:35: ignored redefinition of 'PROJ_BSOUND' to 27 (old: 26).
6.9181s WARN| DEFS.CON:701: label starts with a digit!
6.9193s WARN| DEFS.CON:1618: ignored redefinition of 'STEP2' to 680 (old: 503).
6.9195s ERR| GAME.CON:21: could not find file IWVARE.CON
6.9196s CON| Including: USER.CON (71629 bytes)
6.9207s WARN| USER.CON:952: overwriting existing definition for sound #261 (hydro43.voc)
6.9216s CON| Including: dukebike.con (79390 bytes)
6.9284s ERR| GAME.CON:24: could not find file IWOBJECT.CON
6.9286s ERR| GAME.CON:25: could not find file IWEXTR.CON
6.9287s ERR| GAME.CON:26: could not find file IWWEP.CON
6.9288s ERR| GAME.CON:27: could not find file IWSCENE.CON
6.9289s CON| Including: IWCOMP.CON (7494 bytes)
6.9290s CON| IWCOMP.CON: In state 'UPGRADES_INTERFACE':
6.9290s ERR| IWCOMP.CON:43: symbol 'DMTKILLCOUNT' is not a variable.
6.9291s ERR| IWCOMP.CON:45: symbol 'DMTKILLCOUNT' is not a variable.
6.9291s ERR| IWCOMP.CON:47: symbol 'DMCHAR' is not a variable.
6.9292s ERR| IWCOMP.CON:58: symbol 'GOVTUPG' is not a variable.
6.9293s ERR| IWCOMP.CON:58: symbol 'MOUSEX' is not a variable.
6.9293s ERR| IWCOMP.CON:59: symbol 'MOUSEY' is not a variable.
6.9294s ERR| IWCOMP.CON:60: symbol 'MOUSEX' is not a variable.
6.9295s ERR| IWCOMP.CON:61: symbol 'MOUSEY' is not a variable.
6.9295s ERR| IWCOMP.CON:65: symbol 'GOVTUPG' is not a variable.
6.9296s ERR| IWCOMP.CON:71: symbol 'MOUSEX' is not a variable.
6.9296s ERR| IWCOMP.CON:72: symbol 'MOUSEY' is not a variable.
6.9297s ERR| IWCOMP.CON:73: symbol 'MOUSEX' is not a variable.
6.9297s ERR| IWCOMP.CON:74: symbol 'MOUSEY' is not a variable.
6.9297s ERR| IWCOMP.CON:78: symbol 'GOVTUPG' is not a variable.
6.9298s ERR| IWCOMP.CON:84: symbol 'MOUSEX' is not a variable.
6.9298s ERR| IWCOMP.CON:85: symbol 'MOUSEY' is not a variable.
6.9299s ERR| IWCOMP.CON:86: symbol 'MOUSEX' is not a variable.
6.9299s ERR| IWCOMP.CON:87: symbol 'MOUSEY' is not a variable.
6.9300s ERR| IWCOMP.CON:91: symbol 'GOVTUPG' is not a variable.
6.9300s ERR| IWCOMP.CON:99: symbol 'DMCHAR' is not a variable.
6.9300s ERR| IWCOMP.CON:109: symbol 'MAGNUSUPG' is not a variable.
6.9301s ERR| IWCOMP.CON:109: symbol 'MOUSEX' is not a variable.
6.9301s ERR| IWCOMP.CON:110: symbol 'MOUSEY' is not a variable.
6.9302s ERR| IWCOMP.CON:111: symbol 'MOUSEX' is not a variable.
6.9302s ERR| IWCOMP.CON:112: symbol 'MOUSEY' is not a variable.
6.9302s ERR| IWCOMP.CON:116: symbol 'MAGNUSUPG' is not a variable.
6.9303s ERR| IWCOMP.CON:119: symbol 'MAGNUSAK74C' is not a variable.
6.9303s ERR| IWCOMP.CON:119: symbol 'INVENSIZE' is not a variable.
6.9304s ERR| IWCOMP.CON:120: symbol 'MAGNUSAK74C' is not a variable.
6.9304s ERR| IWCOMP.CON:120: symbol 'INVENSIZE' is not a variable.
6.9304s ERR| IWCOMP.CON:123: symbol 'MOUSEX' is not a variable.
6.9305s ERR| IWCOMP.CON:124: symbol 'MOUSEY' is not a variable.
6.9305s ERR| IWCOMP.CON:125: symbol 'MOUSEX' is not a variable.
6.9306s ERR| IWCOMP.CON:126: symbol 'MOUSEY' is not a variable.
6.9306s ERR| IWCOMP.CON:130: symbol 'MAGNUSUPG' is not a variable.
6.9307s ERR| IWCOMP.CON:133: symbol 'INVENSIZE' is not a variable.
6.9307s ERR| IWCOMP.CON:138: symbol 'DMCHAR' is not a variable.
6.9307s ERR| IWCOMP.CON:149: symbol 'JAMESUPG' is not a variable.
6.9308s ERR| IWCOMP.CON:149: symbol 'MOUSEX' is not a variable.
6.9308s ERR| IWCOMP.CON:150: symbol 'MOUSEY' is not a variable.
6.9309s ERR| IWCOMP.CON:151: symbol 'MOUSEX' is not a variable.
6.9309s ERR| IWCOMP.CON:152: symbol 'MOUSEY' is not a variable.
6.9309s ERR| IWCOMP.CON:156: symbol 'JAMESUPG' is not a variable.
6.9310s ERR| IWCOMP.CON:162: symbol 'MOUSEX' is not a variable.
6.9310s ERR| IWCOMP.CON:163: symbol 'MOUSEY' is not a variable.
6.9311s ERR| IWCOMP.CON:164: symbol 'MOUSEX' is not a variable.
6.9311s ERR| IWCOMP.CON:165: symbol 'MOUSEY' is not a variable.
6.9311s ERR| IWCOMP.CON:169: symbol 'JAMESUPG' is not a variable.
6.9312s ERR| IWCOMP.CON:172: symbol 'INVENSIZE' is not a variable.
6.9312s ERR| IWCOMP.CON:175: symbol 'MOUSEX' is not a variable.
6.9313s ERR| IWCOMP.CON:176: symbol 'MOUSEY' is not a variable.
6.9313s ERR| IWCOMP.CON:177: symbol 'MOUSEX' is not a variable.
6.9313s ERR| IWCOMP.CON:178: symbol 'MOUSEY' is not a variable.
6.9314s ERR| IWCOMP.CON:182: symbol 'JAMESUPG' is not a variable.
6.9314s ERR| IWCOMP.CON:185: symbol 'INVENSIZE' is not a variable.
6.9315s ERR| IWCOMP.CON:190: symbol 'DMCHAR' is not a variable.
6.9315s ERR| IWCOMP.CON:201: symbol 'EPSILONUPG' is not a variable.
6.9316s ERR| IWCOMP.CON:201: symbol 'MOUSEX' is not a variable.
6.9316s ERR| IWCOMP.CON:202: symbol 'MOUSEY' is not a variable.
6.9316s ERR| Excessive script errors.
6.9318s ERR| Found 30 warning(s), 64 error(s).
6.9319s INFO| Error compiling CON files.
1

User is offline   LeoD 

  • Duke4.net topic/3513

#2

View Postmustdos, on 24 May 2022 - 12:04 PM, said:

I downloaded and patched the Imagination World v2 to 2.1, copied the eduke32 source code to it and compiled it

Got the error GAME.CON not found so I renamed GAME.con to GAME.CON

and now, I'm getting this error
Rename all con files to upper case, except for dukebike.con. The same issue may occur with other contents, though.
1

User is offline   mustdos 

#3

View PostLeoD, on 24 May 2022 - 06:29 PM, said:

Rename all con files to upper case, except for dukebike.con. The same issue may occur with other contents, though.


Got the error:
6.8067s WARN| DEFS.CON:1618: ignored redefinition of 'STEP2' to 680 (old: 503).
6.8070s CON| Including: IWVARE.CON (22198 bytes)
6.8112s CON| IWVARE.CON: In actor 'GASGRENADE':
6.8114s ERR| IWVARE.CON:311: invalid quote
6.8122s CON| Including: USER.CON (71629 bytes)
6.8132s WARN| USER.CON:952: overwriting existing definition for sound #261 (hydro43.voc)
6.8139s CON| Including: dukebike.con (79390 bytes)
6.8206s CON| Including: IWOBJECT.CON (17214 bytes)
6.8214s CON| Including: IWEXTR.CON (71184 bytes)
6.8241s CON| Including: IWWEP.CON (73005 bytes)
6.8254s WARN| IWWEP.CON:1146: ignored redefinition of 'NORMALSIZE' to 65536 (old: 66638).
6.8273s CON| Including: IWSCENE.CON (14109 bytes)
6.8280s CON| Including: IWCOMP.CON (7494 bytes)
6.8342s CON| GAME.CON: In state 'troopshootstate':
6.8343s WARN| GAME.CON:8673: found 'else' with no 'if'
6.8347s CON| GAME.CON: In state 'lizseekstate':
6.8348s WARN| GAME.CON:9050: found 'else' with no 'if'
6.8349s CON| GAME.CON: In state 'liz_hurt_seekstate':
6.8349s WARN| GAME.CON:9101: found 'else' with no 'if'
6.8356s CON| GAME.CON: In state 'CITYGfleeenemystate':
6.8357s WARN| GAME.CON:9749: found 'else' with no 'if'
6.8364s CON| GAME.CON: In state 'checkcommhitstate':
6.8364s WARN| GAME.CON:10803: found 'else' with no 'if'
6.8380s ERR| Found 36 warning(s), 1 error(s).
6.8380s INFO| Error compiling CON files.




It says in this line { IWVARE.CON:311: invalid quote} : ifpdistl 4500 { palfrom 20 0 20 0 soundonce COUGHGAS quote 210 }

This post has been edited by mustdos: 25 May 2022 - 08:20 AM

1

User is offline   LeoD 

  • Duke4.net topic/3513

#4

View Postmustdos, on 25 May 2022 - 08:19 AM, said:

It says in this line { IWVARE.CON:311: invalid quote} : ifpdistl 4500 { palfrom 20 0 20 0 soundonce COUGHGAS quote 210 }
The referred sound file won't play because coughg.wav doesn't exist. The other warnings refer to the normal behaviour of the game. Even the original game's CONs will trigger similar ones. -> Everything should be OK.
1

User is online   Sangman 

#5

It's not entirely clear to me which revision of Eduke32 you're using for your build, but be aware that more recent versions of it have extra CON code validations that are not compatible with IW. Unless I'm misreading what you're doing you should use the source from an earlier revision. The binary included in a patch on Moddb (for Windows that is) is r6490. Alternatively, you can try just fixing that invalid quote error it throws up (seems to be the only thing preventing it from starting) but it's quite likely other things will be busted. Still, probably worth a shot.
2

User is offline   LeoD 

  • Duke4.net topic/3513

#6

View PostSangman, on 25 May 2022 - 02:16 PM, said:

It's not entirely clear to me which revision of Eduke32 you're using for your build
The log file format implies recent or latest sources.

View PostLeoD, on 25 May 2022 - 01:37 PM, said:

The referred sound file won't play because coughg.wav doesn't exist. The other warnings refer to the normal behaviour of the game. Even the original game's CONs will trigger similar ones. -> Everything should be OK.
Sorry, I didn't realize it was an actual error, not just a warning. Unpack the attached dummy sound file (1 second of silence) into your IW folder to fix.

Attached File(s)

  • Attached File  coughg.zip (193bytes)
    Number of downloads: 124

1

User is offline   mustdos 

#7

Tried to remove that line. Game runs, but no music and a lot of graphical glitches.

Tried to compile the 2011 version of eduke32 into it and got this error

In file included from source/sdlmusic.c:36:
build/include/sdl_inc.h:33:12: fatal error: SDL_mixer.h: No such file or directory
33 | # include "SDL_mixer.h"
| ^~~~~~~~~~~~~
compilation terminated.
Failed building obj/sdlmusic.o from source/sdlmusic.c!
make: *** [Makefile:257: obj/sdlmusic.o] Error 1

Despite having SDL2 installed on my system AntiX
0

User is offline   mustdos 

#8

Note that I did a clean "reinstall" of my IW2 folder + update patch
0

User is offline   LeoD 

  • Duke4.net topic/3513

#9

The 2011 sources probably require SDL 1.2. You'd need to install SDL 1.2 + dev package(s) I assume.
I'd recommend trying r6491, though, or latest. (r6490 was reverted the very next day.)
0

User is offline   mustdos 

#10

View PostLeoD, on 26 May 2022 - 09:47 AM, said:

The 2011 sources probably require SDL 1.2. You'd need to install SDL 1.2 + dev package(s) I assume.
I'd recommend trying r6491, though, or latest. (r6490 was reverted the very next day.)


Tried that. Game runs, but no music and a lot of graphical glitches

Guess I should install an older Linux version or Windows on a virtual machine and hope it works.

Unless there's some other way
0

User is offline   LeoD 

  • Duke4.net topic/3513

#11

Just tried this myself (Win10/64), and it crashes the shit out of me (svn6491 debug, r10066 debug, and a few others): sound mess-up which required reboot, debug-assertions, mimalloc errors, NVIDIA/OpenGL out-of-memory, etc. :dukenegative:
Seems unplayable for me. I've even found a batch file hinting that I tried to retrieve debug data back in 2010...
No unexpected graphical glitches, though.
For completeness' sake: fixing 'invalid sound' leads to 'invalid quote'. Can be fixed by adding "definequote 210 # Better stay away..." before IWVARE.CON's line 311. Or by having GAME.CON include USER.CON prior to IWVARE.CON.
Giving up.
0

User is offline   mustdos 

#12

Thanks for the help anyways. I remember It ran better back on Windows 7, but didn't have time to complete it.
0

User is online   Sangman 

#13

Weird, I just tried it on my end (Win10, 64 bit) and it works just fine.

This post has been edited by Sangman: 29 May 2022 - 01:27 PM

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options