The epic adventures of an OS X mapmaker

thaumiel

L1: Registered
May 9, 2012
28
7
The epic adventures of an OS X mapmaker-wannabe

so I always wanted to make tf2 maps but was disheartened that I couldn't do so without installing windows (a thing I cannot afford to buy) and running it through boot camp or whatever, and sighed wistfully every time i saw people complaining about cubemaps or whatever. you think you have problems? geez!

then by chance I came across mention of a tool called wineskin that was supposedly designed around letting the mac user untermensch play video games like their superior aryan pc gamer cousins. "hmm," i said, "this looks interesting." after about an hour of letting it configure things for me i could run source sdk. shortly thereafter, as soon as I decided to sacrifice the extra 15 gb of hard disk space to install tf2 on its phantom c drive, i could run hammer as well... at 182% CPU.

"might need to get that looked at" I said whilst frantically force-quitting every other open application except chrome and activity monitor and pausing the seemingly-endless tf2 download.

the next time hammer opened it looked almost normal. except there weren't any icons down the right hand side and the error message window seemed to be taking ages to load. I didn't notice this at first being tickled by how much the windows looked like the ones on my first ever computer which ran windows 98. how quaint! the console windows are even using courier! OMG!

soon it became apparent that whilst hammer would run, you couldn't actually create any maps. it quit immediately on trying to do so. opening a file would give you false hope as it read the chunks and the name of the file appeared in the top bar... but nooo. somehow through the shield of wrappers the vmf files divined my inferior software and chose to die with honour rather than live under the jackboot of eternal president steve jobs (r.i.p.).

now i am restarting the tf2 download out of the hope that maybe you need to have the entire game installed in program files for it to work... sacrifices have to be made I guess. maybe if it works better run under an emulator I can uninstall the one in my osx home folder and play it exclusively whilst pretending to be a pc gamer like everyone else.

further epic adventures coming after I actually open a file successfully and undoubtedly run into all sorts of hilarious errors that no one here can actually help me with ;)

edit: this may actually go in new users/introductions but meh, I'm sure questions will materialise quite rapidly in the course of this marvelous misadventure because i have never actually done this before :|
 
Last edited:

Freyja

aa
Jul 31, 2009
2,994
5,813
You think you have problems? I was a mac gamer before boot camp even existed, and wine was still a fantasy. Back then you had to use a hacked version of cider on your games, and then IF your game worked it'd be riddled with problems. And that only worked of you had an INTEL computer, which I did not, back then.

Anyway, Hi. I recommend you just save up for a copy of windows, or even find a copy of XP (I'm sure hundreds of people have them lying around, or you could buy one for fairly cheap, I'm sure)
 

thaumiel

L1: Registered
May 9, 2012
28
7
ah yes, the ancient days, when I couldn't even send files to PC users half the time... ah, the nostalgia. Thanks for the welcome. I'm sure that now that Vista has been superseded XP will no longer be going for even more than the latest version...

i have also noticed that my mouse, she is in a fashion most weird behaving (within the fake windows environment anyway). clicks do not register half the time. running tf2 under an emulator I spawn pointed permanently at the ceiling—trying to move the camera down results in it jumping back up. everything else seems to work fine. but faced with the prospect of a superior operating system even my hardware abandons me. traitors!

wine spat up the following error at me:

