Author Topic: Anyone getting the .res to work?  (Read 2079 times)

Offline USRanger

  • AvA Staff Member
  • Plutonium Member
  • *******
  • Posts: 10325
      • BoP Home
Anyone getting the .res to work?
« on: August 21, 2009, 07:15:25 PM »
Not me.  Been trying to convert my missions to the new format (my missions contain .wavs & such) and get a MS error report every time I run the mission when the first .wav usually kicks in.  What's worse, when you build the .res file, it deletes the folder containing the .wavs & such, so there is no going back once you do it.  I'm confused.  When you build the .res it gives you two things.  A .res file with the mission name, and a folder containing the .mis file and a version file.  I wonder if I have to replace my other "old" .mis file in the Offmiss folder, and where the heck does the version file go?
« Last Edit: August 21, 2009, 07:50:45 PM by USRanger »
Axis vs Allies Staff Member
☩ JG11 Sonderstaffel ☩
Flying 'Black[Death] 10' ☩JG11☩

Only the Proud, Only the Strong Ne Desit Virtus

Offline USRanger

  • AvA Staff Member
  • Plutonium Member
  • *******
  • Posts: 10325
      • BoP Home
Re: Anyone getting the .res to work?
« Reply #1 on: August 21, 2009, 07:28:23 PM »
Replacing the old .mis with the new one didn't do anything.  Still crashes.

From reading Pyro's post on the editor update, is the OFFmiss folder no longer needed at all?  Only the Missres folder is being mentioned in his post.

I'll give a shiny nickel to anyone who can successfully convert one of my missions to the new format and have it actually work correctly, sounds and all.  As I see it now, the .res is just as much a non-working pain in the rear as it was before, yet now we don't have the work-around that we used to.  Sigh.  Help! :pray
« Last Edit: August 21, 2009, 07:32:09 PM by USRanger »
Axis vs Allies Staff Member
☩ JG11 Sonderstaffel ☩
Flying 'Black[Death] 10' ☩JG11☩

Only the Proud, Only the Strong Ne Desit Virtus

Offline dkff49

  • Silver Member
  • ****
  • Posts: 1720
Re: Anyone getting the .res to work?
« Reply #2 on: August 21, 2009, 09:49:59 PM »
I got mine to work but I only have missions on the Ndisles terrain. I downloaded your winter breakout mission and had no luck with it, not even with the terrain downloaded.
Haxxor has returned!!!!
Dave
        

Offline USRanger

  • AvA Staff Member
  • Plutonium Member
  • *******
  • Posts: 10325
      • BoP Home
Re: Anyone getting the .res to work?
« Reply #3 on: August 21, 2009, 10:04:34 PM »
If anyone can get any mission, not just one of mine,  that contains .wavs & such to work with the new version, please let me know.  I've got quite a few to convert and re-host, so any help would be appreciated.
Axis vs Allies Staff Member
☩ JG11 Sonderstaffel ☩
Flying 'Black[Death] 10' ☩JG11☩

Only the Proud, Only the Strong Ne Desit Virtus

Offline dkff49

  • Silver Member
  • ****
  • Posts: 1720
Re: Anyone getting the .res to work?
« Reply #4 on: August 21, 2009, 10:11:15 PM »
nvm idid something stupid.

i will try again

i may have something for you in minute. i just need to test first.
« Last Edit: August 21, 2009, 10:18:53 PM by dkff49 »
Haxxor has returned!!!!
Dave
        

Offline dkff49

  • Silver Member
  • ****
  • Posts: 1720
Re: Anyone getting the .res to work?
« Reply #5 on: August 21, 2009, 10:38:22 PM »
try unzipping this into the missres folder. I did try it but did not fly the missions to thoroughly test them.

http://www.mediafire.com/file/yamxmfzhrny/missres files.zip

let me know
Haxxor has returned!!!!
Dave
        

Offline USRanger

  • AvA Staff Member
  • Plutonium Member
  • *******
  • Posts: 10325
      • BoP Home
Re: Anyone getting the .res to work?
« Reply #6 on: August 21, 2009, 10:49:14 PM »
Roger.  Downloading now.

