PDA

View Full Version : Willing to train WHD slaves


lucadip
05 May 2009, 10:31
Hi,

I'm playing again with MegaLoMania using WHDLoad. In the old days I used a cracked version (go figure...) with a built-in trainer which allowed to have unlimited men.

Given that I have a grasp of asm for MC68K and the amiga hw, is it possible to build such a trainer in the WHD slave?
If yes, should I write a new slave or may I get (if I ask politely :)) the sources of the slaves for which I'm interested?

Bye,
Luca

StingRay
05 May 2009, 10:49
Given that I have a grasp of asm for MC68K and the amiga hw, is it possible to build such a trainer in the WHD slave?


Of course it is possible. :) Just a matter of obtaining the slave source and adding the trainer code. Many WHDLoad slaves have trainers already btw.

Edit: as Wepl made the slave for Mega lo Mania you should ask him to add a trainer. ;)

killergorilla
05 May 2009, 10:52
I THINK Hungry Horace is doing some MLM work, although it might not be WHDLoad related, I can't remember.

May be worth speaking to him to see what he's been doing.

TheCyberDruid
05 May 2009, 10:58
HungryHorace is creating a level and other stuff editor based on the WHDLoad version. Since I did some testing for HH I can say that there are no trainer functions in it and I think he doesn't plan anything like that.

lucadip
05 May 2009, 11:16
Thanks for your quick replies and hints! Good to know that it is indeed possible to train WHD slaves and (to some extent) to grab slaves' sources.

Of course I may ask Wepl or any other slaves' author to implement a trainer, but I would like to do something for the community, maybe supported from the gurus around here, and not only nerve WHD developers.

Just for fame and glory, and to hack a little bit again on the amiga!

killergorilla
05 May 2009, 11:16
Ah ok, well there we go :)

Photon
05 May 2009, 15:43
I am also willing to train slaves. Slaves should be willing, able and obedient. If they are not, I will train them with my HWIP.

lucadip
06 May 2009, 10:13
I am also willing to train slaves. Slaves should be willing, able and obedient. If they are not, I will train them with my HWIP.
LOL! :laughing

I must admit, it was not easy to formulate my post without being misunderstood...

Hungry Horace
06 May 2009, 19:31
I THINK Hungry Horace is doing some MLM work, although it might not be WHDLoad related, I can't remember.

May be worth speaking to him to see what he's been doing.

yes, it's very easy to add this trainer to the slave.... or absolute minimum, to change number of men at start and per epoch. this is something i was only going to implement into my editor however, and not the slave itself.

I have notes on this already, and if it's wanted, i'm sure Wepl wont mind me doing this so that he doesnt have to!

the only issue may be that i have to repeat my research to account for different versions, but that wont be so hard.



Edit:
i've uploaded to The Zone a patched 'mlm' file.

place this in the data/ folder instead of the current one, and you will have infinite men available.

I'll add this to the slave at a later time. Enjoy.


english version only at the moment.

Hungry Horace
06 May 2009, 22:57
Done. (i needed something to do whilst listening to the Football!)

Now in The Zone...

Mega-lo-Mania WHDload slave version 1.6 beta.
With 'infinite men' trainer. Enable with CUSTOM1=1.
Trainer supported on Eng/Fr/De versions.

Not my cleanest of code, but I'll fix that if i do decide to add the extra function I was going to add later on.

Have fun, and please let me know if it works on all versions ok, so i can send it for upload. (although I dont really understand why anyone would even want this trainer!)

lucadip
07 May 2009, 09:24
Done. (i needed something to do whilst listening to the Football!)
I watched it too, are you a Chelsea fan? :D



Now in The Zone...

Mega-lo-Mania WHDload slave version 1.6 beta.
With 'infinite men' trainer. Enable with CUSTOM1=1.
Trainer supported on Eng/Fr/De versions.

Thanks a lot! I still couldn't test it though.

Would you mind sharing the source of the slave before and after the trainer was implemented? As I previously wrote, I would like to train a few other games and your sources will be very helpful to learn some more whd programming.

(although I dont really understand why anyone would even want this trainer!)
Because I'd like to complete the game!

Hungry Horace
07 May 2009, 19:53
I watched it too, are you a Chelsea fan? :D

no, my brother is though, so i 'take an interest'. :cool

Would you mind sharing the source of the slave before and after the trainer was implemented?

:agree the source code (before) is already in the current v1.5 whd package:

http://www.whdload.de/games/MegaLoMania.html


i will, of course, therefore be including my source in the v1.6 package. Once i have the 'ok' that it's working as intended, i'll send it to be uploaded.


Because I'd like to complete the game!

lol, this game is so easy. :D That's why i started writing an editor for more levels... (which is also how I knew exactly where to find the routines to make this patch)

http://www.youtube.com/watch?v=pT2u4yl3bLc

as i mentioned above, there is another function I would like to add to the slave, but I think i will leave that for the future.

lucadip
08 May 2009, 12:15
no, my brother is though, so i 'take an interest'. :cool

Did he already recover from the shock? :evilgrin


:agree the source code (before) is already in the current v1.5 whd package:

D'oh! I should have paid more attention. :banghead Now you know the reason for my user title...


i will, of course, therefore be including my source in the v1.6 package. Once i have the 'ok' that it's working as intended, i'll send it to be uploaded.

Cool, I will soon tease you with a few couples of whd questions! :crazy