Unhandled exception: page fault on read access to 0xc9850849 in 32-bit code (0xc9850849).
Register dump:
CS:001b SS:0023 DS:0023 ES:0023 FS:1007 GS:000f
EIP:c9850849 ESP:0033f2ac EBP:0033f2c8 EFLAGS:00010246( R- -- I Z- -P- )
EAX:0033f2b8 EBX:46227b10 ECX:46227b10 EDX:00200000
ESI:00000000 EDI:4736a77d
Stack dump:
0x0033f2ac: 47734044 0033f2b8 0033f3b8 46227b10
0x0033f2bc: 412ede00 0033f2e8 0033f54c 0033f2f8
0x0033f2cc: 964ca634 0033f2e8 0033f3b8 0033f2f8
0x0033f2dc: acaf3360 964ca549 00000000 402345f0
0x0033f2ec: 00000000 964cdd09 0033f54c 0033f508
0x0033f2fc: 964ce6e1 00000000 0033f3b8 40234060
0200: sel=1007 base=7ffc0000 limit=00000fff 32-bit rw-
Backtrace:
=>0 0xc9850849 (0x0033f2c8)
1 0x964ca634 (0x0033f2f8)
2 0x964ce6e1 (0x0033f508)
3 0x964c46f6 (0x0033f528)
4 0x47348f61 in <wine-loader> (+0x47348f60) (0x0033f658)
5 0x47347588 in <wine-loader> (+0x47347587) (0x0033f698)
6 0x47350003 in <wine-loader> (+0x47350002) (0x0033f6f8)
7 0x4734c741 in <wine-loader> (+0x4734c740) (0x0033f738)
8 0x4734cb27 in <wine-loader> (+0x4734cb26) (0x0033f798)
9 0x43d55f94 in <wine-loader> (+0x43d55f93) (0x0033f7c8)
10 0x43d5ff35 in <wine-loader> (+0x43d5ff34) (0x0033f828)
11 0x40786172 in <wine-loader> (+0x40786171) (0x0033f868)
12 0x47262bbd in <wine-loader> (+0x47262bbc) (0x0033fd18)
13 0x472ef693 in <wine-loader> (+0x472ef692) (0x0033fd68)
14 0x471cad86 in <wine-loader> (+0x471cad85) (0x0033fdb8)
15 0x0045ca19 in gameoverlayrenderer (+0x2ca18) (0x0033feb0)
16 0x7b84e83c in kernel32 (+0x3e83b) (0x0033fec8)
17 0x7b851897 in kernel32 (+0x41896) (0x0033ff08)
18 0x7bc64eec in <wine-loader> (+0x7bc64eeb) (0x0033ff28)
19 0x7bc6600a in <wine-loader> (+0x7bc66009) (0x0033ffa8)
20 0x7bc64eb2 in <wine-loader> (+0x7bc64eb1) (0x0033ffc8)
21 0x7bc3e48e in <wine-loader> (+0x7bc3e48d) (0x0033ffe8)
0xc9850849: -- no code accessible --
Modules:
Module Address Debug info Name (48 modules)
ELF 0-7bf03000 Stabs <wine-loader>
PE 340000- 383000 Deferred tier0
PE 3b0000- 3d0000 Deferred inputsystem
PE 400000- 429000 Deferred hammer
PE 430000- 4c2000 Deferred gameoverlayrenderer
PE c0c0000- c114000 Deferred filesystem_steam
PE c270000- c394000 Deferred materialsystem
PE d3a0000- d7a3000 Deferred studiorender
PE d7b0000- d8a1000 Deferred vphysics
PE d8b0000- d8ef000 Deferred datacache
PE d8f0000- da40000 Deferred vguimatsurface
PE da40000- e726000 Deferred libcef
PE e840000- e899000 Deferred vgui2
PE e8a0000- ecfb000 Deferred hammer_dll
PE eea0000- f02c000 Deferred shaderapidx9
PE 10000000-1005d000 Deferred vstdlib
PE 30000000-302d8000 Deferred steam
PE 3b400000-3b41e000 Deferred steam_api
PE 401a0000-401a4000 Deferred version
PE 401c0000-401c4000 Deferred ws2_32
PE 40490000-40494000 Deferred advapi32
PE 40710000-40714000 Deferred gdi32
PE 407e0000-407e4000 Deferred msacm32
PE 42710000-4271b000 Deferred winmm
PE 42750000-42754000 Deferred rpcrt4
PE 427e0000-427e4000 Deferred imm32
PE 43a10000-43a3e000 Deferred user32
PE 43b50000-43b58000 Deferred ole32
PE 43d30000-43d34000 Deferred winex11
PE 43f40000-43f44000 Deferred shlwapi
PE 43fc0000-43fc4000 Deferred uxtheme
PE 43ff0000-43ff4000 Deferred psapi
PE 457b0000-457b3000 Deferred secur32
PE 457e0000-457e4000 Deferred iphlpapi
PE 461d0000-461d3000 Deferred netapi32
PE 46310000-4641e000 Deferred shell32
PE 46500000-46520000 Deferred comctl32
PE 466a0000-466a7000 Deferred oleaut32
PE 467c0000-467c7000 Deferred winhttp
PE 47010000-47013000 Deferred usp10
PE 47040000-47044000 Deferred winspool
PE 47080000-47092000 Deferred comdlg32
PE 470f0000-470f6000 Deferred crypt32
PE 471b0000-471b4000 Deferred oleacc
PE 471c0000-471c4000 Deferred d3d9
PE 47200000-47204000 Deferred wined3d
PE 7b810000-7b999000 Deferred kernel32
PE 7bc10000-7bc14000 Deferred ntdll
Threads:
process tid prio (all id:s are in hex)
00000008 Steam.exe
0000006c 1
0000006b 1
0000006a 1
00000069 1
00000068 1
00000060 1
00000019 1
00000067 1
00000066 1
00000065 1
00000064 1
00000061 1
00000057 1
00000053 0
00000052 1
0000004f 0
0000004e 0
0000004c 0
0000004b 0
0000004a 1
00000049 1
00000048 0
0000003e 0
00000039 0
00000026 0
0000000d 0
0000000b 0
00000047 0
00000046 0
00000045 0
00000044 0
00000043 0
00000042 0
00000041 0
00000040 0
0000003f 0
0000003d 0
0000003c 0
0000003b 0
0000003a 0
00000038 0
00000037 0
00000036 0
00000035 0
00000034 0
00000033 0
00000032 0
00000031 0
00000030 0
0000002f 0
0000002e 0
0000002d 0
0000002c 0
0000002b 0
0000002a 0
00000029 0
00000028 0
00000027 0
00000025 0
00000024 0
00000009 0
0000000e services.exe
0000001f 0
0000001e 0
00000015 0
00000010 0
0000000f 0
00000012 winedevice.exe
00000021 0
0000001a 0
00000014 0
00000013 0
0000001b plugplay.exe
00000020 0
0000001d 0
0000001c 0
00000022 explorer.exe
00000023 0
00000054 SDKLauncher.exe
0000005c 0
0000005b 0
0000005a 0
00000059 0
00000058 0
00000055 0
0000005e hammer.exe
00000070 -2
0000006d 0
00000063 0
00000062 0
0000005f 0
00000018 (D) C:\program files\steam\steamapps\kiriona\sourcesdk\bin\orangebox\bin\hammer.exe
00000017 0 <==
System information:
Wine build: wine-1.5.3
Platform: i386
Host system: Darwin
Host version: 11.3.0