Edit: Ok, just downloaded.  I see what you sent and can do the same on my end.  Will try them here in a minute.  My question I guess is: Is the Offmiss folder no longer used at all then?  Do the .mis file & version file stay in their parent folder in the Missres folder?  And the .res is also in the Missres folder, but not in the mission folder?  Or, are we only supposed to use the .res now, and disregard the .mis & version files altogether?

I'll remove the missions from my pc and use only what you sent me and see what happens.
« Last Edit: August 21, 2009, 11:00:22 PM by USRanger »
Axis vs Allies Staff Member
☩ JG11 Sonderstaffel ☩
Flying 'Black[Death] 10' ☩JG11☩

Only the Proud, Only the Strong Ne Desit Virtus

Offline dkff49

  • Silver Member
  • ****
  • Posts: 1720
Re: Anyone getting the .res to work?
« Reply #7 on: August 21, 2009, 11:34:07 PM »
Based on what I read in Pyro's post in the sticky, I would say that the offmiss folder is unnecessary. As far as the folder that is created inside the missres folder, I haven't seen anything to say whether it is important or not, but again it sounds like the only thing necessary is the new .res file for the mission.

However I have done no testing to confirm any of these things.
Haxxor has returned!!!!
Dave
        

Offline USRanger

  • AvA Staff Member
  • Plutonium Member
  • *******
  • Posts: 10325
      • BoP Home
Re: Anyone getting the .res to work?
« Reply #8 on: August 23, 2009, 10:53:56 AM »
After much tinkering yesterday, I've figured out how to run basic missions containing no .wavs & such, and the ones that do contain them.  I'm gonna write up a how-to with pics to simplify it for everyone either today or tomorrow.  What I can tell you right now is that the .wavs don't transfer to the .res file just as before.  You have to do a work-around just as before.  If HTC or anyone else can prove me wrong, I will be very happy, but for now I'm gonna post the only way it works on my end.  :salute

Axis vs Allies Staff Member
☩ JG11 Sonderstaffel ☩
Flying 'Black[Death] 10' ☩JG11☩

Only the Proud, Only the Strong Ne Desit Virtus

Offline Baumer

  • Silver Member
  • ****
  • Posts: 1739
      • 332nd Flying Mongrels
Re: Anyone getting the .res to work?
« Reply #9 on: August 23, 2009, 11:48:16 AM »
Well Ranger as of right now I can get the first .wav file to run but nothing after that. Also I seem to have an issue clearing the cash once the game crashes.   So far the only way I've discovered to clear the problem is to delete everything in the offmiss and misres folders.
HTC Please show the blue planes some love!
F4F-4, FM2, SBD-5, TBM-3

Offline USRanger

  • AvA Staff Member
  • Plutonium Member
  • *******
  • Posts: 10325
      • BoP Home
Re: Anyone getting the .res to work?
« Reply #10 on: August 23, 2009, 12:15:22 PM »
I'm gonna do one final test run of a "complex" mission just to make sure I'm right then get started on my write-up.  There is a way to make them run correctly, but involves more steps than before.  I personally prefer the pre-update M.E. version better as of right now, as it was simpler to run the "complex" missions.  Will report back in a bit.
Axis vs Allies Staff Member
☩ JG11 Sonderstaffel ☩
Flying 'Black[Death] 10' ☩JG11☩

Only the Proud, Only the Strong Ne Desit Virtus

Offline USRanger

  • AvA Staff Member
  • Plutonium Member
  • *******
  • Posts: 10325
      • BoP Home
Re: Anyone getting the .res to work?
« Reply #11 on: August 23, 2009, 12:56:42 PM »
I'm getting the same results as you now Baumer.  The first .wav plays and then the game crashes on the second one.  I'm gonna try a couple things with that and report back.

In the meantime, someone do me this favor and test this for me & post results:

Load up ndisles offline.  Go into offline missions.  Does the default one-on-one mission appear in the mission selection box?  For me it did not, even though the original .res for it is in my Missres folder (missions run off the .res & not the .mis file now).  This original .res was 23kb.  I opened up the one on one mission in the M.E. and hit the Build Res Library button.  This created a new oneonone.res in my Missres folder, overwriting the old one.  The new .res is 6kb, down from the original 23kb. AND the oneonone folder in my Missres folder no longer shows the "Cleared for Takeoff".wav that it originally had.  Now it only contains a oneonone.mis file and a 1kb version file. 

