Application: Teeworlds
Category: Games
Description: Teeworlds is a fast-paced sidescrolling online multiplayer-only shoot 'em up game. The game features cartoon-themed graphics and physics, and relies heavily on classic shooter weaponry and gameplay. The controls are heavily inspired by the FPS genre. (this game is awesome!)
This portable version also selects the correct resolution for your computer initially but still allows you to change resolution settings and restart the game for graphics changes on the same pc. i also wrote a gui to create a lan game, i left out options for an internet server because it didn't make sense to for a internet game server to be portable.
Please do a clean install of 0.4.2
Download Teeworlds Portable 0.4.2 Development Test 2 4.76MB download / 6.74MB installed]
Release Notes:
0.4.2 Development Test 2 (2008-04-12)
- wrote a GUI in AutoHotkey to configure and launch a server for LAN games.
- added back in the teeworlds_srv.exe for the server.
0.4.2 Development Test 1 (2008-04-08)
- updated Teeworlds to 0.4.2
- fixed problems with non-english pcs by just copying files to appdata and back until i can figure out a workaround or get the developers to make some changes
- added a PortableApps mascot character provided by NeoRame (will show up as a random character to everyone else)
- allow users to keep auto-download map files. files will be deleted if the sum of them exceeds 2MB (probably won't happen)
ToDo:
- do translations for my LAN Game Server lanucher
Thanks for doing this. Here's what I caught:
That's basially all I caught. Good work.
Dev Test 2 is up. Tell me if that fixed your problem or not. all i did was add in a longer sleep because it should be working fine. i also fixed the small text things
Still didn't work. It writes it as 0 for that windowed settings, but launches it fullscreen. Again, this is Vista. My main machine with XP is dead for a bit, so I can't check on there.
I just tested Development Test 2 in Vista, and when I chose windowed it initally opened in full screen mode.
I was able to go into the settings -> Graphics and remove the "full screen" check box and it did go to windowed and stayed windowed.
I was waiting for you to poke your head in and verify that.
ugh! why would vista be any different? if you said it still writes a 0 for fullscreen then it still seems like mby a sleep problem. patrick, could you experiment and see if a really long sleep after the configwrites will make it work right for you (i already have it set at 1000)? you'll need the messagebox plugin for nsis though.
Vista sucks.
I tried it for 10 seconds, and it didn't work. So now it's set for 50 just for fun... and we wait.
...
...
And she still launches fullscreen...
lol, well i doubt 50 would be any different. any ideas on what could be the problem? the only thing i can think of is maybe the messagebox plugin is messing up for vista and returning the wrong value, but you said that it set the correct fullscreen value so i don't know what!
Something to do with the fact that Vistas directory setup is different in terms of users and app data, but I'm just throwin' that out there cause I'm outta ideas.
if that's true, that could explain it. my launcher redirects %userprofile%/Application Data to $SETTINGSDIRECTORY. i'll look into how vista handles that stuff
Dev Test 3 is up. it took a ton of debugging but everything should work now.
I've just tried Dev test 3 (as a clean install) and the windowed button does work now in Vista Ultimate SP1
currently i have Teeworlds Portable deleting any in-game downloaded maps on exit. should i keep it this way or let it store them and if the maps folder gets to be a certain size then delete them? and if i were to keep them, what size would be the limit?
sometimes you get poor internet. I say the limit can be adjusted in the INI file. Or some kind of period.
Insert original signature here with Greasemonkey Script.
How big are we talking about? Generally, users expect it to be there next time, so unless we're talking pretty big, I say leave em.
Sometimes, the impossible can become possible, if you're awesome!
idk the ones i've seen range from like 5kb to 150kb. the maps are auto-downloaded when you're on a server that has a map that you don't have (kind of like counter-strike). the user doesn't choose to download it. I just thought that if too many games were played where maps were downloaded it could get big.
Bug found under XP:
Both options windowed and full screen run the application in fullscreen.
regards
NeoRame
Hell was full, so I came back!!!
Sorry for my lousy English!!!
I'd say just make the portable app windowed by default. The user can set it to fullscreen in options if they want.
Sometimes, the impossible can become possible, if you're awesome!
yeah, but i already wrote a ton of code having it select the right resolution for the computer if fullscreen and selecting the right size relatively if windowed. i'm sure some people may only want to play it fullscreen and you only have to select the option the first time you run it on each new machine. i don't know why neorame's having problems with it because i know i have it working right now. the only thing i can think of is that his machine or flash drive is slower and it needs a longer sleep added somewhere. i don't think anyone else is having problems with it now.
Well, one thing is... just because a screen is 1600x1200 doesn't mean the system or graphics card is capable of playing it at that size. But that can be alleviated by having it be, say, 800x600 windowed by default which will fit on nearly all screens.
As far as the code, you wouldn't be throwing it away. The launcher can read the config file and see if it's set for full screen. If it is, then do the settings to adjust the full screen size. That way, it's more integrated into the program without having a portable-specific selection on launch.
Sometimes, the impossible can become possible, if you're awesome!
i have test it with my local HDD and with my USB HDD (read and write speed at 30-33)
btw i have create a PA.com Mascot Skin
PA.com Mascot for Teeworlds
Copy the skin to X:\PortableApps\TeeworldsPortable\App\Teeworlds\data\skins
regards
NeoRame
Hell was full, so I came back!!!
Sorry for my lousy English!!!
that skin is AWESOME! i wonder what it shows up as to everyone else though. i'm sure the game wouldn't have everyone download the png from your pc. btw, i have no idea for your bug then because i had it test fine on xp and vista.
im glad to hear that you like it....
i have test it on a vista pc, xp pc and on xp laptop.... when i change my seting then it works but on first start it doesnt work....
Hell was full, so I came back!!!
Sorry for my lousy English!!!
did you do a clean install of dev test 3?
yes every time. on every machine i have install the actually version.
Hell was full, so I came back!!!
Sorry for my lousy English!!!
i have test it the skin thing...
the app do not downloading skin it download only the maps, on other machines without the skin it shows a random skin.....
Hell was full, so I came back!!!
Sorry for my lousy English!!!
is your windows in German? if the config file also would show up in german that could explain the issue.
yes my windows are in german. and i have looked at all ini´s and cfg´s they are all in english.....
Hell was full, so I came back!!!
Sorry for my lousy English!!!
windows xp sp2 german / dualscreen
- start game
- select windowed -> game starts fullscreen
another problem
- start game
- name player
- click ok
- click quit -> masters.cfg and settings.cfg are still in root folder -> expected folder is x:\PortableApps\TeeworldsPortable\Data\settings\Application Data\Teeworlds
in x:\PortableApps\TeeworldsPortable\Data\settings\Application Data\Teeworlds i just find settings.cfg
hm... it seems the userprofile environment variable is not getting redirected properly for some people. i had to use the userprofile one because redirecting the appdata variable did nothing. i don't know what would cause this but maybe i should just have the game use the default appdata folder like it usually does and just move files back and forth.
0.4.2 is out with a lot of improvements. Check the http://teeworlds.com/?page=downloads
yeah, i just saw that today. i'm working on fixing problems on non-english pc's when redirecting the settings. it would be much easier for me if they had used the appdata env variable in their code instead of whatever they used. but i guess until i can get that worked out i can post an alternate script i wrote which will move files back and forth between the appdata folder and the local Teeworlds Data folder. i'll post it tomorrow sometime.
you could contact the Teeworlds developers and ask them if they could change how the path is setup, so it uses APPDATA instead. I've had a lot of luck with contacting devs of the apps that i've made portable, and getting them to change their setups a bit to improve portability.
The developer formerly known as ZGitRDun8705
updated Teeworlds to 0.4.2 Dev Test 1. see main post for changes. please do a clean install.
0.4.2 Dev Test 2 is now up. i wrote a GUI to create a LAN server. i haven't done translations yet. first i want to find out if Teeworlds even supports translations, and if so which ones.
Hello. I've installed the last release.
So in PortableApps Launcher I've got the "LANGameServerPortable" Shortcut.
yes, the menu puts it as a shortcut as it does all exes it finds in the roots of folders. if your trying to ask how to remove the link, then the answer is you can't with the current Portable Apps Menu. editing the links is a feature that has not been added yet. You could delete the file if you wanted but then you couldn't create LAN Games.