Perhaps it has something to do with running multiple .exe applications under the same wrapper, which apparently can create problems. I am at a loss as to how many bits my system contains.

Further bulletins as events warrant.
 

pl

L5: Dapper Member
Mar 6, 2009
248
55
Like Aly said, I think getting Windows and installing it via Boot Camp is the best way to go. It's fully native, and you can get a few extra drivers to make Windows play nicer with your Mac (e.g. volume/brightness keys get the same behaviour as what's seen in OS X).

Don't use Wine, it's still very unpredictable with certain GUI apps. Also I wouldn't use virtualization software (e.g. VMware, VirtualBox) as you'd probably have issues trying to get TF2 to run (maybe even Hammer too).
 

thaumiel

L1: Registered
May 9, 2012
28
7
Progress is being made, ladies and gentlemen! I now have a vague idea of what Hammer is supposed to look like!

It's clear that there is some graphics-related stumbling block, an immovable object against which Wine's unstoppable force dashes itself in vain. tf2 can only render 2-3 fps when i am staring at a sentry gun and peaks at 30-40 under best conditions, compared to the 60 fps it easily attains in its native OSX. hammer will open, sure, and it will tell you it's opening a file... but when it comes to actually making that file appear on the screen, "the program hammer.exe has encountered a serious problem and needs to close."

so what remains now is to find some version of wine, or perhaps some kind of wine-related wrapper, or simply a glass of wine (something I could really use right now), that will solve this mysterious problem whose details never seem to load properly for some reason.

*runs off to equip Eliminating The Impossible*

(And yes I could just buy windows xp and run it under virtualbox—boot camp requires windows 7 now apparently—but a quick search reveals that copies under £100 all look pretty dodgy. Covered with GENUINE this and ORIGINAL that and WILL WORK ON MICROSOFT WEBSITE the other. no, I do not believe that you are selling it for £23 while everyone else is selling theirs for £140 or so just out of the goodness of your heart.)

edit: @Phil, hammer can apparently run under wine on linux, so I am sure there is a way to get it to work on at least a basic level. I am basically limited to free (or very inexpensive >.>) software at this point so w/e.
 
Last edited:

pl

L5: Dapper Member
Mar 6, 2009
248
55
Oh I forgot, have you tried CrossOver Games? It's basically a fork of Wine which is more focused towards gaming (as it suggests). They apparently have good support for Steam (and TF2), so you could give that a try :)

However I'm not sure if it'll make Hammer any better though. And it's a 30-day trial, but it's not very expensive to buy (like $30 I think).
 

Freyja

aa
Jul 31, 2009
2,994
5,813
I tried an earlier version of Hammer on CrossOver Games. This was long before source even had an OSX branch, however, I'm not sure how it's changed.

But it didn't work.
 

Terwonick

L6: Sharp Member
Aug 25, 2010
278
190
I must say that, even though I don't have to deal with your unfortunate problems your marvelous writing style has gotten me hooked, do you have any works of yours available to read?