I don't know if you remember the game Nuclear War, but it's been remade as an SDL game, so I guess some talented coder could make this an OS4 game easily?
This is a fairly simple game, and it compiles (and works) directly, but the "issue" is the game itself isn't totally complete yet (missing random events like aliens, earthquakes, ...)
I never plays in that game, so, i do not know how it must to work, but i done fast recompilation for aos4.1, there is screenshot. And there is an aos4 archive (binary+data files). I only test it that it runs, sound works and i can press enter button and write letters in console. So very possible that something just does not works, or works bad and wrong :) But test it plz, and if everything ok, i will put it on os4depot then ..
@kas1e hi, nice game but the net code seems don't care about endian issues. you can't play with this amiga version against x68 hardware. the telegraph output is also corrupted type "/help" to see what i mean.
can you please type the seuqnces of commands to connect/start game/etc ? I mean on which ip i need to connect, and what i need to type to start the game (then i can test it on win32 version, and after do the same for amiga port). At moment as far as i understand i need server where ppls plays ? Or i need to be a server ?
i compiled this game a long time ago, when the first version was released, and i got the same problems as you with the text. contact the author, he is very helpfull, he is an old amiga guy.
Yep, i already contact with him today, and he was in big interest about amigaos4 port, and want to put it on his page, etc. But for first as i see need to fix text output and endianes for the network.
@kas1e hi, you need to start a server by yourtself "/host" then you can connect with a client to servers ip eg. "/connect 192.168.0.1" after that, the server can "/add" a bot or "/start" the game. (to chat, typing in console without "/")
Cool ! I will test it tommorow. There is answer from the author about:
Quote:
Wow, that's really cool :) I'd like to put the port on the website for other people to download. I had a guy port it to Linux just recently, and another guy is working on a mobile version of it as well, so an Amiga version too is great!
Could you make a package to distribute and send it to me? Please include the original files from http://studiostok.se/netnuclear4.rar but replace the executable, and if you wanna add a second readme with your information and credits, that's okay too.
Let me also know your real name and contact information, or if you want to use your handle so I can add that to the website as well!
So, if all will be ok with tests, then we can prepare archive and send it for author ;)
ps. what problem was with text typing ? (i mean techical details, because i say about bug to author firstly, and he say that he have no idea why it happenes).
@kas1e no it isn't a bug in the code, it is a "bug" in newlib.library the memcpy function in newlib, don't support possible overlapping regions between destination and source. wich eg. happens in draw_telegraph() in this line: memcpy(tele_printed, tele_printed + i + 1 , len);
The MoveMem function in utility.library support this.
i have simple add this lines in headerfile to fix the textoutput:
Omg :) For sure author will never fix that, because he will never think in way like "maybe memcpy do not work as it must" :) Anyway good that you found that problem so fast.
I tested it , and all works fine (telepgraph and network code). So, i just write aos4 readme like this: Quote:
Thanks to Goos der McGuile who fix teletype and endianes bugs to make amigaos4 port works fine ! You always can visit his page and check his amigaos4 projects at http://goos.aucb.de/
That all. Enjoy that nasty old-shcool game :)
I also strip executable (it was 5mb, now its 1.8mb), and send that archive to author, and today/tommorow he will put it on his site. Also will upload it now on os4depot.
ps. can you please also upload somethere sources where you fix endianes issues, i also will send that to author, so, all the new versions we can just easyly recompile with no problems.
@fab I also say to author about that memcpy problems, and answer was the same as i expected "cool that it fixed, but i never cause any problems like that, for me it was always ok". Only amiga make possible to found any kind of bugs :)