I restarted AH offline, same map.  The default oneonone mission now appears in my mission selection box again, so it apprears re-building the .res did the trick.  I start the mission.  Lo & behold the mission crashes when the .wav is supposed to start and the beginning.  The .res does NOT contain the .wav as HTC has said it does.  This is the default mission, so I know it's not one of mine messing it up.  I made no modifications to it other than rebuilding the .res so it would appear in my mission selections.

Could someone please do the same thing I just did and see if you get the exact same results please? :pray

Btw, missions containing no .wavs or other extra goodies run just fine off the .res file.  The .mis is still required to open a mission in the M.E. though.  The M.E. cannot open .res files.  So if you put out a mission and only give players the .res file, they will not be able to open & modify it in the M.E. (I personally will be including the .mis with any of mine).

Someone please do that test with the oneonone mission for me and report back. Thanks.

Btw, my Winter Breakout mission consisted of 22mb of .wavs.  When I just converted it to a .res, the .res is only 60Kb.  There is no way the .res contains the .wavs as it's supposed to.
« Last Edit: August 23, 2009, 01:10:48 PM by USRanger »
Axis vs Allies Staff Member
☩ JG11 Sonderstaffel ☩
Flying 'Black[Death] 10' ☩JG11☩

Only the Proud, Only the Strong Ne Desit Virtus

Offline Baumer

  • Silver Member
  • ****
  • Posts: 1739
      • 332nd Flying Mongrels
Re: Anyone getting the .res to work?
« Reply #12 on: August 23, 2009, 01:38:11 PM »
Yes Ranger, there appears to be an issue with flights displaying properly the first time you try to fly them. I have found that the easiest fix is to create the mission then simply go back to the editor and make any change that produces the change asterisk then when you save the .mis and build the .res it will dispaly properly.
HTC Please show the blue planes some love!
F4F-4, FM2, SBD-5, TBM-3

Offline USRanger

  • AvA Staff Member
  • Plutonium Member
  • *******
  • Posts: 10325
      • BoP Home
Re: Anyone getting the .res to work?
« Reply #13 on: August 23, 2009, 02:00:02 PM »
Right.  I knew you had to build a new .res for the mission to show up in the selection box, I just wanted to point out how it would make it crash now due to the .wav (and how it disappeared out of its folder when you built the new .res. but...

Eureka!  We're in business!  Remember how when a mission builder would use .wavs, we would put the .wavs folder in the Missres folder, just because we knew everyone would have a Missres folder just for easy sake?  Well with the new version that is exactly the problem.  I just created a folder in my AHII folder and called it Missionwavs.  Inside THAT folder is where I put my .wav mission folders, opened the ME, and told the mission to look in that new folder for the .wavs, instead of looking in the missres folder, then rebuilt the .res.  It worked!  The .res is the correct file size and contains the .wavs.  I was able to run a mission containing .wavs purely off the new .res file.  When you rebuild the .res, it also puts a mission folder in your missres folder containing the .mis, the version file, and the .wavs.  It was overwriting the original .wavs folders inside the missres folder, causing the problem.

Long story short:
Original mission making .wavs in your missres folder=bad
Placing the mission making .wavs in a folder located elsewhere=good to go.

Yayyy!!
I'm glad this is finally figured out, but it sucks because I've got a ton of .wavs to relocate in the M.E. to do now. :lol
Time to update some missions! :aok
« Last Edit: August 23, 2009, 02:04:16 PM by USRanger »
Axis vs Allies Staff Member
☩ JG11 Sonderstaffel ☩
Flying 'Black[Death] 10' ☩JG11☩

Only the Proud, Only the Strong Ne Desit Virtus

Offline Stalwart

  • Silver Member
  • ****
  • Posts: 1055
Re: Anyone getting the .res to work?
« Reply #14 on: August 23, 2009, 02:42:45 PM »
I know this will make sense eventually, when I get around to building more than a basic mission.

You guys with the complicated mission builds must go through  :rolleyes:, but your end product is :rock.
We love your contributions.  :salute