You are here

Teeworlds Portable 0.4.2 Dev Test 2

38 posts / 0 new
Last post
Travis Carrico
Offline
Last seen: 16 years 1 week ago
Developer
Joined: 2006-10-22 00:30
Teeworlds Portable 0.4.2 Dev Test 2

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
Patrick Patience
Offline
Last seen: 4 years 11 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Nice!

Thanks for doing this. Here's what I caught:

  • The messagebox says 'Note: SMC may take a minute to start up.
  • On Windows Vista, both options run the application fullscreen.
  • The website in the source at the top is for ConvertAll Portable.

That's basially all I caught. Good work.

Travis Carrico
Offline
Last seen: 16 years 1 week ago
Developer
Joined: 2006-10-22 00:30
Dev Test 2

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

Patrick Patience
Offline
Last seen: 4 years 11 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Nope

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.

millarrp
Offline
Last seen: 11 years 1 month ago
Joined: 2007-03-02 13:43
I just tested in in

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.

Patrick Patience
Offline
Last seen: 4 years 11 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Good

I was waiting for you to poke your head in and verify that. Smile

Travis Carrico
Offline
Last seen: 16 years 1 week ago
Developer
Joined: 2006-10-22 00:30
stupid vista

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.

Patrick Patience
Offline
Last seen: 4 years 11 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Because

Vista sucks. Smile

I tried it for 10 seconds, and it didn't work. So now it's set for 50 just for fun... and we wait. Blum

...

...

And she still launches fullscreen...

Travis Carrico
Offline
Last seen: 16 years 1 week ago
Developer
Joined: 2006-10-22 00:30
lol, well i doubt 50 would

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!

Patrick Patience
Offline
Last seen: 4 years 11 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Could Be

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.

Travis Carrico
Offline
Last seen: 16 years 1 week ago
Developer
Joined: 2006-10-22 00:30
if that's true, that could

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

Travis Carrico
Offline
Last seen: 16 years 1 week ago
Developer
Joined: 2006-10-22 00:30
Dev Test 3

Dev Test 3 is up. it took a ton of debugging but everything should work now.

millarrp
Offline
Last seen: 11 years 1 month ago
Joined: 2007-03-02 13:43
seems to work under vista

I've just tried Dev test 3 (as a clean install) and the windowed button does work now in Vista Ultimate SP1

Travis Carrico
Offline
Last seen: 16 years 1 week ago
Developer
Joined: 2006-10-22 00:30
Opinion

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?

digitxp
digitxp's picture
Offline
Last seen: 13 years 2 months ago
Joined: 2007-11-03 18:33
Yeah, keep 'em

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.

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 10 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
How big?

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!

Travis Carrico
Offline
Last seen: 16 years 1 week ago
Developer
Joined: 2006-10-22 00:30
idk the ones i've seen range

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.

NeoRame
NeoRame's picture
Offline
Last seen: 4 years 4 weeks ago
Joined: 2007-05-11 09:12
Bug found under XP: Both

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!!!

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 10 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Windowd by Default

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!

Travis Carrico
Offline
Last seen: 16 years 1 week ago
Developer
Joined: 2006-10-22 00:30
idk

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.

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 10 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Some Thoughts

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!

NeoRame
NeoRame's picture
Offline
Last seen: 4 years 4 weeks ago
Joined: 2007-05-11 09:12
i have test it with my local

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 Wink

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!!!

Travis Carrico
Offline
Last seen: 16 years 1 week ago
Developer
Joined: 2006-10-22 00:30
yay

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.

NeoRame
NeoRame's picture
Offline
Last seen: 4 years 4 weeks ago
Joined: 2007-05-11 09:12
im glad to hear that you

im glad to hear that you like it.... Wink
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!!!

Travis Carrico
Offline
Last seen: 16 years 1 week ago
Developer
Joined: 2006-10-22 00:30
did you do a clean install

did you do a clean install of dev test 3?

NeoRame
NeoRame's picture
Offline
Last seen: 4 years 4 weeks ago
Joined: 2007-05-11 09:12
yes every time. on every

yes every time. on every machine i have install the actually version.

Hell was full, so I came back!!!
Sorry for my lousy English!!!

NeoRame
NeoRame's picture
Offline
Last seen: 4 years 4 weeks ago
Joined: 2007-05-11 09:12
i have test it the skin

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!!!

Travis Carrico
Offline
Last seen: 16 years 1 week ago
Developer
Joined: 2006-10-22 00:30
mby cause of translations

is your windows in German? if the config file also would show up in german that could explain the issue.

NeoRame
NeoRame's picture
Offline
Last seen: 4 years 4 weeks ago
Joined: 2007-05-11 09:12
yes my windows are in

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!!!

Dijaboro
Dijaboro's picture
Offline
Last seen: 2 years 4 weeks ago
Joined: 2007-04-19 02:49
same problem

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

Travis Carrico
Offline
Last seen: 16 years 1 week ago
Developer
Joined: 2006-10-22 00:30
env variable

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.

RaYell
Offline
Last seen: 16 years 3 months ago
Joined: 2007-05-08 07:53
0.4.2 is out with a lot of

0.4.2 is out with a lot of improvements. Check the http://teeworlds.com/?page=downloads

Travis Carrico
Offline
Last seen: 16 years 1 week ago
Developer
Joined: 2006-10-22 00:30
update

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.

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-12-06 18:07
you could contact the

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

Travis Carrico
Offline
Last seen: 16 years 1 week ago
Developer
Joined: 2006-10-22 00:30
0.4.2

updated Teeworlds to 0.4.2 Dev Test 1. see main post for changes. please do a clean install.

Travis Carrico
Offline
Last seen: 16 years 1 week ago
Developer
Joined: 2006-10-22 00:30
0.4.2 Dev Test 2

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.

XacretT
Offline
Last seen: 16 years 7 months ago
Joined: 2008-04-19 17:10
Menu shortcut

Hello. I've installed the last release.
So in PortableApps Launcher I've got the "LANGameServerPortable" Shortcut.

Travis Carrico
Offline
Last seen: 16 years 1 week ago
Developer
Joined: 2006-10-22 00:30
link

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.

Log in or register to post comments