Application: Hedgewars
Category: Games
Description: Hedgewars is a turn based strategy game but the real buzz is from watching the devastation caused by those pesky hedgehogs with those fantastic weapons - sneaky little blighters with a bad attitude!
Hedgewars Portable 0.9.14 Development thread
Download Hedgewars Portable 0.9.13 Development Test 8 [81.325MB download / 108MB installed]
(MD5: d86974b7e91175d44c30e1c505aaadf2)
Note: Some graphics cards have problems loading the splash screens in 0.9.13 (an error about the splash being too large). Please see the blog post, Have an error about "Splash"?, on hedgewars.org for a workaround.
Release Notes:
Development Test 8 (2010-08-10):
- Switched to PortableApps.com Launcher 2.0
Development Test 7 (2010-04-19):
- Removed some debug code
- Generalized script a bit
Development Test 6 (2010-04-15):
- Fixed INI files and strings as per Bart.S's suggestions
- Added multilingual support with the option to install additional languages in installer
Development Test 5 (2010-04-09):
- Updated to latest release of Hedgewars 0.9.13
Development Test 4 (2009-10-28):
- Updated to latest release of Hedgewars 0.9.12
Development Test 3 (2009-07-08):
Test Release 3 (2009-06-24):
- Added default INI to use full screen for game when first opened
- Upgraded to PortableApps.com Installer 0.91.4
- Uploaded to MediaFire as requested
Test Release 2 (2009-06-19):
- Fixed backup of settings
- Upgraded to PortableApps.com Installer 0.91.3
- Added more icon sizes to appicon.ico
Test Release 1 (2009-06-17): Initial Release
Hmm
Would it be kosher for me to rename the .hedgewars dir in the user directory then move from Data\setting to the user directory then reverse things when I'm done? Is that even possible?
That isn't my desired solution. But I think it would be a lot easier than a custom build or getting the Hedgewar devs to modify the program.
Let me know what you think.
Without knowing the specifics
Without knowing the specifics of the app, it would be an entirely kosher thing to do as you suggest, and is indeed the way it's usually done...
Example?
Could you point me to a PortableApp that does it that way? I tried to do this with FreeCiv, before I found a way to redirect, but I couldn't get it to work correctly.
Redirecting?
Have you tried to redirect the "Home" environment variable before launching Hedgewars?
Something like the following might help (my Dia launcher uses this):
System::Call 'Kernel32::SetEnvironmentVariableA(t, t) i("HOME", "$SETTINGSDIRECTORY").r0'Yes
That was the first thing I tried. That is what I was able to do for FreeCiv to change the save location, and I simple modified that launcher for Hedgewars. Unfortunately, it didn't work. If you have a chance, give it a try, maybe I did something wrong.
You might make more headway
You might make more headway if you can contact the devs for Qt, and find out how exactly that function determines the home directory.
Yeah...
I thought about that, but Qt doesn't provide free support, at least I couldn't find anyway to do it via the Trolltech website. If you know how to contact the Qt developers, let me know, and I'll contact them.
This is what the QDir::homePath() documentation says:
I'm curious as to whether that list is how it determines the homePath (it seems silly that it would check a fixed path then USERPROFILE), or what it does if the user profile isn't defined (which is what it says). I tried overriding USERPROFILE, but I didn't have any luck (I'm not entirely sure that is even possible).
The HOME environment variable is listed, but it is third on the list.
New Test Release
Give it a try and let me know if there is anything I need to fix.
Feedback
Thanks for this = ) I was able to run without any major issues though I had to change to full screen to play the game properly. Regshot below:
Regshot 1.8.2 Comments: Datetime:2009/6/20 01:19:52 , 2009/6/20 01:23:53 Computer:TOWER_7200 , TOWER_7200 Username: , ---------------------------------- Keys added:1 ---------------------------------- HKU\S-1-5-21-796845957-789336058-839522115-500\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked ---------------------------------- Values added:7 ---------------------------------- HKLM\SYSTEM\ControlSet001\Services\kmixer\Enum\0: "SW\{b7eafdc0-a680-11d0-96d8-00aa0051e51d}\{9B365890-165F-11D0-A195-0020AFD156E4}" HKLM\SYSTEM\ControlSet001\Services\swmidi\Enum\0: "SW\{6c1b9f60-c0a9-11d0-96d8-00aa0051e51d}\{9B365890-165F-11D0-A195-0020AFD156E4}" HKLM\SYSTEM\CurrentControlSet\Services\kmixer\Enum\0: "SW\{b7eafdc0-a680-11d0-96d8-00aa0051e51d}\{9B365890-165F-11D0-A195-0020AFD156E4}" HKLM\SYSTEM\CurrentControlSet\Services\swmidi\Enum\0: "SW\{6c1b9f60-c0a9-11d0-96d8-00aa0051e51d}\{9B365890-165F-11D0-A195-0020AFD156E4}" HKU\S-1-5-21-796845957-789336058-839522115-500\Software\Microsoft\Windows\ShellNoRoam\MUICache\G:\PortableApps\HedgewarsPortable\HedgewarsPortable.exe: "Hedgewars Portable" HKU\S-1-5-21-796845957-789336058-839522115-500\Software\Microsoft\Windows\ShellNoRoam\MUICache\G:\PortableApps\HedgewarsPortable\App\Hedgewars\bin\Hedgewars.exe: "Hedgewars" HKU\S-1-5-21-796845957-789336058-839522115-500\Software\Microsoft\Windows\ShellNoRoam\MUICache\G:\PortableApps\HedgewarsPortable\App\Hedgewars\bin\hwengine.exe: "hwengine" ---------------------------------- Values modified:11 ---------------------------------- HKLM\SOFTWARE\Microsoft\Cryptography\RNG\Seed: 4E 17 36 F6 29 23 30 15 AC EC 16 6F 32 85 12 64 B4 0B A0 2F 5F CE 38 7C 7A 8F 26 2E 99 2D 5E 5B 19 6B 92 C8 9B 71 7B 53 DA 54 79 F5 09 8B AC 0B DF F9 F2 39 FE B1 B8 F6 09 E4 84 7F 6E A5 83 7C 70 E1 8E E1 DE 38 31 EB 2C 18 FD 61 DE 47 F1 FB HKLM\SOFTWARE\Microsoft\Cryptography\RNG\Seed: 68 85 7E DB 87 B2 2B 7F 3B 23 33 9D 4A E3 E1 FD 27 D8 93 89 1E 50 87 C2 84 74 67 04 AD 0E 37 3D AA 5C 21 78 E9 E9 C1 37 5A 67 AC 61 FA 81 95 9E 08 A7 7A 8F 05 16 89 7E F3 E0 B9 32 48 5B 72 11 D7 51 82 5C 85 7B 62 01 F6 B7 47 5E 66 5F 9C DE HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Prefetcher\TracesProcessed: 0x00000121 HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Prefetcher\TracesProcessed: 0x0000012D HKLM\SYSTEM\ControlSet001\Services\kmixer\Enum\Count: 0x00000000 HKLM\SYSTEM\ControlSet001\Services\kmixer\Enum\Count: 0x00000001 HKLM\SYSTEM\ControlSet001\Services\kmixer\Enum\NextInstance: 0x00000000 HKLM\SYSTEM\ControlSet001\Services\kmixer\Enum\NextInstance: 0x00000001 HKLM\SYSTEM\ControlSet001\Services\swmidi\Enum\Count: 0x00000000 HKLM\SYSTEM\ControlSet001\Services\swmidi\Enum\Count: 0x00000001 HKLM\SYSTEM\ControlSet001\Services\swmidi\Enum\NextInstance: 0x00000000 HKLM\SYSTEM\ControlSet001\Services\swmidi\Enum\NextInstance: 0x00000001 HKLM\SYSTEM\CurrentControlSet\Services\kmixer\Enum\Count: 0x00000000 HKLM\SYSTEM\CurrentControlSet\Services\kmixer\Enum\Count: 0x00000001 HKLM\SYSTEM\CurrentControlSet\Services\kmixer\Enum\NextInstance: 0x00000000 HKLM\SYSTEM\CurrentControlSet\Services\kmixer\Enum\NextInstance: 0x00000001 HKLM\SYSTEM\CurrentControlSet\Services\swmidi\Enum\Count: 0x00000000 HKLM\SYSTEM\CurrentControlSet\Services\swmidi\Enum\Count: 0x00000001 HKLM\SYSTEM\CurrentControlSet\Services\swmidi\Enum\NextInstance: 0x00000000 HKLM\SYSTEM\CurrentControlSet\Services\swmidi\Enum\NextInstance: 0x00000001 HKU\S-1-5-21-796845957-789336058-839522115-500\SessionInformation\ProgramCount: 0x00000003 HKU\S-1-5-21-796845957-789336058-839522115-500\SessionInformation\ProgramCount: 0x00000001 ---------------------------------- Files [attributes?] modified:2 ---------------------------------- C:\Documents and Settings\Administrator\ntuser.dat.LOG C:\WINDOWS\system32\config\software.LOG ---------------------------------- Total changes:21 ----------------------------------PortableApps.com Advocate
Full screen
That problem exists in the standard install. I don't know why the default settings don't work correctly. I could add a default set of settings to the installer, but the screen size and resolution is part of that, and I'm not sure whether that could cause problems.
Hmm..
Probably best to leave it how it then for now and just include a note in the original post stating that this is a known bug. Hopefully by the time this gets to pre-release or the Hedge Wars gets to 1.0 there has been a fix figured out.
PortableApps.com Advocate
no download?
Is there a reason why i can't download the game?
May the Shwartz be with you
The download is the Test
The download is the Test Release 2 link in the release notes. An unconventional way of doing it true. You have to click the link, takes you to file dropper, click download file then fill in the captcha thing.
@dagardner: I recommend using mediafire for free file hosting as theres not captchas and supports every download accelerator I've tried on it. Also with your original post can I recommend using something similar to this as a template. That way it avoids confusion such as has happened with App Guy here. Cheers.
PortableApps.com Advocate
yeah didnt work
works now but it didn't before, the link cam back to a error page.
May the Shwartz be with you
Mediafire
I'll use mediafire the next time I do a release. Right now, the only change that I know of that needs to be made is to upgrade to the latest PortableApps.com Installer
Oops..
Sorry I didn't follow the standard format. I'll fix it later.
Thanks
No worries
It's not mandatory at the Development Test Release stage. Thank you for changing it though as it makes it easier to use. Also thanks for takin gmy advice about using mMediafire.com. Will help when we all download Hedge Wars and FreeCiv for "testing"
PortableApps.com Advocate
Test Release 3
Give it a go and let me know if other changes are needed.
Works a charm
Great work mate = )
PortableApps.com Advocate
Can anyone tell me?
Aside from the uploaded file name, is there anything that I need to change about this to get it into the offical PortableApps.com release format? I've looked at what is there, and I think that I have it all; I want to double check before I change the file name (since that would be the only change that I am making) and upload again.
Thanks,
Andy
Thanks for making Hedgewars a
Thanks for making Hedgewars a portable app.
wont work
i got different check sum
60\/\/ 2 /\/\3 4 1 4/\/\ 12007
bow to me for i am root
Uploaded again
I downloaded the file linked to, and it did have a different MD5. I have no idea why. I uploaded the file again and updated the link. Let me know if there are any other problems.
Thanks,
Andy
thanks
ill try to download again
60\/\/ 2 /\/\3 4 1 4/\/\ 12007
bow to me for i am root
Hey dagardner
Haven't heard from you in a while. Just a note that Hedgewars has been updated to 0.9.12
Hope all is well
PortableApps.com Advocate
I've downloaded it
But I haven't had a chance to update it yet.
I've been busy with work and such, so I haven't had time to mess with PortableApps much.
I'll see if I can get it done later this week. I'm hoping it is simply a matter of dropping in the new files since it is a point release.
Thanks for the reminder.
Andy
Updated
I updated the download with Hedgewars 0.9.12.
Let me know if there are any problems.
Updated with Hedgewars 0.9.13
Updated with Hedgewars 0.9.13
Woop Woop
Game On
PortableApps.com Advocate
Criticism
I tested this for you; I've got two serious complaints.
#1: It's freakishly addictive.
#2: I can't figure out how to beat it.
For these reasons, I decided to delete HedgeWars after only 3 hours of testing; primarily due to #1, I doubt I'll be testing it again.
</mockcriticism>
Seriously, very cool (although I did have to delete it to keep from getting addicted). Rock on!
"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."
Request for comment
Apparently, there are issues with the 0.9.13 splash screen on some computers:
http://hedgewars.org/node/2073
They posted a work around for it in the above link. My question is, how should I handle this for the portable version? Should I:
Probably should apply the
Probably should apply the patch. At the very least, put on note in your release notes about it.
Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world
Leave as it is
Applying the patch would remove the splash for all users and I guess the majority hasn't problems loading it.
lol, so one vote for each
lol, so one vote for each side. I change my vote. But I would make a note about it, in case someone does need it. Not that they won't just make post anyway
Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world
Re: Request for comment
What about adding an ini setting. I know this can be a bit of effort however (not much, but it still isn't necessarily worth the effort). It's your choice.
Installer option?
The best thing to do would probably be to make it an installer option, but I'm not sure how that would work because I haven't looked in depth at the capabilities of the installer. I'll see if I can't figure it out when I have a chance.
Quick look
Should be fixed
I fixed the appinfo.ini, HedgewarsPortable.ini and HedgewarsPortable.nsi as you suggested, and I added multilingual support.
Thanks for the suggestion. Now I need to go look at my TuxGuitarPortable and do the same thing.
Oops
I left some debug code in there. It should be out now.
Houston we have a problem
a) When first opening game had an error message that read "LANG= ". Dismissed this then the splashed came up and game started.
b) In game tried selecting to play local bot game. Screen goes black as if it's loading the full screen resolution then went back to game menu. This is probably a base app issue but reporting just in case. Note that resolution is 1440x900.
PortableApps.com Advocate
thanks
1) should be fixed already. I saw that I had left some debug code in there and uploaded a new installer.
2) Hmm, I thought I had changed it so that the game was full screen. I'll look into it. The defaults for hedgewars as far as screen resolution aren't very good.
$ISDEFAULTDIRECTORY
isn't set correctly below ReadINI and NoINI -> default settings from DefaultData aren't copied.
(Note: I'm still looking at Dev Test 5 source)
I think I took
I think I took $ISDEFAULTDIRECTORY out completely in version 6. I wasn't sure what it was for, so I just dropped it.
Installer doesn't work
Hi, first of all, I want to thank you for your engagement.
Well, I've downloaded the installer, but when I try to run the installer, the following Window opens:
NSIS Error
I deleted the file and downloaded it another time, with the same result.
I hope you, or anybody else
, can help me, greetings
user-r3
Confirmation
Confirming the above report.
PortableApps.com Advocate
Try it now
I tested my local copy then uploaded it again. Let me know if there is still a problem.
Fixed
Fixed
PortableApps.com Advocate
Fixed
Now it works, thank you!
Bug (or am I doing something wrong?)
I run it, get to the menu. Can choose a game type, change settings etc. But when I try to play, the screen goes to fullscreen/a larger window (depending on settings), the game loads and then kicks me out back to the menu. I've tried it on two different computers (both running Win XP).
Can you confirm the
Can you confirm the resolutions of both screens?
Do you have SP3 installed?
Do you have admin rights?
If possible could you include a basic hardware spec?
PortableApps.com Advocate
Re:Can you confirm the...
Both screens has resolutions of 1024x768 (the same as is set in Hedgewars).
Both computers is XP with SP2 (not SP3).
On both computers I have admin rights.
My Hedgewars setup is:
I may get a hardware spec of my home later (if it's necessary).
The university computer's spec is:
------------------ System Information ------------------ ... Operating System: Windows XP Professional (5.1, Build 2600) Service Pack 2 (2600.xpsp_sp2_qfe.100216-2016) Language: English (Regional Setting: English) System Manufacturer: Hewlett-Packard System Model: HP Compaq dx7300 Microtower BIOS: Default System BIOS Processor: Intel(R) Pentium(R) 4 CPU 3.20GHz (2 CPUs) Memory: 1000MB RAM Page File: 752MB used, 1653MB available Windows Dir: C:\WINDOWS DirectX Version: DirectX 9.0c (4.09.0000.0904) DX Setup Parameters: Not found DxDiag Version: 5.03.2600.2180 32bit Unicode ------------ DxDiag Notes ------------ ... * Tab: No problems found. //I've shortened this. -------------------- DirectX Debug Levels -------------------- Direct3D: 0/4 (n/a) DirectDraw: 0/4 (retail) DirectInput: 0/5 (n/a) DirectMusic: 0/5 (n/a) DirectPlay: 0/9 (retail) DirectSound: 0/5 (retail) DirectShow: 0/6 (retail) --------------- Display Devices --------------- Card name: Intel(R) Q965/Q963 Express Chipset Family Manufacturer: Intel Corporation Chip type: Intel(R) GMA 3000 DAC type: Internal Device Key: Enum\PCI\VEN_8086&DEV_2992&SUBSYS_2800103C&REV_02 Display Memory: 256.0 MB Current Mode: 1024 x 768 (32 bit) (60Hz) Monitor: Plug and Play Monitor Monitor Max Res: 1600,1200 Driver Name: igxprd32.dll Driver Version: 6.14.0010.4642 (English) DDI Version: 9 (or higher) Driver Attributes: Final Retail Driver Date/Size: 7/21/2006 18:11:46, 48128 bytes WHQL Logo'd: n/a WHQL Date Stamp: n/a VDD: n/a Mini VDD: igxpmp32.sys ... Video Accel: Deinterlace Caps: n/a Registry: OK DDraw Status: Enabled D3D Status: Enabled AGP Status: Not Available DDraw Test Result: Not run D3D7 Test Result: Not run D3D8 Test Result: Not run D3D9 Test Result: Not run ------------- Sound Devices ------------- Description: Realtek HD Audio output Default Sound Playback: Yes Default Voice Playback: Yes Hardware ID: HDAUDIO\FUNC_01&VEN_10EC&DEV_0262&SUBSYS_103C2800&REV_1001 Manufacturer ID: 1 Product ID: 100 Type: WDM Driver Name: RtkHDAud.sys Driver Version: 5.10.0000.5275 (English) Driver Attributes: Final Retail WHQL Logo'd: n/a Date and Size: 7/4/2006 21:29:18, 4306944 bytes Other Files: Driver Provider: Realtek Semiconductor Corp. HW Accel Level: Full Cap Flags: 0x0 Min/Max Sample Rate: 0, 0 Static/Strm HW Mix Bufs: 0, 0 Static/Strm HW 3D Bufs: 0, 0 HW Memory: 0 Voice Management: No EAX(tm) 2.0 Listen/Src: No, No I3DL2(tm) Listen/Src: No, No Sensaura(tm) ZoomFX(tm): No Registry: OK Sound Test Result: Not run --------------------- Sound Capture Devices --------------------- Description: Realtek HD Audio Input Default Sound Capture: Yes Default Voice Capture: Yes Driver Name: RtkHDAud.sys Driver Version: 5.10.0000.5275 (English) Driver Attributes: Final Retail Date and Size: 7/4/2006 21:29:18, 4306944 bytes Cap Flags: 0x0 Format Flags: 0x0 ----------- DirectMusic ----------- DLS Path: C:\WINDOWS\SYSTEM32\drivers\GM.DLS DLS Version: 1.00.0016.0002 Acceleration: n/a Ports: Microsoft Synthesizer, Software (Not Kernel Mode), Output, DLS, Internal, Default Port Microsoft MIDI Mapper [Emulated], Hardware (Not Kernel Mode), Output, No DLS, Internal Microsoft GS Wavetable SW Synth [Emulated], Hardware (Not Kernel Mode), Output, No DLS, Internal Registry: OK Test Result: Not run ------------------- DirectInput Devices ------------------- Device Name: Mouse Attached: 1 Controller ID: n/a Vendor/Product ID: n/a FF Driver: n/a Device Name: Keyboard Attached: 1 Controller ID: n/a Vendor/Product ID: n/a FF Driver: n/a Poll w/ Interrupt: No Registry: OK ----------- USB Devices ----------- + USB Root Hub | Vendor/Product ID: 0x8086, 0x2830 | Matching Device ID: usb\root_hub | Service: usbhub | Driver: usbhub.sys, 8/3/2004 23:08:44, 57600 bytes | Driver: usbd.sys, 8/4/2004 14:00:00, 4736 bytes //etc.[Use <pre> for blocks of preformatted text rather than <code> - mod Chris]
Bug in Hedgewars?
I think that this might be a bug in Hedgewars, but I haven't looked at it recently. I posted a comment in this thread on June 22, 2009 about it not working correctly if it isn't full screen.
0.9.14.1
Hi, as you can read here
http://www.hedgewars.org/
there is a new version... would it be possible to portablize this one?
Thanks and Greetz,
user-r3
Thanks
I saw notification this morning. I will update when I have the opportunity.