Mapster32 problems and bugs "Please post them exclusively here"
#451 Posted 08 July 2011 - 02:57 AM
#453 Posted 08 July 2011 - 04:16 AM
I want to get rid of the darkness in the distance, the same thing which moving the ambient light slider would do in eduke32.
Edit: nevermind, a google search revealed this piece of information to me:
Quote
This post has been edited by Micky C: 08 July 2011 - 04:22 AM
#455 Posted 09 July 2011 - 12:19 PM
I have read as much as I could on this and can't quite figure it out.
If I use Alt Tab, or press the Windows key, (or ~ to open console and free the mouse then minimize or just click taskbar and open another program) it crashes, aka (not responding), say %95 of the time. Sometimes even freezing the mouse forcing me to Ctrl - Alt - Del and close via keyboard.
The only thing I can run that isn't mapster32 is (via test mode) eduke32. When I come back to mapster the window is all white until I press esc. This sometimes crashes also %5. I am new to this and NEED to look things up from time to time (like always.)
I wish I could just minimize it!!!
p.s. I am running Windows 7 Home SP1 on a laptop
Windows changes video mode to run Mapster32 from ? to Windows 7 Basic
I run mapster in 1024 x 600 reolution (3d mode 32bpp)
Anytime I quit mapster I get a pop up message stating that it is has stopped working and asks if I want to close. (is this normal?) Then switches back video mode.
My Mapster32.log
This post has been edited by Drek: 09 July 2011 - 12:20 PM
#456 Posted 09 July 2011 - 12:27 PM
Drek, on 09 July 2011 - 12:19 PM, said:
That's a known issue that appears to happen only on Windows 7. Is that a 64-bit OS? Also, do you get a mapster32.crashlog file (it might be called eduke32.crashlog, IIRC)?
I deleted the other loose thread, because this is the right place to post it.
#457 Posted 09 July 2011 - 12:36 PM
Doing some testing with my screen resolution (lowering to 800 x 600) before starting mapster... looks promising.
This post has been edited by Drek: 09 July 2011 - 08:18 PM
#458 Posted 09 July 2011 - 05:01 PM
Mapster does not like the new Windows 7 feature Aero. This was causing the crash. When Mapster switches to 3d mode the Windows 7 Basic color scheme is opened. At this point issues start to crop up when leaving Mapster and running any other program as Aero turns back on and Mapster freezes (not responding.)
So my fix is. Turn Windows 7 Basic color on manually before running Mapster to prevent Aero from coming back to interfere with Mapster. I recommend this for any Windowed Game if you need higher performance. Aero uses a full gig of ram
OR > "I wrote" a fix. This will turn on Basic color, close the personalization window, then start Mapster32.exe
Open Notepad and copy these scripts
1st. Save this one as ChangeToBasic.vbs
Set Ws = WScript.CreateObject("WScript.Shell") Ws.Run "rundll32.exe %SystemRoot%\system32\shell32.dll,Control_RunDLL %SystemRoot%\system32\desk.cpl desk,@Themes /Action:OpenTheme /file:""%WinDir%\Resources\Ease of Access Themes\basic.theme""" Wscript.Sleep 1000 Ws.AppActivate("Desktop Properties") Ws.Sendkeys "%FC" Ws.Sendkeys "{F4}"
2nd. Save this one as Win7Mapster.js
var WindowStyle_Hidden = 0 var objShell = WScript.CreateObject("WScript.Shell") var result = objShell.Run("cmd.exe /c ChangeToBasic.vbs", WindowStyle_Hidden) var result = objShell.Run("cmd.exe /c mapster32.exe", WindowStyle_Hidden)
Run via Win7Mapster.js (with both files in your Mapster Directory.)
Still get occasional freezing on too many Alt - Tabs (did u know Alt + Tab was a command in Build??) or using the Windows button like everyone else.
I recommend > 2D mode > use ~ to open the console and free the mouse > DO NOT minimize Mapster.
And always save, just in case.
EDIT: You can use parts of that java code to make a batch-like file that will start Mapster with parameters you want, without opening the command prompt window.
Example: Change the line that calls mapster32.exe to something like this to open your map. (this will start mapster in The Red Light District)
var result = objShell.Run("cmd.exe /c mapster32.exe E1L2.map", WindowStyle_Hidden)
This post has been edited by Drek: 11 July 2011 - 04:03 AM
#459 Posted 09 July 2011 - 10:06 PM
#460 Posted 10 July 2011 - 07:35 AM
Micky C, on 09 July 2011 - 10:06 PM, said:
Yes the above method really does work (most of the time) Mapster was correct to disable Aero during 3d mode, but It really screws things up when Aero gets turned back on by another program while mapster is running in any mode. I would like to see a (P)ause option put in that is similar to what happens when (T)est is run. Eduke3d seems to be the only thing that will run %100 of the time without freezing Mapster (only via (T)est)
This post has been edited by Drek: 11 July 2011 - 04:09 AM
#461 Posted 11 July 2011 - 10:29 AM
But you already found the solution: Mapster32 has the option to pass additional parameters to EDuke32 when testing maps (set with 'testplay_addparam'), so what you could do is to pass something that will keep EDuke32 running but won't actually burn CPU cycles during that. My suggestion is to pass a clearly non-CON file to the -x option, so that you get an error box which you simply cancel when done with the stuff outside Mapster.
#462 Posted 20 July 2011 - 10:42 PM
defstate convertquakis set i 3622 whilevarn i 3779 { switch i case 3622 set j 3919 break case 3623 set j 3685 break default set j -1 break endswitch add i 1 } ends
With that state I get this error report:
Quote
enlightenconvert.m32:318: error: multiple `default' statements found in switch
default set j -1 break
|------>*
--- Found 1 errors.
EDIT: Yeah switches are broken and it's not just the default case thing. Even when they compile they don't seem to do anything.
EDIT2: nvm this one was my bad
EDIT3: And now I find that nested states do not work either. Or maybe they work but the value of i (or whatever variable is getting incremented) gets lost when entering the state. Fuck.
#463 Posted 21 July 2011 - 01:14 PM
(line 205) switch k // "break" breaks too far or there's something wrong with the switch -- needs to be looked at // case 0: break; case 1: {
The 'default' keyword is entirely untested.
But seeing people making serious use of the scripting system gives me some incentive to finally fix it for good!
#464 Posted 02 August 2011 - 09:42 AM
Speaking of the console, I just noticed that recent console entries are saved between sessions and you can cycle through them with the arrow keys. Nice.
#465 Posted 02 August 2011 - 10:30 AM
#466 Posted 03 August 2011 - 10:56 AM
DeeperThought, on 02 August 2011 - 09:42 AM, said:
Speaking of the console, I just noticed that recent console entries are saved between sessions and you can cycle through them with the arrow keys. Nice.
m32_autoexec.cfg is likely to help you with the first problem. Since I foresaw the reluctance of mappers to type in stuff at the console, there's osd_tryscript (in mapster32.cfg), which makes the 'do' OSD command redundant. As an added bonus, you don't even need to type 'state' then, but only when issuing commands from the OSD. Oh well, but these cute hacks are made insignificant by r1955 anyway...
Hendricks266, on 02 August 2011 - 10:30 AM, said:
Here, pk_quickmapcycling might help. When it's enabled, Ctrl-(Shift-)X loads the next (previous) map in a directory, so combined with a keystroke for a certain m32script state (installed into EVENT_KEYS2D) it's possible to tweak the maps to your heart's content at least semi-automatically. Together with Ctrl-S that makes three keystrokes per map.
edit: suggestion: Ctrl-D, I think that's not taken by anything.
#467 Posted 03 August 2011 - 11:32 AM
Helixhorned, on 03 August 2011 - 10:56 AM, said:
Thank you!! That will be a big help. Now I just need to actually write the code...
#468 Posted 07 August 2011 - 09:49 PM
#469 Posted 07 August 2011 - 11:02 PM
However I tried inserting a point on a wall, and it immediately crashed the program. So now I have nothing better to do than report it
Edit: it happened twice on the same wall, the second time I used the mapster32 debug exe and produced the following crashlog. There's really nothing else I can tell you, so if you think it warrants further investigation, I guess I'll have to send you my map and point out the wall.
0x465343 : C:\Users\Alan\Desktop\WGR2_SIEGEBREAKER_200\mapster32.debug. exe : Z:\var\www\synthesis\eduke32\eduke32\build/src/build. c (9319) : in function (AlignWalls) 0x465461 : C:\Users\Alan\Desktop\WGR2_SIEGEBREAKER_200\mapster32.debug. exe : Z:\var\www\synthesis\eduke32\eduke32\build/src/build. c (9331) : in function (AlignWallPoint2) 0x45e2a2 : C:\Users\Alan\Desktop\WGR2_SIEGEBREAKER_200\mapster32.debug. exe : Z:\var\www\synthesis\eduke32\eduke32\build/src/build. c (7316) : in function (insertpoint) 0x45b741 : C:\Users\Alan\Desktop\WGR2_SIEGEBREAKER_200\mapster32.debug. exe : Z:\var\www\synthesis\eduke32\eduke32\build/src/build. c (6390) : in function (overheadeditor) 0x4470a0 : C:\Users\Alan\Desktop\WGR2_SIEGEBREAKER_200\mapster32.debug. exe : Z:\var\www\synthesis\eduke32\eduke32\build/src/build. c (618) : in function (app_main) 0x4f5956 : C:\Users\Alan\Desktop\WGR2_SIEGEBREAKER_200\mapster32.debug. exe : Z:\var\www\synthesis\eduke32\eduke32\build/src/winlayer. c (494) : in function (WinMain@16) 0x538046 : C:\Users\Alan\Desktop\WGR2_SIEGEBREAKER_200\mapster32.debug. exe : main.c 0x4010db : C:\Users\Alan\Desktop\WGR2_SIEGEBREAKER_200\mapster32.debug. exe : crt1.c 0x401158 : C:\Users\Alan\Desktop\WGR2_SIEGEBREAKER_200\mapster32.debug. exe : crt1.c Failed to init bfd from (C:\Windows\syswow64\kernel32.dll) 0x7640339a : C:\Windows\syswow64\kernel32.dll : BaseThreadInitThunk Failed to init bfd from (C:\Windows\SysWOW64\ntdll.dll) 0x77119ed2 : C:\Windows\SysWOW64\ntdll.dll : RtlInitializeExceptionChain Failed to init bfd from (C:\Windows\SysWOW64\ntdll.dll) 0x77119ea5 : C:\Windows\SysWOW64\ntdll.dll : RtlInitializeExceptionChain
This post has been edited by Micky C: 08 August 2011 - 01:21 AM
#470 Posted 08 August 2011 - 10:08 AM
DeeperThought, on 07 August 2011 - 09:49 PM, said:
Yes, the {print/draw}whatever16 are for 2D mode, and the commands ending in 256 are for 3D mode. This naming convention is taken directly off the source, and made sense when "2D mode" meant "16 colors" and 3D mode was synonymous with 256 colors.
Micky C, on 07 August 2011 - 11:02 PM, said:
However I tried inserting a point on a wall, and it immediately crashed the program. So now I have nothing better to do than report it
Edit: it happened twice on the same wall, the second time I used the mapster32 debug exe and produced the following crashlog. There's really nothing else I can tell you, so if you think it warrants further investigation, I guess I'll have to send you my map and point out the wall.
Yep, feel free to spam me with maps anytime you want. I see now where the crash comes from, but since you didn't mention the revision number, I'm left to guess the exact line.
edit: it looks like you're using r1955 or r1956. Still, having all the data means I can pinpoint the exact cause of a crash, so a map would be appreciated.
edit2: if the cause was a wall with a void tilenum, it's fixed now.
#471 Posted 08 August 2011 - 02:53 PM
For what it's worth, I'm using version 1944 of Eduke.
This post has been edited by Marked: 08 August 2011 - 02:54 PM
#472 Posted 08 August 2011 - 10:40 PM
#473 Posted 11 August 2011 - 02:36 AM
I have a little noobish problem: I'm starting with mapster32, managed basic controls and started to make my first map. Only problem is I can't save it. I pressed Ctrl+S like a billion times but it didn't do anything. Do you know why, or what I'm doing wrong? Thx for help!
EDIT: few seconds aafter posting I figured it out (Esc and then S).
This post has been edited by BrzdaCZ: 11 August 2011 - 02:38 AM
#474 Posted 11 August 2011 - 07:14 AM
BrzdaCZ, on 11 August 2011 - 02:36 AM, said:
I have a little noobish problem: I'm starting with mapster32, managed basic controls and started to make my first map. Only problem is I can't save it. I pressed Ctrl+S like a billion times but it didn't do anything. Do you know why, or what I'm doing wrong? Thx for help!
EDIT: few seconds aafter posting I figured it out (Esc and then S).
http://infosuite.duke4.net/
Read the guide, it will help you enormously.
#476 Posted 11 August 2011 - 02:25 PM
#477 Posted 12 August 2011 - 09:57 AM
#478 Posted 18 August 2011 - 11:05 PM
Edit: I can't seem to collapse ANY verticies in my current map. It's asking me to delete or join the sector instead, which is impossible since it's two lone verticies on a wall. I'll see if I can get a log to upload. I'm using r1971.
http://pastebin.com/raw.php?i=5pkr7Aav
This post has been edited by Micky C: 19 August 2011 - 12:50 AM
#479 Posted 19 August 2011 - 03:22 AM
#480 Posted 19 August 2011 - 02:07 PM
Edit: yep, it's definitely only my map. I'll see if I can get an older copy to work.
2nd edit: wow, now my current map and a backup map have lost all their sprites. Every time I try to select all the sprites on another backup map with right shift, mapster32 stops responding. You know what would be really handy? A feature where you can copy every sprite from one map directly into another without having to fiddle around with anything. Because there are times when all the sprites get deleted, usually from using the undo feature, and by the time you've realized, the autosave is saved over, and you've done too much work to go back to an old copy. So such a feature would be very useful.
So now my map has no sprites and I can't collapse verticies
Edit again: never mind, I'll suck it up do the extra hour's work on a further backup to get it back to where I was before. You've already helped more than enough.
This post has been edited by Micky C: 19 August 2011 - 06:22 PM