Author Topic: opening files after build  (Read 1631 times)

Offline ogre722

  • Single posting newcomer
  • *
  • Posts: 3
opening files after build
« on: July 18, 2010, 02:34:33 am »
I am compiling psp(playstation portable) code in codeblocks and i want to make the debugging process as painless as possible. What I want to do is after the build is complete, run a bat file and then open the .eboot in my emulator. I have found the post-build steps option but I don't know how the command system works. I have tried to find an explanation but information is scarce. If anyone can help it will be greatly appreciated.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12781
    • Travis build status
Re: opening files after build
« Reply #1 on: July 18, 2010, 03:28:48 am »
You have to place the path to the bat file in the post build step and it will be executed.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2257
Re: opening files after build
« Reply #2 on: July 18, 2010, 01:05:31 pm »
For example:

Place into the post build step
Code: [Select]
cmd.exe /c MyBatchCommands.cmd
where the file MyBatchCommadns.cmd contains a bunch of commands to execute.

or you could execute a single command like:

Code: [Select]
cmd.exe /c c:\path\MyEmulator.exe myboot.eboot
« Last Edit: July 18, 2010, 01:07:14 pm by Pecan »